Using wvdial for browsing internet is very much easy. After connecting mobile to the PC you need to configure your wvdial. Unless and until your wvdial is not configured properly you cannot connect to the internet. The steps to configure to the internet are given below.
You need to run the wvdial.conf file so that it creates a configuration file for your modem and ISP. The output after running the wvdial file is as shown
Code:
[root@blah /root]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.
ttyS1<*1>: ATQ0 V1 E1 -- OK
ttyS1<*1>: ATQ0 V1 E1 Z -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS1<*1>: Modem Identifier: ATI -- 28800
ttyS1<*1>: Speed 2400: AT -- OK
ttyS1<*1>: Speed 4800: AT -- OK
ttyS1<*1>: Speed 9600: AT -- OK
ttyS1<*1>: Speed 19200: AT -- OK
ttyS1<*1>: Speed 38400: AT -- OK
ttyS1<*1>: Speed 57600: AT -- OK
ttyS1<*1>: Speed 115200: AT -- OK
ttyS1<*1>: Max speed is 115200; that should be safe.
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 -- ATQ0 V1 E1 -- ATQ0 V1 E1 -- nothing.
Port Scan<*1>: S2 S3
Found a modem on /dev/ttyS1.
As the above code shows the com ports, searches for modem and determines its capabilities. If the output is different from the above one check your modem is properly plugged in, turned on and connected to com ports. After running the wvdial.conf you need to change the wvdial.conf file to enter your phone number, username and password required to connect. Open the wvdial.conf file. The wvdial.conf file appears in this way
Code:
[Dialer Defaults]
Modem = /dev/ttyS1
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
; Phone = 555-1212
; Username = my_login_name
; Password = my_login_password
Remove the “;” and enter the phone number, username and password. Save the wvdial.conf file. Run the wvdial and wvdial will dial your ISP. Wvdial will not terminate until the connection is terminated.
Bookmarks