Saliya's Blogs

Mostly technical stuff with some interesting moments of life

Showing posts with label CDMA. Show all posts
Showing posts with label CDMA. Show all posts

HUAWEI ETS 2251 with Ubuntu 6.10

We recently purchased a CDMA data phone and I wanted to connect to the Internet with Linux (Ubuntu 6.10). Try the following steps:

1. plug-in the USB cable (your cable should be Serial (phone side) to USB one).
2. sudo dmesg -c

you should see the following at the bottom

ti_usb_3410_5052 2-1:2.0: TI USB 3410 1 port adapter converter detected

if you see ti_usb_3410_5052: probe of 1-1:1.0 failed with error -5 after the above line then copy the following lines,

#TI USB 3410

SUBSYSTEM=="usb_device" ACTION=="add" SYSFS{idVendor}=="0451",SYSFS{idProduct}=="3410" \

SYSFS{bNumConfigurations}=="2" \

SYSFS{bConfigurationValue}=="1" \

RUN+="/bin/sh -c 'echo 2 > /sys%p/device/bConfigurationValue'"


and save them as /etc/udev/rules.d/026_ti_usb_3410.rules


Now run sudo dmesg -c again and you'll see the following two lines,

ti_usb_3410_5052 1-1:2.0: TI USB 3410 1 port adapter converter detected
usb 1-1: TI USB 3410 1 port adapter converter now attached to /dev/ttyUSB0



3. Now configure the /etc/wvdial.conf as follows, please note that you need to replace your given username, password and phone number with my configuration (abc@prepaid, 1234, #777) given here.


[Dialer suntel]

Modem = /dev/ttyUSB0

Baud = 230400

Phone = #777

Init1 = ATZ

Stupid Mode = 1

Dial Command = ATDT

Username = abc@prepaid

Password = 1234


4. Now type sudo wvdial suntel and enjoy the Internet. If you can't browse then plese add the DNS addresses to /etc/resolv.conf (these DNS addresses can be found in the command line while connecting).

Thanks Farhan Naeem for sharing knowledge on this matter