On Tuesday 01 April 2008 23:37:38 L. Gabriel Somlo wrote: > On Wed, Apr 02, 2008 at 12:14:14AM +0200, Denys Vlasenko wrote: > > Imagine that I have *two* interfaces, both sit on DHCP configured > > networks (*different* networks). > > Here one "deconfig"-ed iface will happily nuke /etc/resolv.conf > > created by another interface: >> > The real question is, who "wins" w.r.t. /etc/resolv.conf when multiple > dhcp-configured interfaces are up simultaneously ? This is already a > fun problem for laptops that connect both on wireless and on wired > ethernet, and it's a trainwreck, ifupdown or not...
This fun problem has already been resolved by resolvconf. I have an implementation called openresolv that works on POSIX shells and tools, unlike the Debian original. You can read about it some more here. http://roy.marples.name/openresolv Thanks Roy _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox