ביום רביעי, 9 באוגוסט 2006, 21:22, נכתב על ידי Baruch Even: > 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. what an ugly solution... I like it!
> 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. reiser? xfs? other file systems? > If you have resolvconf installed you can use it to set the ISP > nameservers to be fixed at the start. ya... I like that one as well... However, since I am looking for a better solution which will work also on mandriva for example, I will have to reject this one. > > 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. debian:/home/user# uname -a Linux debian 2.6.16-2-486 #1 Sat Jul 15 21:23:01 UTC 2006 i686 GNU/Linux debian:/home/user# lsmod | grep ipv6 debian:/home/user# grep -i ipv6 /boot/config-2.6.16-2-486 CONFIG_IPV6=m CONFIG_IPV6_PRIVACY=y CONFIG_IPV6_TUNNEL=m # IPv6: Netfilter Configuration (EXPERIMENTAL) CONFIG_IP6_NF_MATCH_IPV6HEADER=m This is weird, very weird... the system is stock Etch. I still had no time to modify it. Any ideas? -- diego, kde-il translation team Please avoid sending me Word or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ================================================================= 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]