Sometimes you really need to access the Internet and the only possibility remaining is to use your mobile phone. Of course this solution is very slow and very expensive, at least in Switzerland. So I will explain how to connect to the WWW via GPRS using the build-in modem of the Sony Ericsson w810i to the Swisscom network.
Last week I needed to connect my Thinkpad to the Internet with my Mobile Phone. Luckily my w810i has an integrated Modem which can be used to connect via GPRS to the WWW. So I don’t know the exact prices, but I guess I will not use this method for browsing the web every day. So first of all let’s get it working…
So first of all make sure Bluetooth is enabled, on the phone and the thinkpad. How to use Bluetooth to connect the thinkpad with the W810i, please read my previous post about Bluetooth, Thinkpad and w810i.(Here) The important parts for GPRS are to be saved in two configuration files. You need to create these two files. The first file contains some informations concerning the communication of the modem with the GPRS provider, which is in my case Swisscom. This file has to be changed according to your provider. The file is called GPRS and to be stored in /etc/chatscripts/.
OK ‘AT &F’
# the next 2 lines are voodoo taken from the windows
# init script provided by Sony Ericsson. Don’t know
# if this is necessary for other devices.
OK ‘AT V1E0S0=0&D2&C1′
OK ‘AT +CMEE=1′
OK ‘AT E1′
# the next line defines the quality of service you want
# since most provider do not honour this anyway
# it is here for good form only.
# OK ‘AT+CGQREQ=1,2,2,2,4,16′
The second file is called again GPRS but to be stored in /etc/ppp/peers.
# it seems the P900 does not answer LCP Echo
# requests. so lets raise the bar a bit to
# prevent pppd from getting all too excited about this.
connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs"
These files I have found on http://computing.ee.ethz.ch/faq/faq.cgi/f/247.
To start now the connection make sure the bluetooth connection is enabled on both devices and then execute:
pon GPRS;plog -f
GPRS corresponds to the name of the above files. To stop the connection:
Connection speed is not terrible however for email it is sufficient. Now you can really access the net from almost everywhere.