Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am using Ubuntu 10.04 (LTS) on a Samsung N150+ netbook. I cannot scan wifi networks using iwlist and I would like to do so. Here is the output from some tests:

alex@alex-laptop:~/Desktop/GoogleCode$ iwlist eth1 scan
eth1      Interface doesn't support scanning.


alex@alex-laptop:~/Desktop/GoogleCode$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

So I try iwconfig

alex@alex-laptop:~/Desktop/GoogleCode$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11  Access Point: Not-Associated   
      Link Quality:5  Signal level:207  Noise level:168
      Rx invalid nwid:0  invalid crypt:0  invalid misc:0

pan0      no wireless extensions.

I have a 05:00.0 Network controller: Broadcom Corporation Device 4727 (rev 01) from using lspci.

Any hints?

share|improve this question
2  
Did you try scanning as root? –  jordanm Aug 12 '12 at 23:06
    
@jordanm, this is a bit embarrassing but you are right that root was a necessary condition which I did not try. Could you put this as an answer? –  Vass Aug 14 '12 at 6:42
    
glad it helped. answer added. –  jordanm Aug 14 '12 at 16:31
add comment

2 Answers

You have to bring eth1 up before scanning.

ifconfig eth1 up

iwlist eth1 s

share|improve this answer
add comment

The ability to scan using iwlist and associate to access points via iwconfig require root. In Ubuntu you can use the following:

sudo iwlist eth1 scan
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.