Subject: Re: PPP problems
To: None <netbsd-help@NetBSD.org>
From: Andre Leao Macedo <eng_alm@yahoo.com.br>
List: netbsd-help
Date: 02/09/2005 18:59:04
James K. Lowden wrote:

>It sounds like you've got things pretty much working.  :-)
>  
>
Yes, now it is fine....

>'man pppd' tells us that the usepeerdns option causes /etc/ppp/resolv.conf
>to be created, where we'll find DNS1 and DNS2.  So if we add those
>nameservers to /etc/resolv.conf, we're done.  
>
>My favorite way to prepend something to a file is with diff(1) and
>patch(1).  I haven't seen my technique advertized elsewhere, so I'm sure
>there are better ways....  Here's what I found in my old ip-up:
>
>  
>
I linked /etc/resolv.conf to /etc/ppp/resolv.conf. It worked fine (I 
don't know if one would call it an "ellegant" solution, but it is working :)

Thanks for all the help!