[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gpsd-users] -G option on gpsd

From: Peter Collard
Subject: [gpsd-users] -G option on gpsd
Date: Tue, 25 Oct 2016 11:07:32 +0100

Am I right in thinking this option should allow me to access the gps data from another machine in my subnet?

Heres the ps -ef output showing it running (on a headless Raspberry PI):-

gpsd      1028     1  4 09:30 ?        00:00:00 /usr/sbin/gpsd -N -G -n /dev/ttyUSB0

I can access it locally with cgps etc, and the pi has had no firewall added.

When I go to another machine (Ubuntu) and try to access it I get..

address@hidden:~$ cgps -D3  rtpi
libgps: gps_sock_open(rtpi, 2947)
libgps: netlib_connectsock() returns error -6
cgps: no gpsd running or network error: -6, can't connect to host/port pair

address@hidden:~$ ping rtpi
PING rtpi ( 56(84) bytes of data.
64 bytes from rtpi ( icmp_seq=1 ttl=64 time=0.339 ms

How do I fix this?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]