How to run Kismet on the SL-6000L

From OESF

Jump to: navigation, search

[edit] Preparation and Installation

1) Obtain kismet, kismet-qt, libpcap, libstdc++, and uclx from:

  • kismet binary: kismet_3.0.1c-20031228 or the latest arm binaries from the kismet website. The latest kismet release version for download is kismet-2006-04-R1. The last tested working release version for download is kismet-2005_08-R1.
  • new versions of Kismet (prebuilt ipks from the kismet website) are compressed binaries with a utility, ulcx. This may cause kismet to quit unexpectedly with a bus Error. Should this occur, the uclx utility can be found at uclx download site

You will also need the terminal program from the install cd and relative confidence with a console prompt and the vi editor.

2) In terminal: (you typically need the super user authority to do all the following)

 su
 cp Location/libstdc++-3-libc6.1-2-2.10.0.so /usr/lib
 cd /usr/lib
 chmod 755 libstdc++-3-libc6.1-2-2.10.0.so
 ln -s libstdc++-3-libc6.1-2-2.10.0.so libstdc++-libc6.1-2.so.3 

3) Install libpcap using the package manager (Add/Remove Software from the Settings menu)

4) Soft reset (may not be required)

5) [latest kismet] unzip and untar the kismet-***-arm.tar.gz file obtained from the kismet website to get kismet-***_arm.ipk

 gunzip kismet-***-arm.tar.gz
 tar xvf kismet-***-arm.tar

6) Instal Kismet and Kismet-qt using the package manager

7) [latest kismet] Uncompress the kismet binary by ulcx. Note: you may need to clean up some space in your internal flash for this deflation process.

 cd /usr/local/bin
 ln -s Location/ulcx
 ulcx -d kismet_client
 ulcx -d kismet_server 

8) Edit the kismet configure file

 vi /home/root/usr/local/etc/kismet.conf 
    suiduser=root
    source=prism2,wlan0,prism2source or [latest kismet] source=wlanng,wlan0,prism2source
    gps=false (unless you use GPS with kismet)

8) To prevent the Wireless Interface from timing out (and killing the kismet session) a Ad-Hoc Network Service is created. In the network app create a new service (I call mine “war-walk”). “any” for ssid. Ad-hoc type and then setup a bogus static IP address scheme with a class A mask. (IP – 10.1.0.2 Mask - 255.0.0.0 Gateway 10.1.0.1) DNS 10.1.0.1

8) Connect to this service.

9) Set Kismet GUI to run as root. Then run the Kismet GUI and watch the networks appear...


[edit] Run the latest Kismet in console

10) Edit kismet_ui configure file to make lines readable

vi /home/root/usr/local/etc/kismet_ui.conf 
   simpleborders=true

11) Export terminal info and run kismet...

export TERMINFO=/usr/share/terminfo
export TERM=linux
kismet

[edit] Run the latest Kismet with sound

12) Unzip and untar the old kismet ipk to extract the playback binaries and wav files

mkdir temp
cp Location/kismet_3.0.1c-20031228_arm.ipk temp
cd temp
tar zxvf kismet_3.0.1c-20031228_arm.ipk
gunzip data.tar.gz
tar xvf data.tar
cp ./usr/local/bin/play /usr/local/bin
cp ./usr/local/bin/sox  /usr/local/bin
chmod 755 /usr/local/bin/play
chmod 755 /usr/local/bin/sox
prepare the directory (mkdir ***) /usr/local/share/kismet/wav
cp ./usr/local/share/kismet/wav/*.wav /usr/local/share/kismet/wav

13) Edit kismet configure files

for kismet-qt GUI (this acually enables the sound for the kismet server)

vi /home/root/usr/local/etc/kismet.conf
   sound=true

for console UI

vi /home/root/usr/local/etc/kismet_ui.conf
   sound=true


Anmol's Notes: If you install Kismet on the SD card and get an error "/usr/local/bin/<filename> or /usr/local/etc/<filename> not found", symlink the correct /bin and /etc folders on the SD card to the expected path.

Personal tools