Connecting to Telstra CDMA packet network in Ubuntu via bluetooth

Quick setup guide

This is mainly a guide so that I can remember how to connect to the CDMA packet network using my mobile phone via bluetooth. My phone is Nokia 6255. From what I understand this should work for other CDMA phones as well. I am not sure whether the same instructions apply to the GSM-GPRS network, you'll have to give it ago.

  • Find you phone via bluetooth. I use hcitool.
    hcitool scan
  • This will list the available bluetooth devices in the vicinity.
    00:02:EE:99:59:6B MooMee
  • Now you should be able to assign a serial port using rfcomm:
    rfcomm bind /dev/rfcomm0 00:02:EE:99:59:6B 1
  • Create a file in /etc/ppp/peers/ called telstraCDMA:
    noauth
    connect "/usr/sbin/chat -v -f /etc/chatscripts/telstraCDMA"
    debug
    /dev/rfcomm0
    115200
    defaultroute
    noipdefault
    user user@telstra.pcpack
    ipparam telstraCDMA
    usepeerdns
    remotename telstraCDMA
  • Create a file in /etc/chatscripts called telstraCDMA:
    # This chatfile was generated by pppconfig 2.3.10.
    ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TO$# modeminit
    '' ATZ
    # ispnumber
    OK-AT-OK "ATDT#777"
    # ispconnect
    CONNECT \d\c
  • Add these lines to the end of you /etc/ppp/pap-secrets:
    users@telstra.pcpack telstraCDMA "telstra"
  • I have added this to my /etc/network/intefaces file:
    iface ppp0 inet ppp
    provider telstraCDMA
    auto ppp0
  • Now to bring up the interface run:
    ifup ppp0
    Your computer should be given an IP-address via DHCP and the name-servers should be assigned correctly. Just be aware that connecting in this method can rack up some huge costs on your bill. On a standard mobile plan the cost is $0.02 per KB - yes thats $20 per megabyte.

Last update: August 14, 2006