Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'Override Host name assigned by DHCP?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Override Host name assigned by DHCP?
Authored by: BadgerUMD on Jul 05, '06 10:19:07AM
I ran into this problem myself today (unsure if it was a change for 10.4.7 or a changed in the wireless router here on campus that caused it). In either case, this fixed it.

sudo emacs /etc/hostconfig
if you see the line: HOSTNAME=-AUTOMATIC- replace -AUTOMATIC- with the hostname of your choice. Otherwise, add the line: HOSTNAME="My Host Name" to the end of the file, save and exit. I restarted, and my hostname was no longer reset by DHCP!

Of course, I use emacs, 'cause that's just how I roll. Feel free to use vi, pico, or whatever else you want.

[ Reply to This | # ]