dar@telesoft.com (David Reisner) (02/20/90)
I've another question for those who know the NeXT better than I do. I want to set my hostname (for use in prompts, uucp/mail, and in case anyone should ask). If this was some other system, I'd probably put 'hostname mysysname' near the beginning of /etc/rc or /etc/rc.local. It seems to me that the NeXT would prefer that I use something like 'HOSTNAME=mysysname' in /etc/hostconfig, but the present (and essentially undocumented) 'HOSTNAME=-AUTOMATIC-' bothers me. I don't know what it does, and I don't want to just try the change. Can someone tell me the appropriate approach or approaches (if I should use something else for uucp/mail)? Thanks. -David {uunet,ucsd}!telesoft!dar, dar@sdcsvax.ucsd.edu
ronniek@photon.tamu.edu (Ronnie Killough) (02/22/90)
The -AUTOMATIC- indicates to the machine, I believe, to search for its configuration server on the NetInfo network to obtain it's hostname. Unless you have several NeXTs and are running a NetInfo network, your machine doesn't have a configuration server. Therefore you will want to let your machine know that you don't want a NetInfo network, and set up your hostname explicitly. The easiest way to do this is to use the NetManager application, /Admin/Netmanager (I think....not sure of this path). Select a non-NetInfo network, set your hostname, IP address, etc in the appropriate fields, and reboot. If you have any problems, let me know. By the way, I tried to e-mail this, but it was returned.
dar@telesoft.com (David Reisner) (02/23/90)
My thanks to all who responded. From root, run NetManager (or NetInfoManager if you are brave or stupid). There is a local net info panel which has a hostname radio button - automatic or a field for a name. Very simple, once I found it (and simultaneously was told). I'd have found it faster, but I don't have a complete paper manual set, I think (four 0.9 Tech Docs, and one User's Reference) - this machine has seen quite a few locations. -David {uunet,ucsd}!telesoft!dar, dar@sdcsvax.ucsd.edu