From wikipost
Jump to navigationJump to search

The following script can be used to start the soundmodem service.

Please note that the network settings and interface name must match those in Rpi-aprs-soundmodem.conf and Rpi-aprs-axports


# required for using a USB Sound Card as a TNC

/usr/bin/screen -S sm0 -m -d /usr/local/sbin/soundmodem
sleep 2
route add -net netmask dev sm0

This command will run the soundmodem service in a detached 'screen' session for easy backgrounding. To open access to the screen session issue the command 'screen -r' (or screen -ls to find out what the name of the screen session is).

It is not a requirement to run soundmodem in a screen so you can just as easily background it with an empersand.