Installed new FreeBSD 7. while first boot it shows: unqualified host name (hostname) unknown; sleeping for retry.
after CTRL+c /etc/rc.d/sendmail interrupted
google said that problem is in /etc/hosts file. and probably in /etc/nsswitch.conf but i can't find error in it.
please see my configuration files.
hostname# cat /etc/rc.conf
hostname# cat /etc/hosts
hostname# cat /etc/nsswitch.conf
Where can be a problem?
thanks for any help.
after CTRL+c /etc/rc.d/sendmail interrupted
google said that problem is in /etc/hosts file. and probably in /etc/nsswitch.conf but i can't find error in it.
please see my configuration files.
hostname# cat /etc/rc.conf
Code:
defaultrouter="192.168.1.1"
hostname="hostname"
ifconfig_vr0="inet 192.168.1.3 netmask 255.255.255.0"
keymap="us.iso"
sshd_enable="YES"
hostname# cat /etc/hosts
Code:
::1 localhost
127.0.0.1 localhost
192.168.1.3 hostname
192.168.1.3 hostname.
hostname# cat /etc/nsswitch.conf
Code:
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files
Where can be a problem?
thanks for any help.