Launch netinfo, located at /Applications/Utilities/NetInfoManager
Under the Domain menu, select Security, and Authenticate. Type a username and password with admin prividledges.
Select, in the Directory Browser, / and then 'machines'.
Either press apple-n, the icon that looks like 'new folder' or go to the Directory menu, and select 'new sub directory'.
This should insert a flag at /machines/net_directory
Unless you are creating an entry for a host named 'new_directory' you'll want to rename it.
Select, in the 'Directory: new_directory' plane that has 'property and Value(s)' stuff the first, and only entry ("name | new_directory").
Under the 'Directory' menu, select 'Delete value'.
The entry should now read 'name |'. Which is good.
Now, enter the hostname, which can be something simple like myfileserver or as 'complex' as files.danz.quons.net or whatever.
So, select the name andline, and go to the directory menu, and select 'insert value'. (option-apple-i)
Now type the hostname.
Next, we need to input an ip address.
First, insert a new property, called 'ip_address'.
apple-shift-n or apple-shift-i (eye - look in the directory menu, you'll see it).
where it says 'new_property', click and type 'ip_address'.
Where it says 'new_value', type the ipaddress that goes with the host you inserted.
If you wish, you can enter more than one hostname, so if for example you wish matrixbaby.graphics.ddn.net and matrixbaby both to go to the same IP, just insert an additional value to the name property:
Select 'name' and under, the 'directory' menu, select 'insert value' (apple-option-i).
That should do it, close out of netinfo, and you're set. If you wish to properly name your computer, either insert/modify the entry called 'localhost' and give it a name, in addition to localhost. I think thats what I did. you can also modify the /etc/hostconfig file, change the HOSTNAME= localhost to whatever you wish.
I guess it could be worse, at least Mac OS X has a command line.
Or you could have just edited the /private/etc/hosts file.
ReplyDeleteThat would have been a lot easier.
ReplyDelete