BlackBerry Forums Support Community               

Reply
 
LinkBack Thread Tools
Old 01-23-2008, 01:00 AM   #41 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Please Login to Remove!

I found it much simpler to just tether using Bluetooth; the steps I did on my Pearl are as follows:

1. Install bluez & ppp
2. Set up rfcomm & pair my laptop to my BB
/etc/bluetooth/rfcomm.conf
Code:
rfcomm1 {
bind yes;
device 00:11:22:33:44:55;
channel 3;
}
(replace the device value with your phone's MAC address) then run rfcomm bind 1
3. Create two pppd scripts:
/etc/ppp/peers/bberry
Code:
rfcomm1
115200
debug
noauth
defaultroute
usepeerdns
connect-delay 10000
user 925555555@vzw3g.com
show-password
crtscts
lock
lcp-echo-failure 4
lcp-echo-interval 65535
connect '/usr/sbin/chat -v -s -f /etc/ppp/peers/bberry_chat'
(replace the user with your phone number)
/etc/ppp/peers/bberry_chat
Code:
'' ATDT#777 CONNECT
4. Dial out using pppd: pppd call bberry

I can verify it works (I'm using it now); I did it under Gentoo but it should be distro independent. If you're using a different model, just be sure to determine which channel to set to using hcitool browse. Look for something like:
Code:
Service RecHandle: 0x10002
Service Class ID List:
  "Dialup Networking" (0x1103)
  "Generic Networking" (0x1201)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
    Channel: 3
Profile Descriptor List:
  "Dialup Networking" (0x1103)
    Version: 0x0100
I am paying for tethering, so no clue if this would score you free DUN on Verizon. Also everything compiles without any voodoo; I'm using bluez-libs & bluez-utils 3.24, and ppp 2.4.4. It didn't take me too long to setup because I did essentially the same thing with my previous phone (Moto Q). I detailed the steps more closely in a thread I posted on Qusers. You also must obviously get your kernel to work with Bluetooth, which is probably done by default on most distro's (I list the necessary modules in the thread I linked to).
Offline   Reply With Quote
Old 01-24-2008, 09:38 PM   #42 (permalink)
New Member
 
Join Date: Aug 2007
Model: 8100
Carrier: T-Mobile
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Upon closer inspection, I found that I'm having the same problem as paulengel. Namely, for some reason Xlt refuses to make without error.
Offline   Reply With Quote
Old 02-19-2008, 10:49 PM   #43 (permalink)
New Member
 
Join Date: Feb 2008
Model: 8100
PIN: N/A
Carrier: tmobile
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Must be a noob with the commands

Greetings,
I have followed your guide with out any problems until I do the "sudo pppd call blackberry" command.

I get the following error

pppd: In file /etc/ppp/peers/blackberry: unrecognized option '-f'

here is a copy of my file for reference

debug debug debug
nodetach
/dev/pts/3
115200
connect xxx8220;chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
#need lcp-echo turned off, at least for tmobile, otherwise c0onnectin
# disconnects after few mn of inactivity.
# thanks to xxx8217;loonxxx8217; for this info
lcp-echo-interval 0
lcp-echo-failure 999
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user xxx8220;xxx8221;
password xxx8220;xxx8221;


any advice on this matter would be helpful I have tried the full connect line of
connect xxx8220;/usr/sbin/chat -f /etc/chatscripts/blackberryxxx8221;
and still no luck

I'm running kubuntu fully updated
Offline   Reply With Quote
Old 02-20-2008, 11:37 PM   #44 (permalink)
New Member
 
Join Date: Jan 2008
Model: 8320
PIN: N/A
Carrier: T-Mobile
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am currently trying to setup my curve to work with my laptop when ever I open XmBlackberry I receive the error below anyone have any ideals

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(1809) - bcdDevice 0106, 1 configurations bcdDevice 0x0106
bb_usb.c:say_hello(510) - Read 0 bytes of 7 from ep 81. Didn't hear hello. Resource temporarily unavailable No error
bb_usb.c:check_endpoint_pair(1506) - Couldn't say hello on endpoint pair 1 2
bb_usb.c:check_endpoint_pair(1478) - found one 3 4
bb_usb.c:process(1003) - 243edf68 set mode "RIM_UsbSerData" failed.
Offline   Reply With Quote
Old 03-15-2008, 12:49 AM   #45 (permalink)
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 Thanks: 0
Thanked 1 Time in 1 Post
Default

I posted that using this steps ( and some of later posts ) helped me to make my BB work with my linux laptop! (KUbuntu)

Thanks guys!

( Reposted because it was gone. )
__________________
"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   Reply With Quote
Old 03-15-2008, 12:52 AM   #46 (permalink)
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,679
Post Thanks: 4
Thanked 96 Times in 71 Posts
Default

Don't have to make excuses for reposting. We understand.
Online   Reply With Quote
Old 03-21-2008, 02:53 PM   #47 (permalink)
New Member
 
Join Date: Mar 2008
Model: 7130
PIN: N/A
Carrier: Sprint
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default bigmack83

i am creating a google group to try and bring everyone together on this. i am leaving messages at ubuntu forums, here at blackberry forums, and other linux forums. I have seen a lot of people try to do this on many different sites. i think if we worked together we could get this working as im connected now and others can to and some cannot. id like to get this thing solved for more people. so please join the group.

blackberry.on.linux | Google Groups
Offline   Reply With Quote
Old 03-21-2008, 02:58 PM   #48 (permalink)
New Member
 
Join Date: Mar 2008
Model: 7130
PIN: N/A
Carrier: Sprint
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

yumamarine:

here is my file, maybe you can copy and paste some of the differences and test the result.


debug debug debug
nodetach
/dev/pts/3
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 ##########@sprintpcs.com
password ##########



and my /etc/chatscripts/blackberry file

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
OK-AT-OK ATDT#777
CONNECT \d\c




also i am using sprint so the second file should look different that that if someone uses verizon, not sure if its different with t-mobile also but i dont think it is

Last edited by bigmack83 : 03-21-2008 at 03:02 PM.
Offline   Reply With Quote
Old 04-03-2008, 06:31 PM   #49 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8100
PIN: N/A
Carrier: Verizon
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Error making barry

I'm on Linux Mint 4.0 KDE, and the installation has gone well up to this point, but when I make barry, I get this error.

Quote:
/usr/bin/ld: .libs/libbarry.so.0.0.13: hidden symbol `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[2]: *** [libbarry.la] Error 1
make[2]: Leaving directory `/home/jon/barry/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jon/barry'
make: *** [all] Error 2
[edit] So the problem was that Barry has released version 0.12 very recently. CVS seems to not compile correctly.

My problem now is that when running bcharge, I get this:
Quote:
jon@jon-laptop:~/barry$ sudo bcharge
Scanning for Blackberry devices...
Found device #007...adjusting charge setting...adjusting Pearl mode to dualDetecting possible kernel driver conflict, trying to resolve...

usb_reset failed: could not reset: No such device
...done
jon@jon-laptop:~/barry$ sudo bcharge -o
Scanning for Blackberry devices...
Found device #008...already at 500mA...adjusting Pearl mode to singleDetecting possible kernel driver conflict, trying to resolve...

usb_reset failed: could not reset: No such device
...done

Last edited by jonfh : 04-03-2008 at 06:58 PM. Reason: Updated info
Offline   Reply With Quote
Old 04-19-2008, 12:37 AM   #50 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8100
PIN: N/A
Carrier: ATT
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Berry 8100 and Kubuntu

I have ATT and I just got off the phone with them about what parameters to use and it seems that no matter what I do I get.
ATE
Dialing
Serial connection established.
using channel 22
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2eeca0f6> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MD5>]

I have tried using a chap-secrets file and not using one. ATT told me not to use a user and password. I can not seem to get around this. Any hekp is appreciated .

/etc/ppp/peers/blackberry
debug debug debug
nodetach
/dev/rfcomm1
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
noccp
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user ""
password ""


/etc/chatscripts/blackberry"
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
'' ATZ
SAY "ATE\n"
OK 'AT+CGDCONT=1,"IP","wap.cingular"'
OK 'AT'
OK 'ATDT*99#'
SAY "Dialing\n"

Any suggestions ? Do I need a chap-secrets or pap-secrets?

Thanks.
Offline   Reply With Quote
Old 04-30-2008, 02:17 PM   #51 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8803
PIN: N/A
Carrier: Verizon
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Stuck in Barry

cvs -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry login

i enter this into the terminal and get prompted for a password everytime. I am assuming this is why bcharge isn't installed. please help

make[2]: *** [libbarry.la] Error 1
make[2]: Leaving directory `/barry/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/barry'
make: *** [all] Error 2


get this as well when trying to do 'make' even with 'sudo make'

Last edited by jhollon : 04-30-2008 at 02:25 PM.
Offline   Reply With Quote
Old 05-11-2008, 12:54 AM   #52 (permalink)
New Member
 
Join Date: May 2008
Model: 8130
PIN: N/A
Carrier: verizon
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Does one have to pay for DUN (dial up networking) through their provider to get tethering fully working?
Offline   Reply With Quote
Old 07-02-2008, 04:54 AM   #53 (permalink)
New Member
 
Join Date: Apr 2008
Model: 8130
PIN: N/A
Carrier: US Cellular
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Red face Free at Last!!

SUCCESS!

The Bluetooth method described above is far and away the easiest way to get tethering working in Linux.

I'm running Ubuntu 8.04 and after about a month of trying, I was about to give up and go back to dual-booting Windows..

All I had to do was edit the config files as outlined above for my Pearl's MAC address and my phone number (of course). I had to install/compile absolutely NOTHING!!

A big THANK YOU to SDNick484!!
Offline   Reply With Quote
Old 07-19-2008, 06:32 PM   #54 (permalink)
New Member
 
Join Date: Jul 2008
Model: 7130
PIN: N/A
Carrier: Sprint
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default can't find modem

I can get XmBlackBerry running just find, but instead of the location of the modem, I get this:

XmBlackBerry.c:OptionPopupCallback(998) - GPRS modem device Not available


I'm running Slackware 11.0, Blackberry Pearl 7130, Sprint as a carrier. Any help figuring out what's wrong would be greatly appreciated!
Offline   Reply With Quote
Old 08-07-2008, 10:59 AM   #55 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8800
PIN: N/A
Carrier: None yet
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by garnpipebear View Post
I can get XmBlackBerry running just find, but instead of the location of the modem, I get this:

XmBlackBerry.c:OptionPopupCallback(998) - GPRS modem device Not available


I'm running Slackware 11.0, Blackberry Pearl 7130, Sprint as a carrier. Any help figuring out what's wrong would be greatly appreciated!
I am seeing the same thing in Kubuntu 8.04 using an 8700 with OS 4.5. I'm still researching and I'll post if I find a solution.

A.C.
******
Offline   Reply With Quote
Old 08-08-2008, 01:46 AM   #56 (permalink)
New Member
 
Join Date: Mar 2008
Model: 8800
PIN: N/A
Carrier: None yet
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Bluetooth settings for TMobile

Greetings,

Per my previous post I ran in to a blocking error with the USB cable method. I picked up a cheap USB bluetooth adapter and I now have a T-Mobile provided DUN tether working with my 8700 in Kubuntu 8.04 Linux (I'm posting this from it now)!

Here are a few things that are particular to tethering a Blackberry 8700c (unlocked from AT&T) using TMobile's service which differ from SDNick484's instructions:

First off, the steps at Blackberry Curve 8310 as Bluetooth Modem on Ubuntu Hardy pegelinux were fantastic. I'm going to use their naming convention of gprs and gprs-connect-chat instead of bberry and bberry-chat, respectively.

For my configuration, rfcomm.conf needed to be set to use channel 0. I determined this by running:
Code:
sdptool search DUN
This told me that my phone was using channel 0 so my rfcomm bind command looked like this:
Code:
sudo rfcomm bind 0 00:11:22:33:44:55 1
Note that this is a slightly different syntax than other online instructions, but it seems to work OK.

In the gprs (bbery) ppp config file, T-Mobile does not require a username (not even a phone number) so erase the user line entirely. I also set the IP address to :169.254.1.1 which made a lot of console errors go away later.

In gprs-connect-chat (bberry-chat), the following two lines are unique to T-Mobile:

OK 'AT+CGDCONT=1,"IP","wap.voicestream.com","",0,0' \
OK ATD*99***1#

In my case, I had to change my phone's APN (Options -> Advanced -> TCP -> APN field) to wap.voicestream.com as well (with user and password blank because T-Moble just plain doesn't use them). This was probably only required for me because I wiped my phone when moving it from AT&T to T-Mobile. You can double-check your service book to see what your APN is set to.

Once I got that all set up right I was able to run pppd call gprs and everything was happy!

Again, it's probably easiest to use the T-Mobile specific settings with the guide I attempted to link to above as it is very complete. Thanks to everyone who posted information on how to get things working, in particular tcolar and SDNick484. If I happen to get it working through USB I'll be sure to post how I did it but for now I think Bluetooth is a perfectly fine solution.

Best of luck to those who follow,

A.C.
******

Last edited by John Clark : 08-08-2008 at 01:59 AM.
Offline   Reply With Quote
Old 08-08-2008, 02:00 AM   #57 (permalink)
BBF Moderator
 
John Clark's Avatar
 
Join Date: Jun 2005
Model: Z30
OS: 10.2.1.x
PIN: s & needles
Carrier: AT&T
Posts: 34,679
Post Thanks: 4
Thanked 96 Times in 71 Posts
Default

Great instructions. I allowed and fixed your link.
Online   Reply With Quote
Old 08-26-2008, 08:17 PM   #58 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8320
PIN: N/A
Carrier: tmo
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default if you run into this...

Another tip (that I discovered the hard way):
If you succeed in connecting to the rfcomm device with ppp and initiating a ppp connection, but you see something like the following:
Code:
Serial connection established.
using channel 6
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm0
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xe4e911f9>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth pap>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth pap>]
rcvd [LCP ConfRej id=0x1 <magic 0xe4e911f9>
...
LCP terminated by peer
sent [LCP TermAck id=0x2]
rcvd [LCP TermAck id=0x2]
Connection terminated.
then you should try adding the following lines to your /etc/ppp/options:
auth
+pap

You will also probably want to add the following line to /etc/ppp/options
usepeerdns
(otherwise you may not be able to resolve domain names)
Offline   Reply With Quote
Old 08-26-2008, 08:35 PM   #59 (permalink)
New Member
 
Join Date: Aug 2008
Model: 8320
PIN: N/A
Carrier: tmo
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default answer for Elias

Hmm. It looks like what Elias needs is similar to what I needed. Elias, try adding these lines to your /etc/ppp/options

auth
+chap


Quote:
Originally Posted by EliasKesh View Post
I have ATT and I just got off the phone with them about what parameters to use and it seems that no matter what I do I get.
ATE
Dialing
Serial connection established.
using channel 22
Using interface ppp0
Connect: ppp0 <--> /dev/rfcomm1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x2eeca0f6> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth chap MD5>]
No auth is possible
sent [LCP ConfRej id=0x0 <auth chap MD5>]

I have tried using a chap-secrets file and not using one. ATT told me not to use a user and password. I can not seem to get around this. Any hekp is appreciated .

/etc/ppp/peers/blackberry
debug debug debug
nodetach
/dev/rfcomm1
115200
connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
nomultilink
defaultroute
noipdefault
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
lcp-echo-interval 0
lcp-echo-failure 999
noccp
modem
noauth
nocrtscts
noipdefault
novj # refused anyway, no point in trying every time
usepeerdns
user ""
password ""


/etc/chatscripts/blackberry"
ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
'' ATZ
SAY "ATE\n"
OK 'AT+CGDCONT=1,"IP","wap.cingular"'
OK 'AT'
OK 'ATDT*99#'
SAY "Dialing\n"

Any suggestions ? Do I need a chap-secrets or pap-secrets?

Thanks.
Offline   Reply With Quote
Old 09-01-2008, 05:12 PM   #60 (permalink)
New Member
 
Join Date: Sep 2008
Model: 8330
PIN: N/A
Carrier: Sprint
Posts: 2
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question CVS password problem

Quote:
Originally Posted by jhollon View Post
cvs -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry login

i enter this into the terminal and get prompted for a password everytime.
I'm having exactly the same problem some 4 months after this post. How are people getting past this? Thanks.

Last edited by Liberator : 09-01-2008 at 07:19 PM.
Offline   Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





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