|
Here's how to add hosts via the GUI. I think the cli is a bit easier because its less tedius, but if you've never used the terminal before, this might not be the best thing to start with. And so I bring you the GUI method:
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 | <no value>'. 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 and <no value> line, 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.
__________________ irc.lfnet.net #kilonet -+=join in=+- Quote: |
...the belief that the rights of man come not from the generosity of the state but the hand of God...
| PEBKAC - Problem Exists Between Keyboard And Chair. --who said it first? Audio Engineer - ProTools and Logic Pro Certified.
FCC Licensed RF Technician |