The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 ppp.conf enable dns
Author: Joe Kiser 
Date:   30-07-00 00:26

Hello, I'm having a problem with ppp on my computer.
My ISP uses three dns servers: 207.69.188.185-6-7. I set these up in /etc/resolv.conf. Then, I set up PPP with the 'enable dns' option in /etc/ppp/ppp.conf. But when I connect to the net, PPP overrides everything in /etc/resolv.conf with it's own servers like 206.xx.xx.xx. This, of course, causes PPP to fail the next time I connect to the internet. So the obivous solution is to comment out 'enable dns', right? Well, when I do that, my connection doesn't work at all. I don't know what to do, I'm out of clues? Anyone care to comment on how they've fixed this problem before?

Oh yeah, I changed /etc/resolv.conf to chmod 666 but the file still gets overwritten.

Reply To This Message
 
 RE: ppp.conf enable dns
Author: Stu 
Date:   30-07-00 03:48

What ver of FreeBSD are you using.

Reply To This Message
 
 RE: ppp.conf enable dns
Author: Joe Kiser 
Date:   30-07-00 06:19

4.1-STABLE. I just updated from 4.0-STABLE last night.

Reply To This Message
 
 RE: ppp.conf enable dns
Author: Dan Langille 
Date:   30-07-00 13:14

you having the same trouble with fetch I am?

Reply To This Message
 
 RE: ppp.conf enable dns
Author: Joe Kiser 
Date:   01-08-00 01:24

No, nothing online works. PPP keeps overwriting /etc/resolv.conf with the wrong nameservers and I don't know what to do.

Reply To This Message
 
 RE: ppp.conf enable dns
Author: elliot 
Date:   01-08-00 01:57

in your ppp.conf
try set dns $(your dns servers)
enable dns

if that doesn't work see what happens if you disable dns in your ppp.conf

let me know,
good luck

Reply To This Message
 
 RE: ppp.conf enable dns
Author: Joe Kiser 
Date:   03-08-00 23:23

Enable DNS has to come first, then set dns from what I can tell from the manpage. 'resolv readonly' also seems to work, but my connection is still messed up for some reason. Thanks for the help though.

Reply To This Message
 
 Fixed
Author: Joe Kiser 
Date:   09-08-00 04:00

Okay, thanks you all, I've got it fixed. I used the line
set dns 207.69.188.185 207.69.188.186 (mindspring), commented out the lines enable dns and resolv readonly, and then set Netscape to use a fast proxy. Beautiful connection (for 56k) now. Thanks all!

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org