In article <2009010508522675249-alanspitz@NOSPAMgmailcom>,
Alan Spitz <alan.spitz DeleteThis @NOSPAMgmail.com> wrote:
> Console/All shows a message indicating that the hostname was set to
> alan-spitzs-macbook.local and then after four seconds there is a
> message indicating that the hostname was set to new-host.home.
Have you checked your router's configuration? It may be passing this
hostname back along with the IP address, in which case your Mac is using
the hostname that your local network tells it to use.
> Using an IP address would accomplish the same thing but with DHCP it
> would change it from time to time. And I have been poking around in
> /etc et al, thinking I could write a script that gets either the IP
> address or the hostname and I haven't found anyplace were either one is
> stored.
Normally if you configure the Mac to have a static IP address, you don't
use DHCP, so I'm not sure what the problem is here.
--
Tom "Tom" Harrington
Independent Mac OS X developer since 2002
http://www.atomicbird.com/