Thread
:
connecting to GPS from command line for use with Kismet
View Single Post
brendan
2007-09-07 , 19:54
Posts: 531 | Thanked: 79 times | Joined on Oct 2006 @ This side of insane, that side of genius
#
2
got it...
#! /bin/ash
hciconfig hci0 up
hcitool cc <your:bt:gps:id:here>
gpsd hci0
kismet
kill `ps -ef |grep gpsd |grep -v grep |awk '{print $1}'`
hciconfig hci0 down
what this will allow you to do is run kismet in GPS tracking mode, and attach maemo-mapper to /dev/rfcomm0 concurrently for that true war-driving experience.
edit1 - what would be really cool is if there was a way to plot APs found as POI's in MM as they were discovered by kismet. hmmm... script fu calls...
edit2 - added a few lines to bring down gpsd and turn off the bluetooth adapter, as well as specify the shell to use.
__________________
Nokia n800
OS 2008
Pharos iGPS 360-BT
ElmScan 5 BlueTooth
BlackBerry Bold (9000)
AT&T Wireless
Last edited by brendan; 2007-09-08 at
16:56
.
Quote & Reply
|
brendan
View Public Profile
Send a private message to brendan
Find all posts by brendan