How to run Kismet on the SL-6000L

From OESF

(Difference between revisions)
Jump to: navigation, search
(edited for latest kismet)

Line 1:

Line 1:

-
1) Obtain Kismet, Kismet-qt, libpcap, and libstdc++ from:
+
1) Obtain Kismet, Kismet-qt, libpcap, libstdc++, and uclx from:
-
* http://zaurus.spy.org/feeds/bryandeluca/kismet_3.0.1c-20031228_arm.ipk
+
* http://zaurus.spy.org/feeds/bryandeluca/kismet_3.0.1c-20031228_arm.ipk or the latest Arm Binaries from kismet website http://www.kismetwireless.net/download.shtml
-
* http://prdownloads.sourceforge.net/kismet-qte/kismet-qt_2.0.0_arm.ipk
+
* http://prdownloads.sourceforge.net/kismet-qte/kismet-qt_2.0.0_arm.ipk or http://bryandeluca.com/cacko/feed/kismet-qt_2.0.0-3_arm.ipk
* http://zaurus.spy.org/feeds/bryandeluca/libpcap0_0.7.2_arm.ipk
* http://zaurus.spy.org/feeds/bryandeluca/libpcap0_0.7.2_arm.ipk
* http://zaurus.xavierxeon.de/devel/gcc/libstdc++-3-libc6.1-2-2.10.0.so
* http://zaurus.xavierxeon.de/devel/gcc/libstdc++-3-libc6.1-2-2.10.0.so
 +
 +
current latest kismet version Kismet-2005_08-R1
 +
* http://www.kismetwireless.net/code/kismet-2005-08-R1-arm.tar.gz
 +
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:
 +
* http://inter.zon.free.fr/zaurus_index.html#uclx
You will also need the terminal program from the install cd and relative confidence with a console prompt and the vi editor.
You will also need the terminal program from the install cd and relative confidence with a console prompt and the vi editor.

Line 10:

Line 15:

2) In terminal:
2) In terminal:
su
su
-
 
+
cp Location/libstdc++-3-libc6.1-2-2.10.0.so /usr/lib
-
Copy libstdc++ to /usr/lib. Make sure the file permissions match the other libraries. Create a link to libstdc++-libc6.1-2.so.3.
+
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
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)
+
3) Install libpcap using the package manager (Add/Remove Software from the Settings menu)
4) Soft reset (may not be required)
4) Soft reset (may not be required)
-
5) Install Kismet and Kismet-qt using the package manager
+
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) vi /home/root/usr/local/etc/kismet.conf to enable source=prism2,wlan0,prism2source. You may also want to turn off GPS support (unless you have one).
+
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
-
7) 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) 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) Connect to this service. <br>
+
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...
9) Set Kismet GUI to run as root. Then run the Kismet GUI and watch the networks appear...
-
Anmol's Notes:
+
== 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
 +
 
 +
== Run the latest Kismet with sound ==
 +
 
 +
12) Unzip and untar the old kismet ipk to extract the binary and wav files
 +
 
 +
mkdir 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 qt GUI
 +
vi /home/root/usr/local/etc/kismet.conf
 +
sound=true
-
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.
+
for console
 +
vi /home/root/usr/local/etc/kismet_ui.conf
 +
sound=true
-
-- Updated 6 Nov 2005
 
-
Additional Notes:
+
'''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.
-
Newer 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, decompress the kismet binary using the command 'uclx -d kismet'
 
-
The uclx utility can be found at:
+
--[[User:Xjqian|Xjqian]] 10:13, 14 Feb 2006 (PST)
-
http://inter.zon.free.fr/zaurus_index.html#uclx
+

Revision as of 18:13, 14 February 2006

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

current latest kismet version 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:

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:

 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...


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

Run the latest Kismet with sound

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

mkdir 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 qt GUI

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

for console

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.


--Xjqian 10:13, 14 Feb 2006 (PST)

Personal tools