8.5 Connecting to the Internet with a Cell Phone

 <  Day Day Up  >  

8.5 Connecting to the Internet with a Cell Phone

Making an Internet connection over infrared is really no different from making it over any other serial port, which is described in detail in Chapter 9. For example, to connect to AT&T Wireless's EDGE network with a Nokia 6200 (see "GSM/GPRS Phone with Data Cable" in Chapter 9), use the peers script as shown in Example 8-1. You can use the same attws-connect and attws-disconnect scripts as shown in Chapter 9.

Example 8-1. PPP peer settings for AT&T Wireless and the Nokia 6200 over IrDA
 # File: /etc/ppp/peers/attws-irda # /dev/ircomm0  # Nokia 6200 115200        # speed defaultroute  # use the cellular network for the default route usepeerdns    # use the DNS servers from the remote network nodetach      # keep pppd in the foreground nocrtscts     # no hardware flow control lock          # lock the serial port noauth        # don't expect the modem to authenticate itself local         # don't use Carrier Detect or Data Terminal Ready     connect    "/usr/sbin/chat -v -f /etc/chatscripts/attws-connect" disconnect "/usr/sbin/chat -v -f /etc/chatscripts/attws-disconnect" 
 <  Day Day Up  >  


Linux Unwired
Linux Unwired
ISBN: 0596005830
EAN: 2147483647
Year: 2004
Pages: 100

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net