Joao Poneis napisaÅ(a):

>That's something i realized 5 minutes ago. My
>/etc/ppp/resolv.conf file is rewritten everytime i
>reconnect. I mean, it always assumes what is above:
>
>nameserver 201.10.120.3
>nameserver 201.10.1.2
>
>If i change it, next time i connect it will be
>rewritten with those values again. Why? I think this
>may be causing  
>my nat problems...
>
>  
>
When pppd starts a connection it retrieves the nameservers' addresses 
from your isp
(it's related to usepeerdns option in /etc/ppp/options or equivalent). 
You may (but you don't have to) use
those nameservers, however, probably they will be the
fastest ones (for you) because it's very likely that they are located 
somewhere in your isp's network to which you
are conntected anyway. So, you can simply make a symbolic link to it:
ln -s /etc/ppp/resolv.conf /etc/resolv.conf .
If you don't want to use those nameservers simply add nameserver 
addresses of your choice to /etc/resolv.conf.

Cheers
Adam


Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to