Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.4k
  • 205
  • 1.8k
  • 2.3k
Source Link
Carlito
  • 578
  • 4
  • 6
  • 15

How to get list of available wireless networks without being root

I would like to get a list of all the wireless networks.

iwlist wlan0 scan | grep ESSID

This will only show me the wireless network I am currently connected to. When I run the command as root, it shows me all the available networks. If I run the command without sudo quickly after this, all the networks will show up, but after a while they are all gone except the network I am currently connected to.

Is there a way to get all the available networks when I am not root?