gpsd-users
[Top][All Lists]
Advanced

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

Re: gpsfake usage


From: Владимир Калачихин
Subject: Re: gpsfake usage
Date: Mon, 27 Apr 2020 20:40:03 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

27.04.2020 03:45, Gary E. Miller пишет:
> If you get it working, please document it for the next person.

I start gpsfake on server 192.168.10.10 as:
```
stager@StagerServer:~/gpsd$ export GPSD_HOME=/home/stager/gpsd/
stager@StagerServer:~/gpsd$ ./gpsfake  -v -c 1 test/daemon/ais-nmea.log
```
The gpsd running:
```
stager@StagerServer:~$ ps 6137
  PID TTY      STAT   TIME COMMAND
6137 pts/0 S+ 0:00 /home/stager/gpsd//gpsd -b -N -S 2947 -F /tmp/gpsfake-6136.sock
```

I start gpsd on client as:
```
kalach@kalach1:~/gpsd$ export GPSD_HOME=/home/kalach/gpsd/
kalach@kalach1:~/gpsd$ ./gpsd -N gpsd://192.168.10.10
```
After try to connect to this gpsd I see:
```
gpsd:ERROR: remote gpsd device open error can't connect to host/port pair.
gpsd:ERROR: gpsd://192.168.10.10: device activation failed.
gpsd:ERROR: gpsd://192.168.10.10: activation failed, freeing device
```

What am I doing wrong?



Владимир Калачихин



reply via email to

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