Release 1.5 and -current and later have different /etc/rc.conf scheme. This page was written for 1.5 mainly, -current needs only necessary lines to change and looks very simple.
files under /etc | option | sample (see /usr/share/examples), note | /etc/rc.conf | |
---|---|---|---|---|
th | line | |||
passwd | passwd -l (for root) | |||
group | add your name on wheel entyr to use su( for root) | |||
hosts | (*) | 192.168.0.1 host.domain host | ||
rc.conf | 12 | rc_configured=YES | ||
myname | (*) | (hostname) | 17 | hostname="" # if blank, use /etc/myname |
mygate | (*) | (default router ip address) | 21 | defaultroute="" # if blank, use /etc/mygate |
ifconfig.gm0 | (*) | inet hostname netmask 0xffffff00 (name depends Network interface) mace -> mc0, NE2000 -> ne0, DECchip -> de0, etc | ||
resolv.conf | (*) | man resolv.conf | ||
localtime | -> /usr/share/zoneinfo/Japan | |||
master.passwd | (root) passwd <return> vipw |
|||
ntp.conf | ntp | sample | 58 | xntpd=YES xntpd_flags="-p /var/run/xntpd.pid" |
dhcp.conf | dhcp | 70 | dhcpd=YES dhcpd_flags="-q" | |
defaultdomain | NIS | (NIS domain name) | 25 | domainname="" # if blank, use /etc/defaultdomain |
79 | ypbind=YES ypbind_flags="" | |||
nsswitch.conf | NIS | |||
exports | NFS server | (sample) | 86 | nfs_server=YES # enable server daemons |
amd/master | amd | 91 | amd=YES amd_flags="-l syslog -x error,noinfo,nostats" | |
(mkdir /amd) | 92 | amd_dir=/amd # mount dir | ||
amd/master.map | amd | 93 | amd_master=/etc/amd/master # master map | |
mk.conf | (make) | LOCALBASE=/usr/local |
Last Update 19:52:53 03/12/08 Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) (since 1999/11/15)