Jump to content

Recommended Posts

Posted

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.

Posted

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!

Posted (edited)

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

Edited by barry99705
Posted (edited)

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
Edited by bedpan
Posted (edited)

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

Edited by barry99705
Posted

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!!!

  • 9 months later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...