[prev in list] [next in list] [prev in thread] [next in thread]
List: dhcp-client
Subject: Re: medium statement in /etc/dhclient.conf
From: "David W. Hankins" <David_Hankins () isc ! org>
Date: 2004-11-23 17:18:35
Message-ID: 20041123171835.GF12782 () isc ! org
[Download RAW message or body]
*** From dhcp-client -- To unsubscribe, see the end of this message. ***
On Tue, Nov 23, 2004 at 02:10:12PM +0100, Mipam wrote:
> I am using version 3.0.1rc11
> The os is NetBSD.
> In /etc/dhclient.conf i have the statement:
>
> medium "media autoselect ip4csum tcp4csum udp4csum";
>
> ip4csum etc is to enable checksum offloading on the nic.
> However, this doesnt seem to work out.
> When i edit /var/db/dhclient.leases
> and put the statement in there and restart the dhclient, then
> however, the media settings are respected.
> After a reboot or shutdown, i have to do the same in order to
> get this media setting active. Why is /etc/dhclient.conf not respected
> with respect to media
> settings i wonder? Anyway to make happen what i wish for?
> Bye,
definitely a bug. it looks like the section of code in send_discover()
which does this is completely on crack;
1) It requires client -> media (the 'media "foo";' statement) be
configured before even looking at client -> medium.
2) Its first action is to cycle client->medium to client->medium->next
which is probably NULL in your case.
3) It never actually uses client -> media.
expect this to be fixed in a later release. i don't know of a
functioning workaround at this time, except to put this sort of
thing in a dhclient-enter-hooks script (see 'man dhclient-script'
for details).
--
David W. Hankins "If you don't do it right the first time,
Operations Engineer you'll just have to do it again."
Internet Systems Consortium, Inc. -- Jack T. Hankins
-----------------------------------------------------------------------
To unsubscribe from this list, visit http://www.isc.org/dhcp-lists.html
or send mail to dhcp-client-request@isc.org with the subject line of
'unsubscribe'.
-----------------------------------------------------------------------
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic