Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Ok I have been inspired by this post by TAPE
http://www.adaywithtape.blogspot.nl/...t-newcore.html
I do not have gps device but I do have an iPhone so I would like to use my iPhone as my GPS device.
I am close but not quite as yet hence I need help.
I am going to detail what I have achieved so far and the problem.
Please read this post and download iPhone-gpsd.zip
http://spench.net/drupal/software/iphone-gps
This is what I have done so far:
Code:
1. apt-get install python-gps
The unzip iPhone-gpsd.zip
2. root@bt:~/scripts/iPhone-gpsd# ls -l
total 24
-rw-r--r-- 1 root root 7135 2010-04-26 00:05 index.html
-rwxr-xr-x 1 root root 13158 2010-04-26 00:30 iPhone-gpsd.py
3. Make the iPhone-gpsd.py script executable
4. Enable Location Sevices (On) in my iPhone
5. Tether iPhone with Laptop running Backtrack through white USB cable
6. run ./iPhone-gpsd.py in terminal of the laptop
Output:
root@bt:~/scripts/iPhone-gpsd# ./iPhone-gpsd.py
Current directory: /root/scripts/iPhone-gpsd
gpsd: Can't bind to port 2947
gpsd: Maybe gpsd is already running!
GPSd running
Added /dev/pts/2
HTTP Server running...
192.168.1.22 - - [16/Jul/2012 12:13:39] "GET / HTTP/1.1" 200 -
192.168.1.22 - - [16/Jul/2012 12:13:39] code 404, message Unknown file type
192.168.1.22 - - [16/Jul/2012 12:13:39] "GET /favicon.ico HTTP/1.1" 404 -
192.168.1.22 - - [16/Jul/2012 12:13:42] "POST / HTTP/1.1" 200 -
Received 1 updates:
-36.84846,174.763332,25000,1342397459789
$GPRMC,121059.78,V,3650.907600,S,17445.799920,E,,,160712,,,N*5E
192.168.1.22 is my local ip and you can open a webpage and point it to 192.168.1.22 or 'localhost' you
will see a page with your current location.
Then I edit kismet.conf file.
root@bt:~# nano /usr/local/etc/kismet.conf
Code:
# Do we have a GPS?
gps=true
# Do we use a locally serial attached GPS, or use a gpsd server?
# (Pick only one)
gpstype=gpsd
# gpstype=serial
# What serial device do we look for the GPS on?
gpsdevice=/dev/pts/2
# Host:port that GPSD is running on. This can be localhost OR remote!
gpshost=localhost:2947
Then I fireup kismet and could not get the gps data.
Kismet says:
No GPS data (GPS not connected)
I have gone through various pages to resolve this issue..
here are resources I been too..
http://gpsd.berlios.de/troubleshooti...roubleshooting
Hopefully someone can point me to the right direction.
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Ok I was testing with my router ..
What I mean that my laptop and iphone was communicating through the router but obviously on the road you need an adhoc network. For some strange reason I could not get Wicd to assign the ip address to my laptop (basically I was unable to create a functioning ad-hoc network). But the following script works fine:
Code:
#!/bin/bash
#starts the ad hoc server
ifconfig wlan0 down
iwconfig wlan0 mode ad-hoc
iwconfig wlan0 channel 4
iwconfig wlan0 essid 'kismet'
ifconfig wlan0 169.254.251.30 up
I reason I had assigned id address 169.254.251.30 because the ad-hoc ip addresses iphone assigns is in the range of 169.254.0.0 onwards...
This is dirty but works..
But still looking for the solution to feed this gps data to kismet for war driving..
thanks
Just to show that I am getting this gps feed in my laptop...
http://img607.imageshack.us/img607/2...eenshotysh.png
It is from my laptop to kismet.. that's where I am having issues..
cheers all..
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Another Issue I just thought of:
If I am creating an ad-hoc network to get GPS data from my iPhone it basically will restrict my mon0 interface to 1 channel (which ever channel I will create the ad-hoc network). That really defeats the purpose of wardriving.
Gotta find another way.. May be bluetooth connectivity..
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Seriously ...no one wants to do this????
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
I'm very interested in using a smartphone's GPS with kismet, but I don't have an iPhone (I have an Android), so I can't be much help. I'm monitoring this thread with anticipation, however :)
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Quote:
Originally Posted by
ternarybit
I'm very interested in using a smartphone's GPS with kismet, but I don't have an iPhone (I have an Android), so I can't be much help. I'm monitoring this thread with anticipation, however :)
You may like to see Software section here:
http://c3l.lu/wiki/WarDriving
It gives you instruction how to do it with android phone.
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
hi hannah :)
if you are interested:
I have an Android phone! I did some testing this morning following a tutorial on the net: http://www.skidhacker.com/ (thanks) following the movie I did some testing: in my BT5-r2 after install blueman & fix with bluetoothd-u (type in terminal) & connect my phone with serial port (create / dev/rfcomm0) I noticed that I did not have gps with kismet-data (and the signal fell gps) instead using BT5 (first-version) live-mode after install blueman (works without "" "fixes bluetooth-u" "" & connect my phone with serial port (create / dev/rfcomm0) and everything works fine with kismet packages gps arrived! I do not know why! (bug / another kernel ... etc) but in BT5 (first) Worked!
sorry my english !!:)
bye
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Quote:
Originally Posted by
zimmaro
hi hannah :)
if you are interested:
I am sure I am interested.. I had an access to Galaxy S3. So downloaded BlueNmea as the video shows (great video BTW).
Everything works till when BlueNMEA needs to see/connect my BT machine (BT R2 64bit).
Ok here are the steps:
1. BT and Galaxy paired successfully
2. Serial port /dev/rfcomm0 was created successfully
However BlueNMEA could not connect to my BackTrack Machine through Bluetooth Serial Port /dev/rfcomm0.
I even press the scan button under BlueNMEA app but it could not find any device.
Is this something similar you had experienced....
Thanks
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Edit: Disregard, after further research it seems I was wrong.
Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal
Quote:
Originally Posted by
hannah
I am sure I am interested.. I had an access to Galaxy S3. So downloaded BlueNmea as the video shows (great video BTW).
Everything works till when BlueNMEA needs to see/connect my BT machine (BT R2 64bit).
Ok here are the steps:
1. BT and Galaxy paired successfully
2. Serial port /dev/rfcomm0 was created successfully
However BlueNMEA could not connect to my BackTrack Machine through Bluetooth Serial Port /dev/rfcomm0.
I even press the scan button under BlueNMEA app but it could not find any device.
Is this something similar you had experienced....
Thanks
hi hannah :)
sorry if I do not answer quickly, but are now 10 days that I have login problems with the forum! (and I do not know why?) (I can only sometimes via-tor!)
I to take the test contained in the "video tutorial" "I used BT5 livecd gnome32bit!!!
I installed blueman and I went ahead with POSITIVE results! with my galaxy-s2
in MY BT5-R2 had problems between the bluetooth & GPS-data
if you want to test yourself with BT5 (first) 32-bit live-mode (possibly not so "" ruin "" your R2)
bye :)