3

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?

6
  • 1
    Have you tried airodump-ng?
    – YoMismo
    Jul 29, 2015 at 10:50
  • It is possible to save the airodump-ng output in file??
    – linuscl
    Jul 29, 2015 at 10:55
  • iwlist wlan1 scan, nmcli dev wifi
    – Costas
    Jul 29, 2015 at 10:56
  • ^ a little bit slow...
    – linuscl
    Jul 29, 2015 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, 2015 at 13:29

1 Answer 1

3

First option: airodump-ng

https://stackoverflow.com/questions/17776383/reading-realtime-output-from-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.

You must log in to answer this question.

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