kismetwireless / kismet

Github mirror of official Kismet repository
Other
1.57k stars 306 forks source link

(GPS) Error reading from GPSD connection localhost:2947 - Element not found #522

Open v-wan opened 5 months ago

v-wan commented 5 months ago

I've got the GPS coordinates to show up in the upper right corner, but for some reason my logs are being spammed with these error messages everytime it gets new coordinates:

INFO: (GPS) Connecting to GPSD on localhost:2947
INFO: (GPS) Connected to gpsd server [::1]:2947
INFO: (GPS) Connected to a JSON-enabled GPSD (3.22), enabling JSON mode
ERROR: (GPS) Error reading from GPSD connection localhost:2947 - Element 
       not found
INFO: (GPS) Connecting to GPSD on localhost:2947
INFO: (GPS) Connected to gpsd server [::1]:2947
INFO: (GPS) Connected to a JSON-enabled GPSD (3.22), enabling JSON mode
ERROR: (GPS) Error reading from GPSD connection localhost:2947 - Element 
       not found
INFO: (GPS) Connecting to GPSD on localhost:2947
INFO: (GPS) Connected to gpsd server [::1]:2947
INFO: (GPS) Connected to a JSON-enabled GPSD (3.22), enabling JSON mode
ERROR: (GPS) Error reading from GPSD connection localhost:2947 - Element 
       not found

My /usr/local/etc/kismet.conf:

gps=gpsd:host=127.0.0.1,port=2947,reconnect=true

My /etc/default/gpsd (gpsd 3.22):

DEVICES="/dev/ttyACM0"

# Other options you want to pass to gpsd
GPSD_OPTIONS=""

# Automatically hot add/remove USB GPS devices via gpsdctl
USBAUTO="true"
michel-ganguin commented 1 month ago

Same error here, the GPS coordinates shows up. But it does not get recorded with the new Wi-Fi device event (sqlite kismet contains 0,0 instead of the coordinates).

I'm using a network based source with gpsd udp://0.0.0.0:12345, the GPS source spams location data every ~500ms. gpsd with other source is working fine.