BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Linux Users Corner (http://www.blackberryforums.com/forumdisplay.php?f=83)
-   -   Verizon Tethering on Ubuntu working (http://www.blackberryforums.com/showthread.php?t=182834)

hondaguy900 03-24-2009 06:33 PM

Verizon Tethering on Ubuntu working
 
Hi everyone,

It took a few days - but I finally got tethering working on Ubuntu using bbtether v0.3a. BBTether - Easy Tethering for Blackberry on Linux and other Unix'es [Thibaut Colar's Home]

Here are my hardware specs:
Laptop: Acer Aspire One A150
Blackberry: Blackberry Curve 8330 v4.5.0.77 (Verizon)
Linux: Ubuntu Intrepid 8.10 kernel 2.6.27-7
Connection: USB

Instructions:
0. This script requires python, pppd, libusb and the python usb(pyusb) module installed:
sudo apt-get install python libusb-dev ppp python-usb
1. Go to website above, download bbtether.tgz to your home folder, and extract it.
2. Go into the bbtether\conf folder and replace the contents of the verizon and verizon-chat files with the following text:

verizon
lcp-echo-failure 0
lcp-echo-interval 0

#nodetach
#debug debug debug

connect xxx8220;/usr/sbin/chat -f conf/verizon-chatxxx8221;
replacedefaultroute
show-password
115200
crtscts
noipdefault
ipcp-accept-local
defaultroute
usepeerdns
novj
nobsdcomp
novjccomp
nopcomp
noaccomp
noauth
user xxx8220;1234567890@vzw3g.comxxx8221; #replace with your phone number
password 1234567890 #replace with your phone number


verizon-chat
ABORT xxx8220;BUSYxxx8221;
ABORT xxx8220;ERRORxxx8221;
ABORT xxx8220;NO DIALTONExxx8221;
ABORT xxx8220;NO CARRIERxxx8221;
xxx8217;xxx8217; +++AT
xxx8217;xxx8217; ATZ
OK AT&F
OK ATE0V1
OK AT
OK ATS0=0
OK ATDT#777
CONNECT
~p

3. Open terminal, change directory to bbtether and run the following command:
sudo python bbtether.py verizon -m

You will now be connected to the internet using tethering. Use CTRL-C to disconnect.

hondaguy900 03-25-2009 05:51 AM

Speed
 
Update: changed speed in the verizon file from 115200 to 921600 and my bandwidth is approx. twice as fast (757kbps).

s1m0n 04-03-2009 12:14 PM

no luck
 
I followed your instructions and the ones posted on the bbtether site but I continue to get the following error...
Failed finding end of line(timeout) for:
Error: [Errno 11] Resource temporarily unavailable

Any ideas? I'm using a 8300.

mrksbrd 04-10-2009 12:48 PM

Here's what mine kicked out using Verizon 8330, only error I received was with the -f option


--------------------------------
BBTether 0.3d
Thibaut Colar - 2009
Use '-h' flag for more informations : 'python bbtether.py -h'.
--------------------------------

Looking for USB devices:
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 004 Device 002: ID 064e:a110
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 0fca:8004
Bus 003 Device 001: ID 0000:0000
USB Device lookup finished
Reading prefs from /home/mmorici/.bbtether.conf

Found RIM device (8120)
Manufacturer:Research In Motion
Product:RIM Composite Device
Device:002
VendorId: 0fca
ProductId: 8004
Version:02.01
Class:0 0
Protocol:0
Max packet size:64
Self Powered:0
Max Power:232

*Interface:0
Interface class:255/1
Interface protocol:255
EndPoint Pair:0x83L/0x5L
Not Data Pair (Read failed)
EndPoint Pair:0x87L/0x9L
Found Data endpoints: 0x87L/0x9L
EndPoint Pair:0x8aL/0xbL
Found Modem endpoints: 0x8aL/0xbL
Next endpoints:0x8aL/0xbL
EndPoint Pair:0x8cL/0xfL

*Interface:1
Skipping interface (valid endpoints already found), use -i flag to force
***********************************************
We just ran the initial device Endpoints Scan
This needs to be done only once.
Saved the scan results to /home/mmorici/.bbtether.conf
some devices (Bold) do not like being scanned.

AND WILL NEED THE BATTERY REMOVED / ADDED (just this once)
BEFORE YOU CAN USE THE MODEM.
***********************************************
Saving EP data: 0, 135, 9, 138, 11
Switching Device to data only mode

Using Data Endpoint Pair:0x87L/0x9L
Using Modem pair: 0x8aL/0xbL

Claiming interface 0
Pin: 0x0
Description: N/A
System: Linux,2.6.24-23-generic,#1 SMP Wed Apr 1 21:47:28 UTC 2009,i686

Modem pty: /dev/pts/2
Initializing Modem
No password requested.
session pack sent
Starting Modem thread
Modem Started
Will try to start pppd now, (/usr/sbin/pppd) with config: verizon
********************************************
Modem Ready at /dev/pts/2
Use ^C to terminate
********************************************
/usr/sbin/pppd: In file conf/verizon: unrecognized option '-f'
Failed finding end of line(timeout) for:
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 !
************************************************** ****
Waiting for PPPD shutdown to complete.
PPPD finished
Stopping modem thread
Modem thread Stopped
Disconnected
Modem Disconnected
It is now safe to shutdown.
Releasing interface
bbtether completed.

mrksbrd 04-11-2009 07:42 PM

About to give up
 
ok I got past the -f error I was receiving. but still getting the.......

Failed finding end of line(timeout) for:
Error: [Errno 11] Resource temporarily unavailable

PLEASE any help would be appreciated @ this time

ocr14a 04-13-2009 10:42 AM

I thought it costs money to use the BB as modem.
Since it costs too much, I did not opt to have that service on my account.

Is this a way around that, or what?

Lewzor 04-19-2009 11:58 AM

wtF
 
juice@juice-laptop:~/bbtether$ sudo python bbtether.py verizon -m
--------------------------------
BBTether 0.3f
Thibaut Colar - 2009
More infos:Linux and other Unix'es [Thibaut Colar's Home][/url]
Use '-h' flag for more informations : 'python bbtether.py -h'.
--------------------------------

Looking for USB devices:
Bus 003 Device 099: ID 0fca:8004
Bus 003 Device 001: ID 1d6b:0002
Bus 002 Device 006: ID 04b3:310c
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0001
USB Device lookup finished
Reading prefs from /home/juice/.bbtether.conf

Found RIM device (8120)
Manufacturer:Research In Motion
Traceback (most recent call last):
File "bbtether.py", line 27, in <module>
bbtether.start(options, args)
File "/home/juice/bbtether/bb_tether.py", line 84, in start
berry.read_endpoints(options.interface)
File "/home/juice/bbtether/bb_data.py", line 41, in read_endpoints
bb_usb.read_bb_endpoints(self,interface)
File "/home/juice/bbtether/bb_usb.py", line 115, in read_bb_endpoints
bb_messenging.log(" Product:"+handle.getString(berry.iProduct,100))
usb.USBError: error sending control message: Protocol error
juice@juice-laptop:~/bbtether$




im having no luck, any help would be appriciated

Lewzor 04-19-2009 12:38 PM

got to here
 
BBTether 0.3f
Thibaut Colar - 2009

Use '-h' flag for more informations : 'python bbtether.py -h'.
--------------------------------

Looking for USB devices:
Bus 003 Device 002: ID 0fca:8004
Bus 003 Device 001: ID 1d6b:0002
Bus 002 Device 002: ID 04b3:310c
Bus 002 Device 001: ID 1d6b:0001
Bus 001 Device 001: ID 1d6b:0001
USB Device lookup finished
Reading prefs from /home/juice/.bbtether.conf
Using saved EP data: 0, 135, 9, 138, 11
Switching Device to data only mode

Using Data Endpoint Pair:0x87/0x9
Using Modem pair: 0x8a/0xb

Claiming interface 0
Pin: 0x0
Description: N/A
System: Linux,2.6.27-11-generic,#1 SMP Wed Apr 1 20:57:48 UTC 2009,i686

Modem pty: /dev/pts/2
Initializing Modem
No password requested.
session pack sent
Starting Modem thread
Modem Started
No PPPD requested, you can now start pppd manually (within the next 30s).
********************************************
Modem Ready at /dev/pts/2
Use ^C to terminate
********************************************
Failed finding end of line(timeout) for:
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 !
************************************************** ****
Failure during shutdown, might have to reboot BB manually: BBModem instance has no attribute 'process'
Disconnected
Modem Disconnected
It is now safe to shutdown.
Releasing interface
bbtether completed.

xskippzx 04-30-2009 01:28 PM

Same Problem!!!
 
I'm getting the same message:

********************************************
Failed finding end of line(timeout) for:
Error: [Errno 11] Resource temporarily unavailable
************************************************** ****



Has this been resolved yet? Is it possible I'm missing one of the prerequisites and I'm not seeing it anywhere? I'm running Ubuntu 8.10 -- I'm pretty confident all the requirements are there.


All times are GMT -5. The time now is 04:13 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.