[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gpsfake usage
From: |
Gary E. Miller |
Subject: |
Re: gpsfake usage |
Date: |
Mon, 27 Apr 2020 10:49:22 -0700 |
Yo Владимир!
You need more thrust to make this pig fly.
On Mon, 27 Apr 2020 20:40:03 +0300
Владимир Калачихин <address@hidden> wrote:
> 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 ```
OK, but what port will that gpsd slave to gpsfake be using?
> The gpsd running:
> ```
Email is not asciidoc, no point to the ```
> 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
> ```
That is odd. gpsfake should not be setting -S to the same port a running
gpsd would be using. Are you sure your gpsfake and gpsd are related?
Best to use "pstree -paul", instead of ps, to know.
> 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
> ```
Also, check "netstat -a" to be sure gpsd is listening on 192.168.10.10
> What am I doing wrong?
My guess is the netstat will show you.
And maybe recheck why this is worth doing at all?
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
address@hidden Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpd4vFVvZWdc.pgp
Description: OpenPGP digital signature