Difference between revisions of "Mobile Broadband"

From Pandora Wiki
Jump to: navigation, search
(Redirecting to Mobile broadband)
 
Line 1: Line 1:
#REDIRECT [[Mobile broadband]]
+
This might be out of date, but it is at least a starting point. Please also check out [http://www.gp32x.com/board/index.php?/topic/54318-guide-mobile-broadband-usb-stick-usage/ this tutorial on the GP32X forum]. Check the [[USB_compatibility_list#Networking|USB compatibility list]] to find out which USB dongles have been confirmed to work.
 +
 
 +
 
 +
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.
 +
 
 +
 
 +
/etc/ppp/peers/wvdial
 +
<source lang="apache">
 +
plugin passwordfd.so
 +
noauth
 +
name wvdial
 +
lcp-echo-failure 500000
 +
lcp-echo-interval 600000
 +
</source>
 +
 
 +
/etc/wvdial.conf
 +
<source lang="apache">
 +
[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
 +
</source>
 +
 
 +
 
 +
 
 +
== Verizon Specific ==
 +
 
 +
The following two lines are verizon specific, and would need to be modified for other carriers:
 +
<source lang="apache">
 +
Phone = ATDT#777
 +
Username = <Your Number>@vzw3g.com
 +
</source>
 +
 
 +
== Bluetooth Specific ==
 +
 
 +
To create a "/dev/rfcomm0" (for a bluetooth connection), as root:
 +
 
 +
<source lang="bash">
 +
mknod /dev/rfcomm0 c 216 0
 +
rfcomm bind 0 <BT Addr> 8
 +
</source>
 +
 
 +
== How to Run ==
 +
 
 +
Then you just need to run "wvdial" (for usb) or "wvdial bluetooth" (for bluetooth) as root.
 +
 
 +
 
 +
[[Category:Tutorials]]
 +
[[Category:Bluetooth]]
 +
[[Category:Networking]]

Revision as of 04:09, 25 March 2013

This might be out of date, but it is at least a starting point. Please also check out this tutorial on the GP32X forum. Check the USB compatibility list to find out which USB dongles have been confirmed to work.


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.


/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:

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.