[Bug 1862602] Re: GPSD does not serve network clients even -G is used
That's a good suggestion, I'll reopen this bug with a severity of wishlist. Thanks! ** Changed in: gpsd (Ubuntu) Status: Invalid => Triaged ** Changed in: gpsd (Ubuntu) Importance: Undecided => Wishlist ** Summary changed: - GPSD does not serve network clients even -G is used + Better document how to listen on the network -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862602 Title: Better document how to listen on the network To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1862602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1862602] Re: GPSD does not serve network clients even -G is used
That's a good suggestion, I'll reopen this bug with a severity of wishlist. Thanks! ** Changed in: gpsd (Ubuntu) Status: Invalid => Triaged ** Changed in: gpsd (Ubuntu) Importance: Undecided => Wishlist ** Summary changed: - GPSD does not serve network clients even -G is used + Better document how to listen on the network -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to gpsd in Ubuntu. https://bugs.launchpad.net/bugs/1862602 Title: Better document how to listen on the network To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1862602/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1862602] Re: GPSD does not serve network clients even -G is used
Before marking this as "invalid", please express this in /etc/default/gpsd - otherwise user's don't understand, that the -G requires also change into /lib/systemd/system/gpsd.socket file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862602 Title: GPSD does not serve network clients even -G is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1862602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1862602] Re: GPSD does not serve network clients even -G is used
Hello Kalle, Thanks for filing this bug report. The version of gpsd shipped with Focal has an informative comment in /lib/systemd/system/gpsd.socket: [Socket] ListenStream=/var/run/gpsd.sock ListenStream=[::1]:2947 ListenStream=127.0.0.1:2947 # To allow gpsd remote access, start gpsd with the -G option and # uncomment the next two lines: # ListenStream=[::1]:2947 # ListenStream=0.0.0.0:2947 SocketMode=0600 That's basically what you did, but now you also have the recipe for IPv6. As this bug report is actually about configuration/documentation issue and not an actual bug in gpsd, I'm going to set its status to Invalid. Should you not agree with this conclusion feel free to comment back end set the status back to New, and we'll look at it again. ** Changed in: gpsd (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862602 Title: GPSD does not serve network clients even -G is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1862602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1862602] Re: GPSD does not serve network clients even -G is used
The solution is to modify file /lib/systemd&/system/gpsd.socket as follows: ... #ListenStream=127.0.0.1:2947 <--- comment out this line ListenStream=0.0.0.0:2947 <--- add this line ... This works for IPv4, but for IPv6, I did not get it working. Anyway, I have disabled IPv6 from my "production" devices, so this does not matter. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1862602 Title: GPSD does not serve network clients even -G is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gpsd/+bug/1862602/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs