Sunday, March 8, 2009

Internet on linux with HSDPA

Well if you own a HSDPA modem most of the time your vendor will say that it doesn't support linux :( . I own a BandLuxe C120 HSDPA modem, But i didn't gave up configuring it on linux. Most of the HSDPA modems comes with driver stored inside the modem. When you plug it for first time in your PC, the modem get detected as a USB storage which is read-only. And it will start installing the necessary driver software. So after that it will switch to the modem mode and work. Unfortunately it works only for windows for most of the time. Well that's how it works in brief.

For more information you can visit

So the working solution for my BandLuxe C120 was ejecting the device once it get detected for the first time. This will switch the device to modem mode. Then you will find a new USB device file some thing like /dev/ttyUSB0. That is your modem.

After that now you need to use the dialer program to dial out. For me wvdial worked. So here i will be mentioning the required modem commands to dial with wvdial.

Modem = /dev/ttyUSB0
ISDN = off
Modem Type = USB Modem
Baud = 115200
Init = ATZ
Init2 = AT+CGDCONT=1,"IP",""
Phone = *99#
Dial Command = ATM1L3DT
Ask Password = off
Password = no_need
Username = no_need
Carrier Check = on
Check Def Route = on
Abort on No Dialtone = on
Stupid Mode = on
Auto DNS = on

These settings will work for wvdial, and there are some settings you need to put in /etc/ppp/options file as well.

Now run the wvdial program as root. Thats it happy browsing :)

No comments: