-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Force ipv4 in gpsd.socket on Jetson Nano #3901
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Mattia Dal Ben <[email protected]>
mattdibi
changed the title
Disabled gpsd-related services
Disabled gpsd-related services on Jetson Nano
Mar 16, 2022
Maybe try to change the service definition to enable only ipv4, disabling ipv6. Maybe this solves |
Signed-off-by: Mattia Dal Ben <[email protected]>
@MMaiero Updated installer with #force gpsd.socket to use only ipv4
sed -i "s/\(ListenStream=\[::1\]\)/# \1/g" /lib/systemd/system/gpsd.socket So that we have
It looks happy now: jetson@jetson-nano:~$ systemctl list-units --failed
0 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'. jetson@jetson-nano:~$ systemctl status gpsd.socket
Failed to dump process list, ignoring: No such file or directory
● gpsd.socket - GPS (Global Positioning System) Daemon Sockets
Loaded: loaded (/lib/systemd/system/gpsd.socket; enabled; vendor preset: enabled)
Active: active (listening) since Fri 2021-12-10 10:15:50 CET; 1min 5s ago
Listen: /var/run/gpsd.sock (Stream)
127.0.0.1:2947 (Stream)
CGroup: /system.slice/gpsd.socket
dic 10 10:15:50 jetson-nano systemd[1]: Listening on GPS (Global Positioning System) Daemon Sockets. |
mattdibi
changed the title
Disabled gpsd-related services on Jetson Nano
Force ipv4 in gpsd.socket on Jetson Nano
Mar 17, 2022
That's exactly what I've meant. Maybe you'll also need to open the firewall for pot 2947 to lo |
Signed-off-by: Mattia Dal Ben <[email protected]>
@MMaiero It didn't look like it was strictly needed by I added it anyway. |
pierantoniomerlino
approved these changes
Mar 17, 2022
github-actions bot
pushed a commit
that referenced
this pull request
Mar 17, 2022
* Disabled gpsd-related services Signed-off-by: Mattia Dal Ben <[email protected]> * Force use of ipv4 instead of disabling gpsd-related services Signed-off-by: Mattia Dal Ben <[email protected]> * Added firewall rule for gpsd (port 2947) Signed-off-by: Mattia Dal Ben <[email protected]>
MMaiero
pushed a commit
that referenced
this pull request
Mar 18, 2022
* Disabled gpsd-related services Signed-off-by: Mattia Dal Ben <[email protected]> * Force use of ipv4 instead of disabling gpsd-related services Signed-off-by: Mattia Dal Ben <[email protected]> * Added firewall rule for gpsd (port 2947) Signed-off-by: Mattia Dal Ben <[email protected]> Co-authored-by: Mattia Dal Ben <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Disabled
gpsd
-related servicesDescription of the solution adopted:
Currently on the Jetson Nano profile
systemctl
reports a failure with:because:
With this PR we ensure both
gpsd.service
andgpsd.socket
are disabled on Kura installation.Signed-off-by: Mattia Dal Ben [email protected]