From: "Vegard Lundby Rekaa" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [newbie] Changing hostname
Date: Fri, 3 Dec 2004 09:43:29 +0100 (CET)

Re: [newbie] Changing hostname

> Actually the statement he needs is
> NEEDHOSTNAME=no
>
> derek
>
> --
> www.jennings.homelinux.net
> http://twiki.mdklinuxfaq.org
>
>
You were quite right Derek.  It was NEEDHOSTNAME wich was ment to be
configured...

But then again, opening the /etc/hosts file I see this line:

127.0.0.1               localhost

At first I erase this line, replaces it with the hostname I want, then
restart my network using the command

Ugh! You should not erase this line. Leave it as it is and then put in the IP address and the hostname you want. This line is the loop back address needed for your box to talk to itself even though your box is not on a network.


JT

[EMAIL PROTECTED] root]# /sbin/service network restart
Stenger ned grensesnitt eth0:                                   [  OK   ]
Stenger ned loopback-grensesnitt:                               [  OK   ]
Setter parametre for nettverk:                                  [  OK   ]
Bringer opp loopback-grensesnitt:                               [  OK   ]
Bringer opp grensesnitt eth0:                                   [  OK   ]
(its norwegian if you whould wonder)

Then typing hostname gives my the same old result.
[EMAIL PROTECTED] root]# hostname
062016248092.customer.alfanett.no
[EMAIL PROTECTED] root]#

Where am I going wrong?

Thanks, Vegard



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________



____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to