[Top][All Lists]

[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: Charles Curley
Subject: Re: [gpsd-users] GPSD on Debian 10 (buster): allowing other hosts to access gpsd
Date: Sun, 22 Sep 2019 13:50:05 -0600

On Wed, 18 Sep 2019 10:19:35 -0600
Charles Curley <address@hidden> wrote:

> I have the Debian packaged gpsd (version 3.17-7 [Yes, I know:
> ancient]) on Debian 10 (buster). It runs just fine and dandy, except
> I cannot access it from another computer.

A few notes to coalesce my results from this thread and some other

* I'm not sure exactly how I did it, but I now have other hosts
  listening to my gpsd.

* /etc/systemd/system/gpsd.socket is as follows, with only the one

  Description=GPS (Global Positioning System) Daemon Sockets

  # ListenStream=


* gpsd.service is unchanged.

* Add two options in /etc/default/gpsd, like so:

  # Other options you want to pass to gpsd

* I don't know if you have to run "systemctl daemon-reload" after each
  edit, but it doesn't seem to hurt.

* After each edit, do run "systemctl restart gpsd.socket". Apparently
  running "systemctl restart gpsd" doesn't do it. Thank you Lisandro
  Damián Nicanor Pérez Meyer <address@hidden> for that.

  Running "systemctl status gpsd" after the restart seems to catch
  some problems.

* Enabling and disabling a service applies only to boot time. It does
  not necessarily stop the service from running between the time you
  disable it and the next reboot. "systemctl stop gpsd" isn't
  sufficient, either. According to john doe <address@hidden> on
  the Debian users list, this should do it:

  > $ systemctl stop gpsd.socket gpsd

  I have not explored this issue further.

Does anybody read signatures any more?

reply via email to

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