Bluetooth Tethering: BB Bold + Ubuntu 8.10

In my continuing struggle to Linux-fy my X200, I blew away my entire hard drive and loaded the latest Ubuntu (8.10 – Intrepid Ibex).  I’m liking it so far.

One of the things with using Ubuntu is that you have to configure most of the hardware yourself.   I had a bit of trouble getting the bluetooth tethering on Ubuntu to work with my Blackberry, so I’d thought I’d share how I got it to work.

A bit of Googling around showed up this useful link. Most of the steps will get you up and running, but there are a few quirks.

First, I wasn’t able to install the bluez-pin package with apt-get, so I just used by Bold to pair to the X200, instead of using the x200 to pair to the Bold.  Problem solved.

The next quirk is with the PPP communication scripts.  The link to the list of known carriers includes Fido, but doesn’t have Rogers.

For Rogers phones, the PPP setup requires you to  create two files:

/etc/ppp/peers/RogersBluetooth:

debug
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/FidoGPRS"
usepeerdns
/dev/rfcomm1 115200
defaultroute
crtscts
lcp-echo-failure 0
user "wapuser1"
password "wap"

and /etc/chatscripts/RogersGPRS

TIMEOUT 35
ECHO    ON
ABORT   '\nBUSY\r'
ABORT   '\nERROR\r'
ABORT   '\nNO ANSWER\r'
ABORT   '\nNO CARRIER\r'
ABORT   '\nNO DIALTONE\r'
ABORT   '\nRINGING\r\n\r\nRINGING\r'
''      \rAT
OK      'AT+CGDCONT=2,"IP","internet.com"'
OK      ATD*99***2#
CONNECT ""

And with that, you should be able to tether using the command:

sudo pon RogersBluetooth
This entry was posted in Linux, Tech and tagged , , , , , , , , , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

4 Comments

  1. Posted April 6, 2009 at 11:02 pm | Permalink

    you finally installed ubuntu on it instead! good job! hahaha.

  2. Posted October 15, 2010 at 7:00 pm | Permalink

    Ubuntu forever! MS must die!

  3. Posted July 8, 2011 at 5:37 am | Permalink

    How did you know CGDCONT=2 and ATD*99***2# were the right settings for Rogers (Canada)? They work on my Blackberry Storm 9530 using the berry4all.com program. I scoured the internet for these parameters but usually found CGDCONT=1 and ATD*99# which didn’t work (“No Connection”)!

    Thanks,

  4. Posted July 9, 2011 at 8:10 pm | Permalink

    Oh boy, its been a long time since I wrote this article. It was a LOT of googling for settings. I think I found it in a forum somewhere. Nowadays I thether over Windows 7 using Blackberry Desktop, so its a lot less troublesome

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>