Kernel IP autoconfiguration and hostname

Felipe Alfaro Solana felipe.alfaro at gmail.com
Wed Jun 14 16:54:07 UTC 2006


Hi there!

I'm trying to deploy several diskless workstations using Ubuntu
Dapper. I've followed the steps highlighted in the Wiki
https://wiki.ubuntu.com/DisklessUbuntuHowto (plus some additional
modifications to get it working fine).

However, I'm unable to get any client machine get its hostname from
the DHCP server. What is really strange is that the kernel itself is
able to autoconfigure itself using DHCP, and I can see during boot
that a hostname is assigned to the client, as shown before:

IP-Config: eth0 complete (from 10.0.0.2):
 address: 10.0.0.10        broadcast: 10.255.255.255   netmask: 255.0.0.0
 gateway: 10.0.0.2         dns0     : 10.0.0.2         dns1   : 0.0.0.0
 host   : client1
 domain : lan
 rootserver: 10.0.0.2 rootpath:

However, both "uname -n" and hostname return "(none)". I have tried
hacking the initram, but I have been unable to guess why, although the
kernel is receiving a hostname via DHCP, hostname ends up being
"(none)".

Any ideas?

Thank you very much.




More information about the ubuntu-users mailing list