| »Sponsored
Links |
BlackBerryApps.com Best Sellers
|
|
 |
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|
How To: Tether (use as modem) your BB in Linux -
08-24-2007, 07:40 PM
Update: i added my doc directly in this page, just scroll 2 post down !
Here is my full documentation on how i did it:
Tethering With Blackberry Pearl On Linux [Thibaut Colar's Home.]
Hope this helps !
Last edited by tcolar : 08-25-2007 at 02:54 AM.
|
|
|
|
|
BlackBerry Extraordinaire
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
|

08-24-2007, 11:17 PM
If you could rewrite that into vB format and post it here (bottom left of this page is a link "vB Code" that has the html-like codes you use for bold, color, etc. for you to reference) I'm sure we could get the mods to sticky it for everyone to learn from. LunkHead will probably stop by and scrape the post you make and put it in the FAQ, too - you'll be famous!
Making a post that links to a blog/wiki without posting the actual steps doesn't work out, the content needs to be present here (what if the remote blog disappears? we lose all the info) in a normal post.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

08-25-2007, 02:09 AM
I was kinda lazy to do that to be honest, quite a bit of text 
I'm not to worried about the blog, it's my own site, has been up for many years.
But i'll try to give it a shot and try to rewrite it here with Vb within a day or two.
I'm already famous 
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

08-25-2007, 02:41 AM
Tethering With Blackberry Pearl On Linux
YOU CAN FIND THE ORIGINAL HTML VERSION HERE:
Tethering With Blackberry Pearl On Linux [Thibaut Colar's Home.]
NOTE: If you are going to use this, you should save this page now, yo your laptop, cause when you are gonna need it, you probably won't have a connection 
WARNING: This whole setup is sort of screwy, but hey it works !
WARNING: Tethering will cost you a lot of money unless you have an unlimited data plan. Some phone companies, forbid it unless you have a special plan, some other allow it but won't support it, some just plain disallow it.
I believe tethering should be allowed, but you should use that only as needed when on the road, users who use GB of data on a tether connection annoy me because 1) sooner or later the carrier will be blocked anyway, 2) if too many people do that, phone companies might block tethering unless you buy an Expensive plan !
You are not helping anybody if you do this, be reasonable and enjoy tethering when you really need it, ex: in a crunch on the road.
Introduction
Ok, i spent a LOT of time getting this dammed thing to work, but i did it !
Fisrt let me talk about the few options i tried:
- Barry: this project on source forge provides a synchronization and they started modem support but modem support does not work yet.
- XmBlackberry: This is the project that DOES work, however the site is very 'bare bone' and almost no documentation exists. On top of that the latest time they made a release was over a year ago and that release does not work with my BB. I was able to make it work with the live CVS version, though it was a pain to compile and get going.
NOTE: I only managed to get tethering to work using BOTH Barry(to recognize the device properly) and XmBlackberry(modem support), so we will install both
I used Ubuntu Feisty Fawn (x86)for this doc, though same idea should work on other linux distros.
My device is a Blackberry Pearl (8100)
My Carrier is TMobile.
This works with the USB cable and not Bluetooth, i prefer the USB cable anyhow, it's faster and less chance to loose/forget my phone if tied to the laptop
Installing XmBlackberry from sources
The main issues i had here are:
- XmBlackberry only works with the pearl with the CVS version.
- The CVS version of XMBlackBerry will only compile with openmotif2.3. 2.2 won't work !
- Debian does not have a packaged version of openmotif2.3 (the libmotif3 package is openmotif2.2)
If you use motif2.2 you will get errors like this:
Quote:
|
undefined reference to `XmVaCreatePushButton'
|
So as a result of all that the first step is to install openmotif2.3 from sources.
Prerequities
WARNING: If you have never compiled form source on your machine before, you will want to install those packages first:
Quote:
|
sudo apt-get install libc6-dev g++ gcc make build-essential
|
To compile/install all those things i had to install the following packages first. (The whole command is ONE LINE !)
Quote:
|
sudo apt-get install libtool autoconf automake cvs libglib2.0-dev libxml2-dev libssl-dev libopensync0-dev libxt-dev x11proto-print-dev libxmu-dev libxft-dev libfreetype6-dev libXp-dev flex byacc
|
Openmotif would not compile because libfreetype-dev installed files not where openmotif expected them (freetype & freetype2 dir), to compile i add to do this:
WARNING: not sure if that is a safe thing to do(probably OK), so you might want to revert this after (move back) after compiling openmotif.
Quote:
cd /usr/include/
sudo mv freetype freetype-back
sudo mv freetype2/freetype/ .
|
I also had to do this, to get XmBlackberry to run later:
Quote:
|
sudo ln -s /usr/X11R6/lib/libXm.so.4 /usr/X11R6/lib/libXm.so.3
|
Installing OpenMotif 2.3
NOTE: if you have motif3 you might need to remove it first. Honestly i'm not sure if it's a good idea, so don't do this unless you have to.
sudo apt-get remove libmotif3 libmotif-dev motif-clients
Installing motif2.3:
Installing XmBlackberry
XmBlackberry needs Xlt installed (from source)
Installing libXlt
Quote:
cd ~
cvs -d :pserver:anonymous@xlt.cvs.sourceforge.net:/cvsroot/xlt co Xlt
cd Xlt
./CVSMake
./configure --prefix=/usr
make
sudo make install
|
XmBlackBerry
Get XmBlackberry source code
ALL ONE ONE LINE !!
Quote:
cd ~
cvs -d :pserver:anonymous@xmblackberry.cvs.sourceforge.ne t:/cvsroot/xmblackberry co XmBlackBerry
|
Inside xmBlackberry folder get libusb source code.
Quote:
cd XmBlackBerry/
cvs -d :pserver:anonymous@libusb.cvs.sourceforge.net:/cvsroot/libusb co libusb
|
Compile/Install XMBlackberry
Quote:
./CVSMake
./configure --enable-maintainer-mode --disable-shared
make
sudo make install
|
Install libusb as it will be needed by Barry
Quote:
cd libusb
sudo make install
|
OpenSync
Install openSync (part of XmBlackberry)
Quote:
cd ..
cd opensync
make
sudo make install
|
Installing Barry
Quote:
cd ~
cvs -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry login
cvs -z3 -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry co -P barry
cd barry
sh buildgen.sh
./configure --prefix=/usr
make
sudo make install
|
Running XmBlackberry
WARNING: you will notice i run most of the following command with sudo, that is because otherwise it would fail, due i think to USB device permissions on debian, ideally it would probably be best to fix those permissions rather than tun those thing under sudo.
NOTE: PLUG YOUR BLACKBERRY NOW WITH THE USB CABLE.
There is an issue whereas the module usb_storage takes over the Blacberry device as soon as it is plugged in and thus XmBB can't use/see it.
We are gonna run Barry's bcharge, this has two uses here:
1) It will regrab the device from usb_storage
2) It will set the BB charging current to 500ma instead of 100ma, this will make the BB happy (no more warning) and allow it to dialog correctly with XmBB.
Because of a driver issue on the pearl we have to run bcharge twice, sounds odd, but is needed, as you will see on the second call the device will be found.
Quote:
sudo bcharge
sudo bcharge -o
|
Now, the device should be found. Example: ''sudo btool -l''
Blackberry devices found:
Device ID: 0x80xxxx. PIN: 241xxxx, Description: RIM 8100 Series Colour GPRS Handheld
NOTE: you can had Barry to udev, so it automatically runs when the BB is connected.
cp /home/thibautc/barry/udev/*b* /etc/udev/rules.d/
I haven't tried this yet.
Now we are ready to run XmBlackberry.
Once XmBlackBerry opens, click the ''Options'' Menu, this should dump something like this on the console:
XmBlackBerry.c:OptionPopupCallback(995) - GPRS modem device /dev/pts/0
If you see that, you are in business ! it found your GRPS modem !
Note "/dev/pts/0", this is going to be your modem device.
If you have other device it might be another number rather than 0, note this.
Tethering & connecting to GPRS / EDGE
You will want to have XmBlackberry up to be able to use the BB modem, so if not already running, restart it now.
PPP scripts
I found multiple pp scripts online, but none of them worked as-is, by combining some i found something working for me:
You will need to create those two files:
WARNING: if you don't use tmobile, you will have to adjust the 'AT+CGDCONT=1,"IP","wap.voicestream.com"' line.
see here for other carriers strings:
Using BlackBerry As Modem - BlackBerryFAQ
Note: "ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR" is all one line.
/etc/chatscripts/blackberry:
Quote:
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
SAY "ATE\n"
OK 'AT+CGDCONT=1,"IP","wap.voicestream.com"'
OK 'AT'
OK 'ATDT*99***1#'
SAY "Dialing\n"
|
WARNING: If XmBlackberry found your device somewhere else that /dev/pts/0 then adjust the file. TMobile use blank user and password, other carriers might want something else, adjust as needed.
/etc/ppp/peers/blackberry :
Quote:
debug debug debug
nodetach
/dev/pts/0
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user ""
password ""
|
Once this is setup, you are ready to get connected ... Finally !
Quote:
|
sudo pppd call blackberry
|
If all goes well you should get something like this:
Initializing
Dialing
Serial connection established.
using channel 15
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x682edbe8> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5>]
.....
sent [PAP AuthReq id=0x1 user="thibautc-laptop" password=<hidden>]
.....
PAP authentication succeeded
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
......
local IP address 10.169.13.231
remote IP address 169.254.1.1
primary DNS address 66.94.9.120
secondary DNS address 66.94.25.120
Script /etc/ppp/ip-up started (pid 20529)
Script /etc/ppp/ip-up finished (pid 20529), status = 0x0
........
Make sure all your other interfaces (wireless/ethernet) are down, and enjoy browsing the web using your BB modem !
TIP: I actually posted this page using my Tethered connection !!
Links
I used a compilation of other docs to get to this results, among others:
SourceForge.net: Barry
SourceForge.net: XmBlackBerry
Net Direct :: Open Solutions
http://www.blackberryforums.com/linu...x-success.html
http://www.blackberryforums.com/linu...der-linux.html
http://www.fibble.org/BlackBerry%208800
forums.fibble.org :: View topic - HOWTO: Use your 8800 as a Bluetooth Modem with your Mac
http://www.blackberryforums.com/mac-...sconnects.html
http://www.blackberryforums.com/gene...nux-works.html
Last edited by tcolar : 02-22-2008 at 12:29 AM.
|
|
|
|
|
BlackBerry Extraordinaire
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
|

08-25-2007, 12:28 PM
Sweet, thanks - a lot of people will love you.  I've PM'd JC asking him to sticky the thread...
|
|
|
|
|
BBF Moderator
Posts: 33,164
Join Date: Jun 2005
Model: 8900
OS: 4.6.1.250
PIN: s & needles
Carrier: of swine flu
|

08-25-2007, 12:31 PM
Stuck!
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

08-25-2007, 02:13 PM
BTW, if anybody has some suggestion on improving this, let me know so i can update it.
Some of it is still a little too "hacky" in my opinion 
Last edited by tcolar : 08-25-2007 at 02:18 PM.
|
|
|
|
|
Thumbs Must Hurt
Posts: 95
Join Date: Aug 2006
Location: Tacoma, WA
Model: 9530
OS: 5.0.0.328
PIN: 3049E01C
Carrier: Verizon
|

08-30-2007, 05:18 PM
I can't get past the libXlt part.... = (
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-01-2007, 01:09 AM
What kind of error did you get ?
Make sure you have installed all the packages i listed (apt-get), all those -dev packages are needed.
|
|
|
|
|
Thumbs Must Hurt
Posts: 95
Join Date: Aug 2006
Location: Tacoma, WA
Model: 9530
OS: 5.0.0.328
PIN: 3049E01C
Carrier: Verizon
|

09-01-2007, 01:38 AM
Well hi there tcolar in Kent!! I made it past the "./configure" part, but "./make" gives me an error that the directory doesn't exist. i'm in the Openmotif folder... I didn't miss any steps, but if I then skip to sudo make install it does a bunch of stuff but it looks like most of that stuff is errors too. The volume of the errors similar to "makestrs.c:547: warning incompatible (or "implicit" sometimes") declaration of blah blah blah... all kinds of stuff. i've about had it with trying to get back tethered on my blackberry. It's so frustrating.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-04-2007, 11:08 AM
If you have error.problems with compiling here are some tips.
To compile anything (if it's your first time compiling from sources you will need the compiler minimums:
Quote:
|
sudo apt-get install libc6-dev g++ gcc make build-essential
|
Woodi68: you will want to make sure you just run
NOT ./make !
Last edited by tcolar : 09-04-2007 at 11:13 AM.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|

09-06-2007, 08:22 PM
I been trying to install the followin script for a while and unsuccessfully. I just noticed that there was a syntax error which resulted in Error. Here it is:
sudo apt-get install libtool autoconf automake cvs libglib2.0-dev libxml2-dev libssl-dev libopensync0-dev libxt-dev x11proto-print-dev libxmu-dev libxft.dev libfreetype6-dev libXp-dev flex byacc
libxft.dev should be changed to libxft-dev
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|

09-06-2007, 11:24 PM
Quote:
Originally Posted by woodi68
I can't get past the libXlt part.... = (
|
I believe there's another typing error in the following command that prevents you from properly performing the 'make' and thus 'sudo make install' parts. I can't check it right now coz I have no internet access on Ubuntu.
sudo apt-get install libtool autoconf automake cvs libglib2.0-dev libxml2-dev libssl-dev libopensync0-dev libxt-dev x11proto-print-dev libxmu-dev libxft.dev libfreetype6-dev libXp-dev flex byacc
try changing libxt-dev to libXlt-dev
simply run: sudo apt-get install libXlt-dev
then follow "Installing Xlt" steps over again.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-07-2007, 02:36 AM
Nice catch !
i fixed it in the howto now.
I thought i copy/pasted all the commands to be safe but i guess i mussed have (mis)typed that one manually.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-07-2007, 02:42 AM
No, for this one i did mean libxt-dev (different than libXlt)
In my doc i installed libXlt from sources(CVS) so that it matches the version of openMotif2.3. Not sure what version the libXlt-dev debian package is, it might be ok. In which case you would apt-get BOTH libXlt-dev and libxt-dev and nit have to install libXlt from sources.
Quote:
Originally Posted by AbuAnsar
I believe there's another typing error in the following command that prevents you from properly performing the 'make' and thus 'sudo make install' parts. I can't check it right now coz I have no internet access on Ubuntu.
sudo apt-get install libtool autoconf automake cvs libglib2.0-dev libxml2-dev libssl-dev libopensync0-dev libxt-dev x11proto-print-dev libxmu-dev libxft.dev libfreetype6-dev libXp-dev flex byacc
try changinglibxt-dev to libXlt-dev
simply run: sudo apt-get install libXlt-dev
then follow "Installing Xlt" steps over again.
|
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-07-2007, 02:47 AM
I had a few other typos in my post, sorry.
I hope i fixed them all now (./make instead of make and a line that had nothing to do there for libXlt compilation)
|
|
|
|
|
BlackBerry Mensa
Posts: 9,659
Join Date: Jan 2005
Location: Prison
Model: 850
OS: 0.0.00001
PIN: How do I find mine?
Carrier: Post Office
|

09-07-2007, 02:27 PM
Awesome step by step!!!!
Can I post this in the FAQ area?? With proper credit given?
"A journey of a thousand miles begins with a single step."
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|

09-07-2007, 03:27 PM
amid@amid-laptop:~/openmotif-2.3.0$
i tried and it doesnt work:
amid@amid-laptop:~$ cd /usr/include/
amid@amid-laptop:/usr/include$ sudo mv freetype freetype-back
amid@amid-laptop:/usr/include$ sudo mv freetype2/freetype/ .
mv: cannot stat `freetype2/freetype/': No such file or directory
so i tried the following. it doesnt return any error msgs but not sure if it works:
amid@amid-laptop:~$ cd /usr/include/ sudo mv freetype freetype-back sudo mv freetype2/freetype/ .
amid@amid-laptop:/usr/include$
also tried this:
amid@amid-laptop:~$ sudo ln -s /usr/include/freetype2/freetype /usr/include/freetype
ln: creating symbolic link `/usr/include/freetype' to `/usr/include/freetype2/freetype': File exists
I cant have openmotif-2.3.0 compiled, nor can i compile XmBlackBerry -->
INSTALLING libXlt
./configure --prefix=/usr
config.status: config.h is unchanged
config.status: executing depfiles commands
Xlt 18.3.18 from NOCTURNAL
==================================
prefix: /usr
compiler: gcc
Motif: -Inone $(link_motif)
Database support: no
amid@amid-laptop:~/Xlt$
Last edited by AbuAnsar : 09-07-2007 at 03:29 PM.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-07-2007, 04:58 PM
Lunkhead, sure you can post it as you wish.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-07-2007, 05:00 PM
AbuAnsar:
For freetype, maybe you don't have 2 versions like i did, and might be able to kip it.
You say you can't compile, can you be more specific, ie post or email the actual error(s) (tc ola r AT co la r DOT net)
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|

09-07-2007, 06:07 PM
Quote:
Originally Posted by tcolar
AbuAnsar:
For freetype, maybe you don't have 2 versions like i did, and might be able to kip it.
You say you can't compile, can you be more specific, ie post or email the actual error(s) (tc ola r AT co la r DOT net)
|
Tcolar, thanks for actively helping us all. The errors i got are as follows:
Installing OpenMotif 2.3
amid@amid-laptop:~$ cd openmotif-2.3.0/
amid@amid-laptop:~/openmotif-2.3.0$ ./configure
........
......
....
config.status: creating lib/Xm/xmstring.list
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating lib/Xm/Xm.h
config.status: lib/Xm/Xm.h is unchanged
config.status: executing depfiles commands
amid@amid-laptop:~/openmotif-2.3.0$ sudo make
it start the process but ends up with a bunch of errors like:
/usr/include/X11/Xft/Xft.h:461: error: expected ';', ',' or ')' before '*' token
make[3]: ***[List.lo] Error 1
make[3]: Leaving directory `/home/amid/openmotif-2.3.0/lib/Xm'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/amid/openmotif-2.3.0/lib/Xm'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amid/openmotif-2.3.0/lib'
make: *** [all-recursive] Error 1
amid@amid-laptop:~/openmotif-2.3.0$
|
|
|
|
|
Thumbs Must Hurt
Posts: 95
Join Date: Aug 2006
Location: Tacoma, WA
Model: 9530
OS: 5.0.0.328
PIN: 3049E01C
Carrier: Verizon
|

09-09-2007, 08:55 PM
Ok... so everything installed without any more errors! But.... XmBlackBerry doesn't recognize my 8830. Keeping in mind this is the 8830 from Verizon maybe it's a device issue?
I ran the two bcharge commands and that went fine, but when I run the btool it doesn't find my bb. (sudo btool -l yeilds no results. Damn.)
And it never does end up increasing the charge to 500. Stays at 100.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-09-2007, 10:25 PM
what is the 8830 ? is that the curve ?
One thing, is you might want to make sure usb_storage is not loaded cause it tends to interfere with the berry tools.
sudo rmmod usb_storage after plugging the device
|
|
|
|
|
No longer Registered.
Posts: 647
Join Date: Jul 2005
Location: Mesa Arizona
Model: 8800
PIN: 240582A8
Carrier: tmobile
|

09-10-2007, 06:54 AM
dose this run with ubuntu 7.04 feisty fawn and will this work with an 8800?
|
|
|
|
|
Knows Where the Search Button Is
Posts: 25
Join Date: Aug 2007
Location: Kent, WA
Model: 8100
PIN: N/A
Carrier: tmobile
|

09-30-2007, 02:29 PM
You mant want to add this to the /etc/ppp/peers/blackberry
.....
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
......
Otherwise i would get disconnected after few mn of innactivity(at least on tmobile) because the server would not reply to the echo's
Thanks to "loon" for pointing this out.
|
|
|
|
|
Thumbs Must Hurt
Posts: 188
Join Date: Apr 2005
Model: 8320
PIN: Up
Carrier: t-mobile
|

10-13-2007, 08:31 AM
One question: is Barry really needed if you have blackberry_charge enabled in the kernel? It recognizes and charges my blackberry at full charge without a problem. I don't have barry installed btw.
As for xmblackberry, I have version 0.3.0 installed and with backup/restore (tested) and sync (not tested yet) working. The sync has options that shows and all I need to do is configure what options/programs I want to sync to. The only thing I can't seem to get working is the modem part.
Quote:
Initializing
Dialing
Serial connection established.
using channel 15
Using interface ppp0
Connect: ppp0 <--> /dev/pts/0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x682edbe8> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5>]
|
I copied your scripts, the modem is recognized and it initializes but returns with a bunch of sent and receive handshaking that repeats forever, it doesn't complete the script to give me an ip address, gateway, and dns so I can browse online. I'm with t-mobile btw.
|
|
|
|
|
BlackBerry Extraordinaire
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
|

10-13-2007, 01:50 PM
Quote:
Originally Posted by titetanium
One question: is Barry really needed if you have blackberry_charge enabled in the kernel? It recognizes and charges my blackberry at full charge without a problem. I don't have barry installed btw.
|
bcharge does an additional reset of the USB port with a magic value that exposes the BB functionality on newer devices (8100 and up, SD cards). Your 7100T might just work without needing the bcharge tool out of Barry, as it doesn't have USB Mass Storage and everything is on channel 1 already. Because you can use xmblackberry successfully to backup/restore my gut instinct says you don't need bcharge like newer devices - skip the Barry needs.
|
|
|
|
|
Talking BlackBerry Encyclopedia
Posts: 235
Join Date: Feb 2007
Location: Jackson, tn
Model: 9530
OS: 5
Carrier: Verizon
|

10-16-2007, 10:16 PM
I'm having trouble with this. When I went to install the Xlt, it ended like this:
Making install in LiteClue
make[2]: Entering directory `/home/matt/Xlt/tests/LiteClue'
gcc -DHAVE_CONFIG_H -I. -I../.. -I./../../lib -I/usr/X11R6/include -g -O2 -Wall -c LiteClue_test.c
LiteClue_test.c:56:21: error: X11/xpm.h: No such file or directory
make[2]: *** [LiteClue_test.o] Error 1
make[2]: Leaving directory `/home/matt/Xlt/tests/LiteClue'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/matt/Xlt/tests'
make: *** [install-recursive] Error 1
|
|
|
|
|
BlackBerry Extraordinaire
Posts: 2,166
Join Date: Dec 2006
Location: san francisco
Model: 8320
PIN: n/a
Carrier: t-mobile
|

10-16-2007, 10:23 PM
Quote:
Originally Posted by mr_smith
LiteClue_test.c:56:21: error: X11/xpm.h: No such file or directory
|
It looks like the devel files for libXpm are not installed on your system; if using a Fedora system you want 'libXpm-devel' RPM file, for Ubuntu I'm sure it's very similar. Install the appropriate package and you're off and rocking - be prepared for others maybe, since one was not installed you never know.
|
|
|
|
|
Talking BlackBerry Encyclopedia
Posts: 235
Join Date: Feb 2007
Location: Jackson, tn
Model: 9530
OS: 5
Carrier: Verizon
|

10-17-2007, 02:06 PM
Thank you so much tcolar and rivviepop.. I was able to get it working
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Mar 2007
Model: 8703e
Carrier: Verizon
|

10-25-2007, 01:24 AM
It finds my 8703e and everything works up to $sudo pppd call blackberry
Verizon + Ubuntu 7.10
Code:
Initializing
ATE
Dialing
Serial connection established.
using channel 3
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xa4097dfb> <pcomp> <accomp>]
LCP: timeout sending Config-Requests
Connection terminated.
Receive serial link is not 8-bit clean:
Problem: all had bit 7 set to 0
Modem hangup
Chat
Code:
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
SAY "ATE\n"
OK 'AT'
OK 'ATDT#777'
SAY "Dialing\n"
PPP
Code:
debug debug debug
nodetach
/dev/pts/1
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user MYNUMBER@vzw3g.com
password MYNUMBER
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Mar 2007
Model: 8703e
Carrier: Verizon
|
8703e with Verizon solved -
10-25-2007, 10:15 PM
|
|
|
|
|
New Member
Posts: 2
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|
stuck! -
11-02-2007, 11:21 AM
Running Ubuntu 7.10 with Pearl 8100 Tmobile. I believe I installed everything you said, went through step by step. I get to part of running XmBlackBerry and i get this:
ztrane@laptop:~/XmBlackBerry$ XmBlackBerry
sync.c:sync_init(296) - rim-sync plugin not available. Unable to find plugin "rim-sync". This can be caused by unresolved symbols Sync disabled.
Rim-sync is in Opensync so I re-stepped that section:
ztrane@laptop:~/XmBlackBerry$ cd opensync
ztrane@laptop:~/XmBlackBerry/opensync$ make
make all-recursive
make[1]: Entering directory `/home/ztrane/XmBlackBerry/opensync'
Making all in src
make[2]: Entering directory `/home/ztrane/XmBlackBerry/opensync/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ztrane/XmBlackBerry/opensync/src'
make[2]: Entering directory `/home/ztrane/XmBlackBerry/opensync'
make[2]: Leaving directory `/home/ztrane/XmBlackBerry/opensync'
make[1]: Leaving directory `/home/ztrane/XmBlackBerry/opensync'
ztrane@laptop:~/XmBlackBerry/opensync$ sudo make install
[sudo] password for ztrane:
Making install in src
make[1]: Entering directory `/home/ztrane/XmBlackBerry/opensync/src'
make[2]: Entering directory `/home/ztrane/XmBlackBerry/opensync/src'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/opensync/defaults" || /bin/mkdir -p "/usr/share/opensync/defaults"
/usr/bin/install -c -m 644 'rim-sync' '/usr/share/opensync/defaults/rim-sync'
test -z "/usr/lib/opensync/formats" || /bin/mkdir -p "/usr/lib/opensync/formats"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'rim_contact.la' '/usr/lib/opensync/formats/rim_contact.la'
/usr/bin/install -c .libs/rim_contact.lai /usr/lib/opensync/formats/rim_contact.la
/usr/bin/install -c .libs/rim_contact.a /usr/lib/opensync/formats/rim_contact.a
chmod 644 /usr/lib/opensync/formats/rim_contact.a
ranlib /usr/lib/opensync/formats/rim_contact.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/opensync/formats
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/opensync/formats
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ../libtool --mode=install /usr/bin/install -c 'rim_todo.la' '/usr/lib/opensync/formats/rim_todo.la'
/usr/bin/install -c .libs/rim_todo.lai /usr/lib/opensync/formats/rim_todo.la
/usr/bin/install -c .libs/rim_todo.a /usr/lib/opensync/formats/rim_todo.a
chmod 644 /usr/lib/opensync/formats/rim_todo.a
ranlib /usr/lib/opensync/formats/rim_todo.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/opensync/formats
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/opensync/formats
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ../libtool --mode=install /usr/bin/install -c 'rim_note.la' '/usr/lib/opensync/formats/rim_note.la'
/usr/bin/install -c .libs/rim_note.lai /usr/lib/opensync/formats/rim_note.la
/usr/bin/install -c .libs/rim_note.a /usr/lib/opensync/formats/rim_note.a
chmod 644 /usr/lib/opensync/formats/rim_note.a
ranlib /usr/lib/opensync/formats/rim_note.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/opensync/formats
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/opensync/formats
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/bash ../libtool --mode=install /usr/bin/install -c 'rim_event.la' '/usr/lib/opensync/formats/rim_event.la'
/usr/bin/install -c .libs/rim_event.lai /usr/lib/opensync/formats/rim_event.la
/usr/bin/install -c .libs/rim_event.a /usr/lib/opensync/formats/rim_event.a
chmod 644 /usr/lib/opensync/formats/rim_event.a
ranlib /usr/lib/opensync/formats/rim_event.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/opensync/formats
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/opensync/formats
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/usr/lib/opensync/plugins" || /bin/mkdir -p "/usr/lib/opensync/plugins"
/bin/bash ../libtool --mode=install /usr/bin/install -c 'rim_sync.la' '/usr/lib/opensync/plugins/rim_sync.la'
/usr/bin/install -c .libs/rim_sync.lai /usr/lib/opensync/plugins/rim_sync.la
/usr/bin/install -c .libs/rim_sync.a /usr/lib/opensync/plugins/rim_sync.a
chmod 644 /usr/lib/opensync/plugins/rim_sync.a
ranlib /usr/lib/opensync/plugins/rim_sync.a
PATH="$PATH:/sbin" ldconfig -n /usr/lib/opensync/plugins
----------------------------------------------------------------------
Libraries have been installed in:
/usr/lib/opensync/plugins
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable
during execution
- add LIBDIR to the `LD_RUN_PATH' environment variable
during linking
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag
- have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory `/home/ztrane/XmBlackBerry/opensync/src'
make[1]: Leaving directory `/home/ztrane/XmBlackBerry/opensync/src'
make[1]: Entering directory `/home/ztrane/XmBlackBerry/opensync'
make[2]: Entering directory `/home/ztrane/XmBlackBerry/opensync'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ztrane/XmBlackBerry/opensync'
make[1]: Leaving directory `/home/ztrane/XmBlackBerry/opensync'
ztrane@laptop:~/XmBlackBerry/opensync$
But still get rim-sync error on XmBlackBerry. Any help greatly appreciated!
Last edited by ztrane : 11-02-2007 at 11:22 AM.
|
|
|
|
|
New Member
Posts: 2
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|

11-02-2007, 05:35 PM
Nevermind, went through and added sudo for the make also on all steps and it worked.
|
|
|
|
|
Knows Where the Search Button Is
Posts: 17
Join Date: Jul 2007
Model: 8100
PIN: N/A
Carrier: T-Mobile
|

11-02-2007, 08:43 PM
it worked here as well )
thanks tclor thank you everyone.
|
|
|
|
|
New Member
Posts: 1
Join Date: Nov 2007
Model: 8100
PIN: N/A
Carrier: AT&T
|

11-07-2007, 04:42 AM
I got this to work as well. I compiled xmblackberry 0.30.0 and barry 0.9. The only thing I would add is that xmblackberry expected a libXm.so.3 -- just make a link from libXm.so.4.0.0 to libXm.so.3 and you're set!
Thanks a lot for this guide, I would have had a much harder time of it without this. I'm not going to use my BB as internet access at this point, but I'm not going to boot into windows just to mess around with the filesystem either!
|
|
|
|
|
New Member
Posts: 2
Join Date: Jul 2007
Model: 7100t
PIN: N/A
Carrier: AT&T
|

11-20-2007, 05:18 PM
Hey Guys,
I have a 7105t unlocked with Cingular (AT&T) service on an Ubuntu 7.10 Gusty OS. I can't get this thing to work...I am pretty sure it should work because I got it to work in windoze, doing a tethered modem. I got everything to compile fine and Barry and XmBlackberry both seem to be working (they reconize and connect to the device). What's funny is the very first time I ran it, it dialed an the whole bit but never connected...I messed around with that for a while and now no matter what I do I only get this output when running the call command:
sudo pppd call blackberry
Initializing
ATE
Connect script failed
I've tried messing around with putting ![[email address]](http://www.blackberryforums.com/?emailimage=926ba5063332a843f899526b95997cb8) in as the username and CINGULAR1 as the password but none of that works. I have also tried many diffrerent scripts from google but again nothing.
Here are my scipts:
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
SAY "ATE\n"
OK 'AT+CGDCONT=1,"IP","wap.cingular"'
OK 'AT'
OK 'ATDT*99***1#'
SAY "Dialing\n"
and...
debug debug debug
nodetach
/dev/pts/2
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# added this, so that it doesn't disconnect after few mn of innactivity
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user ""
password ""
Here is the output from XmBlackBerry:
sync.c:sync_init(296) - rim-sync plugin not available. Unable to find plugin "rim-sync". This can be caused by unresolved symbols Sync disabled.
bb_usb.c:scan_device(1664) - bcdDevice 0104, 1 configurations
bb_usb.c:scan_config(1618) - bConfiguration 1 MaxPower = 500mA
bb_usb.c:say_hello(486) - Read 0 bytes of 7 from ep 81. Didn't hear hello. Resource temporarily unavailable No error
bb_usb.c:check_endpoint_pair(1435) - Couldn't say hello
serdata.c:initialize(237) - pty name. "/dev/pts/2"
XmBlackBerry.c:OptionPopupCallback(998) - GPRS modem device /dev/pts/2
Any ideas?
|
|
|
|
|
New Member
Posts: 1
Join Date: Dec 2007
Model: 8800
PIN: N/A
Carrier: tim
|
XmBlackberry problem -
12-01-2007, 06:06 AM
when I run sudo XmBlackberry to start the application I get
sudo: XmBlackBerry: command not found
any suggestion?
Cheers
julius
|
|
|
|
|
New Member
Posts: 1
Join Date: Dec 2007
Model: 8830
PIN: N/A
Carrier: Sprint
|

12-06-2007, 12:51 PM
OK, I've been trying to get this working for a couple of days... I'm running Ubuntu Gutsy and I've tried all the suggestions but when I try to make Xlt I get:
make all-recursive
make[1]: Entering directory `/home/paul/Xlt'
Making all in .
make[2]: Entering directory `/home/paul/Xlt'
make[2]: Leaving directory `/home/paul/Xlt'
Making all in lib
make[2]: Entering directory `/home/paul/Xlt/lib'
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -Wall -version-info 18:3:18 -o libXlt.la -rpath /usr/lib NumEntry.lo calc.lo BubbleButton.lo AnimatedButton.lo Host.lo HostTranscript.lo EntrySB.lo DisplayFallbackResources.lo DisplayOptions.lo RedirectStdErr.lo SelectDebugLevel.lo SetClientIcon.lo Sound.lo ToolBar.lo Working.lo YesNo.lo Stroke.lo NodeButton.lo FilePicker.lo SciPlot.lo SciPlotUtil.lo ListTree.lo AppShell.lo FontChooser.lo SelectionBox.lo SlideC.lo Rdb.lo Timer.lo LiteClue.lo Remote.lo -L/usr/lib -lXm -lXp -lXext -lXmu -lXt -lSM -lICE -lX11 -lpthread -lm
gcc -shared .libs/NumEntry.o .libs/calc.o .libs/BubbleButton.o .libs/AnimatedButton.o .libs/Host.o .libs/HostTranscript.o .libs/EntrySB.o .libs/DisplayFallbackResources.o .libs/DisplayOptions.o .libs/RedirectStdErr.o .libs/SelectDebugLevel.o .libs/SetClientIcon.o .libs/Sound.o .libs/ToolBar.o .libs/Working.o .libs/YesNo.o .libs/Stroke.o .libs/NodeButton.o .libs/FilePicker.o .libs/SciPlot.o .libs/SciPlotUtil.o .libs/ListTree.o .libs/AppShell.o .libs/FontChooser.o .libs/SelectionBox.o .libs/SlideC.o .libs/Rdb.o .libs/Timer.o .libs/LiteClue.o .libs/Remote.o -L/usr/lib -lXm -lXp -lXext -lXmu -lXt -lSM -lICE -lX11 -lpthread -lm -Wl,-soname -Wl,libXlt.so.0 -o .libs/libXlt.so.0.18.3
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
make[2]: *** [libXlt.la] Error 1
make[2]: Leaving directory `/home/paul/Xlt/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paul/Xlt'
make: *** [all] Error 2
Any help would be greatly appreciated.
|
|
|
|
|
New Member
Posts: 3
Join Date: Aug 2007
Model: 8100
Carrier: T-Mobile
|
How abut that EEE PC... -
01-18-2008, 12:14 AM
So I'm trying to make this work on Xandros (advanced mode) with no luck.
I've isntalled and pinned just about every possible repository I can, and seem to have all the required packages installed.
No errors when I'm installing anything, but when I sudo bcharge & sudo bcharge -o, I get:
Scanning for Blackberry devices...
Found device #001...adjusting charge setting...adjusting Pearl mode to singleDetecting possible kernel driver conflict, trying to resolve...
usb_reset failed: could not reset: No such device
...done
And then repeat for device #002.
Now, I DO have usb-storage enabled, unfortunately I have no idea how to turn it off only for the connected BB in Xandros.
I feel like if someone could help me out with this one aspect, I would be able to get this up and running with minimal additional problems.
Thanks in advance for any help!
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|