LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-17-2005, 01:07 PM   #1
Mr. Asdf
LQ Newbie
 
Registered: Jul 2005
Distribution: CRUX 2.1, Debian sarge
Posts: 27

Rep: Reputation: 15
problem with DNS resolving on Debian sarge 3.1


Hi... I'm having a problem with my connection (PPPoE) on a fresh Debian 3.1 sarge installation.
Just after boot time everything is OK, I can access any working site including this one.
but after some time (a few hours probably) there seems to be a problem with DNS resolving - It just doesn't work, and I have to access site by their IP, and even then It works very slowly (tried to post here in this way and the site worked very slowly).
Till now I was using CRUX 2.1, and with the rp-pppoe package, everything worked ok - I did `pppoe-setup` or whatever that was, then `pppoe-start` and it worked without any problems.
now, in Debian there seems to be some implementation of rp-pppoe (I think...), but it isn't quite the same. I did the configuration with pppoeconf, and chose all the default answers.
I haven't really dealt with networking problems so far, so I'm quite clewless.
here's my /etc/resolv.conf :
Code:
nameserver 212.150.49.10
nameserver 206.49.94.234
search
The two IP's are my ISP's Primary and Secondary DNS Servers, respectively. I told pppoeconf to fetch the DNS Servers' IPs automatically.

any suggestions?

TIA.
 
Old 10-17-2005, 04:48 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Do you have anything interesting in /var/log/messages?

Also, if you're using pppoe and get DNSes automatically, backup your /etc/resolv.conf, clean it and run ppoe. It should get a number of servers (one or two). Doesn't it work better or not at all?
 
Old 10-18-2005, 09:33 AM   #3
Mr. Asdf
LQ Newbie
 
Registered: Jul 2005
Distribution: CRUX 2.1, Debian sarge
Posts: 27

Original Poster
Rep: Reputation: 15
Ok, It just happend again now, and I've noticed that if I `cat /etc/resolv.conf` just after it happens, this is what I get:

Code:
search
nameserver 10.0.0.138
I guess something overwrites the file - I don't know what.
Here's what I get when I `plog`after I try to reconnect with `pon` after it happens:

Code:
# plog
Oct 18 15:58:43 localhost pppd[3890]: Unable to complete PPPoE Discovery
Oct 18 15:59:03 localhost pppd[3906]: Plugin rp-pppoe.so loaded.
Oct 18 15:59:03 localhost pppd[3907]: pppd 2.4.3 started by iq, uid 1000
Oct 18 15:59:48 localhost pppd[3907]: Timeout waiting for PADS packets
Oct 18 15:59:48 localhost pppd[3907]: Unable to complete PPPoE Discovery
Oct 18 16:00:03 localhost pppd[3890]: Timeout waiting for PADS packets
Oct 18 16:00:03 localhost pppd[3890]: Unable to complete PPPoE Discovery
Oct 18 16:00:26 localhost pppd[3927]: Plugin rp-pppoe.so loaded.
Oct 18 16:00:26 localhost pppd[3929]: pppd 2.4.3 started by iq, uid 1000
After I copy my backup resolve file /etc/resolv.conf.bak back to /etc/resolv.conf, everything is fine after I `pon`, and `plog` shows:

Code:
# plog
Oct 18 16:01:36 localhost pppd[4003]: Couldn't increase MTU to 1500
Oct 18 16:01:36 localhost pppd[4003]: Couldn't increase MRU to 1500
Oct 18 16:01:36 localhost pppd[4003]: PAP authentication succeeded
Oct 18 16:01:36 localhost pppd[4003]: peer from calling number 00:02:3B:00:79:DA authorized
Oct 18 16:01:36 localhost pppd[4003]: replacing old default route to eth0 [10.0.0.138]
Oct 18 16:01:36 localhost pppd[4003]: Cannot determine ethernet address for proxy ARP
Oct 18 16:01:36 localhost pppd[4003]: local  IP address 85.65.64.154
Oct 18 16:01:36 localhost pppd[4003]: remote IP address 212.29.206.131
Oct 18 16:01:36 localhost pppd[4003]: primary   DNS address 212.150.49.10
Oct 18 16:01:36 localhost pppd[4003]: secondary DNS address 206.49.94.234
Any ideas of how can I prevent this overwriting?

edit: after the writing of this post it happend once again, which means a few minutes after the last time, so the gap between them isn't as long as it was before...

Last edited by Mr. Asdf; 10-18-2005 at 09:45 AM.
 
Old 10-19-2005, 04:51 AM   #4
Mr. Asdf
LQ Newbie
 
Registered: Jul 2005
Distribution: CRUX 2.1, Debian sarge
Posts: 27

Original Poster
Rep: Reputation: 15
anyone??
 
Old 10-20-2005, 04:17 PM   #5
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Please look into your /etc/pppd/options. What do you have inside? If it's a long version with many comments, please copy only not commented lines (it's rare to have more than 10).
 
Old 10-21-2005, 06:34 AM   #6
Mr. Asdf
LQ Newbie
 
Registered: Jul 2005
Distribution: CRUX 2.1, Debian sarge
Posts: 27

Original Poster
Rep: Reputation: 15
sorry, I haven't noticed your reply, here's my /etc/ppp/options file w/o comments:

asyncmap 0
auth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
 
Old 10-22-2005, 06:12 PM   #7
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Comment out proxyarp option. It may be related to the message you get: Cannot determine ethernet address for proxy ARP I don't guarantee that it will help, but it's worth trying.
 
  


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
problem with dns resolving fafis Linux - Networking 3 08-28-2005 07:27 PM
Core 3 DNS resolving problem alntht Fedora - Installation 2 05-24-2005 10:42 AM
dns client fails after power failure (Debian Sarge) faked Linux - Networking 6 01-25-2005 01:05 PM
DNS Resolving sarukie Linux - Networking 1 11-22-2004 10:41 AM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:23 PM.

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