Couple of years back I had taken 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:-
-
Open a terminal window.
-
Log in as root, i.e. type “su -” sans the quotes and enter the root password.
-
Then use vi to edit/create the following file “/etc/wvdial.conf”.
-
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
-
In the above change the Modem=/dev/ttyUSB0 to what ever your device name is, you should be able to see it while the OS is booting, else give the “dmesg” command and search in that.
-
Final step is give the command “wvdial tata”, and if everything is proper you should now be connected to the net.
-
Press “Ctrl+c” when you want to disconnect.
I have tried this on SuSE 10.1 and it should work on any latest release of any Linux system. Also I had this system configured for net access for BSNL dataone service before, so am not absolutely sure if you have to do any DNS settings or not. But it should work regardless of it.
Great to be back into the Linux world again. :-)