I have a problem with FreeBSD 7.1.
To set up host name, a line was added to /etc/rc.conf:
After the boot process, I check host name with "hostname" command, but get empty line.
Setting hostname with "#hostname mt-note" works well, but after reboot host name is still empty.
My uname:
Can anyone please help with setting host name? Thanks in advance.
To set up host name, a line was added to /etc/rc.conf:
Code:
# -- sysinstall generated deltas -- # Wed Jul 1 15:59:06 2009
# Created: Wed Jul 1 15:59:06 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
keymap="ru.koi8-r"
moused_enable="YES"
defaultrouter="192.168.0.1"
ifconfig_ral0="WPA DHCP"
postgresql_enable="YES"
accf_http_load="YES"
hostname="aaa.bb"
apache22_enable="YES"
apache22_http_accept_enable="YES"
After the boot process, I check host name with "hostname" command, but get empty line.
Setting hostname with "#hostname mt-note" works well, but after reboot host name is still empty.
My uname:
Code:
FreeBSD aaa.bb 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 [email]root@logan.cse.buffalo.edu[/email]:/usr/obj/usr/src/sys/GENERIC i386
Can anyone please help with setting host name? Thanks in advance.