War Walking with Kismet


The MiniPwner comes with a script to help you start, stop and monitor the status of Kismet.  The script can be found at /minipwner/kismet/kismet.sh in the MiniPwner.  The easiest way to start Kismet from a command prompt is to issue the following command:

/minipwner/kismet/kismet.sh start &

This will start Kismet and return you to a command prompt so you can logout and take the MiniPwner for a war walk.

Of course there are times you want Kismet to start when the system boots.  There are a few different ways to accomplish this, however one of the more reliable ways is to setup a cron job.  If you're not familiar with crontab, it's basic function is to run a command on a predetermined schedule.  For our example we'll setup a cron job to try and start Kismet every minute.  The quickest way is to issue the following command:

echo " * * * * * /root/kismetstart.sh start & > /dev/null 2>&1" >> /etc/crontabs/root

The above command is echoing (or putting) the text  * * * * * /root/kismetstart.sh start & > /dev/null 2>&1 into the /etc/conrtabs/root file.  This file is used by crontab to know what to run on what interval.  And don't worry, if Kismet is already started nothing bad will happen.

If you would like to learn more about crontab and how to use it, check out this reference.


I hope this guide helps.

- Michael