Add GPS

This guide is written for adding a u-blox-based USB GPS module. Before continuing, you should first configure your module using the u-center app as described in the guide posted on RDF:

sudo bash -c "$(curl -L -o - https://jbv1.cc/carputer/jbv1-carputer-gps.sh)"

sudo systemctl edit --full gpsd.socket

Insert a # before ListenStream=127.0.0.1:2947, and then add a new ListenStream line right below it:

Type Ctrl-X, Y, and then Enter to save your changes.

NTP changes go here

Plug in the GPS module to one of your carputer's USB ports, and then:

sudo reboot

After 30 seconds or so, reconnect with ssh and test your GPS:

cgps -s

It might take a while to get the first fix on a brand-new GPS module, so give it some time. Eventually you should see something like this:

When you see the time changing at the top of the box on the left, your GPS is working!

Last updated