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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

You may also want to look at passive monitors like Kismet. – derobert Aug 5 '13 at 20:06
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

Your Answer


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.