0xdeadbeef wrote:
When the Squeezebox requests an IP adress from a DHCP server, it doesn't
seem to send its own host name.
E.g. in Linux (Debian/Ubuntu), you can send the hostname to the DHCP
server by adding the following lines to /etc/dhclient.conf:

send dhcp-client-identifier 00:00:00:00:00:00;  // enter mac address
here
send host-name "host name";                     // change to your
host name

Since the Squeezebox doesn't send a host name, it's named "noname" by
the DHCP server, which is kinda ugly.

So I'd suggest to send the host name that was entered in the player
setup.

I do it in a way that doesn't require the Squeezebox to send a host name.

My DHCP server is ISC DHCPD on Linux. /etc/dhcpd.conf has an entry for every regular host on my LAN, including Squeezeboxes. Each entry specifies the MAC address and a fixed-address entry for that system. So each Squeezebox gets the same IP and DNS name address every time it boots.

Here's a sample entry in /etc/dhcpd.conf:

host skinner {
        hardware ethernet 00:04:20:06:1a:56;
        fixed-address skinner.local.ka9q.net;
}

The zone "local.ka9q.net" contains A records in the 192.168.1/24 subnet for hosts that don't need global IPv4 addresses. skinner.local.ka9q.net resolves to 192.168.1.13, so that particular Squeezebox always gets that same IP address.

The DHCP server keeps a separate pool of IP addresses for clients whose MAC addresses don't have specific entries (e.g., a visitor's laptop).

--Phil
_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to