Using Berry4All
We need to run under root(sudo) because usually the USB device(Blackberry) can not be read/written to by a regular user(except OS X). IF you can't or don't want to run as root, see #faqs
DefaultRoute
On OSX, you do not need to bother will defaultroute, skip to #GUI
If your PPPD supports "replacedefaultroute"
Edit your relevant pppd file (ex: conf/tmobile) and uncomment (remove the # at the beginning) this line:
#replacedefaultroute
If it does NOT support it
Then you will want to disable all the other interfaces, so no routes are available, so bbtether/pppd can set one.
First you want to disable your other connections if you have some (say wifi), otherwise pppd won't be able to setup the default route and it will behave like it's not working.
To know which one run route in a shell and see which interface is listed (ex: eth1) (you can also use ifconfig -a)
Then bring it/them down: Ex: sudo ifconfig eth1 down
Now, when you run route, it should list nothing.
AFTER you are done with bbtether, you will want to re-enable your other connection(s):
Ex: sudo ifconfig eth1 up and possibly sudo /etc/init.d/networking restart
Ex: sudo ifconfig eth1 up and possibly sudo /etc/init.d/networking restart
GUI
Until i make a proper application launcher, it will need to be started from a terminal.
Start a terminal.
Go into the berry4all folder (Ex: cd bbtether) and run sudo ./berry4all.sh.
Then simply use the GUI (straightforward)
See here for an example a GUI screenshot
If you have problems. please see the FAQ's on common errors and how to reach me if needed.
Tethering without the GUI (command line)
IF you want to use tethering without the GUI (ie: don't want to install WxPython)
cd bbtether sudo python bbtether.py tmobile -v
If your device requires a password add it with the -P option
Ex: sudo python bbtether.py tmobile -P mypass -v
Ex: sudo python bbtether.py tmobile -P mypass -v
At this point you should be connected to internet through the blackberry.
See here for working bbtether Example Output
When done using the connection, you can stop using ^c
It should stop properly after a little bit.

Back to top
Title: o2 settings
Hello,
I have installed on Ubuntu berry4all. I would like to use my BlackBerry Bold 9000 as a modem. As I have o2 contract. Can someone tell me the exact settings to the provider?
coldjack
Title: Curve 8520 - Claro Argentina - disconnect after a few seconds
Hi people, this is my first time trying to tether my BB, I copy the claro-do config and change the APN, user and pass but my BB disconnect after a few second after start and I never see the modem in connected state.
Files:
========
claro-ar
========
#460800
115200
defaultroute
noipdefault
#nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 99
nopcomp
noaccomp
#noauth
nomagic
noccp
crtscts
pap-timeout 20
pap-restart 20
lcp-restart 10
#novj
user "clarogprs"
password "clarogprs999"
usepeerdns
#debug debug debug
# does not exist in all pppd versions (osx)
replacedefaultroute
# replace <user> with your user name. As of Ubuntu 11.04, you must use the full path.
connect "/usr/sbin/chat -f ./conf/claro-chat"
=============
claro-ar-chat
=============
TIMEOUT 10
ABORT 'BUSY'
ABORT 'NO ANSWER'
ABORT 'ERROR'
ABORT "NO DIALTONE"
ABORT VOICE
ABORT RINGING
SAY 'Starting GPRS connect script\n'
'' 'BBT_OS'
OK 'ATZ'
OK 'AT+CGDCONT=1,"IP","wap.ctimovil.com.ar"'
ABORT 'NO CARRIER'
SAY 'Dialing...'
OK 'ATD*99#'
CONNECT
~p
=============================
Output of bbtether.py command
=============================
--------------------------------
BBTether 0.3q
Thibaut Colar - 2009
More infos: http://wiki.colar.net/bbtether
Use '-h' flag for more informations : 'python bbtether.py -h'.
--------------------------------
Looking for USB devices:
Bus 002 Device 045: ID 0fca:8004
Bus 002 Device 004: ID 0bda:0158
Bus 002 Device 003: ID 090c:37b3
Bus 002 Device 002: ID 8087:0020
Bus 002 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 8087:0020
Bus 001 Device 001: ID 1d6b:0002
USB Device lookup finished
Reading prefs from /root/.bbtether.conf
Using saved EP data: 0, 135, 9, 138, 11
Using Data Endpoint Pair:0x87/0x9
Using Modem pair: 0x8a/0xb
Claiming interface 0
-> [0x0 0x0 0xc 0x0 0x5 0xff 0x0 0x0 0x0 0x0 0x4 0x0 ] [............]
<- [0x0 0x0 0x14 0x0 0x6 0xff 0x0 0x0 0x8 0x0 0x4 0x0 0x3 0x0 0x0 0x0 ] [................]
<- [0xe2 0xe 0xd9 0x21 ] [...!]
-> [0x0 0x0 0xc 0x0 0x5 0xff 0x0 0x0 0x0 0x0 0x2 0x0 ] [............]
<- [0x0 0x0 0xd0 0x1 0x6 0xff 0x0 0x0 0xc4 0x1 0x2 0x0 0x9 0x0 0x6 0x0 ] [................]
<- [0xc4 0x1 0x0 0x0 0x14 0x0 0x6 0x5 0x3 0xf 0x0 0x8c 0x52 0x49 0x4d 0x20 ] [............RIM ]
<- [0x42 0x6c 0x61 0x63 0x6b 0x42 0x65 0x72 0x72 0x79 0x20 0x44 0x65 0x76 0x69 0x63 ] [BlackBerry Devic]
<- [0x65 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ] [e...............]
<- [0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ] [................]
<- [0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x72 0x64 0x61 0x67 ] [............rdag]
<- [0x67 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x4d 0x61 0x79 0x20 ] [g...........May ]
<- [0x31 0x33 0x20 0x32 0x30 0x30 0x39 0x0 0x0 0x0 0x0 0x0 0x31 0x33 0x3a 0x32 ] [13 2009.....13:2]
<- [0x35 0x3a 0x30 0x34 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x1 0xf 0x0 ] [5:04............]
<- [0x3 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xb0 0x0 0x0 0x0 0xa 0x0 0x0 0x0 ] [................]
<- [0xc4 0x0 0x0 0x0 0x40 0x0 0x0 0x0 0x4 0x0 0x0 0x0 0x74 0xb4 0xfe 0x87 ] [....@.......t...]
<- [0x0 0x0 0x2 0x0 0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x1 0x7 0x2 0x32 ] [...............2]
<- [0x3 0x1 0x4 0x1 0x7 0x27 0xb 0x1 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [.....'..........]
<- [0x4a 0x56 0xbe 0x92 0x10 0x0 0x1 0x0 0x1d 0xc 0x0 0x0 0x0 0x0 0x0 0x0 ] [JV..............]
<- [0xd0 0x7 0x0 0x0 0x18 0xc 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ] [................]
<- [0x19 0x8 0x0 0x0 0x2 0x0 0x0 0x0 0x1a 0x8 0x0 0x0 0xbf 0x7 0x0 0x0 ] [................]
<- [0x1e 0xc 0x0 0x0 0xc0 0x7 0x0 0x0 0xd0 0x7 0x0 0x0 0x9 0x8 0x0 0x0 ] [................]
<- [0x1f 0x9 0x91 0xbe 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
<- [0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff 0xff ] [................]
Pin: 0x21d90ee2
Description: RIM BlackBerry Device
System: Linux,2.6.38-bpo.2-amd64,#1 SMP Mon Jun 6 15:24:02 UTC 2011,x86_64
Modem pty: /dev/pts/1
Initializing Modem
Writing data size: 12
Modem -> [0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [........xV4.]
Writing data size: 12
Modem -> [0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [........xV4.]
Writing data size: 12
Modem -> [0x1 0x0 0x0 0x0 0x1 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [........xV4.]
Modem <- [0x2 0x0 0x0 0x0 0xa3 0xec 0xe6 0xdf 0xa 0x0 0x0 0x0 0xa 0x0 0x0 0x0 ] [................]
Modem <- [0xe2 0xe 0xd9 0x21 0x1c 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [...!....xV4.]
read: 28
Got password Request from Device (10 tries left)
Seed: [163, 236, 230, 223]
Sending password digest:
[3, 0, 0, 0, 35, 56, 23, 82, 224, 223, 133, 133, 109, 94, 27, 30, 42, 40, 74, 13, 115, 71, 47, 240, 120, 86, 52, 18]
Writing data size: 28
Modem -> [0x3 0x0 0x0 0x0 0x23 0x38 0x17 0x52 0xe0 0xdf 0x85 0x85 0x6d 0x5e 0x1b 0x1e ] [....#8.R....m^..]
Modem -> [0x2a 0x28 0x4a 0xd 0x73 0x47 0x2f 0xf0 0x78 0x56 0x34 0x12 ] [*(J.sG/.xV4.]
Modem <- [0x4 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 ] [................]
Modem <- [0x1 0x0 0x0 0x0 0x1c 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [........xV4.]
read: 28
answer [4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 28, 0, 0, 0, 120, 86, 52, 18]
New Seed: [0, 0, 0, 0]
Seed val: 3756453027
New Seed val: 0
Password accepted
Computed session key: [0x2a 0x28 0x4a 0xd 0x73 0x47 0x2f 0xf0 ] [*(J.sG/.]
Writing data size: 28
Modem -> [0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0xc2 0x1 0x0 ] [................]
Modem -> [0x2a 0x28 0x4a 0xd 0x73 0x47 0x2f 0xf0 0x78 0x56 0x34 0x12 ] [*(J.sG/.xV4.]
Modem <- [0x0 0x0 0x0 0x0 0x23 0x0 0x0 0x0 0x23 0x0 0x0 0x0 0x0 0xc2 0x1 0x0 ] [....#...#.......]
Modem <- [0x18 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [....xV4.]
read: 24
session pack sent
Modem Started
Will try to start pppd now, (/usr/sbin/pppd) with config: claro-ar
Starting Modem thread
********************************************
Modem Ready at /dev/pts/1
Use ^C to terminate
********************************************
Failed finding end of line(timeout) for:
Usually means no reply from the modem
Error: [Errno 11] Resource temporarily unavailable
******************************************************
Shutting down
Please WAIT for shutdown to complete (up to 30s)
Otherwise you might have to reboot your BB !
******************************************************
Writing data size: 4
Modem -> [0x41 0x54 0x48 0xd ] [ATH.]
Waiting for PPPD shutdown to complete.
PPPD finished
Writing data size: 28
Modem -> [0x0 0x0 0x0 0x0 0x23 0x0 0x0 0x0 0x3 0x0 0x0 0x0 0x0 0xc2 0x1 0x0 ] [....#...........]
Modem -> [0x71 0x67 0x7d 0x20 0x3c 0xcd 0x74 0x7d 0x78 0x56 0x34 0x12 ] [qg} <.t}xV4.]
Writing data size: 12
Modem <- [0x41 0x54 0x48 ] [ATH]
Modem -> [0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x78 0x56 0x34 0x12 ] [........xV4.]
Modem <- [0xd 0xa ] [..]
Writing data size: 28
Modem -> [0x0 0x0 0x0 0x0 0x23 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0xc2 0x1 0x0 ] [....#...........]
Modem -> [0x2a 0x28 0x4a 0xd 0x73 0x47 0x2f 0xf0 0x78 0x56 0x34 0x12 ] [*(J.sG/.xV4.]
Stopping modem thread
read: 5
Modem thread Stopped
Disconnected
Modem Disconnected
It is now safe to shutdown.
Releasing interface
bbtether completed.
Before this error apear in screen
********************************************
Failed finding end of line(timeout) for:
Usually means no reply from the modem
Error: [Errno 11] Resource temporarily unavailable
******************************************************
I see this message
/usr/sbin/pppd: The remote system is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.
Please somebody can help me?
Thank a lot
Title: fido connection trouble with ubuntu 11.10
I installed all correctly after a lot of reading, and still can not tether my torch 9800 with fido I got this error :
Script /usr/sbin/chat -f conf/fido-chat finished (pid 31569), status = 0x1
Connect script failed
a little help would be appreciated
thank you
Title: Help needed
It didn't work. Any ideas? I am using Mint.
matchacl@matchacl-laptop ~/citrix/bbtether $ sudo ./berry4all.sh
Traceback (most recent call last):
File "bbgui.py", line 1, in <module>
from bb_gui import BBGui
File "/home/matchacl/citrix/bbtether/bb_gui.py", line 23, in <module>
import bb_tether
File "/home/matchacl/citrix/bbtether/bb_tether.py", line 5, in <module>
import bb_modem
File "/home/matchacl/citrix/bbtether/bb_modem.py", line 14, in <module>
import bb_usb
File "/home/matchacl/citrix/bbtether/bb_usb.py", line 17, in <module>
import usb
ImportError: No module named usb
matchacl@matchacl-laptop ~/citrix/bbtether $ sudo ifconfig eth0 up
matchacl@matchacl-laptop ~/citrix/bbtether $ sudo /etc/init.d/networking restart * Reconfiguring network interfaces... Ignoring unknown interface eth0=eth0.
[ OK ]
matchacl@matchacl-laptop ~/citrix/bbtether $
Title: My 2 cents.
Got it working with Blackberry Storm 9530 on Verizon, with Ubuntu Lucid 10.04. Just followed the directions and entered my phone number in the verizon configuration file in the "conf" folder. Although the actuall log in and log off procedure is quite slow compared to "Barry 0.16" on Ubuntu Jaunty 9.04, which worked flawlessly. I with Jaunty was LTS... I'm considering going back to it just for barry... I need my mobile net... all I have.