21. System Configuration File Options
Introduction to FreeBSD
21.1.   Important initial Boot-time options
21.2.  Network configuration sub-section
21.3.  Network daemon (miscellaneous) & NFS options:
21.4.   Network Time Services options:
21.5.  Network Information Services (NIS) options:
21.6.  Network routing options:
21.7.   System console options
21.8.   Miscellaneous administrative options
21.9.   Allow local configuration override at the very end here

Note:

All arguments must be in double or single quotes. Multiple entries are separated by spaces.

21.1.   Important initial Boot-time options

swapfile="NO"

# Set to name of swapfile if aux swapfile desired.

apm_enable="NO"

Set to YES if you want APM enabled.

pccard_enable="NO"

Set to YES if you want to configure PCCARD devices.

pccard_mem="DEFAULT"

If pccard_enable=YES, this is card memory address.

pccard_ifconfig="NO"

Specialized pccard ethernet configuration (or NO).

local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d"

Local Startup Directories. During startup, FreeBSD searches certain directories and executes any programs in them. Sort of like the ``startup'' folders in Windows. The local_startup option lets you specify which directories to search during startup. Multiple directories, separated by spaces, can be listed. They will be searched in the order listed and every file will be executed. This is an alternate approach to using /etc/rc.local to start programs.

21.2.   Network configuration sub-section

Basic network options:

hostname="myname.my.domain"

This is the name of your machine. It also must include the domain that you are in if you are attached to the internet. This name should also appear in your DNS table.

nisdomainname="NO"

Set to NIS domain if using NIS (or NO).

firewall="NO"

firewall type (see /etc/rc.firewall) or NO.

tcp_extensions="YES"

# Allow RFC1323 & RFC1544 extensions (or NO).

network_interfaces="lo0"

This is where you setup all of your network cards. Each network card will have its own listing. lo0 is the loopback device, otherwise known as ``localhost''. Network cards such as ed0 (NE2000) and fxp0 (Intel Ether Express) would be added to the above.

ifconfig_lo0="inet 127.0.0.1"

This is the section that configures each network card that you listed above.

ifconfig_lo0_alias0="inet 127.0.0.254 netmask 0xffffffff"

This would setup an alias to the localhost via lo0.

21.3.   Network daemon (miscellaneous) & NFS options:

syslogd_enable="YES"

Syslog is your logging services. It logs all errors into /var/log/. It is configured with /etc/syslog.conf.

syslogd_flags=""

# Flags to syslogd (if enabled).

inetd_enable="YES"

These are all of your network services. If this is not enabled you can not telnet to this computer. It is configured through /etc/inetd.conf. It manages all dynamic services, i.e. services that start when you need them, such as: finger, telnet, rlogin, ftp, pop3 etc...

inetd_flags=""

# Optional flags to inetd.

named_enable="NO"

This runs your Internet Domain Naming Services, i.e. BIND. If you already have a DNS you won't need to start this here. Its configured through /etc/namedb/named.boot, unless you specify another. You should have atleast two DNS servers.

named_flags="-b /etc/namedb/named.boot"

This is where you specify where named gets it's configuration file, and other such things.

kerberos_server_enable="NO"

# Run a kerberos master server (or NO).

rwhod_enable="NO"

# Run the rwho daemon (or NO).

amd_enable="NO"

# Run amd service with $amd_flags (or NO).

amd_flags="-a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map"

Example

nfs_client_enable="NO"

# This host is an NFS client (or NO).

nfs_client_flags="-n 4"

# Flags to nfsiod (if enabled).

nfs_server_enable="NO"

# This host is an NFS server (or NO).

nfs_server_flags="-u -t 4"

# Flags to nfsd (if enabled).

weak_mountd_authentication="NO"

# Running PCNFSD / other non-root nfsd (or NO).

nfs_reserved_port_only="NO"

# Provide NFS only on secure port (or NO).

rpc_lockd_enable="NO"

# Run NFS rpc.lockd (*broken!*) if nfs_server.

rpc_statd_enable="YES"

# Run NFS rpc.statd if nfs_server (or NO).

portmap_enable="YES"

# Run the portmapper service (or NO).

portmap_flags=""

# Flags to portmap (if enabled).

xtend_enable="NO"

# Run the X-10 power controller daemon.

xtend_flags=""

# Flags to xtend (if enabled).

21.4.   Network Time Services options:

timed_enable="NO"

Run the time daemon (or NO).

timed_flags=""

Flags to timed (if enabled).

ntpdate_enable="NO"

Run the ntpdate to sync time (or NO).

ntpdate_flags=""

Flags to ntpdate (if enabled).

xntpd_enable="NO"

Run xntpd Network Time Protocol (or NO).

xntpd_flags=""

Flags to xntpd (if enabled).

tickadj_enable="NO"

Run tickadj (or NO).

tickadj_flags="-Aq"

Flags to tickadj (if enabled).

21.5.   Network Information Services (NIS) options:

nis_client_enable="NO"

We're an NIS client (or NO).

nis_client_flags=""

Flags to ypbind (if enabled).

nis_ypset_enable="NO"

Run ypset at boot time (or NO).

nis_ypset_flags=""

Flags to ypset (if enabled).

nis_server_enable="NO"

We're an NIS server (or NO).

nis_server_flags=""

Flags to ypserv (if enabled).

nis_ypxfrd_enable="NO"

Run rpc.ypxfrd at boot time (or NO).

nis_ypxfrd_flags=""

Flags to rpc.ypxfrd (if enabled).

nis_yppasswdd_enable="NO"

Run rpc.yppasswdd at boot time (or NO).

nis_yppasswdd_flags=""

Flags to rpc.yppasswdd (if enabled).

21.6.   Network routing options:

defaultrouter="NO"

This is where you set your default gateway. This is the router IP address that connects you to the Internet. If you don't set this, you will only be able to ping addresses on the same subnet as you. If your IP address is 10.1.1.3, and your subnetmask is 255.255.255.0, you will be able to see 10.1.1.2 but not 10.1.2.2, becuase you don't have a default route set.

static_routes=""

Static routes are advanced options for machines that act as routers or that sit on two different networks.

gateway_enable="NO"

Set to YES if this host will be a gateway. You need then set to YES when you have more than one network card in the computer doing routing, bridging, ipnat, or when you are acting as a dialup server.

router_enable="YES"

Set to YES to enable a routing daemon.

router="routed"

Name of routing daemon to use if enabled.

router_flags="-q"

Flags for routing daemon.

mrouted_enable="NO"

Do multicast routing (see /etc/mrouted.conf).

ipxgateway_enable="NO"

Set to YES to enable IPX routing.

ipxrouted_enable="NO"

Set to YES to run the IPX routing daemon.

ipxrouted_flags=""

Flags for IPX routing daemon.

arpproxy_all=""

replaces obsolete kernel option ARP_PROXY_ALL. You need then when acting as a dialup server.

21.7.   System console options

keymap="NO"

keymap in /usr/share/syscons/keymaps/* (or NO).

keyrate="NO"

keyboard rate to: slow, normal, fast (or NO).

keybell="NO"

bell to duration.pitch or normal or visual (or NO).

keychange="NO"

function keys default values (or NO).

cursor="NO"

cursor type {normal|blink|destructive} (or NO).

scrnmap="NO"

screen map in /usr/share/syscons/scrnmaps/* (or NO).

font8x16="NO"

font 8x16 from /usr/share/syscons/fonts/* (or NO).

font8x14="NO"

font 8x14 from /usr/share/syscons/fonts/* (or NO).

font8x8="NO"

font 8x8 from /usr/share/syscons/fonts/* (or NO).

blanktime="NO"

blank time (in seconds) or "NO" to turn it off.

saver="NO"

screen saver: blank/daemon/green/snake/star/NO. This sets the screensaver that is used when you do not have X running.

moused_type="NO"

See man page for rc.conf(8) for available settings.

moused_port="/dev/cuaa0"

Set to your mouse port (required if mousetype set).

moused_flags=""

Any additional flags to moused.

21.8.   Miscellaneous administrative options

cron_enable="YES"

Run the periodic job daemon. Cron is the ``daemon'' that schedules when things happen. There are three standard scripts that are run on a regular basis: /etc/daily /etc/weekly and /etc/montly. You can configure these to accomplish the tasks you need done.

lpd_enable="YES"

Run the line printer daemon. You need this to be able to print. It is configured through /etc/printcap

lpd_flags=""

Flags to lpd (if enabled).

sendmail_enable="YES"

Run the sendmail daemon (or NO). You need this to have e-mail services unless you have replaced it with another mailer daemon. It is configured through /etc/sendmail.cf

sendmail_flags="-bd -q30m"

-bd is pretty mandatory.

savecore_enable="NO"

Save kernel crashdumps for debugging (or NO).

dumpdev="NO"

Device name to crashdump to (if enabled).

check_quotas="NO"

Check quotas (or NO).

accounting_enable="NO"

Turn on process accounting (or NO).

ibcs2_enable="NO"

Ibcs2 (SCO) emulation loaded at startup (or NO).

linux_enable="NO"

Linux emulation loaded at startup (or NO). See the section on setting up Linux Emulation.

rand_irqs="NO"

Stir the entropy pool (like "5 11" or NO).

21.9.   Allow local configuration override at the very end here

if [ -f /etc/rc.conf.local ]; then
	. /etc/rc.conf.local
fi

Return to Table of Contents

Visit the Gifcom