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.

For research I wanted to try and keep a log of all the networks that my laptop sees (not connects connects to, but just gets a response from when searching) over a period of time walking around. I was curious if it saved this info to a cache file somewhere in the system or if I could make it do so.

If it's relevant, I'm running the Debian derivative, CrunchBang. I'm fairly new to Linux and now I've finally found a purpose for using it!

share|improve this question
1  
You may also want to look at passive monitors like Kismet. –  derobert Aug 5 '13 at 20:06
add comment

migrated from serverfault.com Aug 5 '13 at 19:05

This question came from our site for professional system and network administrators.

1 Answer

up vote 2 down vote accepted

You normally scan to get WiFi available network. You can iwlist scan or iw dev wlan0 scan and dump the output to any file. You need it to run this periodically then put it in to a cronjob.

share|improve this answer
    
Oh sweet, so I can force it to scan for WiFi and then dump directly from there? I'll try it out. Thanks a lot! –  connergdavis Aug 5 '13 at 19:51
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.