Installing Reliance
Netconnect + on CentOS 6 & Redhat
# Yum install wvdial
# Yum install libusb-devel
Check your device detected and ttyUSB* (ttyUSB0) file in /dev
directory.
# ls /dev/ttyUSB*
If you see ttyUSB0 ttyUSB1 and like so then your device is
detected
# vi /etc/wvdial.conf
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer netconnect]
Username = 93********You Phone Number
[Modem0]
Modem = /dev/ttyUSB0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATZ
FlowControl = Hardware (CRTSCTS)
[Dialer netconnect]
Username = 93********You Phone Number
Password = 93********Your Password phone number
Phone = #777
Stupid Mode = 1
Inherits = Modem0
Phone = #777
Stupid Mode = 1
Inherits = Modem0
Connect to Internet
by dialing dialer with command:-
# wvdial netconnect
--> WvDial: Internet dialer version 1.56
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 230400
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Sep 16 10:38:20 2011
--> Pid of pppd: 3975
--> Using interface ppp0
--> local IP address 115.241.133.227
--> remote IP address 220.224.141.129
--> primary DNS address 202.138.117.60
--> secondary DNS address 202..138.97.193
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT 230400
--> Carrier detected. Starting PPP immediately.
--> Starting pppd at Fri Sep 16 10:38:20 2011
--> Pid of pppd: 3975
--> Using interface ppp0
--> local IP address 115.241.133.227
--> remote IP address 220.224.141.129
--> primary DNS address 202.138.117.60
--> secondary DNS address 202..138.97.193
If you see out put like this then you successfully connected
Try to ping 8.8.8.8 to check it working or not if you are
able to ping this open Dns server mean’s it working then tri to ping www.google.com
if are able to ping you do not need to make any more changes and if you are not
then it is problem will DNS server resolution for that you can add following Open
dns server ip address in you resolve.conf file
# vi /etc/resolve.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
# Service network restart
Now you can also able to ping with name like ping www.google.com
Comments
Post a Comment