Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Hostname problem
@ 2000-05-16  4:00 Miguel Demaerel
  2000-05-16  4:00 ` Jeff Wilson
  2000-05-16  4:00 ` Tim Mooney
  0 siblings, 2 replies; 3+ messages in thread
From: Miguel Demaerel @ 2000-05-16  4:00 UTC (permalink / raw)


Hoi

How can I change the hostname?
The hostname is van1.van.org but I wont van1 (without van.org)

I have done hostname van1
In the /etc/hosts     ipadres van1

But when I reboot it is back van1.van.org

Can someone help me.
Thanks

Greetings Miguel





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hostname problem
  2000-05-16  4:00 Hostname problem Miguel Demaerel
@ 2000-05-16  4:00 ` Jeff Wilson
  2000-05-16  4:00 ` Tim Mooney
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Wilson @ 2000-05-16  4:00 UTC (permalink / raw)


The hostname is set in /etc/rc.config
-- 

                             Jeff Wilson

Miguel Demaerel <Miguel.Demaerel@SGMS.SEMA.BE> wrote in article
<39212E38.E03CBB08@SGMS.SEMA.BE>...
| Hoi
| 
| How can I change the hostname?
| The hostname is van1.van.org but I wont van1 (without van.org)
| 
| I have done hostname van1
| In the /etc/hosts     ipadres van1
| 
| But when I reboot it is back van1.van.org
| 
| Can someone help me.
| Thanks
| 
| Greetings Miguel
| 
| 
| 



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Hostname problem
  2000-05-16  4:00 Hostname problem Miguel Demaerel
  2000-05-16  4:00 ` Jeff Wilson
@ 2000-05-16  4:00 ` Tim Mooney
  1 sibling, 0 replies; 3+ messages in thread
From: Tim Mooney @ 2000-05-16  4:00 UTC (permalink / raw)


In article <39212E38.E03CBB08@SGMS.SEMA.BE>,
Miguel Demaerel  <Miguel.Demaerel@SGMS.SEMA.BE> wrote:
> Hoi
> 
> How can I change the hostname?
> The hostname is van1.van.org but I wont van1 (without van.org)
> 
> I have done hostname van1
> In the /etc/hosts     ipadres van1

Don't do that.  Stick with

ipaddress	fully-qualified-real-name	short-name alias1 alias2 ... aliasn

> But when I reboot it is back van1.van.org

You only need to edit /etc/rc.config and change the HOSTNAME to the short
version.  You can do this with an editor or with the 

	rcmgr set HOSTNAME van1

command.  Then just run

	hostname van1

as root, and it's done.

Tim
-- 
Tim Mooney                              mooney@dogbert.cc.ndsu.NoDak.edu
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-05-16  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-16  4:00 Hostname problem Miguel Demaerel
2000-05-16  4:00 ` Jeff Wilson
2000-05-16  4:00 ` Tim Mooney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox