Rpi-aprs-soundmodem: Difference between revisions

From wikipost
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 11:08, 8 November 2014

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

#!/bin/sh

# 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 44.0.0.0 netmask 255.0.0.0 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.