T630 GPRS connection

It seems that getting an internet connection in the center of Bucharest is a complicated now as ever so the gprs connection to my phone which I pay and almost never used came to mind as an idea. Not really usable for internet but not to remain completely disconnected.

So here is a short guide to connect to internet using bluetooth and my T630 phone for a GPRS Vodafone connection.

Bluetooth

Find the mac of the phone

#hcitool scanScanning ...      00:0F:D5:7B:XX:XX       T630

List the services

#sdptool browse 00:0F:D5:7B:XX:XX Browsing 00:0F:D5:7B:XX:XX ...Service Name: Dial-up NetworkingService RecHandle: 0x10000Service Class ID List:  "Dialup Networking" (0x1103)  "Generic Networking" (0x1201)Protocol Descriptor List:  "L2CAP" (0x0100)  "RFCOMM" (0x0003)    Channel: 1Profile Descriptor List:  "Dialup Networking" (0x1103)    Version: 0x0100

Service Name: Voice gatewayService RecHandle: 0x10002Service Class ID List:  "Headset Audio Gateway" (0x1112)  "Generic Audio" (0x1203)Protocol Descriptor List:  "L2CAP" (0x0100)  "RFCOMM" (0x0003)    Channel: 3Profile Descriptor List:  "Headset" (0x1108)    Version: 0x0100....

Configure the bluetooth com port

#cat /etc/bluetooth/rfcomm.conf

rfcomm1 {   bind yes;   device 00:0F:DE:CB:59:EE;   channel 1;   comment "Dial-up Networking";}

Restart bluetooth service

/etc/init.d/bluetooth restart

PPPD configuration

The /etc/ppp/peers/gprs
file:

#cat /etc/ppp/peers/gprs

/dev/rfcomm1 115200connect "/usr/sbin/chat -v -f /etc/chatscripts/gprs"noauthnoipdefaultdefaultroute#if it's the case replace your default routereplacedefaultroute usepeerdnscrtsctsdebuguser internet.vodafone.ropassword vodafone

# Prevent dial line checking via lcp packages, as it# doesn't work with T630 and causes it to disconnectlcp-echo-interval 0lcp-echo-failure 0

The /etc/chatscripts/gprs file:

#cat /etc/chatscripts/gprs# Abort stringsABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE'ABORT 'NO ANSWER' ABORT DELAYED

# Modem init'' ATZ

# Selection of the PDP Context (eg here you choose which of the data connections# set on the phone you want to use). The parameters are CID, protocol (IP or PPP), # APN. If your provider gives you a string, use that one (with the right CID).'OK' 'AT+CGDCONT=4,"IP","internet.vodafone.ro"'

# QoS requirements: requested and minimum acceptable'OK' 'AT+CGQREQ=1,0,0,0,0,0''OK' 'AT+CGQMIN=1,0,0,0,0,0'

# "Dial string". 4 is the CID.'OK' 'ATD*99***4#'

TIMEOUT 30

CONNECT

Start/stop the connection:

#pon gprs#tail -f /var/log/syslog#ping www.google.comPING www.l.google.com (64.233.183.99) 56(84) bytes of data.64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=1 ttl=235 time=3791 ms64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=2 ttl=235 time=3160 ms64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=4 ttl=235 time=3552 ms64 bytes from nf-in-f99.google.com (64.233.183.99): icmp_seq=5 ttl=235 time=3595 ms...14 packets transmitted, 13 received, 7% packet loss, time 24215ms#poff gprs

Hope it helps.

Related Posts with Thumbnails

Related posts:

  1. Sony Ericsson C510 Apparently a cup of tea more bad than good in...
  2. Missing keys … I was at home, everything was sunny. I my secret...

Leave a Reply