NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 02-15-2005   #1 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
Kismet On Windows Guide V0.2

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/wr...onwindows.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.

Last edited by renderman : 08-15-2005 at 01:35 PM.
renderman is offline  
Old 02-15-2005   #2 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted 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.
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
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 02-15-2005   #3 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
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.

Last edited by renderman : 12-22-2005 at 12:10 PM.
renderman is offline  
Old 02-15-2005   #4 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by renderman
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
Quote:
Originally Posted by renderman
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.
Arrrghhh.. That would make it commercial software then . 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 ...."

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 03-10-2005   #5 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by renderman
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
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 03-10-2005   #6 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Supprised you didn't ask for the $100, I'll claim it for him! Send the check to me!
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline  
Old 03-10-2005   #7 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
Quote:
Originally Posted by King_Ice_Flash
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
renderman is offline  
Old 03-10-2005   #8 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by renderman
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
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 03-10-2005   #9 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
Quote:
Originally Posted by Dutch
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
renderman is offline  
Old 03-10-2005   #10 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by renderman
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
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 03-10-2005   #11 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
Quote:
Originally Posted by Dutch
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.

Quote:
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)

Quote:
Does GPSDrive run with it ?
GPSdrive has other compiling issues under cygwin I have'nt tracked down

Quote:
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
renderman is offline  
Old 07-09-2005   #12 (permalink)
renderman
Drunken Stumbler
 
renderman's Avatar
 
Join Date: Jun 2002
Location: Anywhere but Utah
Posts: 1,794
New version

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/wr...onwindows.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?

Last edited by renderman : 09-16-2005 at 09:05 AM.
renderman is offline  
Old 07-10-2005   #13 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Done^2...

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline  
Old 07-28-2005   #14 (permalink)
King_Ice_Flash
Alien Paranoid Stumbler
 
King_Ice_Flash's Avatar
 
Join Date: May 2003
Location: WI
Posts: 2,624
Quote:
Originally Posted by Dutch
Hmm.. Musatcha should be able to change that.. And probably will, if you ask him
Looks like his current version supports Kismet.
__________________
"Yeah," said a voice from under the table, "you go to pieces so fast people get hit by the shrapnel."
King_Ice_Flash is offline  
Old 07-31-2005   #15 (permalink)
theprez98
SpoonfeederExtraordinaire
 
theprez98's Avatar
 
Join Date: Jan 2005
Location: Maryland
Posts: 3,613
My WRT54G firmware is v3.03.9. Am I gonna kill it if I try to flash to the Satori_v2_2.00.8.7sv-pre1.bin?
__________________
:00475160 0E A6 AE A0 19 E3 A3 46 .......F
:00475168 0D 65 17 0C 53 70 6F 6F .e..Spoo
:00475170 6E 66 65 65 64 65 72 2E nfeeder.
:00475178 45 78 74 72 61 6F 72 64 Extraord
:00475180 69 6E 61 69 72 65 5D 3B inaire];
:00475188 8B 9E 92 5A FF 5D A6 F0 ...Z.]..
theprez98 is offline  
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 08:41 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.