I have written a script which scans for wifi networks with

iw dev wlan0 scan

and put the SSIDs in a file.

Is there a similar tool wich works a bit faster?

  • 1
    Have you tried airodump-ng? – YoMismo Jul 29 '15 at 10:50
  • It is possible to save the airodump-ng output in file?? – linuscl Jul 29 '15 at 10:55
  • iwlist wlan1 scan, nmcli dev wifi – Costas Jul 29 '15 at 10:56
  • ^ a little bit slow... – linuscl Jul 29 '15 at 11:01
  • You can store a command wod-ele-da-cmd output to a plain text file wod-ele-da-file by wod-ele-da-cmd > wod-ele-da-file – McSinyx Jul 29 '15 at 13:29

First option: airodump-ng


airodump-ng [MONITOR MODE DEVICE] -w [FILE] --write-interval 5 -o csv

This will write a file [FILE]-01.csv which updates every 5 seconds. You have to kill the airodump-ng process when you want to stop scanning.

Second option: iwlist

iwlist wlan0 scanning | egrep 'Cell |Encryption|Quality|Last beacon|ESSID' > [FILE]

This will save a list of available networks with details to [FILE]. The process takes 1-5 seconds.

Thanks to https://askubuntu.com/questions/75625/how-do-i-scan-for-wireless-access-points

You need root privileges for both options.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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