BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 10-25-2007, 02:38 PM   #1
Velosprinter
Knows Where the Search Button Is
 
Join Date: Mar 2007
Model: 8703e
Carrier: Verizon
Posts: 17
Default How to: Verizon 8703e USB tethered Linux Ubuntu 7.10

Please Login to Remove!

This how to will explain how to set up the connection scripts in order to get your 8703e with Verizon service connected under linux.

The first thing you will need to do is follow the instrutions for installing the software found here: Tethering With Blackberry Pearl On Linux [Thibaut Colar's Home.]

This worked perfectly for me but if you have problems check here: http://www.blackberryforums.com/linu...-bb-linux.html

STOP when you get to the part about PPP scripts.


Plug in Blackberry, turn off wifi, unplug nic and restart computer.

Type lsusb
Code:
$ lsusb 
Bus 005 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 0fca:0001 Research In Motion, Ltd. Blackberry Handheld 
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 004: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical 
Bus 001 Device 001: ID 0000:0000
You should see your device

Now type: sudo btool -l
Code:
$ sudo btool -l 
Blackberry devices found: 
Device ID: 0x806a958. PIN: 32b3ccc4, Description: RIM 8700 Series Colour CDMA Handheld
Type: sudo XmBlackBerry
You see:
Code:
~$ sudo 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 85. 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/1" 
bb_usb.c:handle_sequence(117) - out of sequence. Got 0x00000002, expecting 0x00000001
The XmBlackBerry window will pop up
Click "Options" on the XmBlackBerry menu
In the terminal you will see:
Code:
XmBlackBerry.c:OptionPopupCallback(998) - GPRS modem device /dev/pts/1
You will need the part about /dev/pts/1
Yours may be different!

Now to make the scripts


Open a New terminal, leave the other open

Type: sudo vi /etc/chatscripts/blackberry

Copy/Paste this:
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
OK-AT-OK ATDT#777
CONNECT \d\c
Hit Esc then Shift+ZZ (those are caps) to save file

Type: sudo vi /etc/ppp/peers/blackberry

Copy/Paste this (Remember to use your /dev/pts/? on line 3 AND Younumber in the user and password on lines 21, 22):
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 Your10digitnumber@vzw3g.com
password Your10digitnumber
Hit Esc then Shift+ZZ (those are caps) to save file

Type: sudo pppd call blackberry
You should see this:

Code:
$sudo pppd call blackberry 
Initializing 
Serial connection established. 
using channel 1 
Using interface ppp0 
Connect: ppp0 <--> /dev/pts/1 
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcbf7befc> <pcomp> <accomp>] 
rcvd [LCP ConfReq id=0x0 <mru 1500> <asyncmap 0x0> <magic 0x56c1c8ac> <pcomp> <accomp>] 
sent [LCP ConfAck id=0x0 <mru 1500> <asyncmap 0x0> <magic 0x56c1c8ac> <pcomp> <accomp>] 
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xcbf7befc> <pcomp> <accomp>] 
sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] 
sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] 
rcvd [LCP DiscReq id=0x1 magic=0x56c1c8ac] 
rcvd [IPCP ConfReq id=0x0 <addr 66.174.31.4>] 
sent [IPCP ConfAck id=0x0 <addr 66.174.31.4>] 
rcvd [LCP ProtRej id=0x2 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] 
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received 
rcvd [IPCP ConfNak id=0x1 <addr 75.246.114.221> <ms-dns1 66.174.92.14> <ms-dns3 69.78.96.14>] 
sent [IPCP ConfReq id=0x2 <addr 75.246.114.221> <ms-dns1 66.174.92.14> <ms-dns3 69.78.96.14>] 
rcvd [IPCP ConfAck id=0x2 <addr 75.246.114.221> <ms-dns1 66.174.92.14> <ms-dns3 69.78.96.14>] 
not replacing existing default route via 192.168.1.1 
Cannot determine ethernet address for proxy ARP 
local  IP address 75.246.114.221 
remote IP address 66.174.31.4 
primary   DNS address 66.174.92.14 
secondary DNS address 69.78.96.14 
Script /etc/ppp/ip-up started (pid 6157) 
Script /etc/ppp/ip-up finished (pid 6157), status = 0x0
Open a new Terminal, Don't close the others!
Type: ifconfig

Code:
$ ifconfig 
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:75.247.84.110  P-t-P:66.174.31.4  Mask:255.255.255.255 
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1 
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0 
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0 
          collisions:0 txqueuelen:3 
          RX bytes:54 (54.0 b)  TX bytes:69 (69.0 b)
If you see the ppp0 your on

My speed test:
DSL reprots speed test
381Kb/s download
118Kb/s upload

To quit
Ctrl+c
Code:
Terminating on signal 2 
Connect time 5.7 minutes. 
Sent 0 bytes, received 0 bytes. 
Script /etc/ppp/ip-down started (pid 6475) 
sent [LCP TermReq id=0x2 "User request"] 
rcvd [LCP TermAck id=0x2] 
Connection terminated. 
Script /etc/ppp/ip-down finished (pid 6475), status = 0x0

Last edited by Velosprinter; 10-25-2007 at 02:41 PM..
Offline  
Old 10-30-2007, 12:01 PM   #2
tajensen72
New Member
 
Join Date: Oct 2007
Model: 8703
PIN: N/A
Carrier: Verizon
Posts: 3
Default Happy Camper

Woot! Great job, Velo, this has worked for me.

One not that got me, even though I'd seen it before: Make sure to 'rmmod berry_charge' and then rename it so it won't reload ever:

Quote:
sudo rmmod berry_charge
sudo mv /lib/modules/`uname -a | awk -- '{ print $3 }'`/kernel/drivers/usb/misc/berry_charge.ko /lib/modules/`uname -a | awk -- '{ print $3 }'`/kernel/drivers/usb/misc/berry_charge.ko.hide
You need to do that on every kernel upgrade.

tj
Offline  
Old 11-01-2007, 02:57 PM   #3
CaptSwerve
Talking BlackBerry Encyclopedia
 
Join Date: Feb 2007
Location: Jackson, TN
Model: 9530
OS: 5
Carrier: Verizon
Posts: 243
Default

Do you guys have the tethering plan?
Offline  
Old 11-02-2007, 01:28 PM   #4
allanfigueiredo
New Member
 
Join Date: Nov 2007
Model: 8300
PIN: N/A
Carrier: tmobile
Posts: 1
Unhappy GPRS modem device Not available

Hi guys,

I make all steps of the tutorial. I can save and restore the data of the BB. But when i click in "Options" the message apear im my console:

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

Anybody can help me ?

Thank's a lot.
Offline  
Old 05-11-2008, 12:40 AM   #5
detarmstrong
New Member
 
Join Date: May 2008
Model: 8130
PIN: N/A
Carrier: verizon
Posts: 3
Default PPP0 Adaptor Established But No Internet

Great tutorial.

I succeeded in getting everything to work - including seeing
Code:
ppp0      Link encap:Point-to-Point Protocol  
          inet addr:97.5.254.66  P-t-P:66.174.33.69  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:294 (294.0 B)  TX bytes:797 (797.0 B)
via ifconfig but a simple ping google.com will always timeout. I run ifconfig eth1 down prior to establishing the point-to-point connection.

Any hints are greatly appreciated.

I have a pearl 8130 (verizon).
Offline  
Old 05-11-2008, 01:57 PM   #6
detarmstrong
New Member
 
Join Date: May 2008
Model: 8130
PIN: N/A
Carrier: verizon
Posts: 3
Default One more note

Firefox goes to offline mode while I try to use ppp connection.
Offline  
Closed Thread



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


NEW Sick Photoelectric Switch Sensor WTV4-3P2241  picture

NEW Sick Photoelectric Switch Sensor WTV4-3P2241

$210.00



1pcs New AB isolating switch 194E-E63-1753 in box picture

1pcs New AB isolating switch 194E-E63-1753 in box

$318.00



Eaton Rotary Disconnect Switch Part No. P1-32 picture

Eaton Rotary Disconnect Switch Part No. P1-32

$150.00



emergency power transfer switch non fused generator manual ge 100 amp 240 volt picture

emergency power transfer switch non fused generator manual ge 100 amp 240 volt

$206.89



5X Toggle SWITCH ON/OFF Heavy Duty 15A 250V SPST 2 Terminal Car Boat Waterproof  picture

5X Toggle SWITCH ON/OFF Heavy Duty 15A 250V SPST 2 Terminal Car Boat Waterproof

$7.95



Starter Switch Fits FARMALL H HV M MD O4 OS4 OS6 WD6 W4 W6 picture

Starter Switch Fits FARMALL H HV M MD O4 OS4 OS6 WD6 W4 W6

$17.44







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