danco wrote:
Peter;172224 Wrote:
It's not that strange if you look at it from the POV of a large company
where the workstations are configured by dhcp. It's not that strange to
be able to update the hostname together with the IP address from a
central location. Especially not if you use dynamic addresses together
with dynamic DNS as I believe some places do. I've seen machines
calling
themselves vigorxx after retrieving their ip address from a Draytek
router.
Regards,
Peter
Right, that provides an explanation that I can understand.
It was probably a decision by Draytek when they updated the firmware,
though it's odd that their support guy didn't seem to know anything
about this.
It still seems strange that the host name has only altered in certain
places, my own name is there when I open a Finder window, and is shown
as the name in the Sharing preference pane. SI have only found the
changed name in Terminal and on the Squeezebox - the change in
Squeezebox did not surprise me though the change in Terminal did.
That must be an OS/X peculiarity.
Does the Squeezebox get the name Vigor12 direct from the router? Or
from checking what name the computer is broadcasting itself as?
It's possible that it gets it from a reverse DNS lookup (find the name
that's connected to the ip) directed at the draytek, but I don't think
that's the case. My guess is that the slimserver software asks the OS
for the hostname and the SB gets it from slimserver during the discovery
process.
Looking at the Slim::Network::Discovery source that seems to be the
case. Slimserver gets the hostname from Sys::Hostname and passes it to
the SB as part of the discovery process. There doesn't seem to be a way
to override it. Stop using DHCP or find a way to override the hostname
in OS/X.
Regards,
Peter
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss