Set up your very own RTL-SDR IGate Pi that gates RF traffic to APRS-IS and also serves:
- APRS on AGW port 8000 and KISS on port 8001
- GPSD (JSON format) on port 2947
- GPS NMEA (from GPSD) on port 10110
- GPS NTP with PPS support on port 123
- Follow standard Pi setup
- Follow this excellent Raspberry Pi GPS + PPS tutorial with a few notes
- Yes, you do want to build gpsd from source. The Raspbian package is old and you want it to run as root.
- Install the gpsd systemd unit files to
/etc/systemd/system/
not/lib/systemd/system
sudo apt-get install socat build-essential libasound2-dev python-gps libgps-dev moreutils
- Build direwolf:
cd && git clone https://github.com/wb2osz/direwolf.git && cd direwolf && make && sudo make install
- Copy this repo:
cd && git clone https://github.com/T3hUb3rK1tten/aprs-pi.git && cd aprs-pi
- Edit the gpsd socket to listen on all interfaces:
cp gpsd.socket /etc/systemd/system/ && sudo systemctl daemon-reload
- Set up socat to serve NMEA from GPSD on port 10110:
cp socatgps.service /etc/systemd/system/ && sudo systemctl daemon-reload && sudo systemctl enable socatgps
- Set up CloudFlare Dynamic DNS for WiFI and Ethernet
- Edit crontab as appropriate, an example is provided
To be written in a future blog post. The gist of it is:
- Install com0com signed version
- Create virtual COM port pair in Setup program
- Download com2tcp and put it somewhere
- com2tcp --telnet \\.\CNCB0 wlan.yourpi.example.com 10110