Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Use google Public DNS on Backtrack 5

Author : Abdullah Al Muzammi,.S.Kom


web blog : http://logsabdullah.blogspot.com
Email : muzammi06@gmail.com

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

When you use Google Public DNS ?


When you use Google Public DNS, you are changing your DNS operator from your
ISP to Google Public DNS.
In most cases, the IP addresses used by your ISP's domain name servers are
automatically set by your ISP via the Dynamic Host Configuration Protocol (DHCP).
To use Google Public DNS, you need to explicitly change the DNS settings in your
operating system or device to use the Google Public DNS IP addresses. The
procedure for changing your DNS settings varies according to operating system and
version (Windows, Mac or Linux) or the device (computer, phone, or router).( Read
more: http://linuxpoison.blogspot.com/2009/12/how-to-use-configure-google-publicdns.html#ixzz2deWr2fGP)
thanks a lot google...
concat jogjakarta 1/09/2013 -indonesia

You might also like