Using MacOSX, when your ISP or wireless access point is changing your hostname
, make it sticky editing /etc/hostconfig
.
Add or change the following line in /etc/hostconfig
to reflect your hostname:
HOSTNAME="your hostname"
You could use [Terminal.app](http://en.wikipedia.org/wiki/Apple_Terminal)
to do this, but using Finder works too.
- Open a
Finder
window. - Using the Menu: Go > Go to Folder..
- In the dialog that’s opening, type:
/etc/
/etc/
should now be available in your Finder window.- Locate the
hostconfig
-file and open it using your favorite text editor (e.g. TextEdit) - Add or change this line to reflect your hostname:
HOSTNAME="your hostname"
- Save it, enter your password, and be happy.