dhclient doesn't tell the router the computer's hostname by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dhcp3 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dhcp3-client
When you connect to a router with Ubuntu, by default it doesn't tell the router the computer's hostname, so you're forced to use the IP to access it. Meaning, if your computer is called Sam, you won't be able to access "Sam" from any other computer. You instead have to use 192.168.0.5 or whatever it is in your case.
A quick fix I found is to open
/etc/
uncomment the line that says
#send host-name "HOSTNAME";
and change HOSTNAME into whatever you want. It's probably a good idea to make it the same as your computer's name :).
One possible solution is to have the installer configure dhclient.conf correctly, and then to change it whenever you change your hostname. Maybe dhclient.conf can reference /etc/hostname ?