Page 3 of 7

PostPosted: Fri Sep 16, 2005 9:30 am
by The Others
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.

PostPosted: Fri Sep 16, 2005 4:57 pm
by renderman
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.

PostPosted: Fri Sep 16, 2005 6:10 pm
by goldfndr
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...

PostPosted: Sun Sep 18, 2005 8:29 pm
by renderman
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

PostPosted: Sun Sep 18, 2005 11:28 pm
by SignalSeeker
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

PostPosted: Mon Sep 19, 2005 4:17 am
by theprez98
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! ;)

PostPosted: Mon Sep 19, 2005 4:58 am
by Mark57
Nice work guys!!

PostPosted: Mon Sep 19, 2005 8:54 pm
by goldfndr
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).

PostPosted: Tue Sep 20, 2005 5:40 am
by joswr1ght
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

PostPosted: Tue Sep 20, 2005 9:45 am
by renderman
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

PostPosted: Tue Sep 20, 2005 10:07 am
by theprez98
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.

PostPosted: Tue Sep 20, 2005 12:19 pm
by The Others
I'll try tomorrow.

PostPosted: Tue Sep 20, 2005 12:22 pm
by Mark57
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.

PostPosted: Tue Sep 20, 2005 12:25 pm
by The Others
Mark57 wrote:I'll try it out for you.


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

PostPosted: Tue Sep 20, 2005 12:29 pm
by Mark57
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. ;)