Page 1 of 7

Kismet On Windows Guide V0.2

PostPosted: Tue Feb 15, 2005 1:20 pm
by renderman
As part of my Shmoocon presentation I had a Kismet-on-Windows setup for the new Warpack. As part of this I kept notes and wrote another guide on running Kismet on Windows with a WRT54G running the Kismet_drone as a source.

Here it is:
http://www.renderlab.net/projects/wrt54g/kismetonwindows.html

As usual, any additions, comments, corrections are encouraged and welcome.

It's a helluva nice thing to be able to run the kismet server beside NS (2 different sources though).

Thanks to TheOthers, and Thorn and everyone else who beta tested the guide for me.

PostPosted: Tue Feb 15, 2005 1:29 pm
by Dutch
renderman wrote:As part of my Shmoocon presentation I had a Kismet-on-Windows setup for the new Warpack. As part of this I kept notes and wrote another guide on running Kismet on Windows with a WRT54G running the Kismet_drone as a source.

Good show Render..
You wrote the followingin the guide :
GPSD at this time does not run on Cygwin, GPS data will be unavailable for your logs

Take a look at Musatcha's GPSD emulator , which gets the GPS data thru NS via a script, then sends it out on the standard GPSD port 2947. Might work with Kismet/cygwin.

Dutch

PostPosted: Tue Feb 15, 2005 1:42 pm
by renderman
Already looked at that. The format it's outputting is not compatable with Kismet.

I've put my $100 Shmoocon speakers honorarium as a bounty for getting GPSD to work under Cygwin :)

I'm still not sure why dragorn did'nt just allow an option for GPS on a serial port.

PostPosted: Tue Feb 15, 2005 2:00 pm
by Dutch
renderman wrote:Already looked at that. The format it's outputting is not compatable with Kismet.

Hmm.. Musatcha should be able to change that.. And probably will, if you ask him ]
I've put my $100 sShmoocon speakers honorarium as a bounty for getting GPSD to work under Cygwin :)

I'm still not sure why dragorn did'nt just allow an option for GPS on a serial port.[/QUOTE]
Arrrghhh.. That would make it commercial software then :D . With regards to serial port usage, it would be nice to have it as an option, like in GPSDrive 2.9,. But the client/server model is so much more flexible. If GPSD will run under cygwin one fine day, then I'm going to bug Marius to include GPSD support for NS.. No more GPSGate/Comfoolery etc for running Digle/Jigle concurrent with NS.

Actually it could be nice to have it already now for a car setup.
One laptop with Linux, gpsd, GPSDrive and Kismet running, wired with a crossover cable to another laptop running NS and Digle.. Then Festival and MS Speech could compete in shouting " New Encrypted network detected ...." :D

Dutch

PostPosted: Thu Mar 10, 2005 4:32 am
by Dutch
renderman wrote:Already looked at that. The format it's outputting is not compatable with Kismet.

I've put my $100 sShmoocon speakers honorarium as a bounty for getting GPSD to work under Cygwin :)

I'm still not sure why dragorn did'nt just allow an option for GPS on a serial port.

Found this implementation of GPSD , which alledgedly should work under cygwin :
TGPSD is an alternative gpsd implementation. It talks directly to a NMEA gps reviever, and supplies local and remote tcp clients with position/time data. It aims to be compatible with all software that currently uses gpsd on the back end. Also, it adds a few extra commands for retrieving satellite information.

Software Requirements:
Linux or cygwin and a gps reciever.

Features:

* Better error reporting than gpsd. Does not die silently.
* Source designed to make adding modules easy
* Written in C++
* Runs on Linux and Cygwin/Windows (and most likely other platforms)

Works fine under Linux with Kismet.

Dutch

PostPosted: Thu Mar 10, 2005 12:32 pm
by King_Ice_Flash
Supprised you didn't ask for the $100, I'll claim it for him! Send the check to me!

PostPosted: Thu Mar 10, 2005 2:02 pm
by renderman
King_Ice_Flash wrote:Supprised you didn't ask for the $100, I'll claim it for him! Send the check to me!


Can't get it to compile cleanly, sorry :)

I tried all the 'alternate' gpsd implimentations and either they would'nt compile on a modern cygwin install or were not compatible with Kismet.

The bounty also requires maintinence, so one hit wonders don't count.

I will tinker with the code tonight if I get a chance and see if I can beat it into something resembling working order

PostPosted: Thu Mar 10, 2005 4:12 pm
by Dutch
renderman wrote:Can't get it to compile cleanly, sorry :)

I tried all the 'alternate' gpsd implimentations and either they would'nt compile on a modern cygwin install or were not compatible with Kismet.

The bounty also requires maintinence, so one hit wonders don't count.

I will tinker with the code tonight if I get a chance and see if I can beat it into something resembling working order


If it's version 0.4, then the error is in parser_nmea.cpp, and is easily fixed. The author forgot to include assert.h, just add :
# include <assert.h>
with the other include statements at the top in parser_nmea.cpp.

Dutch

PostPosted: Thu Mar 10, 2005 4:58 pm
by renderman
Dutch wrote:If it's version 0.4, then the error is in parser_nmea.cpp, and is easily fixed. The author forgot to include assert.h, just add :
# include <assert.h>
with the other include statements at the top in parser_nmea.cpp.

Dutch


Yeah I found that. The output does'nt seem to be compatible with Kismet though. It detects the GPS as present (which is more than GPSD does), but I get nothing in Kismet

PostPosted: Thu Mar 10, 2005 5:27 pm
by Dutch
renderman wrote:Yeah I found that. The output does'nt seem to be compatible with Kismet though. It detects the GPS as present (which is more than GPSD does), but I get nothing in Kismet

Weird.. Works here (Knoppix HD install = Debian Sarge with a bit of Sid).

Do you get output if you telnet to it, and use the R for Raw command ?
Does GPSDrive run with it ?

Otherwise try to have a go at compiling under cygwin the GPSD which comes with GPSDrive 2.09. That GPSD is a fork of the original GPSD v.1.x series. I have only had problems with the GPSD v.2.x series (primarily because the -K switch isn't implemented in series 2.x GPSD)

Dutch

PostPosted: Thu Mar 10, 2005 6:16 pm
by renderman
Dutch wrote:Weird.. Works here (Knoppix HD install = Debian Sarge with a bit of Sid).


I would expect it to work on linux, but Cygwin is a different beast. Also, I'm running kismet-devel and there were some changes to the code for the GPS interface.

Do you get output if you telnet to it, and use the R for Raw command ?


I get the 'GPSD' output, R comes back with GPSD R=1 (alternating with 0 each time)

Does GPSDrive run with it ?

GPSdrive has other compiling issues under cygwin I have'nt tracked down

Otherwise try to have a go at compiling under cygwin the GPSD which comes with GPSDrive 2.09. That GPSD is a fork of the original GPSD v.1.x series. I have only had problems with the GPSD v.2.x series (primarily because the -K switch isn't implemented in series 2.x GPSD)


I think I tried that and had no end of problems. Worth trying again though.

I'm not a developer or else I'd just do it myself. It just seems like there's always one little thing not working in the code. so close yet so far

New version

PostPosted: Sat Jul 09, 2005 8:17 pm
by renderman
Version 0.2 is out

Since I updated my kismet_drone guide, I went back and updated the kismet on cygwin guide as well in my pre-defcon project frenzy.

http://www.renderlab.net/projects/wrt54g/kismetonwindows.html

Nothing majorly new, but I know at least now I can run a more current Kismet version on my desktop to match the newer drone version on the wrt54g.

Comments, corrections and questions are welcome as usual.

Mod: Can we change the thread title to reflect v0.2 and make it sticky like th kismet_drone thread?

PostPosted: Sat Jul 09, 2005 11:48 pm
by Dutch
Done^2...

Dutch

PostPosted: Thu Jul 28, 2005 8:35 pm
by King_Ice_Flash
Has anyone tried using this to use for kismet?
http://www5.musatcha.com/musatcha/computers/software/gpsd/

PostPosted: Thu Jul 28, 2005 8:42 pm
by King_Ice_Flash
[quote="Dutch"]Hmm.. Musatcha should be able to change that.. And probably will, if you ask him ]
Looks like his current version supports Kismet.