Bug#657860: www.debian.org: debian-reference/ch05.en.html, about sending the hostname to DHCP server
Package: www.debian.org
Severity: wishlist
Hello,
I had the problem of informing the DHCP-server (which is a Fritz Box 7170) about my computer's name.
In section 5.5.4 of
http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_network_connection_method_legacy
it is suggested to edit /etc/network/interfaces introducing a line with the hostname
allow-hotplug eth0
iface eth0 inet dhcp
hostname "mymachine"
This did not work for me having the following packages installed
isc-dhcp-client 4.1.1-P1-15+squeeze3
isc-dhcp-common 4.1.1-P1-15+squeeze3
(I did not replace isc-dhcp-client with dhcp3-client as suggested in section "5.4.1. The DHCP connection with the Ethernet"
because I assumed that the isc-dhcp-client is the newer package)
To solve the problem, I had to edit /etc/dhcp/dhclient.conf, outcommenting the entries
send host-name
send dhcp-client-identifier
and introducing the respective name and MAC-addresse.
Yours sincerely
Markus
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-486
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash
Reply to: