Re: [OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-07-16 Thread Michael Heimpold
Ping? :-) Am Samstag, 2. Juli 2011, 21:56:37 schrieb Michael Heimpold: > I'm not sure which approach would be the better one: I'm fine with both. > So here is the variant with second bool parameter. > > --- > > Index: package/base-files/files/lib/network/config.sh > =

Re: [OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-07-02 Thread Michael Heimpold
I'm not sure which approach would be the better one: I'm fine with both. So here is the variant with second bool parameter. --- Index: package/base-files/files/lib/network/config.sh === --- package/base-files/files/lib/network/config

Re: [OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-06-28 Thread Philip Prindeville
Actually, maybe it's worth another look? The point was that it referenced the relevant parts of the most recent DHCP and network management RFC's in how best to identify your hosts when using DHCP. On 6/28/11 11:21 AM, Michael Heimpold wrote: > Your link and the dhcp-client-identifier stuff is

Re: [OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-06-28 Thread Jo-Philipp Wich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I do not object this change per se but I do not like the special meaning of "none" to disable it. I think we should use something that would be an invalid hostname, like a dash. Alternatively we can add a second bool option "send_hostname" which c

Re: [OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-06-28 Thread Michael Heimpold
Your link and the dhcp-client-identifier stuff is not related to this topic, sorry. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-06-27 Thread Philip Prindeville
We recently changed the default behavior in Fedora to send the client-id as the type+MAC, instead of just the MAC, i.e.: send dhcp-client-identifier = hardware; in the ISC client. As I remember, it was because that was what the spec required... I won't repeat the entire reasoning here, but see

[OpenWrt-Devel] [PATCH v2] [RFC] Always include hostname in DHCP request

2011-06-27 Thread Michael Heimpold
[Resent as v2 as former patch didn't apply anymore] Currently, the hostname is sent in a DHCP request only if configured explicitely. Changing this behaviour so that the hostname is sent per default has the advantage that e.g. a Fritz!Box (acting as DHCP server) shows the device running OpenWRT