Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2011 13:09:56 -0800
From:      Xin LI <delphij@delphij.net>
To:        Eygene Ryabinkin <rea@FreeBSD.ORG>
Cc:        freebsd-rc@FreeBSD.ORG, Doug Barton <dougb@FreeBSD.org>, d@delphij.net
Subject:   Re: Annoying ERROR: 'wlan0' is not a DHCP-enabled interface
Message-ID:  <4EC6C9A4.3000006@delphij.net>
In-Reply-To: <VMhPQj/s0331SNZXLVpdbaNAyBY@RzV33t0qf/tQbqPDH2EX0VmGCGw>
References:  <4EB6693F.2020102@delphij.net> <4EB71580.20507@FreeBSD.org> <4EB72290.8030104@delphij.net> <Snqh5lmyPm2YvkGpN1vSomauXwU@g5jH1yj%2BTnAiSdLOy3xs5Jutvhc> <4EC6C247.6040807@delphij.net> <VMhPQj/s0331SNZXLVpdbaNAyBY@RzV33t0qf/tQbqPDH2EX0VmGCGw>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/18/11 12:45, Eygene Ryabinkin wrote:
> Xin, good day.
> 
> Fri, Nov 18, 2011 at 12:38:31PM -0800, Xin LI wrote:
>> Is there any counter reasoning about "having an interface marked
>> as non-DHCP is not an error"?  I'm still not convinced with the
>> benefit of having it show an error message.
> 
> Well, when I invoke 'service dhclient start em0' and em0 isn't 
> DHCP-enabled, I want to see some diagnostics on why I was not able
> to get DHCP on that interface.  Return code isn't that visible (I
> can, of course, always run it as 'service dhclient start em0 ||
> echo failed'), but I am not up to typing more than needed and I
> should see the real reason for absence of DHCP-assigned address in
> that case, be it the non-DHCP-enabled interface or some other
> problem.

Thinking again I believe that your approach is more sensible.  Thanks!

Cheers,
- -- 
Xin LI <delphij@delphij.net>	https://www.delphij.net/
FreeBSD - The Power to Serve!		Live free or die
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iQEcBAEBCAAGBQJOxsmkAAoJEATO+BI/yjfBRIYH/3dvKGznpmDbwPlNO0b4qs4w
+Nd4eCKXY0SzHIvZqxm0c9HHE8wvMaZnQFqYb7rOYdlIYHosJfvhiTbIV1kr9YAJ
FWmx93bCmzxf1HD3mVuOOCRzOoFEVcJPCstigh9Bp8Jj0EFPu6krbagrVCkY80Jo
ZvRJoSEDmqKB8fve23RSpKVDrA5LlQ0Y98AC91yPKpVt/FdHsdWD7/+kKCF2G+uP
OBPi8iCdHm4OALdX2YcHGQJFNZIixftEj74FHTHKDrlnBsiLb633U09kzprKMrqf
0iovaPf5OfX/smk8rLx0MrsFBDwSUwIhsaBsJJZr4vCtVDn4j0h0MZjtESZxO74=
=BENK
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EC6C9A4.3000006>