Blackberry Tethering – Linux

A blackberry phone, a service contract (researching, may be optional), a computer that doesn’t already have internet access but will have it at the end of this tutorial.

I have attempted to build from source many different applications to include barry which is a linux application made to work with your blackberry.
After many failed attempts of trying to get tethering to work I ended up with weird gprs error basicly stating that the application could not see my device.
My device is a Blackberry Curve 8330 with the Verizon network.

I ended up finding another site which told me that for the Curve to work with tethering and Linux, you had to connect it not via the USB cable, but via bluetooth!
This finally worked for me! So I am basicly writing how I was able to get this up.
This was done on a laptop running Ubuntu so should work for Debian also.
The bluetooth adapter I am using is a trendnet usb2.0 adapter.

Inside /etc/bluetooth/ there should be a file called rfcomm.conf if not create it by using a text editor.
Inside that file should have something similar to:
rfcomm0 {
# # Automatically bind the device at startup
bind yes;
#
# # Bluetooth address of the device (mac address)
device 00:00:00:00:00:00;
#
# # RFCOMM channel for the connection
channel 3;
#
# # Description of the connection
comment “Bluetooth device”;
}

Inside your /etc/ppp/peers folder create another text file called verizon (or whatever you want it to be called)
and you should have something similar to the following:
hide-password
/dev/rfcomm0
connect “/usr/sbin/chat -v -f /etc/chatscripts/verizon”
noauth
defaultroute
usepeerdns
connect-delay 10000
user “your-phone-number@vzw3g.com”
lock
lcp-echo-failure 4
lcp-echo-interval 65535
115200

As you see this file calls another file we’ll need which is /etc/chatscripts/verizon which you will create and put the following info into it:
#abortstring
ABORT ‘NO CARRIER’ ABORT ‘ERROR’ ABORT ‘NODIALTONE’ ABORT ‘BUSY’ ABORT ‘NO ANSWER’
#modeminit
” ATZ
#ispnumber
OK-AT-OKL3 ATDT#777
#ispconnect
CONNECT \d\c

Afterwards you should be able to type:
pon verizon
and everything should connect and sync up properly.
You will get a message that pops up on your blackberry stating “do you want to allow bluetooth connection from…” and as soon as you say yes, wait 10 seconds and do a ifconfig -a and you will see ppp0 network interface which will have an address.
If you are still having an issue connecting to google.com check your /etc/resolv.conf file to see if you have appropriate dns nameservers.

 

Source -http://www.soldierx.com/tutorials/Blackberry-Tethering-Linux

Advertisements

About jignesh272

I am a Computer Science Student Studying at University Of Western Cape. Almost 6 Years in Java coding but now seem to share knowledge with others around via this site. Hope this site helps you whatever you were looking for.

Posted on December 2, 2011, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: