gpsd-users
[Top][All Lists]
Advanced

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

Re: Opening port for remote access to gpsd


From: Bernd Zeimetz
Subject: Re: Opening port for remote access to gpsd
Date: Thu, 23 Jul 2020 23:57:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

Hi,

> TL;DR: Modify the gpsd.socket (for me, located at 
> /lib/systemd/system/gpsd.socket) file as follows:
> Change line: 
> ListenStream=127.0.0.1:2947
> To
> ListenStream=0.0.0.0:2947

don't modify that file. That will be replaced by the one that your
distribution ships with the next update.

Please follow the systemd documentation: /etc/systemd/system is the
place for local modifications. You can

- copy gpsd.socket to /etc/systemd/system, edit it
- use systemctl edit gpsd.socket (which will spawn an editor, but you'll
have to override or amend the settings properly, check the documentation!)
- do whatever else works for you, but do it in /etc/systemd please.

Don't forget systemctl daemon-reload after your changes.


Bernd

-- 
 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



reply via email to

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