View Single Post
Old 01-23-2008, 02:00 AM   #41
SDNick484
New Member
 
Join Date: Jan 2008
Model: 8830
PIN: N/A
Carrier: Verizon
Posts: 2
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