1: First we have to check if the modem is present(Detected ) or not We can do this method if the modem is present only.
Go to Aplications>>Accessories>>Terminal
Type $ sudo lsusb
this will list out all the usb devices in your system.
Eg: I got this
Bus 002 Device 004: ID 04f2:b016 Chicony Electronics Co., Ltd
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 1165:0002 Telson Electronics Co., Ltd (this is the name of my modem)
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 15d9:0a4c
Bus 005 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 004 Device 002: ID 08ff:2580 AuthenTec, Inc. AES2501 Fingerprint Sensor
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
If your modem name is present here ,you can do this method to connect to internet
For this there is a requirement . You have to install a software called wvdial.deb. You can download this package source code from here
2: Let us discuss about how to compile the source code and install wvdial.
Extract this .tar.gz file to any directory . then
Go to Aplications>>Accessories>>Terminal
$ cd /go/to the dirrectory of the extracted source/
$ sudo ./config
$ make
$ make install
the software wvdial is installed in your computer.
3 : Type $ sudo gedit /etc/wvdial.conf
Then a text file will be opened, with some 2 or 3 line in that . Just delete it and paste this
[Dialer Defaults]
Modem = /dev/ttyACM0
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = 1
Modem Type = USB Modem
Phone = #777
New PPPD = yes
ISDN = 0
Username =
4 :
$ sudo wvdialconf
$ sudo wvdial
(Dont forget to type this sudo command before wvdial. if you are not using sudo the dialing will end by showing carrier detected and will redial but never connects )
And you are now connected to internet
But when I was connecting net in ubuntu 9.04 I used to get an error after 2 or 3 minute
I was getting this error message
--> Disconnecting at Wed Nov 21 08:25:26 2007
--> The PPP daemon has died: Lack of LCP echo responses (exit code = 15)
--> man pppd explains pppd error codes in more detail.
--> I guess that's it for now, exiting
--> Provider is overloaded(often the case) or line problem.
--> The PPP daemon has died. (exit code = 15)
Here is what I did for correcting this
Type $ sudo pico /etc/ppp/options
Find the line says
lcp-echo-interval 30
comment it by adding a # symbol in frond of it
#lcp-echo-interval 30
Save and
then dial using wvdial
it connects and it didn't kick me off yet.
No comments:
Post a Comment