evilsocket / pwnagotchi

(⌐■_■) - Deep Reinforcement Learning instrumenting bettercap for WiFi pwning.
https://pwnagotchi.ai/
Other
7.71k stars 1.16k forks source link

Not setting lat and lon from GPS #541

Open elipsius opened 5 years ago

elipsius commented 5 years ago

I have gpsd configured with USB based GPS receiver, test using cgps and data pulls and shows location data and time correctly. When I enable it in my config the json files show up but location, data lats and longs always 0.

Not sure what I'm missing or if this is a bug.

Does gpsd need to be disabled and stopped for this to work, I've tried both ways and seems to never work.

elipsius commented 4 years ago

My configuration:

#
main:
    name: 'manigotchi'                                                                                                                      plugins:
     gps:
            enabled: true
            speed: 19200
            device: /dev/ttyUSB0
evilsocket commented 4 years ago

we need logs

elipsius commented 4 years ago

Will pull them when I get a chance today

benleb commented 4 years ago

pobably this was due to the broken gps plugin, fixed since https://github.com/evilsocket/pwnagotchi/commit/f4b886cf7bbf12e065307d04394a39b94ec74022 :) should work in next release