Skip to main content

BSNL HUAWEI WLL Modem Installation

Hi everyone, Do u experience problem in connecting to Internet using BSNL WLL HUAWEI ETS 1201 from Ubuntu. Here is my Solution for it:
Step 1 :
Install
Wvdial (a program that makes it easy to connect your Linux workstation to the Internet.). In Ubuntu there is a Dependency hell problem U need to download “Other Packages related to Wvdial” before installing Wvdial. I hope U will do it!After installation just check it by:
  developer@ubuntu:~$ which wvdial     /usr/bin/wvdial
When the above message is received then Your Wvdial installation is fine and we move to the next step
Step 2: Just run
developer@ubuntu:~$sudo wvdialconf

In my case I got the error as shown below:

ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3 
Sorry, no modem was detected! Is it in use by another program?
Did you configure it properly with setserial?
Please read the FAQ at http://open.nit.ca/wiki/?WvDial
If you still have problems, send mail to wvdial-list@lists.nit.ca
If u don’t have any error message then avoid Step 4,5 and 6.
Step 3:Now execute the following command:
developer@ubuntu:~$ lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 12d1:1010 Huawei Technologies Co., Ltd.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

In this case My vendor Id is - 12d1 and Product Id is - 1010(make a note of it)
Step 4: Now execute
developer@ubuntu:~$ sudo modprobe usbserial vendor=0x12d1 product=0x1010
Step 5: Install USB MODESWITCH software as it is necessary because Sudo wvdialconf failed to detect any modems.Info: http://www.draisberghof.de/usb_modeswitch/
Download Link: http://packages.debian.org/sid/usb-modeswitch
Step 6: After successful installation of USB modeswitch execute the following command
developer@ubuntu:~$ sudo usb_modeswitch -v 0x12d1 -p 0x1010 -H –W


Step 7: Editing wvdial configuration
developer@ubuntu:~$sudo gedit /etc/wvdial.conf

[Dialer bsnl]
Modem Type = Analog Modem
Init1 = ATZ
Stupid Mode = 1
Phone = #777
PPPD Options = lock noauth refuse-eap refuse-chap refuse-mschap nobsdcomp nodeflate
Modem = /dev/ttyUSB0  #In My case The modem is ttyUSB0
Username = UR_USER_NAME
Dial Command = ATDT
Password = UR_PASSWORD
Baud = 9600

Save the above code and close wvdial.conf.


Step 8: Now in the terminal execute “sudo wvdial bsnl” u will get connected to internet and use “CTRL+C” to disconnect.


Note : Everytime You restart just execute the STEP 4,8 


This is the solution to connect to internet in Ubuntu using Huawei ETS 1201 AFAIKW.

If you know something different means please share it. I Thank to Blog posts of Abhishek Singh and Ubuntu forum. Hav fun :).

Comments

  1. Hi friend,

    i am very much thankful for the infos you provided here,
    i am new to ubuntu and just installed ubuntu 10.04 LTS. i have same modem Huawei ets 1201,

    i do all instructions as you mention,
    modem successfully installed on my pc,
    but wvdiall configuration mentioned above does not works for me,


    i am posting what it says

    desktop:~$ sudo wvdial bsnl--> WvDial: Internet dialer version 1.60--> Initializing modem.--> Sending: ATZ
    --> Sending: ATQ0--> Re-Sending: ATZ--> Modem not responding.

    ReplyDelete
  2. i am not a software professional just an enthusiast. Pls help in this regard. i can post huawei ets modem connection log for windows xp, if it may be helpful.

    ReplyDelete
  3. Hi vairaag sorry for late reply. Can you post what are the steps had you done in detail to my email-id(nravikumar89@gmail.com).

    ReplyDelete
  4. Hi friend,

    i am very much thankful for the information you provided here,
    i am new to ubuntu and just installed ubuntu 9.10. I have modem Huawei ets 1220,
    Its product id & vender id is same as 1201.

    i do all instructions as you mention,

    All went according to the steps except that in last step I got this...
    --> WvDial: Internet dialer version 1.60
    --> Cannot open /dev/ttyUSB0: No such file or directory
    --> Cannot open /dev/ttyUSB0: No such file or directory
    --> Cannot open /dev/ttyUSB0: No such file or directory


    Will you please help me to solve this problem ?
    (traisen@gmail.com)

    ReplyDelete
  5. i)First Disconnect the USB cable and try
    > dmesg
    #some text will appear I think
    ii) Again connect the USB cable and give
    > dmesg
    you will see some text. Post that text back.
    If possible from the text itself u can guess the PORT i.e ttyUSB0 or ttyUSB1 or ttyS0.....

    Try to re-edit the modem configuration which i had told in step 7 and set the new port name as
    "modem= /dev/****".

    ReplyDelete
  6. Thank you very much for your advice.I just tried the command 'dmesg' twice and again followed ur steps.Then I got it cleared. Dont know how the file ttyUSB0 automatically created.However it works.....:-) Thankz

    ReplyDelete
  7. Hi i am new in ubuntu
    i install the ubuntu's latest version 10.04 and to configure WLL ets1201 follow ur instruction but in ububtu 10.04 cant install the wvdial. what can i do?

    ReplyDelete
  8. Hi rudrakshya, Download the wvdial appropriate (Intel i386 or AMD64)packages and its dependencies in the following link :

    http://packages.ubuntu.com/hardy/wvdial

    after downloading install the packages by double clicking it. (Deb packages are like .exe files in windows)

    If a downloaded deb packages depends on the another package means it will show in the error message that "it depends on XXXX". now download XXXX package and install it until everything went fine.

    If this can't solve the problem tell me , i will send you the dependency packages and wvdial to ur mail id.

    ReplyDelete
  9. Hi Ravi i have intel dual core processor so i download the i386 packages and dependencies..and try these days but failed again..so can u pls send those packages to my mail id..
    my e-mail id - rudrakshya_91@rediffmail.com
    thnx..

    ReplyDelete
  10. Hi i have some trouble again. after successfully installing wvdial and usb-switch i also configure the modem
    but when i type the sudo wvdial bsnl for connecting internet it shows.............
    --> Wvdial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> sending: ATZ
    ATZ
    OK
    --> Modem initialized.
    --> Sending : ATDT#777
    --> Waiting for cariier
    ATDT #777
    Connect 230400
    --> Carrier detected. Startup PPP immediately.
    --> Starting pppd at Fri sep 17 21:32:20 2010
    --> Pid of pppd: 1802
    --> Disconnecting at Fri sep 17 21.32.21 2010
    --> The PPP daemon has died: pppd options error (exit code = 2)
    --> man pppd explains pppd error codes in more detail.
    --> I guess that's it for now, exiting
    --> The PPP daemon has died (exit code = 2)

    ................pls help

    ReplyDelete
  11. #)Well had you executed the step7 properly and added appropriate usernames, password, phone and other ****?

    # Plug out the USB cable and again plugin and issue >>sudo wvdial bsnl

    #)After restart don't forgot to execute the 3 steps which i told after step8 under the name Notes!

    ReplyDelete
  12. ok i have done it..
    thnx for ur time...............

    ReplyDelete
  13. fine,Thats cool to hear! have fun with ubuntu :)

    ReplyDelete
  14. This comment has been removed by the author.

    ReplyDelete
  15. @A.B.J
    * Which Huawei WLL model you are using?
    * Had you installed wvdial! had you checked the installation?

    * what is the result of lsusb?

    * Tell the steps you had done so far?

    ReplyDelete
  16. This comment has been removed by the author.

    ReplyDelete
  17. Hi A.B.J , If you got modem not detected message that means the installation of usb mod switch is not done correctly.

    You must get three files naming usbutils_0.87-5_i386.deb , usb-modeswitch-data_20100826-1_all.deb , usb-modeswitch_1.1.4-1_i386.deb . The link is given in step 5.

    And still you are having problem Plug out the USB cable and again plugin and issue >>sudo wvdial bsnl.

    And still you have the problem restart the PC and do steps 4, 6, 8. It must solve the problem...

    ReplyDelete
  18. i cANNot able to connect, i tried above tricks but it not working after installed d drivers too...



    please send d details to vishnu3.infotech@yahoo.co.in

    ReplyDelete
  19. @Vishnu: Whats the Error Message you received?

    ReplyDelete
  20. This is what I got after connecting modem using dmesg approach.

    [ 426.728101] usb 7-1: USB disconnect, address 2
    [ 434.008041] usb 7-1: new full speed USB device using uhci_hcd and address 3
    [ 434.280168] usb 7-1: configuration #1 chosen from 1 choice


    So tell me what is my modem directory!

    And now in Step 4 of approach Iam getting a message
    FATAL ERROR:Modem usbserial not found!

    Also I installed ubuntu 9.04 inside windows only.Will that be a problem?
    Help me out!

    ReplyDelete
  21. @A.B.J : whats the result of 'lsusb' and had you done 'sudo wvdialconf', suppose you have done it means you can edit the wvdial configuration via
    'sudo gedit /etc/wvdial.conf'

    ReplyDelete
  22. hey on my BSNL wll huawei ETS1201 no network found
    so what can i do for this???????????????????

    ReplyDelete
  23. hi ravi sir
    i want to know how to connect huawei 2288 model in linux os
    is there any possible way for it
    if so pls tel me , very urgent for me

    myself

    kalaivanan
    9486860363

    sivawith@gmail.com

    ReplyDelete

Post a Comment

Popular posts from this blog

Android Studio Ninja Tip: Custom try/catch code template

As an Android Studio user, you should be familiar with the “ surround-with try-catch” functionality. Surround with try-catch When you use Ctrl+Alt+T (Linux) / Cmd+Alt+T (Mac) shortcut, the built-in try-catch generator auto generates a call to the printStackTrace() method of class Exception in the catch block. After this, we manually add some code to log the exception. e.g., Log.e(TAG, “Oops! something gone wrong”, e); As a power user, you may have used some or all of the following built-in Live templates: Live Templates You can save yourself the pain of these 5-keystrokes or repetitive typing or copy pasting the code by becoming a Ninja who uses a custom built-in try-catch template. Steps for customization Step-1 : Go to Android Studio Preferences | Editor | File and Code Templates Step-2:  Select Code | Catch Statement Body Step-3:  Replace the existing template from: ${EXCEPTION}.printStackTrace(); with: Log.e(getClass().getSimpleName(), "Ex

How to enable Scrolling in Opensuse11.4 ?

      I have recently installed Opensuse 11.4 KDE in Dell Inspiron N5010, the problem with it is Opensuse cannot support scrolling. Step 1  To make Scroll button Work install GSynaptics for OpenSuse.  GSynaptics is a GUI configuration tool for the Synaptics touchpad  driver of the X server. ravi@linux-2ezc:~>sudo zypper in gsyanptics Step 2         Edit the xorg.conf ravi@linux-2ezc:~> kdesu kwrite /etc/X11/xorg.conf.d/50-synaptics.conf Section "InputDevice" Driver "synaptics" Identifier "TouchPad" Option "SendCoreEvents" Option "Protocol" "auto-dev" Option "SHMConfig" "on" EndSection Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "TapButton1" "