Needed GPSd configs
This commit is contained in:
11
gps_tool/etc/systemd/system/sockets.target.wants/gpsd.socket
Normal file
11
gps_tool/etc/systemd/system/sockets.target.wants/gpsd.socket
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=GPS (Global Positioning System) Daemon Sockets
|
||||||
|
|
||||||
|
[Socket]
|
||||||
|
ListenStream=/var/run/gpsd.sock
|
||||||
|
ListenStream=[::1]:2947
|
||||||
|
ListenStream=0.0.0.0:2947
|
||||||
|
SocketMode=0600
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=sockets.target
|
||||||
@ -12,9 +12,11 @@ sudo -H pip3 install --upgrade pip
|
|||||||
sudo -H pip3 install configparser pyside2
|
sudo -H pip3 install configparser pyside2
|
||||||
sudo -H pip3 install --upgrade pyserial matplotlib numpy scipy scapy gps gpxpy maidenhead virtualenv virtualenvwrapper
|
sudo -H pip3 install --upgrade pyserial matplotlib numpy scipy scapy gps gpxpy maidenhead virtualenv virtualenvwrapper
|
||||||
|
|
||||||
|
# enable and start gpsd service
|
||||||
|
sudo systemctl enable gpsd.service
|
||||||
|
|
||||||
# gpsd startup
|
# gpsd startup
|
||||||
sudo cp -r etc/* /etc/
|
sudo cp -r etc/* /etc/
|
||||||
|
|
||||||
# enable and start gpsd service
|
# enable and start gpsd service
|
||||||
sudo systemctl enable gpsd.service
|
|
||||||
sudo systemctl start gpsd.service
|
sudo systemctl start gpsd.service
|
||||||
|
|||||||
Reference in New Issue
Block a user