You are not logged in.

#1 2009-02-26 09:05:46

kiernek
Member
Registered: 2009-02-26
Posts: 6

Changing the hostname

When I'm connecting in many networks my hostname is always changing (new-host3,....etc). I have problems with that like "Kontact is now ruuning on new-host3, do you really open program", or can't run mysqld. How block changing that?

My configuration files:

HOSTNAME="localhost"
eth0="dhcp"
INTERFACES=(eth0)
DAEMONS=(syslog-ng cpufreq laptop-mode dbus hal @network !networkmanager netfs crond @mysqld @httpd !cups sshd)
127.0.0.1               localhost.localdomain   localhost

Do you have any idea?

Offline

#2 2009-02-26 09:14:28

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,383
Website

Re: Changing the hostname

Not sure, but this may be an issue of calling your computer localhost.  Replace "name" with a name of your choice.

HOSTNAME="name"
127.0.0.1               localhost.localdomain   localhost   name

Offline

#3 2009-02-26 09:23:15

kiernek
Member
Registered: 2009-02-26
Posts: 6

Re: Changing the hostname

Thanks, apears to works

Offline

Board footer

Powered by FluxBB