| Posted by: | gr8w11ne |
| Subject: | Kismet - Cygwin - WRT54GS |
| Date: | 00:52:36 13/09/2004 |
This is to record some notes from getting the following setup working on the server side:
Linksys WRT54GS running OpenWRT and Kismet Drone with an ethernet cable to a notebook running Windows 2000 SP4 with Cygwin and Kismet Server and Client and Ethereal(native W2K version)...
Installed Ethereal Windows version and WinPcap.
Installed Cygwin ensuring that gcc compilers and make runtime (see development section) were added to the base configuration.
Installed Subversion and downloaded Kismet development version (1163) and unzipped the file.
Note: the stable version Kismet-2004-04-R1 throws a Windows Application error and should not be used with Cygwin.
Copied the unzipped files to a new directory under Cygwin.
Modified the "Makefile" to set INSTGRPT, MANGRP to use Administrators and INSTUSER to Administrator - this is avoid having to create a new user with consequent user rights problems and avoids having to create a new user.
Fix the endian_magic.h file - this appears to have a bug in it where it can't find endian.h and the byteswap.h file is not present in a Cygwin installation:
a) comment out the include for byteswap.h
b) insert the path to endian.h e.g. </usr/include/machine/endian.h>
In the Kismet directory running Cygwin command line execute
"./configure --disable-pcap"
No other parameters are necessary as the config process appears to now handle missing parts e.g. "missing Linux netlink headers" just logs a warning message and continues. And even though I did try and disable some of the other things the warning messages still appeared.
Run "make dep" to create dependencies
Run "make install"
Now modify the /usr/local/kismet.conf file and set:
servername=whateveryoulike
suiduser=Administrator #(read and understand the security issues with this or you can set up another user)
source=kismet_drone,192.168.1.1:3501,drone #(or whatever is the ip address:port of the drone)
Start the Kismet drone on the WRT54GS box then run "kismet" in the Cygwin command line.
Both the server and client should start and bring up a text based interface. This interface only itemises the networks found and number of packets from the networks. Further useful information can be gleaned from the log files (xml,csv files) but the real oil is found in the .dump file which can be read and analysed by Ethereal. All this and you can continue to use your favourite Windows programs :)
gr8w11ne
Reply to this message