LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 06-05-2019, 05:51 AM   #1
jkeertir
Member
 
Registered: Mar 2008
Posts: 75

Rep: Reputation: 15
dns not working for ppp connection


HI,
I have a ARM board running linux.
I am able to up a ppp connection(using Sim)
Quote:
/etc/ppp/peers # ifconfig
ppp0 Link encap:Point-to-Point Protocol
inet addr:10.240.54.226 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:5 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:55 (55.0 B) TX bytes:58 (58.0 B)
I get /etc/resolv.conf having dns server addresses ,could ping that addresses,but cannot ping name associated with it.
Quote:
/etc/ppp/peers # cat /etc/resolv.conf
nameserver 10.174.165.55
nameserver 10.174.165.56
Quote:
/etc/ppp/peers # ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=51 time=777.229 ms
64 bytes from 8.8.8.8: seq=1 ttl=51 time=410.514 ms
^C
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max = 410.514/593.871/777.229 ms
i cannot
Quote:
/etc/ppp/peers # ping www.google.com
ping: bad address 'www.google.com'

Last edited by jkeertir; 06-05-2019 at 05:55 AM.
 
Old 06-05-2019, 07:04 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,130
Blog Entries: 1

Rep: Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004Reputation: 2004
Hi,

Since you can access 8.8.8.8 (google dns), you should put that in /etc/resolv.conf replacing the 2 not-working resolvers

Regards
 
Old 06-05-2019, 07:24 AM   #3
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,002

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Quote:
Originally Posted by jkeertir View Post
/etc/ppp/peers # cat /etc/resolv.conf
nameserver 10.174.165.55
nameserver 10.174.165.56

Are these valid DNS servers? Yes, you can ping them, but what happens if you try to connect on DNS port 53 via telnet or nc?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
etablish one connection ppp between a client ppp and a server ppp camilla261086 Linux - Server 2 07-20-2010 08:09 AM
NetworkManager & gprs/ppp DNS: after using wlan/eth0, DNS for ppp doesn't work mtess Linux - Networking 3 03-12-2008 04:31 PM
Looking for man ppp-on and info ppp-on pages. rvijay Linux - General 1 02-26-2005 09:49 PM
Can't start PPP after dialing in... Or don't know how to start PPP after dialing in.. exabrial Linux - Networking 2 04-13-2004 05:46 PM
DNS not working in PPP when network is started pospiech Linux - Networking 0 03-17-2004 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration