After normal wheezy-raspbian installation you should run:
apt-get update && apt-get upgrade
To update your software.
Now get the newest Kismet code from kismet home page:
or direct link here: http://www.kismetwireless.net/code/kismet-2013-03-R1b.tar.xz.
For some reason I couldn’t open that .tar.xz file with my Linux so I had to do this a noob way…
Download that file with my windows computer and then open it with 7-Zip after that I used winscp to transfer it to my Raspberry Pi.
After that we can start to compile and install kismet itself.
First we have to install some thingys which we need when we are compiling kismet:
apt-get install libncurses5-dev libpcap0.8-dev libnl2-dev libpcre3-dev
This doesn’t take too long… about few minutes normally.
At his part we have to copy our kismet files which we downloaded from kismetwireless.net to our Raspberry Pi and
then go to that directory where those files are and then we can start to compile kismet.
First we have to change rights of that configure file with:
chmod +x configure
After that you can start configure:
(This will take about one hour so you might wanna get some coffee…)
Now kismet should be installed and now you can do some changes to kismet.conf configuration file.
Probably you have used to find kismet.conf on /etc/kismet.conf but now it’s on /usr/local/etc/kismet.conf
My changes to kismet.conf:
logprefix=/kismet_logs/ ncsource=wlan0 logdefault=WardriverRaspberryPi
If you get this kind of errors:
[SERVER] ERROR: Packet source 'Alfa' failed to set channel 1: mac80211_setchannel()
pkill wpa_cli pkill ifplugd pkill wpa_supplicant
before starting kismet
It still doesn’t start GPS rigtht a way but after messages:
ERROR: No update from GPSD in 15 seconds or more, attempting to reconnect INFO: Connected to a JSON-enabled GPSD version 3.6, turning on JSON mode
it should start to work and you should see GPS coordinates on the screen.
If it doesn’t start to work try to do this too:
Raspberry Pi: How to get GPS working
I’m sure that there is right way and especially easier way to do this so please leave a comment and tell me how I could improve this.