Connecting to the internet via Nokia 3G phone and linux

So after some days of fiddling with settings, and asking around a bit I now have working settings for connecting my laptop (over bluetooth) to my Nokia E70 phone, using GPRS or UMTS to connect to the internet using T-Mobile Pocket Internet Totaal / Web’n’Walk.

/etc/ppp/peers/tmobile:

  • hide-password
  • nobsdcomp
  • noauth
  • connect “/usr/sbin/chat -v -f /etc/chatscripts/tmobile”
  • debug
  • /dev/rfcomm0
  • 115200
  • #nodefaultroute
  • noipdefault
  • user tmobile
  • remotename tmobile
  • ipparam tmobile
  • lcp-echo-failure 0

/etc/chatscripts/tmobile:(paste-it link)

  • ABORT BUSY ABORT ‘NO CARRIER’ ABORT VOICE ABORT ‘NO DIALTONE’ ABORT ‘NO DIAL TONE’ ABORT ‘NO ANSWER’ ABORT DELAYED
  • ” ATZ
  • OK-AT-OK “AT&FE0V1&D2&S0&C1S0=0+IFC=3,1”
  • OK-AT-OK “AT+CGDCONT=1,\”IP\”,\”internet\””
  • OK-AT-OK “ATD*99***1#”
  • CONNECT ”

/etc/bluetooth/rfcomm.conf:

  • rfcomm0 {
  • bind yes;
  • device 00:12:D1:XX:XX:XX; # replace with your bluetooth device-id
  • channel 2;
  • comment “Nokia 3G Phone”;
  • }