This is an old revision of the document!
sudo -s sudo apt-get update sudo apt-get install ppp iptables
In the next chapter we will download and install vmodem onto your Raspberry linux box!
sudo mkdir /boot/vmodem sudo wget http://www.steptail.com/_export/code/guides:virtual_modem:script?codeblock=0 -O /boot/vmodem/vmodem.sh sudo wget http://www.steptail.com/_export/code/guides:virtual_modem:script?codeblock=1 -O /boot/vmodem/1.sh sudo wget http://www.steptail.com/_export/code/guides:virtual_modem:script?codeblock=2 -O /boot/vmodem/ppp.sh
The VModem script has been preconfigured to use ttyUSB0 as the default serial port name. Usually Raspbian will use this as its first serial port adapter name and the script will already be pointing to the correct name. But if Raspbian uses a different name, you may need to update the script to point to the correct serial port name.
To confirm your serial port name, do the following:
ls /dev/tty*
/dev/ttyUSB0
listed, you will need to update the script with the correct serial port. Visit this page to update the script with the correct serial port. /dev/ttyUSB0
listed, continue on!If you have not already, right now would be a good time to check that the network is still working correctly on the Raspberry Pi.
ping www.google.com
cd /boot/vmodem sudo ./vmodem.sh
Check out specific guides on how to interface different computers and devices with VModem:
Make sure vmodem.sh is running on the Raspberry Pi first before attempting connection!
After you have verified that the VModem works properly on the console, and you are able to connect to the Internet, you can make VModem run automatically as a background process after the Raspberry Pi is powered on.
sudo sh -c 'printf "`head -n -1 /etc/rc.local`\n\ncd /boot/vmodem\n./vmodem.sh &\n\nexit 0\n" >/etc/rc.local'
sudo shutdown -r now