BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 09-16-2008, 11:59 PM   #1
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Post Use your blackberry as modem with just Barry

Please Login to Remove!

Generally, Net Direct :: Open Solutions is all you need to install and set up, but here is general guideline on what I did in order to make mine work (Sprint).

I used Ubuntu Hardy Heron with sprint blackberry.

Install those packages by shell command:
Quote:
sudo apt-get install pkg-config libusb-dev libssl-dev libboost-serialization-dev libtar-dev libgtkmm-2.4-dev libglibmm-2.4-dev libglademm-2.4-dev zlib1g-dev
If everything goes fine, go to SourceForge.net: Barry and download two packages, barry and libbarry.

Install libbarry first, then finally barry itself.

Plug in your blackberry, then use this shell command to check if it worked:
Quote:
btool -l
If it doesn't show your blackberry, try lsusb to see if there is any device names with RIM in it.. if not you will need to try unplug and plug again. If not you will need to research on why it didn't work.

If it does show device with your pin, it worked! Now on to configuring the script. I will assume sprint, but barry does come with few others service providers like rogers and verizon. If you have a different one, you will have to do some research. Anyway...

In my case, I had to edit the script. I wanted to keep the orginial one, so I did this...
Quote:
cd /etc/ppp/peers
sudo cp barry-sprint bb
Now it have a much shorter and easier to remember name. Now... I had to edit bb file that way...
Quote:
sudo nano bb
I looked for entries user and password. Default just doesn't work for sprint. You will have to use your sprint login and passwords here. (don't add < > to your user and password)
user <login>
password <youraccountpassword>

Since my device does have a password set on it, I had to edit other line...
change
Quote:
pty "/usr/sbin/pppob"
to
Quote:
pty "/usr/sbin/pppob -P <password>"
Change <password> to your device password.

*EDIT - sudo required, it makes pppd works perfectly each time.*

to start it, just type this command:
Quote:
sudo pppd call bb
to hang up...
When you are done, just press Ctrl-c to exit. Wait till it returns to prompt before closing, however, so it will hang up properly.

****Fixed - ignore this line. It usually works the first time. Oddly enough, it usually doesn't the second time. Just unplug and plug your bb again before dialing again.*****

Other odd problem happens if focus happens to be on your shell window when you plug in your bb, it will spam that box. Just click on desktop before you plug in your blackberry.

Hopefully it's a little bit helpful. I'm glad I didn't do the ugly method.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )

Last edited by Iare Tosevite; 09-23-2008 at 02:26 AM..
Offline  
Old 09-17-2008, 11:23 PM   #2
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Did this guide work for anyone?
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 09-23-2008, 02:26 AM   #3
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Edited to add new information after some research.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 10-14-2008, 08:03 PM   #4
champagj
New Member
 
Join Date: Aug 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 6
Default Rogers Blackberry Bold

I am using Acer Aspire One (Linux Linpus which is an offshoot of fedora 8) with Blackberry Bold on Rogers network.

I am new to Blackberry and Linux and I found getting Barry going kinda difficult. I read that Linpus is hard to make work sometimes but after some rpm hunting I got to the pppd call which returned :

Connect script failed
Waiting for 1 child processes...
script /usr/sbin/pppob, pid 28492
sending SIGTERM to process 28492

my BB is listed under lsusb and btool so I guess it's up to connect script work...

since the Bold uses 3G, I suspect I may encounter more hurdles. Any idea where to start?

Thanks,

JF
Offline  
Old 10-15-2008, 11:59 AM   #5
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Did you modify your call file for your blackberry? IE: I had to add username as password, as well as device password.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 10-16-2008, 12:07 AM   #6
champagj
New Member
 
Join Date: Aug 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 6
Default

Iare,

I actually disabled the password on my BB and started to play with the script. I have it down to a point where the 'pppd call bb' returns IP, DNS etc. and no loggin errors.

Howevere, the new IP / gateway info is not "linking" to the connection manager to create a net connection.

I use Linpus which has limited functionnalities and the connect manager seems to support only Ethernet and Wifi profiles.

I believe I can update the connect manager but I'm on the road and I have no way to re-load if this thing goes south... so I'll have to wait for the weekend before using brute force.

As a side note the "mass storage" function is buggy. Not sure if Barry caused it but I can browse the BB via Thunar but it freezes when I try to access/move/copy any file..

JF
Offline  
Old 10-16-2008, 12:17 PM   #7
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Yeah? Do you have any other connection active at that time? That's only question I thought up...

Sorry I couldn't help ypu further than this. :(

I'm good linux user, but that means I'm no linux "guru".

Basically it works for me once I get dns and ip.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 10-18-2008, 01:39 PM   #8
champagj
New Member
 
Join Date: Aug 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 6
Default

Iare,

You may have an idea... I finally get "login" into BB. I can see IP, DNS etc..

I can browse but only with pure ip addresses. If I type the IP address of Google it goes to google via BB.

I do see DNS info when I connect.. However there are no config / status via the network manager. Almost as if it "bypass" it. As far as the net gui is concerned there is no net connection...

any idea what to try?
Offline  
Old 10-19-2008, 01:13 AM   #9
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

That made me wonder - is network manager ( I don't use it, I prefer WICD ) changing dns to an incorrect default value? I do recall something about default settings for locations such as home, college, work, etc.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 10-24-2008, 07:14 PM   #10
champagj
New Member
 
Join Date: Aug 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 6
Default Got it!

Finally got my Bold working with Aspire One over USB using barry.

Network manager does not work with pppob and pppd and basically DNS info is not updated. I found a thread on aspire one forum explaining how to add script files to update dns on pppd connect.

I am now curious to see if it does get 3G speed. (I only have edge coverage at home).

As a side note I tried to use the "pppob -P" command to add my device password without success. Looks like pppob only like digit password, no letters. and the bold doesnt like digit passwords... any suggestions?

Thanks!
(sent over usb-edge-blackberryBold with aspire one)
Offline  
Old 10-24-2008, 10:18 PM   #11
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Hmm maybe that's Barry bug? my bb do have [a-z] only only password.

I do get EDGE speed when I use mine, I doesn't have G3 on mine. I wouldn't know if it would give you G3 speed.

Anyway I'm glad it works for you now.

I do highly recommand WICD - it makes network manager seem very clunky and unfinished. Maybe when you get home and has wired connection in case of problems.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 11-13-2008, 01:53 PM   #12
NikolaM
New Member
 
Join Date: Jan 2007
Location: Slovenia
Model: 9000
Carrier: Vodafone
Posts: 3
Default

I'm having problems with this..

I'm using Ubuntu Linux and Blackberry Bold
When i do "btool -l" i get the response that Blackberry device was found, PIN, .. etc
When i do "lsusb" i get the response that Blackberry is plugged in USB (Bus 001 Device 006: ID 0fca:8004 Research In Motion, Ltd.)



And when I use "sudo pppd call bb", on the device I see it started calling #700 (why this? shouldn't it be *99***!" like in Windows?) and I get this response:


Code:
Connect script failed
Waiting for 1 child processes...
  script /usr/sbin/pppob, pid 21631
sending SIGTERM to process 21631
Child process /usr/sbin/pppob (pid 21631) terminated with signal 15

I did edit username and password for ISP..

So.. where did i go wrong? What to do to make Blackberry act like modem to connect to the internet?

Regards,
Nikola
Offline  
Old 11-13-2008, 04:46 PM   #13
champagj
New Member
 
Join Date: Aug 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 6
Default

Nikola,

I had the same problem.

You need to change the bb.chat file.

Mine looks like this and it works with Bold on Rogers Wireless

ABORT ERROR
'' AT&F
OK ATZ
OK ATI
OK AT+CGDCONT=1, "IP","internet.com"
OK ATDT*99#
CONNECT


There is too many commands in the default file.
Offline  
Old 11-14-2008, 05:16 AM   #14
NikolaM
New Member
 
Join Date: Jan 2007
Location: Slovenia
Model: 9000
Carrier: Vodafone
Posts: 3
Default

That's all u have in bb.chat file? Or just part of it?

If just part of it.. Can u copy/paste all?

Thanx!

Regards,
Nikola
Offline  
Old 11-16-2008, 10:05 PM   #15
champagj
New Member
 
Join Date: Aug 2008
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 6
Default bb.chat script

Yes,

That's pretty much it. Here is the whole file:


Code:
#
# Some of these options found documented at:
#    
#
# Others are based on the peer file in XmBlackBerry
#
# Please send all working peer files to, so we can
# build a library of peer files for different carriers.
#
ABORT ERROR
'' AT&F
OK ATZ
OK ATI
OK AT+CGDCONT=1,"IP","internet.com"
OK ATDT*99#
CONNECT[/SIZE][/I]
Offline  
Old 11-17-2008, 03:09 AM   #16
NikolaM
New Member
 
Join Date: Jan 2007
Location: Slovenia
Model: 9000
Carrier: Vodafone
Posts: 3
Default

I'm getting this error..

pppd: In file /etc/ppp/peers/bb: unrecognized option 'ABORT'
Offline  
Old 11-18-2008, 01:19 AM   #17
camp514
Knows Where the Search Button Is
 
camp514's Avatar
 
Join Date: Jun 2008
Location: Lebanon, VA
Model: 8130
PIN: 31976FE4
Carrier: Alltel
Posts: 37
Default

Has NE! gotten this to work with FREESPIRE LINUX?
__________________
I may be wrong I have "OLDTimers"
Offline  
Old 01-27-2009, 01:51 AM   #18
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Was this guide useful for anyone so far?
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Old 01-28-2009, 07:13 PM   #19
radallen
New Member
 
Join Date: Jan 2009
Model: storm
PIN: N/A
Carrier: verizon
Posts: 1
Default

how do I use my storm as a modem for my minilaptop
Offline  
Old 01-29-2009, 02:18 AM   #20
Iare Tosevite
CrackBerry Addict
 
Iare Tosevite's Avatar
 
Join Date: Nov 2007
Location: Between chair and monitor at WA.
Model: 8830
PIN: N/A
Carrier: Sprint
Posts: 565
Default

Well it depends on Barry support, but if it does this guide should help a bit.
__________________
"There is no reason anyone would want a computer in their home."
- Ken Olson, 1977
( And we now wear them! Blackberries are computers too! )
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$99.99



VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943 picture

VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943

$30.00



Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair picture

Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair

$199.99



HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee picture

HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee

$235.94







Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.