Page 1 of 2 12 LastLast
Results 1 to 10 of 24

Thread: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal

Hybrid View

  1. #1
    Senior Member
    Join Date
    Feb 2012
    Location
    Cyberspace
    Posts
    174

    Default 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.

  2. #2
    Senior Member
    Join Date
    Feb 2012
    Location
    Cyberspace
    Posts
    174

    Default 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...

    It is from my laptop to kismet.. that's where I am having issues..

    cheers all..

  3. #3
    My life is this forum thorin's Avatar
    Join Date
    Jan 2010
    Posts
    2,629

    Default Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal

    Edit: Disregard, after further research it seems I was wrong.
    Last edited by thorin; 07-25-2012 at 07:55 AM.
    I'm a compulsive post editor, you might wanna wait until my post has been online for 5-10 mins before quoting it as it will likely change.

    I know I seem harsh in some of my replies. SORRY! But if you're doing something illegal or posting something that seems to be obvious BS I'm going to call you on it.

  4. #4
    Senior Member
    Join Date
    Feb 2012
    Location
    Cyberspace
    Posts
    174

    Default 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..
    Last edited by hannah; 07-17-2012 at 12:09 AM.

  5. #5
    Senior Member
    Join Date
    Feb 2012
    Location
    Cyberspace
    Posts
    174

    Default Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal

    Seriously ...no one wants to do this????

  6. #6
    Junior Member
    Join Date
    Jun 2012
    Posts
    42

    Default 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

  7. #7
    Senior Member
    Join Date
    Feb 2012
    Location
    Cyberspace
    Posts
    174

    Default Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal

    Quote Originally Posted by ternarybit View Post
    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.

  8. #8
    Good friend of the forums zimmaro's Avatar
    Join Date
    Mar 2010
    Location
    milano
    Posts
    407

    Default 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

  9. #9
    Senior Member
    Join Date
    Feb 2012
    Location
    Cyberspace
    Posts
    174

    Default Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal

    Quote Originally Posted by zimmaro View Post
    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

  10. #10
    Good friend of the forums zimmaro's Avatar
    Join Date
    Mar 2010
    Location
    milano
    Posts
    407

    Default Re: Issues: Wardriving: Tether iPhone with BT5 R2 -> kismet to receive gps signal

    Quote Originally Posted by hannah View Post
    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

Page 1 of 2 12 LastLast

Similar Threads

  1. Kismet gps and wardriving
    By ninjaesc in forum Beginners Forum
    Replies: 9
    Last Post: 02-20-2011, 05:42 PM
  2. Signal strength and SNR in Kismet
    By jwpjr in forum OLD Newbie Area
    Replies: 2
    Last Post: 01-19-2010, 10:13 PM
  3. Kismet does not recieve signal from GPS
    By Danno in forum OLD Newbie Area
    Replies: 8
    Last Post: 09-10-2008, 12:28 AM
  4. Kismet Signal strength
    By enigmaticzidon in forum OLD Newbie Area
    Replies: 1
    Last Post: 05-25-2007, 04:07 PM
  5. kismet no signal information is available
    By map777 in forum OLD BackTrack v2.0 Final
    Replies: 2
    Last Post: 03-30-2007, 11:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •