Back to reading…with novel ICE! Pidgin 2.0.0..WOW!!
May 12

Huawei E325 Data Modem
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
  5. 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.
  6. Final step is give the command “wvdial tata”, and if everything is proper you should now be connected to the net.
  7. 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. :-)

Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • digg
  • Reddit
  • del.icio.us
  • YahooMyWeb
  • co.mments
  • Spurl
  • Furl
  • Simpy

Tags: none

Hits for this post: 11578

41 Responses to “Connecting to net using Huawei EC325 on Linux”

  1. madwaraj Says:

    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

  2. Nithin Says:

    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 :-)

  3. Venu Says:

    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

  4. chartoin Says:

    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

  5. Nithin Says:

    @ Chartoin:

    Please read the following post, http://nithinkamath.info/archives/2007/08/solution-to-dns-failure-in-suse-102/

    Hope it helped…

  6. Saras Says:

    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.

  7. J. S. Says:

    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.

  8. Yunush Says:

    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.

  9. senthil Says:

    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

  10. samir Says:

    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 ?

  11. sabri Says:

    please can you tell me how ca I open a port in Huawei EC325?

  12. basit Says:

    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 ..

  13. shiv Says:

    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

  14. Neo Says:

    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).

  15. Neo Says:

    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). …………..

  16. Rahul Says:

    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.

  17. sree ram Says:

    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

  18. Bala Says:

    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.

  19. A V H S P RAO Says:

    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

  20. nirav Says:

    thanks yarrr.. its really great working..

  21. nirav Says:

    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 ..

  22. Nithin Says:

    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

  23. canucked Says:

    I followed your instructions and easily connected my Ubuntu Hardy system to Tata. I’m also using the Huawei EC325.

    Thanks, Nithin!

  24. Bala Says:

    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

  25. Piyush Says:

    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

  26. Mohit Puri Says:

    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

  27. Mohit Puri Says:

    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.

  28. Preetam Panda Says:

    Hi,

    My Huawei Details is under

    Product : Data Card
    Model:-EC325 (Reliance)

    Your Problems Solve. CALL ME 9338143175

    Thanks

    Preetam Panda

  29. pullareddy Says:

    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

  30. pullareddy Says:

    thak u for providing this information.now i am able to brows net in ubantu
    lot of thanks

  31. Suraj Says:

    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

  32. Mohandas Says:

    I would like to buy one data card. Whom do I contact please ?
    I am in Dehradun

  33. jigesh Says:

    [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

  34. Ratheesh Says:

    Hai,

    How can I configure Huawei EC325 NIC for linux?? I’m using a BSNL connection….

    Ratheesh

  35. Dinesh Dileep Says:

    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

  36. Indian Linux forum Says:

    Did you try this tutorial which is there from long time..
    Using CDMA modem in Linux ..

    I hope that helps :)

  37. pradeep Says:

    please tell me how to use huawei ec325 on open suse

  38. pradeep Says:

    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

  39. Nirav Says:

    Hi nithin,
    I got connected. got ip address and dns.
    But can’t open the any web site in the browser …
    Thanks

  40. Nithin Says:

    @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/

  41. Chenthil Says:

    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.

Leave a Reply

Text Link Ads