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
If u don’t have any error message then avoid Step 4,5 and 6.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
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
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/developer@ubuntu:~$ sudo modprobe usbserial vendor=0x12d1 product=0x1010
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 :).
Hi friend,
ReplyDeletei 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.
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.
ReplyDeleteHi vairaag sorry for late reply. Can you post what are the steps had you done in detail to my email-id(nravikumar89@gmail.com).
ReplyDeleteHi friend,
ReplyDeletei 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)
i)First Disconnect the USB cable and try
ReplyDelete> 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/****".
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
ReplyDeleteHi i am new in ubuntu
ReplyDeletei 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?
Hi rudrakshya, Download the wvdial appropriate (Intel i386 or AMD64)packages and its dependencies in the following link :
ReplyDeletehttp://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.
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..
ReplyDeletemy e-mail id - rudrakshya_91@rediffmail.com
thnx..
Hi i have some trouble again. after successfully installing wvdial and usb-switch i also configure the modem
ReplyDeletebut 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
#)Well had you executed the step7 properly and added appropriate usernames, password, phone and other ****?
ReplyDelete# 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!
ok i have done it..
ReplyDeletethnx for ur time...............
fine,Thats cool to hear! have fun with ubuntu :)
ReplyDeleteThis comment has been removed by the author.
ReplyDelete@A.B.J
ReplyDelete* 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?
This comment has been removed by the author.
ReplyDeleteHi A.B.J , If you got modem not detected message that means the installation of usb mod switch is not done correctly.
ReplyDeleteYou 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...
Updated My New Updated Post
ReplyDeletei cANNot able to connect, i tried above tricks but it not working after installed d drivers too...
ReplyDeleteplease send d details to vishnu3.infotech@yahoo.co.in
@Vishnu: Whats the Error Message you received?
ReplyDeleteThis is what I got after connecting modem using dmesg approach.
ReplyDelete[ 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!
@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
ReplyDelete'sudo gedit /etc/wvdial.conf'
hey on my BSNL wll huawei ETS1201 no network found
ReplyDeleteso what can i do for this???????????????????
thanks..........................
ReplyDeletethanks.....................
ReplyDeletehi ravi sir
ReplyDeletei 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