Blackberry Tethering - Linux

A safe place for newbies. You won't get flamed here, as long as you've put in some effort before posting (i.e: Google)...

Blackberry Tethering - Linux

Postby jacksold » Wed Jul 06, 2016 4:29 am

Prerequisites:
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.

Reference:
http://koti.kapsi.fi/~mcfrisk/linux_gprs.html#AEN160

http://naraku.net/2008/08/15/how-to-tea ... ux-via-blu...

http://pegelinux.wordpress.com/2008/06/ ... 0-as-bluet...
just do it
jacksold
n00b
 
Posts: 2
Joined: Tue Jul 05, 2016 4:19 am

Return to ā€œ%sā€ Newbie Corner

Who is online

Users browsing this forum: No registered users and 3 guests

cron