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
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.


Unknown said...

Works but for the dialing-

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

Unknown said...

Very nice and unique post
Captivate 8 serial