May 12

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. ![]()
Hits for this post: 11578
41 Responses to “Connecting to net using Huawei EC325 on Linux”
Leave a Reply
|












May 24th, 2007 at 1:54 pm
Hi nithin -
I was searching on the web for - whether i can take TATA INDICOM connection from this USB data modem (huawei EC325).
I have got Reliance Huawei installed in my laptop.
Can you tell me do i need to install again for this tata indicom connection?
Please let me know ASAP.
Thanks
Madwaraj
madwaraj@evolving.com
May 24th, 2007 at 10:02 pm
Hi Madwaraj,
I believe it will work without any re-installation, only thing that you may need to change may be the username and password. And of course the sim card
July 8th, 2007 at 5:40 am
Hi, Nithin,
I purchaged HUAWEI EC 325 data modem from Reliance. They are cheating me with huge bills, I want to go for Tata Indicom, but I dont want to invest money on the modem, Can I use Huawei Ec 325 for Tata Indicom using Tsim Card that Tata Indicom will provide.
Please tell me whether I can use Huawei Ec 325 for Tata Indicom wireless net connection.
I went to Tata Indicom
and they are not sure whether Huawei Ec 325(purchaged from Reliance) will work for Tata using T sim Card, they are insisting to purchage HUAWEI EC325 (again)from Tata Indicome.
Please let me know ASAP.
thanks,
Venu
July 21st, 2007 at 1:19 pm
Hi Nithin,
I tried what you said. And when I use ‘wvdial cdma’ command, I get the IP address. But when try to connect to a site, say, google I get the following error ;
an error occured when connecting to http://www.google.com
cannot connect to server http;//www.google.com
August 5th, 2007 at 10:03 am
@ Chartoin:
Please read the following post, http://nithinkamath.info/archives/2007/08/solution-to-dns-failure-in-suse-102/
Hope it helped…
September 8th, 2007 at 3:05 pm
Hi,
I have bought a Sony-vaio laptop. With that I got a free HUAWEI EC325 data Modem. I installed it as was told in the instructions. It started working also but when i connect it it works fine for 3-4 mins…after some time it gives me this error “HUAWEI net connect has stopped working” and I need to click on the close button. even after the connection doesnt get closed, but it doesnt work properly…some of the sites open some dont….My OS is Windows Vista…and connection is reliance.
Could you please help me out of this problem….
Thanks in advance….awaiting ur reply….
Saras.
September 20th, 2007 at 1:19 am
In desperate need of help. I purchased a HUAWEI EC325 modem, but I could not get it to work because I have an apple computer. Can I fix this?
Thank you , so much.
October 18th, 2007 at 1:13 pm
Hi,
I have bought a hp laptop. and using HUAWEI EC325 data Modem. I installed it as was told in the instructions. It started working also but when i connect it it works fine for 3-4 mins…after some time it gives me this error “Device is not connected” and I need to click on the close button. and its not working properly…by that way im loosing my business….My OS is Windows XP-2…and connection is reliance.
I have given it for repair coz as per the executive’s inst. there was a problem in board level. so that company has to replace the same.
my Huawei Details is under
Product : Data Card
Model:-EC325 (Reliance)
Serial No.:- K27AAD16A700061
ESN/RSN No.:-RHWAC2000035905
WARRANTY:- IN WARRANTY
PURCHASE DATE:-18/11/07 BILL NO.3185
Sympton:- 8134-Functionality / Can not access the internet after 2 to 3 minutes.
i have given it in GAMMA SYSTEMS,
Ground Floor, Gitanjali Complex, Near Jagnath Temple, Dr. Yagnik Road, Rajkot - 360 001.
Ph:-0281-6640144 / 3292291
Cutomer’s Address:- JAIDEV ALLOYS PVT. LTD.
2nd floor, Gayatri Comm. Complex,
Nr. jainath Petrol Pump, Gondal Road,
RAJKOT - 360 002
Ph:- 0281-2368509, 2362497
Mob:- 98981 70556
Could you please help me out of this problem….
Thanks in advance….awaiting ur reply….
Yunush.
November 19th, 2007 at 11:32 am
Hi,
I plan to buy reliance CDMA Data Modem ZTE MG 880, if it supports suse linux 10.2.
or suggest me any one of the Data Modem which supports Linux.
-senthilk
9844299319
January 13th, 2008 at 2:23 pm
Hi Nithin
I get same pb as you under windows it work perfectly, but under linux i have the pb;
I configured the wvdial.conf file under linux; I obtain an IP adresse and DNS IP; I ping succefully the DNS adresse; but when Iunch for exemple google I get nothing
any idea ?
February 4th, 2008 at 4:15 am
please can you tell me how ca I open a port in Huawei EC325?
February 7th, 2008 at 1:56 pm
hi … friends
wd u pls help me … my huawei data modem cd is broken so can u send me huawei data modem software of EC325 by mail . pls .. my email id is basit3002@gmail.com and my no.9975096253 ..
February 20th, 2008 at 12:31 pm
i am using linux ubuntu operating system.. i need drivers for EC325data modem for linux.. how can i connect my data modem in linux.. pl mail me
February 20th, 2008 at 3:39 pm
Hi Nitin,
I m using HUAWEI EC325 relience data card.
I can’t execute commands like atd , at + cmgf ,etc. Some are working but most don’t.
Plz , tell me how to execute at commands on this particular data card.
Or if it is not possible , then plz anyone tell me the modem
which supports all kinds of AT commands (other than nokia modem).
February 20th, 2008 at 4:05 pm
I m using HUAWEI EC325 relience data card.
I can’t execute commands like atd , at + cmgf ,etc. Some are working but most don’t.
Plz , tell me how to execute at commands on this particular data card.
Or if it is not possible , then plz anyone tell me the modem
which supports all kinds of AT commands (other than nokia modem). …………..
March 23rd, 2008 at 1:44 pm
i want to use reliance and tata Tsim in a Huwai EC-325 data card. Is I can use both connections on a single data card.
March 29th, 2008 at 9:33 pm
Hi,
I have unzipped the drivers i have downloaded from the link in hutch thailand site
There were two of them and i have installed both of the packages and they install properly
After installing them when i connect the usb modem
nothing happens
Should i go through any procedure for the USB Modem to be detected
If yes, please let me know how to do that
If i need to uninstall the drivers that are already installed how can i do that
Answer to any of the above two Q`s will help me a TON
Also, one more thing is that when i try to set up a new internet coonection by using the assist me function
The option of connect using a telephone modem to dial my ISP is not getting highlighted
can anyone please help me out on that
Thanks and Regards,
Sree ram
April 13th, 2008 at 12:37 pm
I tried your instructions on my Huawei EC325 USB netconnect Reliance card on Fedora Core 6 on my Sony Viao.
After a little bit of effort, smooth connect. Sometimes, initially I have to pull the modem out and reconnect. Also, I set up the modem connect on System/Admin/Network and that works fine too.
Next have to try it with my ZTE card.
April 30th, 2008 at 1:29 am
Ok.. I have just posted an article & tools for removing the lock for the device. Download the tool and have fun. It replaces the lock placed by network operator which disables the device to work on other networks. check out http://www.unpackstudio.com and see the article Unpacking HUAWEI EC 325 DATA CARD
May 3rd, 2008 at 1:33 am
thanks yarrr.. its really great working..
May 3rd, 2008 at 3:08 am
hi nithin ,,
i have a reliance data card HUAWEI EC 325..
its not really working oon this..
also the problem in the editing the file wvdial.conf please mail me how can i resolve this..
thanks ..
May 3rd, 2008 at 10:48 am
Hi Nirav,
Could you please let us know what kind of problem you are facing with editing the wvdial.conf….this will help me in resolving the issue…
Thanks,
Nithin K
May 12th, 2008 at 10:04 am
I followed your instructions and easily connected my Ubuntu Hardy system to Tata. I’m also using the Huawei EC325.
Thanks, Nithin!
May 25th, 2008 at 2:04 pm
I just upgraded from Fedora Core 6 to Fedora 9.
The Reliance Huawei EC-325 was working fine based on your instruction on FC6.
On F9,I get some garbage from pppd - it seems to be connected, but firefox does not recognize connection. See the output below.
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Sending: AT+CRM=1
AT+CRM=1
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun May 25 11:14:08 2008
–> Pid of pppd: 3230
–> Using interface ppp0
–> pppd: ���[08]���[08]���[08]
–> pppd: ���[08]���[08]���[08]
–> pppd: ���[08]���[08]���[08]
–> local IP address 220.226.70.189
–> pppd: ���[08]���[08]���[08]
–> remote IP address 220.224.135.15
–> pppd: ���[08]���[08]���[08]
–> primary DNS address 202.138.103.100
–> pppd: ���[08]���[08]���[08]
–> secondary DNS address 202.138.96.2
–> pppd: ���[08]���[08]���[08]
Any thoughts? I am having the same problem with another modem, ZTE MG880.
Thanks. Bala
June 8th, 2008 at 1:15 am
Hi
I have written the info in wvdial but wen i execute wvdial cdma it says..
could not open file /dev/modem No such file or directory…
Do i need to change any network settings.. How do i chk dat it recognizes my modem?? I have Ubuntu 8.04 installed and am stuck…
Please help
June 12th, 2008 at 11:26 pm
Hi Friends,
I have followed the information from the reliance forum to use the modem in linux. There is a surprising thing. My modem is being recognized as gsm modem…
I am pasting the output of dmesg after loading the module using modprobe.
Please tell me what to do. I am usng mandriva 2008.1 and and quite impresed wth it. i am using kppp as an alternative to wvdial
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
option 3-2:1.0: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB0
option 3-2:1.1: GSM modem (1-port) converter detected
usb 3-2: GSM modem (1-port) converter now attached to ttyUSB1
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
ISO 9660 Extensions: Microsoft Joliet Level 3
ISOFS: changing to secondary root
June 13th, 2008 at 4:17 pm
Hi guys,
my problem is now resolved. i realized that it does not matter to me whether it is a cdma or a gsm service. all i had to do was configure it using kppp as a normal dialup connection.
June 24th, 2008 at 7:25 pm
Hi,
My Huawei Details is under
Product : Data Card
Model:-EC325 (Reliance)
Your Problems Solve. CALL ME 9338143175
Thanks
Preetam Panda
June 26th, 2008 at 4:17 am
i have a reliance data card HUAWEI EC 325..
its not really working on this..
also the problem in the editing the file wvdial.conf please mail me how can i resolve this..
thanks .. thanks
July 1st, 2008 at 11:42 pm
thak u for providing this information.now i am able to brows net in ubantu
lot of thanks
July 3rd, 2008 at 8:22 pm
Hi Nithin..
I have installed Ubuntu on my machine.
I want to install broadband connection on it.
My modem type is HUAWEI Quidway 1003A.
Can you tell me the steps how to install it …
I am new to Ubuntu and Linux too
Please mail me if you can.
Surajmulay@rediffmail.com
July 8th, 2008 at 1:03 pm
I would like to buy one data card. Whom do I contact please ?
I am in Dehradun
July 11th, 2008 at 12:18 am
[root@localhost ~]# wvdial huawei
–> WvDial: Internet dialer version 1.60
–> Initializing modem.
–> Sending: ATZ
ATZ
OK
–> Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Thu Jul 10 11:36:02 2008
–> Pid of pppd: 3875
–> Using interface ppp0
–> pppd: �q�[08]
–> local IP address 10.64.64.64
–> pppd: �q�[08]
–> remote IP address 10.112.112.112
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
–> pppd: �q�[08]
but i can’t ping any site
July 11th, 2008 at 10:18 pm
Hai,
How can I configure Huawei EC325 NIC for linux?? I’m using a BSNL connection….
Ratheesh
July 27th, 2008 at 11:18 am
hi Nithin,
I tried the methods you have given above in ubuntu 8.04 LTS in my dell laptop using huawei ec325 modem, the provider being bsnl.
this is the message i get
–> WvDial: Internet dialer version 1.60
–> Cannot get information for serial port.
–> Initializing modem.
–>Sending: ATZ
ATZ
OK
–>Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
–>Modem initialized.
–> Sending: ATDT#777
–> Waiting for carrier.
ATDT#777
CONNECT 230400
–> Carrier detected. Starting PPP immediately.
–> Starting pppd at Sun Jul 27 16:33:55 2008
–> Pid of pppd: 6769
–> Using interface ppp0
–> pppd: ??[06][08][10]?[06][08]
–> pppd: ??[06][08][10]?[06][08]
–> pppd: ??[06][08][10]?[06][08]
–> pppd: ??[06][08][10]?[06][08]
–> pppd: ??[06][08][10]?[06][08]
–> Disconnecting at Sun Jul 27 16:34:02 2008
–> The PPP daemon has died: Authentication error.
–> We failed to authenticate ourselves to the peer.
–> Maybe bad account or password? (exit code = 19)
–> man pppd explains pppd error codes in more detail.
–> I guess that’s it for now, exiting
–> The PPP daemon has died. (exit code = 19)
the log says, maybe i am having bad username or password but i am able to login to internet in windows(vista) using the same username and password. pls help, i am eager to get into net via linux
July 29th, 2008 at 6:40 pm
Did you try this tutorial which is there from long time..
Using CDMA modem in Linux ..
I hope that helps
August 7th, 2008 at 10:55 pm
please tell me how to use huawei ec325 on open suse
August 7th, 2008 at 10:58 pm
where i will get the setup file for huawei ec325 data card to use it on open suse,please help me email pradeepak2008@rediffmail.com
August 9th, 2008 at 11:18 am
Hi nithin,
I got connected. got ip address and dns.
But can’t open the any web site in the browser …
Thanks
August 9th, 2008 at 8:54 pm
@Pradeep: The steps mentioned were for Open Suse itself. But it is applicable to all distros around, could you tell what problem you are facing.
@ Nirav: Please check my other post http://nithinkamath.info/archives/2007/08/solution-to-dns-failure-in-suse-102/
August 13th, 2008 at 3:09 pm
How do I get the device address, I have a huawei data card from reliance, and it is not usb it is in PCMCIA slot.