Jump to content

Archived

This topic is now archived and is closed to further replies.

chriswhat

Track Pineapple via GPS

Recommended Posts

Does anyone have a reliable method for acquiring a remote Pineapple's GPS coordinates? When the Pineapple is tethered to a 3g/4g modem, not a GPS-enabled phone.

Share this post


Link to post
Share on other sites

USB GPS would do the trick. Just be careful how you track your pineapple as depending where you put it, may become illegal VERY quickly...

Share this post


Link to post
Share on other sites

I couldn't get my usb gps to work with the pineapple. It's a standard pl-2302 to serial to usb gps. Seems gpsd on the pineapple doesn't have support for the adapter.

Share this post


Link to post
Share on other sites

I couldn't get my usb gps to work with the pineapple. It's a standard pl-2302 to serial to usb gps. Seems gpsd on the pineapple doesn't have support for the adapter.

I'll see what I can do!

Share this post


Link to post
Share on other sites

Alright, here it is. I attached the kmod you need to install. Simply SCP it to your /tmp/ folder on the WiFi Pineapple MKV and execute the following over SSH:

opkg install /tmp/kmod-usb-serial-pl2303_3.3.8-1_ar71xx.ipk

Have fun!

Sebkinne

You freaking rock!!!!

Screenshot%2520from%25202013-11-22%25201

Share this post


Link to post
Share on other sites

Hey,

I'm trying to get my GPS going with Kismet too. I can't seem to get gpsd to work though. Did you have to do anything special, or launch it with any specific hooks? The same gps works on my laptop running Kali, so I don't know what I'm missing.

It seems to have installed right, but I can't get anything out of it:

root@Pineapple:~# dmesg |grep 2303
[   36.390000] USB Serial support registered for pl2303
[   36.390000] pl2303 1-1.2:1.0: pl2303 converter detected
[   36.400000] usb 1-1.2: pl2303 converter now attached to ttyUSB0
[   36.400000] usbcore: registered new interface driver pl2303
[   36.410000] pl2303: Prolific PL2303 USB to serial adaptor driver

Also, if you want your Kismet to do channel hopping, you have to put your device into monitor mode yourself for it to work:

ifconfig wlan1 down
iwconfig wlan1 mode monitor
kismet_drone

...Kinda working.

gpsd -b /dev/ttyUSB0

Share this post


Link to post
Share on other sites

Hey,

I'm trying to get my GPS going with Kismet too. I can't seem to get gpsd to work though. Did you have to do anything special, or launch it with any specific hooks? The same gps works on my laptop running Kali, so I don't know what I'm missing.

It seems to have installed right, but I can't get anything out of it:

root@Pineapple:~# dmesg |grep 2303
[   36.390000] USB Serial support registered for pl2303
[   36.390000] pl2303 1-1.2:1.0: pl2303 converter detected
[   36.400000] usb 1-1.2: pl2303 converter now attached to ttyUSB0
[   36.400000] usbcore: registered new interface driver pl2303
[   36.410000] pl2303: Prolific PL2303 USB to serial adaptor driver

Also, if you want your Kismet to do channel hopping, you have to put your device into monitor mode yourself for it to work:

ifconfig wlan1 down
iwconfig wlan1 mode monitor
kismet_drone

...Kinda working.

gpsd -b /dev/ttyUSB0

I'm not using gpsd at all. It's a pos in my opinion. Kismet newcore can talk directly to gps devices. Edit your /etc/kismet/kismet.conf I also had to move the kismet binaries to their local positions instead of having them installed on the sd card. Kismet complains about too many links if you try to just link to the sd card.

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/ttyUSB0
# Host:port that GPSD is running on.  This can be localhost OR remote!
# gpshost=localhost:2947
# Do we lock the mode?  This overrides coordinates of lock "0", which will
# generate some bad information until you get a GPS lock, but it will
# fix problems with GPS units with broken NMEA that report lock 0
gpsmodelock=false
# Do we try to reconnect if we lose our link to the GPS, or do we just
# let it die and be disabled?
gpsreconnect=true

Share this post


Link to post
Share on other sites

I'm not using gpsd at all. It's a pos in my opinion. Kismet newcore can talk directly to gps devices. Edit your /etc/kismet/kismet.conf I also had to move the kismet binaries to their local positions instead of having them installed on the sd card. Kismet complains about too many links if you try to just link to the sd card.

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/ttyUSB0
# Host:port that GPSD is running on.  This can be localhost OR remote!
# gpshost=localhost:2947
# Do we lock the mode?  This overrides coordinates of lock "0", which will
# generate some bad information until you get a GPS lock, but it will
# fix problems with GPS units with broken NMEA that report lock 0
gpsmodelock=false
# Do we try to reconnect if we lose our link to the GPS, or do we just
# let it die and be disabled?
gpsreconnect=true

I had no idea you no longer needed gpsd!!!

Share this post


Link to post
Share on other sites

What kind of GPS do you guys have? My Kismet didn't see mine without gpsd.

I have an older Holux GR-213.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...