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

Eygene Ryabinkin rea at FreeBSD.ORG
Fri Nov 18 11:54:26 UTC 2011


Gentlemen, good day.

Sun, Nov 06, 2011 at 04:13:04PM -0800, Xin LI wrote:
> On 11/06/11 15:17, Doug Barton wrote:
> > What harm is the error message causing? It seems useful to me to 
> > know if something is happening in the background that may need the 
> > administrator's attention.
> 
> It's harmful because it's not an error -- for example, a bge0
> interface which is a member of lagg group, is usually marked
> explicitly as non-DHCP.  On the other hand, can you give me an example
> where it *is* an error? :-)  I can't seem to think about one but I
> could be wrong here.
> 
> It sounds like to me a POLA violation by the way since it's not the
> way it was, but my argument is primarily about "this gives an error
> message for valid configuration" and not about POLA.

Since devd.conf uses quietstart, there is a way to make everyone happy
or at least not so angry: check rc_quiet and act accordingly.  The
patch is available at
  http://codelabs.ru/fbsd/patches/dhclient/dhclient-respect-quiet-mode.diff
please, test it and report back.

Thanks!
-- 
Eygene Ryabinkin                                        ,,,^..^,,,
[ Life's unfair - but root password helps!           | codelabs.ru ]
[ 82FE 06BC D497 C0DE 49EC  4FF0 16AF 9EAE 8152 ECFB | freebsd.org ]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-rc/attachments/20111118/270b06c2/attachment.pgp


More information about the freebsd-rc mailing list