[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to acc
From: |
Bernd Zeimetz |
Subject: |
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd |
Date: |
Fri, 27 Sep 2019 23:34:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 9/19/19 7:40 PM, Charles Curley wrote:
> On Thu, 19 Sep 2019 13:17:14 -0300
> Lisandro Damián Nicanor Pérez Meyer <address@hidden> wrote:
>
>>>
>>> The -G option shows up in ps:
>>
>> I also pass -n. Then systemctl restart gpsd.socket and all done.
>
> I now have -n in my command line options, in /etc/default/gpsd.
>
> However, I had been running "systemctl restart gpsd", not your
> "systemctl restart gpsd.socket". That may make a difference. Thanks.
yes, those are two different things.
The gpsd.socket service actually starts gpsd.service as soon as there is
a connection to the socket systemd opens for you.
running
ss -tlp | grep gpsd
should show you if there is something listening on a port - and on which
IPs.
If systemd is listening on the configured IPs for you, then you'll see
an open port there. If not, you did not restart the appropriate service,
or you forgot a systemctl daemon-reload
In general:
1. systemctl edit gpsd.socket (that creates a new file for you where you
can override/add things)
2. systemctl daemon-reload
3. systemctl restart gpsd.socket
If you want to pass different options to gpsd, do the same for gpsd.service.
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprint: ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Bernd Zeimetz, 2019/09/27
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Lisandro Damián Nicanor Pérez Meyer, 2019/09/19
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Charles Curley, 2019/09/19
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd,
Bernd Zeimetz <=
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Gary E. Miller, 2019/09/27
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Charles Curley, 2019/09/28
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Gary E. Miller, 2019/09/28
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Charles Curley, 2019/09/28
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Gary E. Miller, 2019/09/28
- Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Charles Curley, 2019/09/28
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Bernd Zeimetz, 2019/09/29
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Gary E. Miller, 2019/09/29
Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd, Charles Curley, 2019/09/22