The final phase is to set up PPP scripts and options to use the established connection. The scripts and options are set in two files which you will need to edit.
Step 1. Set up the chat script
Put this chat script in the file
/etc/chatscripts/smart-3g(SMART being my cellphone service provider; you can use a different name.) The file location is referenced in the PPP options settings, given in step 2.
This simple four line script will dial up the connection to the Internet provider. You don't invoke this directly, but through the ppp startup command given in step 3.
Step 2. PPP options
Put this in
/etc/ppp/peers/smart-3g. The filename itself is arbitrary, but it has to be in the
connect '/usr/sbin/chat -v -f /etc/chatscripts/smart-3g'
For a full explanation of these options, read the descriptions in the
Step 3. Fire up the PPP connection
Open a terminal session and initiate the connection with this command.
smart-3gis, of course, the name I gave the connection. Follow the filename that you used in step 2. You should see the connection fire up.
Be aware that you will be subject to connection charges. In my case, it's a relatively cheap P10 ($0.20) per thirty minutes.