Author Topic: How to connect PCLinuxOS to the Internet with your tethered Blackberry Storm  (Read 1496 times)

SlippJigg

  • Guest
Here is how to connect to the internet with a Blackberry Storm tethered via USB cable.

Install Barry
1. Open Synaptic
2. enter root password
3. press Reload button
4. press Search button
5. Search for barry.
6. Install all barry packages

Now that Barry is installed we need to edit the configuration file.  there are several different config files in this directory for different cell phone companies.  This tutorial only covers connecting to Verizon.

1. open /etc/ppp/peers/barry-verizon in a text editor

2. Toward the top of the file we need to change the user and password.  Set user to yourphonenumber@vzw3g.com and password is vzw as seen in the example below:

user “yournumber@vzw3g.com”
password “vzw”


3.  Now towards the bottom of the barry-verizon file we need add your phones password to the end of the command as seen below - you have to add the -P password after the pty "/usr/sbin/pppob" line

pty “/usr/sbin/pppob -P stormpassword”

You must set a password for your phone or this will not work!Set the password in your Options > Passwords on your Storm - if you have not done so already.

4. Save the changes to the barry-verizon file and close it

5. Connect your blackberry.  If it prompts for mass mode, select YES.

6. Open a terminal and type pppd call barry-verizon

7. You should see it connect and assign you an IP number in the terminal.  You are online!

8. Leave terminal open while connected....control-c to discommect

Let me know how it works for you! 

Game Not Over,
SlippJigg



wyldbill

  • Guest
Thanks for the info, I have a blackberry Storm and it worked perfectly.  8) Wyldbill

SlippJigg

  • Guest
Glad to help!  With luck it took you less time/hassle than it did me ;-)

Now if they can get it working Without the BB Storm being password protected.  I am going to check out that on the barry forums.

Game Not Over,
SlippJigg

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
First, let me say...    Great write up!

I just tried this out, and ran into a couple of small problems...  

The first was related to bcharge not allowing the device into mass storage mode; removing the package solved this.

The second issue occured because I was not getting a default route when connecting via barry on my storm.  This was easily fixed by manually adding it after connecting as described in your post.  Here is what I did:


Once connected as described in the original post, get the name and IP of your new connection using the command ifconfig

Quote
[root@laptop guest]# ifconfig

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:382 errors:0 dropped:0 overruns:0 frame:0
          TX packets:382 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:226683 (221.3 KiB)  TX bytes:226683 (221.3 KiB)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:72.132.182.49  P-t-P:66.174.201.132  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:117 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:26853 (26.2 KiB)  TX bytes:12903 (12.6 KiB)



Then use this info to add the default route:

My routing table before modification:
Quote
[root@laptop guest]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
66.174.211.132  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0


Manually add default route (as root):
Quote
[root@laptop guest]# route add default gw 72.132.182.49 ppp0


My routing table after:
Quote
[root@laptop guest]# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
66.174.211.132  0.0.0.0         255.255.255.255 UH    0      0        0 ppp0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         72.132.182.49  0.0.0.0         UG    0      0        0 ppp0
0.0.0.0         0.0.0.0         0.0.0.0         U     0      0        0 ppp0
[root@laptop guest]#



Connection now works as expected  ;D