Hallo Dieter Ries Dieter Ries <[EMAIL PROTECTED]> schrieb:
Was steht den in /etc/hostname und /etc/hosts und /etc/resolv.conf?
Ich habe keine /etc/hostname. ls -l liefert
-rw-r--r-- 2 root root 26 Jan 6 2004 host.conf -rw-r--r-- 2 root root 40 Okt 10 12:40 hosts -rw-r--r-- 1 root root 161 Jan 6 2004 hosts.allow -rw-r--r-- 1 root root 347 Jan 6 2004 hosts.deny -rw-r--r-- 1 root root 78 Mär 9 2004 hosts.equiv -rw-r--r-- 1 root root 247 Mär 9 2004 hosts.lpd -rw-r--r-- 1 root root 40 Okt 3 17:00 hosts.mdkgiorig
[EMAIL PROTECTED] etc]$ locate hostname /usr/share/man/man1/hostname.1.bz2 /usr/share/man/man3/BIO_get_conn_hostname.3.bz2 /usr/share/man/man3/BIO_set_conn_hostname.3.bz2 /usr/share/man/de/man1/hostname.1.bz2 /usr/share/man/de/man2/gethostname.2.bz2 /usr/share/man/de/man2/sethostname.2.bz2 /usr/share/doc/dhcp-common-3.0/contrib/sethostname.sh /usr/share/webmin/postfix/help/opt_invalid_hostname_reject_code.ca.html /usr/share/webmin/postfix/help/opt_invalid_hostname_reject_code.es.html /usr/share/webmin/postfix/help/opt_invalid_hostname_reject_code.html /usr/share/webmin/postfix/help/opt_invalid_hostname_reject_code.pl.html /usr/share/webmin/postfix/help/opt_invalid_hostname_reject_code.sv.html /usr/share/webmin/postfix/help/opt_myhostname.ca.html /usr/share/webmin/postfix/help/opt_myhostname.es.html /usr/share/webmin/postfix/help/opt_myhostname.html /usr/share/webmin/postfix/help/opt_myhostname.pl.html /usr/share/webmin/postfix/help/opt_myhostname.sv.html /usr/share/webmin/postfix/help/opt_unknown_hostname_reject_code.ca.html /usr/share/webmin/postfix/help/opt_unknown_hostname_reject_code.es.html /usr/share/webmin/postfix/help/opt_unknown_hostname_reject_code.html /usr/share/webmin/postfix/help/opt_unknown_hostname_reject_code.pl.html /usr/share/webmin/postfix/help/opt_unknown_hostname_reject_code.sv.html /usr/share/licq/utilities/hostname.utility /usr/bin/kdontchangethehostname /usr/lib/perl5/5.8.3/hostname.pl /usr/lib/gettext/hostname /bin/hostname
in der /bin/hostname steht nur hex kram. lohnt nicht hier zu schreiben.
in der /etc/hosts steht
127.0.0.1 localhost 192.168.1.11 otto
dazu muss man sagen das unser computer halt otto heißt. aber meiner meinung nach dürfte da trotzdem nicht 127.0.0.1 stehen.
/etc/resolv.conf ist:
search otto local # search otto otto otto otto otto otto otto otto nameserver 127.0.0.1 nameserver 212.185.253.9 nameserver 194.25.2.129 # nameserver 192.168.1.1 # nameserver 127.0.0.1 # nameserver 217.5.99.9 # nameserver 127.0.0.1 # nameserver 127.0.0.1
# ppp temp entry
der 217.0.0.1 wird immer wieder automatisch in die resolv.conf eingetragen, da kann man nichts machen.
Gruß, Dieter
Gruß Thorsten
Gruß, Dieter ---------------------------------------------------------------------------- PUG - Penguin User Group Wiesbaden - http://www.pug.org