JEDIJF

Saturday, October 9, 2010

Captivate USB tether


Thank you AT&T. After the 'update' to 2.1-update1 the usb tethering no longer worked automagically. In fact, the whole option disappeared.

I kind of liked the option of tethering, even though I have an Aircard 860 wireless laptop connect card. When FIOS went down after a lightning strike, the tethering really came in handy. Also, my netbook doesn't support pcmcia, so the card is useless for that box.

The odd thing is, when I plug it in, with usb debugging ON, network-manager-gnome starts, and tries to setup up a new wireless broadband connection. The connection finds the phone, sets it up for At&t, but doesn't connect.

So, plan B:

1) Add your user to the dip group (sudo adduser user dip)*user is your user name*

2) Add your user to the dialout group (sudo adduser user dialout) *user is your user name*

3) Make this /etc/wvdial.conf file:
[Dialer Defaults]
Phone = captivate
Init2 = AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
Modem Type = USB Modem
Init1 = ATZ
Modem = /dev/ttyACM0
Baud = 460800
Init3 = AT+CGDCONT=1, "IP", "WAP.CINGULAR"
ISDN = 0
Stupid Mode = 1
New PPPD = yes
Phone = *99#
Password = test
Username = test
Now all you need to do is:

4) wvdial
5) sudo ifconfig ppp0 up


You are now tethered.



2 comments:

Quin said...

Works but for the dialing-


--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
OK
--> Sending: AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0
OK
--> Sending: AT+CGDCONT=1, "IP", "WAP.CINGULAR"
AT+CGDCONT=1, "IP", "WAP.CINGULAR"
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
ERROR
--> Invalid dial command.
--> Disconnecting at Tue Dec 28 07:26:06 2010

Richard S. Maddox said...

Very nice and unique post
Captivate 8 serial