When ever I wake my laptop, but before I am connected to a network, I receive messages similar to the following:
This computer's local hostname
"sojourner-896.local" is already in use on
this network. The name has been changed
to "sojourner-972.local"
If I do not connect to a network and I do not click the "OK" button, the hostnames keep incrementing. If I connect to a network (either wired or wireless), the names stop incrementing.
I reset the hostname in the "Sharing" preference panel when the hostnames get in the 5,000 – 6,000 range (every 2-3 days).
Any idea what would be causing this?
Best Answer
I looked in the logs via the console app and found the following logs are generated every time I am disconnected from a network:
I re-enabled the network around second 10:08:14.
The actual process which was changing the hostname is
configd
. The man page forconfigd
states thatand
The man pages lists the following related files:
The file
preferences.plist
appears to have the network preferences as specified by the Network preference panel in System Preference. I made a backup, deleted it, killedconfigd
, and performed a low level reboot:After the system rebooted, the system no longer changed the host name every few seconds when NOT connected to a network.