Diego Iastrubni wrote:
> The first work around, is to set the DNS server of the clients, not to the 
> modem but to the DNS servers of the ISP. Since the DHCP lease of the clients 
> ends after X time, the clients get once again the DNS of the modem, and the 
> problem comes back. How do modify the dhcp clients to a specific DNS, and not 
> to get them from the modem?

In my case there is a directory /etc/dhcp3/dhclient-enter-hooks.d/ any
script inside it is run on dhcp lease renewal. Simply place there a
script to reset the resolv.conf to whatever you want.

Another option is to set the resolv.conf to whatever you want and chattr
+i it, it will prevent *any* modification. To change it after that you
will have to chattr -i it. This essentially assumes ext3, maybe reiser
supports attributes as well, never tried it.

If you have resolvconf installed you can use it to set the ISP
nameservers to be fixed at the start.

Pick your solution.

> The second work around will be disabling the IPv6 from the clients. I have 
> found on the net that I should edit /etc/modprobe.d/aliases, and then modify 
> this line
> 
> alias net-pf-10 ipv6 <- old
> alias net-pf-10 off <- on
> 
> and then run "update-modules".
> 
> This does not work for me.

Maybe you have somewhere a script that forces loading the ipv6 module?
Setting these aliases merely makes the auto-loading not work, if someone
 does 'modprobe ipv6' ipv6 will be on despite this change.

Baruch

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to