No Ubuntu hostnames in DHCP logs

Derek Broughton news at
Fri Dec 8 01:04:38 UTC 2006

Eamonn Sullivan wrote:

> On 12/7/06, Gabriel Dragffy <dragffy at> wrote:
>> We have a wireless router here which acts as a gateway and DHCP server.
>> When checking its logs the Windows based clients are listed using the
>> computer names. However, Ubuntu based machines have a blank hostname and
>> its a little tedious matching up MACs with IPs. What setting must I
>> alter on these ubuntu machines?
> I'm at work at the moment and can't check the actual filenames, but if
> you go into /etc then type dhcp<tab> (I think it's /etc/dhcp, but
> don't hold me to that), there's a conf file in there. One of the
> options is "send name to server" or something very similar to that.

# grep send /etc/dhcp3/dhclient.conf
send host-name "othello";

_Some_ dhcp clients obey the "hostname" setting in /etc/network/interfaces. 
I don't know why most never did.

More information about the ubuntu-users mailing list