Garmin USB web hub. Upload gpx files to your USB Garmin GPS device from your smartphone. Install this web deamon on a Raspberry pi and you can acces your old fashion USB GPS on the go.
This deamon has been created for the eTrex 30 model, it uses the GarminDevice.xml file to find the "UserDataSync" folder.
Warning: this service has no additional security features. As long you are the only one with network access to this server there is no problem. Everyone who can access this webserver will have the ability to access your GPS and bring the system to an halt. And using the debug feature it may have full control to your Raspberry pi.
cd /opt && git clone https://github.com/wie-niet/gps-hub.git
cd /opt/gps-hub
cp systemd.gps-hub.service /etc/systemd/system/gps-hub.servic
chmod 644 /etc/systemd/system/gps-hub.service
systemctl daemon-reload
systemctl enable gps-hub
- setup your cellphone as hotspot.
- setup your Raspberry pi to connect with your hotspot. (https://www.raspberrypi.org/documentation/configuration/wireless/wireless-cli.md)
- make sure your Garmin GPS has disk label "GARMIN"
- remember the hostname of your Raspberry pi, you need it on the road.
- Turn your hotspot on your cell phone on.
- Connect your USB Garmin to Raspberry pi
- Boot up the Raspberry pi.
- Now you can connect with your cell phone to the your Raspberry pi ( for me it is http://raspberrypi.local. )
- Use the 'mount' button to mount the USB disk
- now you can use the upload form to upload gpx file.
- Use the 'umount' button to umount the USB disk
- Detach the USB Garmin
- Refresh the page by clicking the title, and use the 'halt' button to shutdown the Raspberry pi.