I recently got a internet connection from Tata Indicom (CDMA Wireless). I purchased the Huawei EC325 modem which uses a USB cable to connect to the PC. My inital reaction was since it was a USB connection and was using a custom software to connect to the net, it would not be possible to connect to the net in Linux using this modem.
After full two months, I finally gave up my laziness and did a quick search. I tried out the first solution offered and it worked out in the first try itself, how often does that happen. It took me a total of 10 mins including searching, restarting and configuring to get connected to the net in Linux.
Here is the procedure to get Huawei EC325 Data Modem in Linux
1. Open a terminal window.
2. Log in as root, i.e. type “su -” sans the quotes and enter the root password.
3. Then use vi to edit/create the following file “/etc/wvdial.conf”.
4. Enter the following text into it.
[Modem0]
Modem=/dev/ttyUSB0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl= Hardware (CRTSCTS)
[Dialer tata]
Username= internet
Password= internet
Phone=#777
Stupid Mode= 1
Inherits = Modem0
