domainname / hostname setzen

Al Bogner fedora at ml05a.pinguin.uni.cc
Fri Mar 25 23:59:23 UTC 2005


Ich möchte hostname und domainname setzen, zB so:

domainname -v local
Setze domainname auf ,,local''

cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1              client5.local client5 localhost.localdomain 
# localhost
127.0.0.1       localhost
192.168.1.105   client5.local   client5

Beim nächsten Neustart ist die Einstellung aber weg.

domainname -v
getdomainname()=,,(none)''
(none)


Al




More information about the Fedora-de-list mailing list