Mobile broadband

From Pandora Wiki

Jump to: navigation, search

This might be out of date, but it is at least a starting point.


Required Software:

bluez-utils (if using bluetooth for dialup instead of usb)

ppp

wvdial (not entirely necessary, but it's a good tool)


wvdial seems to be the best tool to do both bluetooth and usb tethering. It's pretty straight-forward and you only need one config file to set up both profiles. For anyone who's wondering, there are ARM and ARMEL versions of wvdial for Debian, so I'm sure that there won't be any issues getting it to run on the pandora.


When you install wvdial, it creates a config file called /etc/wvdial.conf and a ppp peers script called /etc/ppp/peers/wvdial; both files need to be edited.


Contents

/etc/ppp/peers/wvdial

plugin passwordfd.so

noauth

name wvdial

lcp-echo-failure 500000

lcp-echo-interval 600000


/etc/wvdial.conf

[Dialer Defaults]

Modem = /dev/ttyACM0

Baud = 12000000

Init1 = ATZ

Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

Area Code =

Phone = ATDT#777

Username = <Your Number>@vzw3g.com

Password =

Ask Password = 0

Dial Command =

Stupid Mode = 1

Compuserve = 0

Force Address =

Idle Seconds = 0

DialMessage1 =

DialMessage2 =

ISDN = 0

Auto DNS = 1

Auto Reconnect = 1

Dial Attempts = 3


[Dialer bluetooth]

Modem = /dev/rfcomm0


Verizon Specific

The following two lines are verizon specific, and would need to be modified for other carriers:

Phone = ATDT#777

Username = <Your Number>@vzw3g.com


Bluetooth Specific

To create a "/dev/rfcomm0" (for a bluetooth connection), as root:


#!/bin/bash

mknod /dev/rfcomm0 c 216 0

rfcomm bind 0 <BT Addr> 8


How to Run

Then you just need to run "wvdial" (for usb) or "wvdial bluetooth" (for bluetooth) as root.

community