Annoying ERROR: 'wlan0' is not a DHCP-enabled interface

Doug Barton dougb at FreeBSD.org
Tue Dec 27 10:28:18 UTC 2011


On 12/27/2011 01:26, Eygene Ryabinkin wrote:
> I would not be against the netif route, but it creates serious
> problems

Ok, you've convinced me that this approach isn't viable. That's why I
asked for review before committing it. Thanks for looking at it in more
detail.

I will take a stab at the idea of a wrapper script tomorrow. It's not
going to need to duplicate anything more of the mechanics of
rc.d/dhclient than calling dhcpif(), which is itself from network.subr,
so the code duplication is extremely minimal. If nothing else, the
ability to add configuration of IPv6 interfaces here would make it
worthwhile.


Doug

-- 

		[^L]

	Breadth of IT experience, and depth of knowledge in the DNS.
	Yours for the right price.  :)  http://SupersetSolutions.com/



More information about the freebsd-rc mailing list