Hi, Am Montag, den 24.11.2008, 09:27 +0100 schrieb René Rebe: > > [...] > > On trunk there are known problems with the dhcp package since the 4.0.x > > update, this was discussed earlier this year: > > > > http://www.nabble.com/forum/ViewPost.jtp?post=18650084&framed=y > > > > You have to setup dhcp client on a target system: > > > > - edit and create a valid /etc/dhclient.conf with at least the single > > line: > > > > script "/etc/dhclient-script"; > > > > - you may have to preload the IPv6 module in /etc/conf/kernel, depending > > on your kernel configuration: > > > > modprobe ipv6 > > > > Somehow the ipv6 module is not automatically loaded, even with > > alias net-pf-10 ipv6 > > in /etc/modprobe.conf > > I like to stress that if this is still lthe case in trunk:HEAD that it's > a bug - not a feature. > > DHCP must work with just the dhcp keyword in Netconf (formerly known > as ROCK Net :-) without poking kernel modules or creating another > config file such as /etc/dhcpd.conf<whatever> manually.
I just committed a cleanup for this long standing dhcp issue, rev 31518. This changeset makes dhclient to work out-of-the-box again for the 4.0.0 update. The dependency to IPv6 is solved by a patch proposed by Matthew Newton on the dhcp ML: https://lists.isc.org/pipermail/dhcp-hackers/2008-October/000879.html Now dhclient only checks the /proc/net/if_inet6 interfaces if it is started with "-6" to force IPv6 support. The default configuration files are renamed to *.sample, as the default settings are only intended to give some examples, and not run them in a real environment. The dhclient-script is installed back into $sbindir to make dhclient work even without a config file. > [...] Michael ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [email protected] with a subject of: unsubscribe t2
