In Finland it is really cheap to use portable phone and GPRS functionality to connect to the Internet. I have been studying this issue because there are areas in Finland where one is not able to get any better line like xDSL. Unfortunately GPRS is rather slow - like some 33 kbaud modem - but when used for lynxified web browsing or emailing, it is quite OK.
I have tested GPRS connection with Minix 2.0.3 ppp.drv and, as there is no SSH for Minix, also with OpenBSD 3.2 pppd. The scripts and steps necessary to have a Timeport Telephone working with Minix have been written using examples along the ppp.drv source and Claudio's comments.
To initialize the phone one must use specific gprs-at-commands the form of which depend on the phone and the operator. For the Motorola timeport you can use the following:
'' atz OK at+cgdcont=1,"IP","internet",,0,0 OK atd*99# CONNECT
These commands initialize Timeport to access the operator by GPRS - you will use this file with the chat command to send AT commands to the phone. Please NOTE that the phrase 'internet' is an APN - a special operator related thing to connect their service !!
#!/usr/bin/ash # # this script is for testing gprs connection with Motorola Timeport... # n=0 echo `date +%T` - Setting up GPRS functionality and connecting to Timeport... chat -v -b 57600 -f /etc/timeport.scr < /dev/tty00 > /dev/tty00 2> /tmp/chat.log echo `date +%T` - Checking log file ... n=`grep -c ailed /tmp/chat.log` if [ $n = 0 ] then echo `date +%T` - Timeport GPRS configuration succesfull, starting PPP driver... ppp.drv -v -b 57600 -u '' -p '' /dev/tty00 2> /tmp/ppp.log & echo `date +%T` - PPP driver is up.... else echo `date +%T` - Timeport GPRS configuration failed ! fi # end of script