Professional Documents
Culture Documents
Use Google Public DNS On Backtrack 5
Use Google Public DNS On Backtrack 5
To day i will shared how to configuration google public DNS on my connected use
provider GSM on my country #indonesia. i'am use GSM AXIS provider, setting your
password on file configuration /etc/wvdial.conf your can show default configure :
root@bt:~# cat /etc/wvdial.conf
and then replace default configure as like the below configure :
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Password = 123456
New PPPD = yes
Modem = /dev/ttyUSB0
Username = axis
Baud = 9600
and now your can call wvdial :
root@bt:~# wvdial
--> WvDial: Internet dialer version 1.60
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
-->
Don't know what to do! Starting pppd and hoping for the best.
Starting pppd at Sun Sep 1 21:15:21 2013
Pid of pppd: 3784
Using interface ppp0
pppd: px K
pppd: px K
pppd: px K
pppd: px K
pppd: px K
pppd: px K
local IP address 10.81.30.112
pppd: px K
remote IP address 10.64.64.64
pppd: px K
primary DNS address 103.3.220.215
pppd: px K
secondary DNS address 203.78.120.215
before your fix setting wvdial, please sure configure DNS use Google public,
destination use DNS google
root@bt:~# cat /etc/resolv.conf
nameserver 103.3.220.215
nameserver 203.78.120.215
setting configuration as like the below :
root@bt:~#nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
root@bt:~# nano /etc/dhcpd.conf
root@bt:~# cat /etc/dhcpd.conf
#ddns-update-style ad-hoc;
#subnet 192.168.1.0 netmask 255.255.255.0 {
#
option subnet-mask
255.255.255.0;
#
option broadcast-address
192.168.1.255;
#
option routers
192.168.1.254;
option domain-name-servers
8.8.8.8, 8.8.4.4;
#
range dynamic-bootp 192.168.1.50 192.168.1.60;
#
default-lease-time 21600;
#
max-lease-time 43200;
#}
and then last step restart your system
root@bt:~# /etc/init.d/dhcp3-server
restart