In the vast realm of networked computers, each device needs a unique identifier—a name that allows it to be distinguishable from the crowd. This unique identifier is known as the "hostname." Whether ...
Assuming ubuntu installed dhclient, you just have to tell dhclient what to send. If you open /etc/dhclient.conf you should see "send host-name" commented out, just uncomment it and put in the hostname ...