Nokia 6230i
It's a really rather old phone now.
↑Hardware
Battery Recall
Nokia have recalled a bunch of batteries for this phone, which means you can get a brand new battery if you're lucky :) Check here.
↑Connecting via. GPRS
Most phones nowadays can be treated as AT-compatible modems, which allows you to "dial" a GPRS connection. Nicer Sony Ericssons will do bluetooth networking for you too, but no such luck here.
Connecting a bluetooth serial port (Bluez 4.x)
Before you can start dialling, you need to connect a virtual serial port to one of the bluetooth channels. The 6230i has a suitable serial port on channel 1 or "dun". To connect, do the below. $bt_phone is the bluetooth address of your phone, $bt_host is the address of your PC:
# /usr/share/doc/bluez/examples/test-device create $bt_phone # echo "$bt_phone 1234" > /var/lib/bluetooth/$bt_host/pincodes # /usr/share/doc/bluez/examples/test-serial $bt_phone dun
You should now have a new serial port, /dev/rfcomm0, which you can spit "AT" at, and it will respond with "OK".
Forming a ppp connection
Next step is to configure pppd to connect. You'll need these:
# /etc/ppp/peers/o2_mobileweb: Connect to the "mobile.o2.co.uk" AP /dev/rfcomm0 460800 noauth usepeerdns noipdefault defaultroute connect "/usr/sbin/chat -vf /etc/chatscripts/gprs -T mobile.o2.co.uk" # /etc/chatscripts/gprs: Generic GPRS-connection chatscript ABORT BUSY ABORT VOICE ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "NO DIAL TONE" ABORT 'NO ANSWER' "" ATZ OK ATE0V1&D2&C1S0=0+IFC=2,2 OK AT+CGDCONT=1,"IP","\T" OK ATDT*99# CONNECT ""
And finally, pon o2_mobileweb
will connect you to the internet.
↑Link-o-rama
- Creating_playlists_for_the_6230i
- Older_page_about_forming_a_bluetooth_GPRS_connection