PDA

View Full Version : [ubuntu] Find all nearby APs with their MAC from terminal



johannes_h
September 20th, 2009, 03:38 PM
Hi.
If would like to make a search, for all nearby access points, and their MAC adress. How can I do this from the terminal?

Lets say I wan't to set up iwconfig, and don't know my AP's MAC adress?

Thanks..

chili555
September 20th, 2009, 03:48 PM
chili@LAPTOP60:~$ sudo iwlist wlan0 scan
[sudo] password for chili:
wlan0 Scan completed :
Cell 01 - Address: 99:24:56:2A:D7:29
Channel:1
Frequency:2.412 GHz (Channel 1)
Quality=65/70 Signal level=-45 dBm
Encryption key:on
ESSID:"XYZ1"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s
Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
Mode:Master
To get all the networks in your area may require moving a bit closer to them. For example, upstairs, at the west end of my house, I see three networks. Here, I see only my own. On the front porch, I see 5-6.

johannes_h
September 20th, 2009, 03:53 PM
Thanks alot!