Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I try to scan wireless networks.
If network-manager service is up and wifi interface connected, iwlist give only one cell - the same it connected with, but if I try disconnect wifi interface by shutting down network-manager interface, iwlist give no result at all.
Also if I try to start up networking service.

user@comp-nam:~$ sudo iwlist wlan0 scan | head -n 2
wlan0     Scan completed :
          Cell 01 - Address: 2E:2F:97:D7:22:24
user@comp-name:~$ sudo service network-manager stop
network-manager stop/waiting
user@comp-name:~$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

user@comp-name:~$ sudo service networking start
networking stop/waiting
user@comp-name:~$ sudo iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

I use Ubuntu 12.04.1

share|improve this question
up vote 4 down vote accepted

Turn on the interface, not the network manager.

sudo service network-manager stop
sudo ifconfig wlan0 up
sudo iwlist wlan0 scan
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .