[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ✘GPS 3.24 is released!
From: |
Gary E. Miller |
Subject: |
Re: ✘GPS 3.24 is released! |
Date: |
Tue, 3 May 2022 12:15:13 -0700 |
Yo Ralph!
On Tue, 3 May 2022 15:00:37 +0200
Ralph Nemitz <nemitz@logicway.de> wrote:
>
> > > Npoe. Try to start gpsd with "-D 4" and grab the log for the
> > > first minute.
> > >
> > > The NTRIP code at startup has not changed for reconnect. Must be
> > > something happening that is not setting up for reconnect.
> > I started "/usr/sbin/gpsd -D 4 -n -P /var/run/gpsd.pid /dev/ttyGNSS
> > /dev/pps0 -G ntrip://user:passswd@11.12.13.14:2101/BASIS" once with
> > gsm connection and once whithout.
>
> That was WAY more than just the 1st inute of gpsd on the failure.
>
> But I eventually found the exit point:
>
> May 3 12:11:24 obelix user.crit gpsd[1757]: gpsd:ERROR: NTRIP:
> ntrip_stream_req_probe(user:passwd@11.12.13.14:2101/BASIS) connect
> error can't connect to host/port pair(-6) May 3 12:11:24 obelix
> user.crit gpsd[1757]: gpsd:ERROR: initial GPS device
> ntrip://user:passwd@11.12.13.14:2101/BASIS open failed May 3
> 10:11:24 obelix user.crit gpsd[1757]: gpsd:ERROR:
> ntrip://user:passwd@11.12.13.14:2101/BASIS: device activation failed,
> freeing device.
>
> Whish is what I epxeccted. When gpsd can not connect to the NTRIP
> server on startup, it give up forever. Working around that would be
> non-trivial.
Oh, looking some more, wors then I thought:
May 3 12:10:38 obelix user.crit gpsd[979]: gpsd:ERROR: can't bind to IPv4 port
2947, Cannot assign requested address(99)
May 3 12:10:38 obelix daemon.info bluetoothd[958]: Bluetooth management interfa
ce 1.14 initialized
May 3 12:10:38 obelix user.crit gpsd[979]: gpsd:ERROR: can't create IPv6 socket
May 3 12:10:38 obelix user.crit gpsd[979]: gpsd:ERROR: command sockets creation
failed, netlib errors -1, -1
You do not even have IPv4 up when gpsd starts. gpsd tries to open an
IPv4 socket, and fails. The gpsd drops root. Game over.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
gem@rellim.com Tel:+1 541 382 8588
Veritas liberabit vos. -- Quid est veritas?
"If you can't measure it, you can't improve it." - Lord Kelvin
pgpcXO6qWsmu7.pgp
Description: OpenPGP digital signature
- Re: ✘GPS 3.24 is released!, Ralph Nemitz, 2022/05/02
- Re: ✘GPS 3.24 is released!, Gary E. Miller, 2022/05/02
- Message not available
- Re: ✘GPS 3.24 is released!, Gary E. Miller, 2022/05/03
- Re: ✘GPS 3.24 is released!,
Gary E. Miller <=
- RE: ✘GPS 3.24 is released!, Rick Howitt, 2022/05/08
- Re: ✘GPS 3.24 is released!, Greg Troxel, 2022/05/08
- Re: ✘GPS 3.24 is released!, Gary E. Miller, 2022/05/08
- Message not available
- Re: ✘GPS 3.24 is released!, Gary E. Miller, 2022/05/08