Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We have a lot of WiFi connections nearby and I'd like to know which band has the least interference. I'd like to to know how many connections are on each band and pick the best to configure my router from that data.

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted

You can run this command from the command line, just copy and paste:

sudo iwlist wlan0 scan | grep Frequency | sort | uniq -c | sort -n

And you will get a result like this:

  2                     Frequency:2.412 GHz (Channel 1)
  2                     Frequency:2.417 GHz (Channel 2)
  2                     Frequency:2.462 GHz (Channel 11)
 10                     Frequency:2.437 GHz (Channel 6)

As an extra bit of useful data, you can see what frequencies your wifi card supports using this command:

iwlist wlan0 channel

share|improve this answer
    
This does work decently well. Note though that some routers broadcast the same net on more than one channel/frequency. –  Thomas W. Aug 4 '11 at 1:31
add comment

Install wifi-radar from the repositories. It will show you what channel each network is using.

http://wifi-radar.berlios.de/

share|improve this answer
add comment

You can get a lot of data, including channel and signal strength, from sudo iwlist 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.