I've recently bought myself one of the new mid-2011 Mac Minis with OS X Lion, I'm completely new to Mac OS but I've used linux quite a bit before. The problem I'm having is that at the terminal my hostname is displayed as (blanked some of the numbers out) this is basically "unknown-(ethernet mac addr)"
unknown-28-00-00-00-00-8f:~ michael$
In linux I would have just edited /etc/hostname but there doesn't seem to be a file for it. I've tried changing the computer name in:
System Preferences => Sharing => Computer Name
with no luck.
This is purely a cosmetic issue for me but something must of broken in the setup for my hostname to look like that!