4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\" notice, this list of conditions and the following disclaimer in the
11 .\" documentation and/or other materials provided with the distribution.
13 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 .\" $FreeBSD: src/share/man/man5/rc.conf.5,v 1.197 2003/07/28 13:56:00 mbr Exp $
26 .\" $DragonFly: src/share/man/man5/rc.conf.5,v 1.6 2004/03/25 18:05:49 joerg Exp $
32 .Nd system configuration information
36 contains descriptive information about the local host name, configuration
37 details for any potential network interfaces and which services should be
38 started up at system initial boot time.
39 In new installations, the
41 file is generally initialized by the system installation utility,
46 is not to run commands or perform system startup actions
48 Instead, it is included by the
49 various generic startup scripts in
51 which conditionalize their
52 internal actions according to the settings found there.
56 file is included from the file
57 .Pa /etc/defaults/rc.conf ,
58 which specifies the default settings for all the available options.
59 Options need only be specified in
61 when the system administrator wishes to override these defaults.
63 .Pa /etc/rc.conf.local
64 is used to override settings in
66 for historical reasons.
71 The following list provides a name and short description for each
72 variable that can be set in the
75 .Bl -tag -width indent-two
80 enable output of debug messages from rc scripts.
81 This variable can be helpful in diagnosing mistakes when
82 editing or integrating new scripts.
83 Beware that this produces copious output to the terminal and
89 disable informational messages from the rc scripts.
90 Informational messages are displayed when
91 a condition that is not serious enough to warrant a warning or
97 no swapfile is installed, otherwise the value is used as the full
98 pathname to a file to use for additional swap space.
103 enable support for Automatic Power Management with
111 to handle APM event from userland.
112 This also enables support for APM.
119 these are the flags to pass to the
126 to handle device added, removed or unknown events from the kernel.
131 enable PCCARD support at boot time.
134 Set to PCCARD controller memory address or
136 for the default value.
137 .It Va pccard_ifconfig
139 List of arguments to be passed to
142 insertion of the card (e.g.\&
143 .Dq Cm inet Li 192.168.1.1 Cm netmask Li 255.255.255.0
144 for a fixed address or
150 set the PCCARD controller to silent mode.
154 set it to melody mode.
157 Path to the configuration file for the
160 .Pa /etc/pccard.conf.sample ) .
167 these are the flags to pass to the
170 .It Va pccard_ether_delay
172 Set the delay before starting
175 .Pa /etc/pccard_ether
177 This defaults to 5 seconds to work around a bug in the
179 driver which can lead to system hangs when using some newer
182 .It Va removable_interfaces
184 List of removable network interfaces to be supported by
185 .Pa /etc/pccard_ether .
188 List of directories to search for startup script files.
189 .It Va script_name_sep
191 The field separator to use for breaking down the list of startup script files
192 into individual filenames.
193 The default is a space.
194 It is not necessary to change this unless there are startup scripts with names
198 The fully qualified domain name (FQDN) of this host on the network.
199 This should almost certainly be set to something meaningful, even if
200 there is no network connection.
203 is used to set the hostname via DHCP,
204 this variable should be set to an empty string.
207 Enable support for IPv6 networking.
208 Note that this requires that the kernel have been compiled with
209 .Cd "options INET6" .
212 The NIS domain name of this host, or
215 .It Va dhclient_program
217 Path to the DHCP client program
218 .Pa ( /sbin/dhclient ,
221 .It Va dhclient_flags
223 Additional flags to pass to the DHCP client program.
224 For the ISC DHCP client, see the
226 manpage for a description of the command line options available.
227 .It Va background_dhclient
231 to start the dhcp client in background.
232 This can cause trouble with applications depending on
233 a working network, but it will provide a faster startup
235 .It Va firewall_enable
239 to load firewall rules at startup.
240 If the kernel was not built with
241 .Cd "options IPFIREWALL" ,
244 kernel module will be loaded.
246 .Va ipfilter_enable .
247 .It Va ipv6_firewall_enable
249 The IPv6 equivalent of
250 .Va firewall_enable .
253 to load IPv6 firewall rules at startup.
254 If the kernel was not built with
255 .Cd "options IPV6FIREWALL" ,
258 kernel module will be loaded.
259 .It Va firewall_script
261 This variable specifies the full path to the firewall script to run.
263 .Pa /etc/rc.firewall .
264 .It Va ipv6_firewall_script
266 The IPv6 equivalent of
267 .Va firewall_script .
270 Names the firewall type from the selection in
271 .Pa /etc/rc.firewall ,
272 or the file which contains the local firewall ruleset.
273 Valid selections from
277 .Bl -tag -width ".Li simple" -compact
279 unrestricted IP access
281 all IP services disabled, except via
284 basic protection for a workstation
286 basic protection for a LAN.
289 If a filename is specified, the full path
291 .It Va ipv6_firewall_type
293 The IPv6 equivalent of
295 .It Va firewall_quiet
299 to disable the display of firewall rules on the console during boot.
300 .It Va ipv6_firewall_quiet
302 The IPv6 equivalent of
304 .It Va firewall_logging
308 to enable firewall event logging.
309 This is equivalent to the
310 .Dv IPFIREWALL_VERBOSE
312 .It Va ipv6_firewall_logging
314 The IPv6 equivalent of
315 .Va firewall_logging .
316 .It Va firewall_flags
322 specifies a filename.
323 .It Va ipv6_firewall_flags
325 The IPv6 equivalent of
342 sockets must be enabled in the kernel.
343 .It Va natd_interface
345 This is the name of the public interface on which
348 The interface may be given as an interface name or as an IP address.
353 flags should be placed here.
358 flag is automatically added with the above
361 .\" ----- ipfilter_enable setting --------------------------------
362 .It Va ipfilter_enable
373 Typical usage will require putting
375 ipfilter_enable="YES"
393 can be enabled independently.
397 both require at least one of
407 options IPFILTER_DEFAULT_BLOCK
410 in the kernel configuration file is a good idea, too.
411 .\" ----- ipfilter_program setting ------------------------------
412 .It Va ipfilter_program
418 .\" ----- ipfilter_rules setting --------------------------------
419 .It Va ipfilter_rules
424 This variable contains the name of the filter rule definition file.
425 The file is expected to be readable for the
428 .\" ----- ipv6_ipfilter_rules setting ---------------------------
429 .It Va ipv6_ipfilter_rules
434 This variable contains the IPv6 filter rule definition file.
435 The file is expected to be readable for the
438 .\" ----- ipfilter_flags setting --------------------------------
439 .It Va ipfilter_flags
442 This variable contains flags passed to the
445 .\" ----- ipnat_enable setting ----------------------------------
455 network address translation.
458 for a detailed discussion.
459 .\" ----- ipnat_program setting ---------------------------------
466 .\" ----- ipnat_rules setting -----------------------------------
472 This variable contains the name of the file
473 holding the network address translation definition.
474 This file is expected to be readable for the
477 .\" ----- ipnat_flags setting -----------------------------------
481 This variable contains flags passed to the
484 .\" ----- ipmon_enable setting ----------------------------------
499 Setting this variable needs setting
506 for a detailed discussion.
507 .\" ----- ipmon_program setting ---------------------------------
514 .\" ----- ipmon_flags setting -----------------------------------
520 This variable contains flags passed to the
523 Another typical example would be
524 .Dq Fl D Pa /var/log/ipflog
527 log directly to a file bypassing
530 .Pa /etc/newsyslog.conf
531 in such case like this:
533 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
535 .\" ----- ipfs_enable setting -----------------------------------
545 saving the filter and NAT state tables during shutdown
546 and reloading them during startup again.
547 Setting this variable needs setting
556 for a detailed discussion.
562 because the raised securelevel will prevent
564 from saving the state tables at shutdown time.
565 .\" ----- ipfs_program setting ----------------------------------
572 .\" ----- ipfs_flags setting ------------------------------------
576 This variable contains flags passed to the
579 .\" ----- end of added ipf hook ---------------------------------
580 .It Va tcp_extensions
587 disables certain TCP options as described by
593 might help remedy such problems with connections as randomly hanging
594 or other weird behavior.
595 Some network devices are known
596 to be broken with respect to these options.
603 .Va net.inet.tcp.log_in_vain
605 .Va net.inet.udp.log_in_vain ,
610 are set to the given value.
618 will disable probing idle TCP connections to verify that the
619 peer is still up and reachable.
620 .It Va tcp_drop_synfin
627 will cause the kernel to ignore TCP frames that have both
628 the SYN and FIN flags set.
629 This prevents OS fingerprinting, but may
630 break some legitimate applications.
631 This option is only available if the
632 kernel was built with the
635 .It Va icmp_drop_redirect
642 will cause the kernel to ignore ICMP REDIRECT packets.
645 for more information.
646 .It Va icmp_log_redirect
653 will cause the kernel to log ICMP REDIRECT packets.
655 the log messages are not rate-limited, so this option should only be used
656 for troubleshooting networks.
659 for more information.
660 .It Va icmp_bmcastecho
664 to respond to broadcast or multicast ICMP ping packets.
667 for more information.
668 .It Va ip_portrange_first
672 this is the first port in the default portrange.
675 for more information.
676 .It Va ip_portrange_last
680 this is the last port in the default portrange.
683 for more information.
684 .It Va network_interfaces
686 Set to the list of network interfaces to configure on this host.
687 For example, if the only network devices in the system are the loopback
696 .Va ifconfig_ Ns Aq Ar interface
697 variable is also assumed to exist for each value of
699 It is also possible to add IP alias entries here in cases where
700 multiple IP addresses registered against a single interface
702 Assuming that the interface in question was
707 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
708 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
713 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
715 its contents are passed to
717 Execution stops at the first unsuccessful access, so if
718 something like this is present:
720 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
721 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
722 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
723 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
726 Then note that alias4 would
728 be added since the search would
729 stop with the missing alias3 entry.
732 .Pa /etc/start_if. Ns Aq Ar interface
733 file is present, it is read and executed by the
736 before configuring the interface as specified in the
737 .Va ifconfig_ Ns Aq Ar interface
739 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
742 It is possible to bring up an interface with DHCP by setting the
743 .Va ifconfig_ Ns Aq Ar interface
746 For instance, to initialize the
749 it is possible to use something like:
753 .It Va ipv6_network_interfaces
755 This is the IPv6 equivalent of
756 .Va network_interfaces .
757 Instead of setting the ifconfig variables as
758 .Va ifconfig_ Ns Aq Ar interface
759 they should be set as
760 .Va ipv6_ifconfig_ Ns Aq Ar interface .
761 Aliases should be set as
762 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
763 .Va ipv6_prefix_ Ns Aq Ar interface
765 Interfaces that do not have a
766 .Va ipv6_ifconfig_ Ns Aq Ar interface
767 setting will be auto configured by
770 .Va ipv6_gateway_enable
773 Note that the IPv6 networking code does not support the
774 .Pa /etc/start_if. Ns Aq Ar interface
776 .It Va ipv6_default_interface
780 this is the default output interface for scoped addresses.
781 Now this works only for IPv6 link local multicast addresses.
782 .It Va cloned_interfaces
784 Set to the list of clonable network interfaces to create on this host.
786 .Va cloned_interfaces
787 are automatically appended to
788 .Va network_interfaces
790 .It Va gif_interfaces
794 tunnel interfaces to configure on this host.
796 .Va gifconfig_ Ns Aq Ar interface
797 variable is assumed to exist for each value of
799 The value of this variable is used to configure the link layer of the
800 tunnel according to the syntax of the
804 Additionally, this option ensures that each listed interface is created
809 before attempting to configure it.
810 .It Va sppp_interfaces
814 interfaces to configure on this host.
816 .Va spppconfig_ Ns Aq Ar interface
817 variable is assumed to exist for each value of
819 Each interface should also be configured by a general
820 .Va ifconfig_ Ns Aq Ar interface
824 for more information about available options.
834 Mode in which to run the
843 See the manual for a full description.
848 enables network address translation.
849 Used in conjunction with
851 allows hosts on private network addresses access to the Internet using
852 this host as a network address translating router.
855 The name of the profile to use from
856 .Pa /etc/ppp/ppp.conf .
859 The name of the user under which
869 This option is used to specify a list of files that will override
871 .Pa /etc/defaults/rc.conf .
872 The files will be read in the order in which they are specified and should
873 include the full path to the file.
874 By default, the files specified are
877 .Pa /etc/rc.conf.local
885 flag if the initial preen
886 of the file systems fails.
889 List of file system types that are network-based.
890 This list should generally not be modified by end users.
892 .Va extra_netfs_types
894 .It Va extra_netfs_types
896 If set to something other than
899 this variable extends the list of file system types
900 for which automatic mounting at startup by
902 should be delayed until the network is initialized.
904 a whitespace-separated list of network file system descriptor pairs,
905 each consisting of a file system type as passed to
907 and a human-readable, one-word description,
910 Extending the default list in this way is only necessary
911 when third party file system types are used.
912 .It Va syslogd_enable
919 .It Va syslogd_program
924 .Pa /usr/sbin/syslogd ) .
931 these are the flags to pass to
945 .Pa /usr/sbin/inetd ) .
952 these are the flags to pass to
958 use new functionality provided in the
960 script to facilitate a
964 This variable is experimental.
965 It may be removed or changed in the near future.
978 .Pa /usr/sbin/named ) .
985 these are the flags to pass to
989 This is the default path to the
992 Change it if you change the location in
994 .It Va named_chrootdir
996 The root directory for a name server run in a
1001 will not be run in a
1004 This variable has no effect if
1007 This variable is experimental.
1008 It may be removed or changed in the near future.
1009 .It Va named_chroot_autoupdate
1013 to disable automatic syncing of libraries and
1014 other system files between the root file system and the
1016 This variable has no effect if
1019 This variable is experimental.
1020 It may be removed or changed in the near future.
1021 .It Va named_symlink_enable
1025 to disable symlinking of
1031 environment in which
1034 This variable has no effect if
1037 This variable is experimental.
1038 It may be removed or changed in the near future.
1039 .It Va kerberos5_server_enable
1043 to start a Kerberos 5 authentication server
1045 .It Va kerberos5_server
1048 .Va kerberos5_server_enable
1051 this is the path to Kerberos 5 Authentication Server.
1052 .It Va kadmind5_server_enable
1058 the Kerberos 5 Administration Daemon; set to
1061 .It Va kadmind5_server
1064 .Va kadmind5_server_enable
1067 this is the path to Kerberos 5 Administration Daemon.
1068 .It Va kpasswdd_server_enable
1074 the Kerberos 5 Password-Changing Daemon; set to
1077 .It Va kpasswdd_server
1080 .Va kpasswdd_server_enable
1083 this is the path to Kerberos 5 Password-Changing Daemon.
1090 daemon at boot time.
1097 these are the flags to pass to it.
1104 daemon at boot time.
1111 these are the flags to pass to it.
1114 manpage for more information.
1115 .It Va amd_map_program
1118 the specified program is run to get the list of
1123 maps are stored in NIS, one can set this to
1136 will be updated at boot time to reflect the kernel release
1141 will not be updated.
1142 .It Va nfs_client_enable
1146 run the NFS client daemons at boot time.
1147 .It Va nfs_access_cache
1150 .Va nfs_client_enable
1155 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1157 results should be cached.
1158 A value of 2-10 seconds will substantially reduce network
1159 traffic for many NFS operations.
1160 .It Va nfs_server_enable
1164 run the NFS server daemons at boot time.
1165 .It Va nfs_server_flags
1168 .Va nfs_server_enable
1171 these are the flags to pass to the
1174 .It Va mountd_enable
1179 .Va nfs_server_enable
1185 It is commonly needed to run CFS without real NFS used.
1192 these are the flags to pass to the
1195 .It Va weak_mountd_authentication
1199 allow services like PCNFSD to make non-privileged mount
1201 .It Va nfs_reserved_port_only
1205 provide NFS services only on a secure port.
1206 .It Va nfs_bufpackets
1208 If set to a number, indicates the number of packets worth of
1209 socket buffer space to reserve on an NFS client.
1210 The kernel default is typically 4.
1211 Using a higher number may be
1212 useful on gigabit networks to improve performance.
1213 The minimum value is
1214 2 and the maximum is 64.
1215 .It Va rpc_umntall_enable
1219 (default) and we are also an NFS client, run
1221 at boot time to clear out old mounts on remote servers.
1226 will not be run at boot time.
1227 .It Va rpc_lockd_enable
1231 and also an NFS server, run
1234 .It Va rpc_statd_enable
1238 and also an NFS server, run
1241 .It Va rpcbind_program
1246 .Pa /usr/sbin/rpcbind ) .
1247 .It Va rpcbind_enable
1253 service at boot time.
1254 .It Va rpcbind_flags
1260 these are the flags to pass to the
1263 .It Va keyserv_enable
1269 daemon on boot for running Secure RPC.
1270 .It Va keyserv_flags
1276 these are the flags to pass to
1279 .It Va pppoed_enable
1285 daemon at boot time to provide PPP over Ethernet services.
1286 .It Va pppoed_ Ns Ar provider
1289 listens to requests to this
1295 argument of the same name.
1298 Additional flags to pass to
1300 .It Va pppoed_interface
1302 The network interface to run
1305 This is mandatory when
1315 service at boot time.
1316 This command is intended for networks of
1317 machines where a consistent
1319 for all hosts must be established.
1320 This is often useful in large NFS
1321 environments where time stamps on files are expected to be consistent
1329 these are the flags to pass to the
1332 .It Va ntpdate_enable
1339 This command is intended to
1340 synchronize the system clock only
1342 from some standard reference.
1343 An option to set this up initially
1344 (from a list of known servers) is also provided by the
1346 program when the system is first installed.
1347 .It Va ntpdate_program
1352 .Pa /usr/sbin/ntpdate ) .
1353 .It Va ntpdate_flags
1359 these are the flags to pass to the
1361 command (typically a hostname).
1368 command at boot time.
1374 .Pa /usr/sbin/ntpd ) .
1381 these are the flags to pass to the
1384 .It Va nis_client_enable
1390 service at system boot time.
1391 .It Va nis_client_flags
1394 .Va nis_client_enable
1397 these are the flags to pass to the
1400 .It Va nis_ypset_enable
1406 daemon at system boot time.
1407 .It Va nis_ypset_flags
1410 .Va nis_ypset_enable
1413 these are the flags to pass to the
1416 .It Va nis_server_enable
1422 daemon at system boot time.
1423 .It Va nis_server_flags
1426 .Va nis_server_enable
1429 these are the flags to pass to the
1432 .It Va nis_ypxfrd_enable
1438 daemon at system boot time.
1439 .It Va nis_ypxfrd_flags
1442 .Va nis_ypxfrd_enable
1445 these are the flags to pass to the
1448 .It Va nis_yppasswdd_enable
1454 daemon at system boot time.
1455 .It Va nis_yppasswdd_flags
1458 .Va nis_yppasswdd_enable
1461 these are the flags to pass to the
1464 .It Va rpc_ypupdated_enable
1470 daemon at system boot time.
1471 .It Va defaultrouter
1475 create a default route to this host name or IP address
1476 (use an IP address if this router is also required to get to the
1478 .It Va ipv6_defaultrouter
1480 The IPv6 equivalent of
1482 .It Va static_routes
1484 Set to the list of static routes that are to be added at system
1488 then for each whitespace separated
1491 .Va route_ Ns Aq Ar element
1492 variable is assumed to exist
1493 whose contents will later be passed to a
1496 .It Va ipv6_static_routes
1498 The IPv6 equivalent of
1502 then for each whitespace separated
1505 .Va ipv6_route_ Ns Aq Ar element
1506 variable is assumed to exist
1507 whose contents will later be passed to a
1508 .Dq Nm route Cm add Fl inet6
1510 .It Va gateway_enable
1514 configure host to act as an IP router, e.g. to forward packets
1516 .It Va ipv6_gateway_enable
1518 The IPv6 equivalent of
1519 .Va gateway_enable .
1520 .It Va router_enable
1524 run a routing daemon of some sort, based on the
1529 .It Va ipv6_router_enable
1531 The IPv6 equivalent of
1535 run a routing daemon of some sort, based on the
1539 .Va ipv6_router_flags .
1546 this is the name of the routing daemon to use.
1549 The IPv6 equivalent of
1557 these are the flags to pass to the routing daemon.
1558 .It Va ipv6_router_flags
1560 The IPv6 equivalent of
1562 .It Va mrouted_enable
1566 run the multicast routing daemon,
1568 .It Va mroute6d_enable
1570 The IPv6 equivalent of
1571 .Va mrouted_enable .
1574 run the IPv6 multicast routing daemon.
1575 Note that no IPv6 multicast routing daemon is included in the
1579 can be installed from the
1582 .It Va mrouted_flags
1588 these are the flags to pass to the
1591 .It Va mroute6d_flags
1593 The IPv6 equivalent of
1599 these are the flags passed to the IPv6 multicast routing daemon.
1600 .It Va mroute6d_program
1606 this is the path to the IPv6 multicast routing daemon.
1607 .It Va rtadvd_enable
1613 daemon at boot time.
1616 .Va ipv6_gateway_enable
1621 utility sends router advertisement packets to the interfaces specified in
1622 .Va rtadvd_interfaces .
1624 and should only be enabled with great care.
1625 You may want to fine-tune
1627 .It Va rtadvd_interfaces
1633 this is the list of interfaces to use.
1634 .It Va ipxgateway_enable
1638 enable the routing of IPX traffic.
1639 .It Va ipxrouted_enable
1645 daemon at system boot time.
1646 .It Va ipxrouted_flags
1649 .Va ipxrouted_enable
1652 these are the flags to pass to the
1659 enable global proxy ARP.
1660 .It Va forward_sourceroute
1668 source-routed packets are forwarded.
1669 .It Va accept_sourceroute
1673 the system will accept source-routed packets directed at it.
1680 daemon at system boot time.
1687 these are the flags to pass to the
1690 .It Va bootparamd_enable
1696 daemon at system boot time.
1697 .It Va bootparamd_flags
1700 .Va bootparamd_enable
1703 these are the flags to pass to the
1706 .It Va stf_interface_ipv4addr
1710 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
1712 Specify this entry to enable the 6to4 interface.
1713 .It Va stf_interface_ipv4plen
1715 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
1716 An effective value is 0-31.
1717 .It Va stf_interface_ipv6_ifid
1719 IPv6 interface ID for
1723 .It Va stf_interface_ipv6_slaid
1725 IPv6 Site Level Aggregator for
1727 .It Va ipv6_faith_prefix
1731 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
1736 .It Va ipv6_ipv4mapping
1740 this enables IPv4 mapped IPv6 address communication (like
1741 .Li ::ffff:a.b.c.d ) .
1746 to enable the configuration of ATM interfaces at system boot time.
1747 For all of the ATM variables described below, please refer to the
1749 man page for further details on the available command parameters.
1750 Also refer to the files in
1751 .Pa /usr/share/examples/atm
1752 for more detailed configuration information.
1755 This is a list of physical ATM interface drivers to load. Typical values are
1759 .It Va atm_netif_ Ns Aq Ar intf
1761 For the ATM physical interface
1763 this variable defines the name prefix and count for the ATM network
1764 interfaces to be created.
1765 The value will be passed as the parameters of an
1766 .Dq Nm atm Cm "set netif" Ar intf
1768 .It Va atm_sigmgr_ Ns Aq Ar intf
1770 For the ATM physical interface
1772 this variable defines the ATM signalling manager to be used.
1773 The value will be passed as the parameters of an
1774 .Dq Nm atm Cm attach Ar intf
1776 .It Va atm_prefix_ Ns Aq Ar intf
1778 For the ATM physical interface
1780 this variable defines the NSAP prefix for interfaces using a UNI signalling
1784 the prefix will automatically be set via the
1787 Otherwise, the value will be passed as the parameters of an
1788 .Dq Nm atm Cm "set prefix" Ar intf
1790 .It Va atm_macaddr_ Ns Aq Ar intf
1792 For the ATM physical interface
1794 this variable defines the MAC address for interfaces using a UNI signalling
1798 the hardware MAC address contained in the ATM interface card will be used.
1799 Otherwise, the value will be passed as the parameters of an
1800 .Dq Nm atm Cm "set mac" Ar intf
1802 .It Va atm_arpserver_ Ns Aq Ar netif
1804 For the ATM network interface
1806 this variable defines the ATM address for a host which is to provide ATMARP
1808 This variable is only applicable to interfaces using a UNI signalling
1812 this host will become an ATMARP server.
1813 The value will be passed as the parameters of an
1814 .Dq Nm atm Cm "set arpserver" Ar netif
1816 .It Va atm_scsparp_ Ns Aq Ar netif
1820 SCSP/ATMARP service for the network interface
1822 will be initiated using the
1827 This variable is only applicable if
1828 .Va atm_arpserver_ Ns Aq Ar netif
1833 Set to the list of ATM PVCs to be added at system
1835 For each whitespace separated
1838 .Va atm_pvc_ Ns Aq Ar element
1839 variable is assumed to exist.
1840 The value of each of these variables
1841 will be passed as the parameters of an
1842 .Dq Nm atm Cm "add pvc"
1846 Set to the list of permanent ATM ARP entries to be added
1847 at system boot time.
1848 For each whitespace separated
1851 .Va atm_arp_ Ns Aq Ar element
1852 variable is assumed to exist.
1853 The value of each of these variables
1854 will be passed as the parameters of an
1855 .Dq Nm atm Cm "add arp"
1857 .It Va natm_interfaces
1861 interfaces that will also be used for HARP through
1863 If this list is not empty all interfaces in the list will be brought up
1869 For this to work the interface drivers must be either compiled into the
1870 kernel or must reside on the root partition.
1873 The keyboard bell sound.
1880 if the default behavior is desired.
1881 For details, refer to the
1888 no keymap is installed, otherwise the value is used to install
1890 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
1893 The keyboard repeat speed.
1900 if the default behavior is desired.
1905 attempt to program the function keys with the value.
1907 be a single string of the form:
1908 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
1911 Can be set to the value of
1914 .Dq Li destructive ,
1917 to set the cursor behavior explicitly or choose the default behavior.
1922 no screen map is installed, otherwise the value is used to install
1923 the screen map file in
1924 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
1929 the default 8x16 font value is used for screen size requests, otherwise
1931 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1937 the default 8x14 font value is used for screen size requests, otherwise
1939 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1945 the default 8x8 font value is used for screen size requests, otherwise
1947 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1953 the default screen blanking interval is used, otherwise it is set
1961 this is the actual screen saver to use
1962 .Li ( blank , snake , daemon ,
1964 .It Va moused_enable
1970 daemon is started for doing cut/paste selection on the console.
1973 This is the protocol type of the mouse connected to this host.
1974 This variable must be set if
1981 is able to detect the appropriate mouse type automatically in many cases.
1982 Set this variable to
1984 to let the daemon detect it, or
1985 select one from the following list if the automatic detection fails.
1987 If the mouse is attached to the PS/2 mouse port, choose
1991 regardless of the brand and model of the mouse.
1993 mouse is attached to the bus mouse port, choose
1997 All other protocols are for serial mice and will not work with
1998 the PS/2 and bus mice.
1999 If this is a USB mouse,
2001 is the only protocol type which will work.
2003 .Bl -tag -width ".Li x10mouseremote" -compact
2005 Microsoft mouse (serial)
2007 Microsoft IntelliMouse (serial)
2009 Mouse systems Corp. mouse (serial)
2011 MM Series mouse (serial)
2013 Logitech mouse (serial)
2017 Logitech MouseMan and TrackMan (serial)
2019 ALPS GlidePoint (serial)
2020 .It Li thinkingmouse
2021 Kensington ThinkingMouse (serial)
2025 MM HitTablet (serial)
2026 .It Li x10mouseremote
2027 X10 MouseRemote (serial)
2029 Interlink VersaPad (serial)
2032 Even if the mouse is not in the above list, it may be compatible
2033 with one in the list.
2034 Refer to the man page for
2036 for compatibility information.
2038 It should also be noted that while this is enabled, any
2039 other client of the mouse (such as an X server) should access
2040 the mouse through the virtual mouse device,
2042 and configure it as a
2044 type mouse, since all
2045 mouse data is converted to this single canonical format when
2048 If the client program does not support the
2054 It is the second preferred type.
2061 this is the actual port the mouse is on.
2064 for a COM1 serial mouse,
2068 for a bus mouse, for example.
2073 is set, these are the additional flags to pass to the
2076 .It Va mousechar_start
2080 the default mouse cursor character range
2081 .Li 0xd0 Ns - Ns Li 0xd3
2083 otherwise the range start is set
2088 Use if the default range is occupied in the language code table.
2089 .It Va allscreens_flags
2093 is run with these options for each of the virtual terminals
2097 will enable the mouse pointer on all virtual terminals
2102 .It Va allscreens_kbdflags
2106 is run with these options for each of the virtual terminals
2112 scrollback (history) buffer to 200 lines.
2119 daemon at system boot time.
2125 .Pa /usr/sbin/cron ) .
2132 these are the flags to pass to
2139 .Pa /usr/sbin/lpd ) .
2146 daemon at system boot time.
2153 these are the flags to pass to the
2156 .It Va mta_start_script
2158 This variable specifies the full path to the script to run to start
2159 a mail transfer agent.
2161 .Pa /etc/rc.sendmail .
2165 .Pa /etc/rc.sendmail
2166 uses are documented in the
2171 Indicates the device (usually a swap partition) to which a crash dump
2172 should be written in the event of a system crash.
2173 The value of this variable is passed as the argument to
2175 To disable crash dumps, set this variable to
2179 When the system reboots after a crash and a crash dump is found on the
2180 device specified by the
2184 will save that crash dump and a copy of the kernel to the directory
2188 The default value is
2197 .It Va savecore_flags
2199 If crash dumps are enabled, these are the flags to pass to the
2202 .It Va enable_quotas
2206 to turn on user disk quotas on system startup via the
2213 to enable user disk quota checking via the
2216 .It Va accounting_enable
2220 to enable system accounting through the
2227 to enable iBCS2 (SCO) binary emulation at system initial boot
2229 .It Va ibcs2_loaders
2237 this specifies a list of additional iBCS2 loaders to enable.
2242 to enable Linux/ELF binary emulation at system initial
2248 to enable OSF/1 (Digital UNIX) binary emulation at system
2255 enable SysVR4 emulation at boot time.
2256 .It Va sysvipc_enable
2260 load System V IPC primitives at boot time.
2261 .It Va clear_tmp_enable
2268 .It Va ldconfig_paths
2270 Set to the list of shared library paths to use with
2274 will always be added first, so it need not appear in this list.
2275 .It Va ldconfig_paths_aout
2277 Set to the list of shared library paths to use with
2282 .It Va ldconfig_insecure
2286 utility normally refuses to use directories
2287 which are writable by anyone except root.
2288 Set this variable to
2290 to disable that security check during system startup.
2291 .It Va kern_securelevel_enable
2295 to set the kernel security level at system startup.
2296 .It Va kern_securelevel
2298 The kernel security level to set at startup.
2299 The allowed range of
2301 ranges from \-1 (the compile time default) to 3 (the
2305 for the list of possible security levels and their effect
2306 on system operation.
2311 to enable Low Watermark Mandatory Access Control (LOMAC) at boot time.
2312 This security model enforces integrity constraints for system processes;
2315 for a complete description of the LOMAC model, as well as its impact
2316 on system operation.
2323 at system boot time.
2326 Path to the SSH server program
2327 .Pa ( /usr/sbin/sshd
2335 at system boot time.
2342 these are the flags to pass to the
2351 daemon at boot time.
2358 these are the flags passed to
2361 .It Va watchdogd_enable
2367 daemon at boot time.
2368 This requires that the kernel have been compiled with
2369 .Cd "options WATCHDOG" .
2374 any configured jails will not be started.
2377 A space separated list of names for jails.
2378 This is purely a configuration aid to help identify and
2379 configure multiple jails.
2380 The names specified in this list will be used to
2381 identify settings common to an instance of a jail.
2382 Assuming that the jail in question was named
2384 you would have the following dependant variables:
2386 jail_vjail_hostname="jail.example.com"
2387 jail_vjail_ip="192.168.1.100"
2388 jail_vjail_rootdir="/var/jails/vjail/root"
2389 jail_vjail_exec="/bin/sh /etc/rc"
2392 The last one is optional.
2396 .It Va jail_set_hostname_allow
2400 do not allow the root user in a jail to set its hostname.
2401 .It Va jail_socket_unixiproute_only
2405 do not allow any protocol,
2407 to be used within a jail.
2408 .It Va jail_sysvipc_allow
2412 allow applications within a jail to use System V IPC.
2413 .It Va unaligned_print
2417 unaligned access warnings will not be printed.
2419 .\" ----- isdn settings ---------------------------------
2430 at system boot time.
2434 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
2436 Additional flags to pass to
2442 for certain tunable parameters).
2448 The terminal type of the output device when
2450 operates in full-screen mode.
2451 .It Va isdn_screenflags
2456 The video mode for full-screen mode (only for
2466 The output device for
2468 in full-screen mode (or
2478 enables the ISDN protocol trace utility
2480 at system boot time.
2481 .It Va isdn_traceflags
2484 .Dq Fl f Pa /var/tmp/isdntrace0
2488 .\" -----------------------------------------------------
2496 verbose messages about the actions done by the start script are displayed.
2500 driver must be compiled into the kernel before the
2503 options described here take any effect.
2509 Use this to configure a national keyboard mapping found in the
2510 .Pa /usr/share/misc/keycap.pcvt
2511 file of keyboard mappings.
2512 (See also the manual pages
2518 keycap database and the manual page
2522 for national keyboard mapping configuration.)
2528 Used to set the keyboard key repeat delay value.
2530 in the range 0..3 for delay values of 250, 500, 750 and 1000 msec.
2539 Used to set the keyboard key repetition rate value.
2541 in the range 0..31 for repetition values of 2..30 characters per second.
2542 .It Va pcvt_keyrepeat
2549 to enable automatic keyboard key repeating.
2559 to use 24 lines only (in 25 lines mode) for compatibility
2570 to enable the display and functionality of function key labels (as found
2573 terminals such as the
2584 by default resulting in a value of 25.
2585 Used to set the number of lines on the screen.
2586 For VGA displays, valid
2587 values are 25, 28, 40 and 50 lines.
2591 .It Va pcvt_blanktime
2596 Used to set the screen saver timeout in seconds for values greater than
2603 Used to set the cursor top scanline.
2612 Used to set the cursor bottom scanline.
2613 .It Va pcvt_monohigh
2620 to set intensity to high on monochrome monitors.
2625 for more information on changing VGA palette
2627 .It Va harvest_interrupt
2631 to use hardware interrupts as an entropy source.
2634 for more information.
2635 .It Va harvest_ethernet
2639 to use LAN traffic as an entropy source.
2642 for more information.
2643 .It Va harvest_p_to_p
2647 to use serial line traffic as an entropy source.
2650 for more information.
2655 to disable caching entropy via
2657 Otherwise set to the directory used to store entropy files in.
2662 to disable caching entropy through reboots.
2663 Otherwise set to the filename used to store cached entropy through
2665 This file should be located on the root file system to seed the
2667 device as early as possible in the boot process.
2668 .It Va entropy_save_sz
2670 Size of the entropy cache files saved by
2673 .It Va entropy_save_num
2675 Number of entropy cache files to save by
2689 Configuration file for
2698 .Pa /var/run/dmesg.boot
2700 .It Va rcshutdown_timeout
2702 If set, start a watchdog timer in the background which will terminate
2706 has not completed within the specified time (in seconds).
2709 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
2710 .It Pa /etc/defaults/rc.conf
2712 .It Pa /etc/rc.conf.local
2776 .An Jordan K. Hubbard .