Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I connect to Internet via a PPPOE connection that i configured manually as below:

plugin eth0 
user "********" 

when I connect via "pon hamyar" everything works fine(i have ping response from any IP) except pinging to names like and i cannot open it from my browser. what shall i do?

here's log information:

Connected to 00:09:44:6c:e8:1a via interface eth0 
Using interface ppp0 
Connect: ppp0 <--> eth0 
PAP authentication succeeded 
peer from calling number 00:09:44:6C:E8:1A authorized 
replacing old default route to eth0 [] 
local IP address 
remote IP address 
primary DNS address 
secondary DNS address 
share|improve this question
what happens if do add google DNS as well: – miceterminator Aug 1 '12 at 18:17
in my wired lan nothin, and in /etc/ppp/resolv.conf would be overwrited to: nameserver and nameserver becauseof usepeerdns i think... – sia Aug 1 '12 at 19:17
solved by setting system dns but still don't know why dsl dns did not work – sia Aug 1 '12 at 19:33
It looks odd to me that the local IP and remote IP addresses are so disimilar. Can you ping ? Would you mind describing what you did to fix the problem in an answer and then accepting it to help others with this problem in the future? – John S Gruber Aug 1 '12 at 20:53
i'm new here and i don't have enough points to answer my own question but i'll do that as soon as i can – sia Aug 1 '12 at 22:46

resolv.conf will be overwritten by network manager. You could edit your connection to set other DNSs servers than what you ISP gives you throw DHCP. For this run nm-connection-editor, choose your DSL connection, then IPv4 Settings tab, then on Additional DNS servers add Google DNS servers:,, or OpenDNS servers:,

On command line you could test a DNS server with:

nslookup DNSserverIPtotry

Notice that a ping is an ICMP package and DNS is an application protocol, so they live on a different layer of TCP/IP stack of protocols. A server/host could respond to a ping without having any service listening on a TCP or UDP port.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.