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)
-   -   How to: Verizon 8703e USB tethered Linux Ubuntu 7.10 (http://www.blackberryforums.com/showthread.php?t=101715)

Velosprinter 10-25-2007 02:38 PM

How to: Verizon 8703e USB tethered Linux Ubuntu 7.10
 
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 :smile:

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


tajensen72 10-30-2007 12:01 PM

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

CaptSwerve 11-01-2007 02:57 PM

Do you guys have the tethering plan?

allanfigueiredo 11-02-2007 01:28 PM

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.

detarmstrong 05-11-2008 12:40 AM

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).

detarmstrong 05-11-2008 01:57 PM

One more note
 
Firefox goes to offline mode while I try to use ppp connection.


All times are GMT -5. The time now is 10:11 AM.

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