Kismet On Windows Guide V0.2

Postby The Others » Fri Sep 16, 2005 9:30 am

renderman wrote:One of these days I'll sit down and figure out exactly which packages you need to install to get kismet/gpsd to compile and run. But proboly not today.


I think I worked it out when I first installed it all, I may have even PM'd you with the list. I can't remember, however, and have lost it all myself. Doh.
all good ends all

?u=273
User avatar
The Others
 
Posts: 2910
Joined: Mon Apr 22, 2002 7:27 am
Location: Dos Palabras, Mandoras

Postby renderman » Fri Sep 16, 2005 4:57 pm

Ok, cygwin installed.

downloaded gpsd 2.30, patch < cygwin.diff.txt , then I run sh autogen.sh

Configure is complaining about not being able to determine timezone. Any way you worked around this?

We're close, I can smell it.
User avatar
renderman
 
Posts: 1867
Joined: Thu Jun 06, 2002 5:29 pm
Location: Anywhere but Utah

Postby goldfndr » Fri Sep 16, 2005 6:10 pm

One of the patches was for the configure script: added a #define timezonevar before the #include <time.h>. I had a reference for this (presumably by Corinna) but I'm unable to google it right now.

If that isn't adequate, I recall doing a TIMEZONE=PST8PDT then an export TIMEZONE, maybe that was required. Oh, and make sure that the tzcode package is installed (I might've added that later; I don't know if it's really required).

In other news, I tried setting the serial port rate via stty, but there's an outstanding bug in it. I'm going to try to write an app that sets the port rate using gpsd's serial.c - I know it at least partly works because it set the port rate for my COM1 to 4800 from its Windows default of 9600 - hey, there's a thought, I should just set the port rate in Device Manager and see if it takes... (one minute later) YES!!!!! SWEET!!!!!! Ok, that's some code I don't need to write. I can now say that this works with at least one USB-based GPS device (Holux adapter on GPSlim236/GR-236, using Prolific Technology's ser2pl.sys).

Still hoping someone has something like /usr/bin/play...
goldfndr
 
Posts: 181
Joined: Sat Aug 28, 2004 3:30 am
Location: Bellevue, WA, USA

Postby renderman » Sun Sep 18, 2005 8:29 pm

Yaaaaa!!!!!

The attached screenshot shows Kismet in Cygwin with GPSD running.

Still need alot of figuring out of specific steps and commands, but It's giving me my position and detecing AP's

We finally have a complete Kismet on windows solution. A How-to will be out this week after a few more tests and procedures are worked out. Great work goldfndr. Mind if I host this patch in my guide?

Also, someone else sent me some fun modifications that could make kismet-on-windows ever easier to do. More on that later
Attachments
cygwingpsd.jpg
cygwingpsd.jpg (43.14 KiB) Viewed 1518 times
User avatar
renderman
 
Posts: 1867
Joined: Thu Jun 06, 2002 5:29 pm
Location: Anywhere but Utah

Postby SignalSeeker » Sun Sep 18, 2005 11:28 pm

renderman wrote:Yaaaaa!!!!!

The attached screenshot shows Kismet in Cygwin with GPSD running.

Still need alot of figuring out of specific steps and commands, but It's giving me my position and detecing AP's

We finally have a complete Kismet on windows solution. A How-to will be out this week after a few more tests and procedures are worked out. Great work goldfndr. Mind if I host this patch in my guide?

Also, someone else sent me some fun modifications that could make kismet-on-windows ever easier to do. More on that later


Spill the beans man. My *nix skills are to rusty to do it the right way.

Justin
User avatar
SignalSeeker
 
Posts: 414
Joined: Mon Jun 28, 2004 5:51 pm
Location: Sacramento, CA

Postby theprez98 » Mon Sep 19, 2005 4:17 am

renderman wrote:Yaaaaa!!!!!

The attached screenshot shows Kismet in Cygwin with GPSD running.

Still need alot of figuring out of specific steps and commands, but It's giving me my position and detecing AP's

We finally have a complete Kismet on windows solution. A How-to will be out this week after a few more tests and procedures are worked out. Great work goldfndr. Mind if I host this patch in my guide?

Also, someone else sent me some fun modifications that could make kismet-on-windows ever easier to do. More on that later

goldfndr+renderman

you guys rock! ;)
[font="Courier New"]"\x74\x68\x65\x70\x72\x65\x7a\x39\x38";[/font]
User avatar
theprez98
 
Posts: 3638
Joined: Tue Jan 11, 2005 8:23 pm
Location: Maryland

Postby Mark57 » Mon Sep 19, 2005 4:58 am

Nice work guys!!
Mark57
 
Posts: 1204
Joined: Thu May 19, 2005 9:17 am
Location: OKC

Postby goldfndr » Mon Sep 19, 2005 8:54 pm

No, I don't mind if you host it, but the attached file is arguably better (more proper by GPSD standards). Alas, if they want me to get it to zero output on splint... need to test it on my Debian at home, see if splint truly is error-free as of gpsd 2.30. So many Posix complaints...

One thing that looks like it'll cure the LOCK is "gpsmodelock=" in kismet.conf. I wouldn't recommend it unless you can toggle kismet and check it through something else (so you don't taint the database).

Oh, and it looks like I was mistaken about Device Manager keeping the serial speed. I've written code to set it, but even with CYGWIN=noreset_com, stty still says 0 bps. Maybe it's just lying - will test in the morning (headed to Tacoma WA four times this week).
Attachments

[The extension txt has been deactivated and can no longer be displayed.]

goldfndr
 
Posts: 181
Joined: Sat Aug 28, 2004 3:30 am
Location: Bellevue, WA, USA

Postby joswr1ght » Tue Sep 20, 2005 5:40 am

renderman wrote:Actually no, it seems to be a thing with cygwin in general. It creates alot of processes, but they are'nt out of control. No one seems to know why, but that's just how kismet runs on Cygwin


This is a Windows limitation due to how Cygwin emulates threading in applications. Each thread spawns serveral instances.

-Josh
-Joshua Wright
jwright@hasborg.com
http://home.jwu.edu/jwright/

Today I stumbled across the world's largest hotspot. The SSID is "linksys".


Check out the SANS advanced wireless auditing and assessment course:
Los Angeles
joswr1ght
Mini Stumbler
 
Posts: 90
Joined: Wed Sep 01, 2004 4:18 am

Postby renderman » Tue Sep 20, 2005 9:45 am

Ok, rough guide is available at:

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

However, I'd like to have a few people give it a go to make sure I've got all the nessecary dependancy packages listed before I post it really publicly.

It seems to be playing nice, though I am still curious to try it in a real wardriving setup. At the very least I'll be able to test Kismet Vs Netstumbler simultaniously.

Oh, I also added a bit at the end about getting GPSgate if you want to properly split your GPS data to multiple apps in Windows (i.e Kismet and NS)

Great work Goldfndr
User avatar
renderman
 
Posts: 1867
Joined: Thu Jun 06, 2002 5:29 pm
Location: Anywhere but Utah

Postby theprez98 » Tue Sep 20, 2005 10:07 am

renderman wrote:Ok, rough guide is available at:

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

However, I'd like to have a few people give it a go to make sure I've got all the nessecary dependancy packages listed before I post it really publicly.

It seems to be playing nice, though I am still curious to try it in a real wardriving setup. At the very least I'll be able to test Kismet Vs Netstumbler simultaniously.

Oh, I also added a bit at the end about getting GPSgate if you want to properly split your GPS data to multiple apps in Windows (i.e Kismet and NS)

Great work Goldfndr



If I get brave enough to mess with my WRT54G (or find a second one) I'll give it a try.
[font="Courier New"]"\x74\x68\x65\x70\x72\x65\x7a\x39\x38";[/font]
User avatar
theprez98
 
Posts: 3638
Joined: Tue Jan 11, 2005 8:23 pm
Location: Maryland

Postby The Others » Tue Sep 20, 2005 12:19 pm

I'll try tomorrow.
all good ends all

?u=273
User avatar
The Others
 
Posts: 2910
Joined: Mon Apr 22, 2002 7:27 am
Location: Dos Palabras, Mandoras

Postby Mark57 » Tue Sep 20, 2005 12:22 pm

renderman wrote:Ok, rough guide is available at:

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

However, I'd like to have a few people give it a go to make sure I've got all the nessecary dependancy packages listed before I post it really publicly.

It seems to be playing nice, though I am still curious to try it in a real wardriving setup. At the very least I'll be able to test Kismet Vs Netstumbler simultaniously.

Oh, I also added a bit at the end about getting GPSgate if you want to properly split your GPS data to multiple apps in Windows (i.e Kismet and NS)

Great work Goldfndr


I'll try it out for you.
Mark57
 
Posts: 1204
Joined: Thu May 19, 2005 9:17 am
Location: OKC

Postby The Others » Tue Sep 20, 2005 12:25 pm

Mark57 wrote:I'll try it out for you.


I'll race ya... No, not really, I'm too lazy... Good luck though :D
all good ends all

?u=273
User avatar
The Others
 
Posts: 2910
Joined: Mon Apr 22, 2002 7:27 am
Location: Dos Palabras, Mandoras

Postby Mark57 » Tue Sep 20, 2005 12:29 pm

The Others wrote:I'll race ya... No, not really, I'm too lazy... Good luck though :D


Thanks! My router is already configed so just a few changes should do it. I've got to finish my WiGle dumpage first. ;)
Mark57
 
Posts: 1204
Joined: Thu May 19, 2005 9:17 am
Location: OKC

PreviousNext

Return to Unix/Linux

Who is online

Users browsing this forum: No registered users and 3 guests