DHCP name announcement

Derek Broughton news at pointerstop.ca
Fri May 18 14:08:42 BST 2007

Kelly L. Fulks wrote:

> Phil Bieber wrote:

> In the /etc/dhcp3/dhclient.conf there is a line that is commented out
> that says:
> #send host-name "andare.fugue.com";
> Uncomment this line and change the hostname to whatever is appropriate
> and it should work fine.

Does anybody have a clue why this isn't done automatically?  This has been a
problem for users since before the dawn of Ubuntu, other DHCP clients can
get the hostname from /etc/network/interfaces and use it (though we tend to
be moving away from using that file), and the hostname is always available
to any program that wants it.

I can see that it might be nice to make it configurable by interface - on a
WIndows box, you configure a host name and that name gets sent to any DHCP
server, but we would like to be more flexible and allow different
interfaces to have different names, but _as a default_ it would seem that
sending `hostname` would save a lot of hassle for the average desktop user.

More information about the kubuntu-users mailing list