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.15 2005/08/01 01:49:17 swildner 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
125 to monitor the status of batteries present in the system.
126 This also enables support for APM.
133 these are the flags to pass to the
140 to handle device added, removed or unknown events from the kernel.
141 .It Va pccard_ifconfig
143 List of arguments to be passed to
146 insertion of the card (e.g.\&
147 .Dq Cm inet Li 192.168.1.1 Cm netmask Li 255.255.255.0
148 for a fixed address or
151 .It Va pccard_ether_delay
153 Set the delay before starting
156 .Pa /etc/pccard_ether
158 This defaults to 5 seconds to work around a bug in the
160 driver which can lead to system hangs when using some newer
163 .It Va removable_interfaces
165 List of removable network interfaces to be supported by
166 .Pa /etc/pccard_ether .
169 List of directories to search for startup script files.
170 .It Va script_name_sep
172 The field separator to use for breaking down the list of startup script files
173 into individual filenames.
174 The default is a space.
175 It is not necessary to change this unless there are startup scripts with names
179 The fully qualified domain name (FQDN) of this host on the network.
180 This should almost certainly be set to something meaningful, even if
181 there is no network connection.
184 is used to set the hostname via DHCP,
185 this variable should be set to an empty string.
188 Enable support for IPv6 networking.
189 Note that this requires that the kernel have been compiled with
190 .Cd "options INET6" .
193 The NIS domain name of this host, or
196 .It Va dhclient_program
198 Path to the DHCP client program
199 .Pa ( /sbin/dhclient ,
202 .It Va dhclient_flags
204 Additional flags to pass to the DHCP client program.
205 For the ISC DHCP client, see the
207 manpage for a description of the command line options available.
208 .It Va background_dhclient
212 to start the dhcp client in background.
213 This can cause trouble with applications depending on
214 a working network, but it will provide a faster startup
216 .It Va firewall_enable
220 to load firewall rules at startup.
221 If the kernel was not built with
222 .Cd "options IPFIREWALL" ,
225 kernel module will be loaded.
227 .Va ipfilter_enable .
228 .It Va ipv6_firewall_enable
230 The IPv6 equivalent of
231 .Va firewall_enable .
234 to load IPv6 firewall rules at startup.
235 If the kernel was not built with
236 .Cd "options IPV6FIREWALL" ,
239 kernel module will be loaded.
240 .It Va firewall_script
242 This variable specifies the full path to the firewall script to run.
244 .Pa /etc/rc.firewall .
245 .It Va ipv6_firewall_script
247 The IPv6 equivalent of
248 .Va firewall_script .
251 Names the firewall type from the selection in
252 .Pa /etc/rc.firewall ,
253 or the file which contains the local firewall ruleset.
254 Valid selections from
258 .Bl -tag -width ".Li simple" -compact
260 unrestricted IP access
262 all IP services disabled, except via
265 basic protection for a workstation
267 basic protection for a LAN.
270 If a filename is specified, the full path
272 .It Va ipv6_firewall_type
274 The IPv6 equivalent of
276 .It Va firewall_quiet
280 to disable the display of firewall rules on the console during boot.
281 .It Va ipv6_firewall_quiet
283 The IPv6 equivalent of
285 .It Va firewall_logging
289 to enable firewall event logging.
290 This is equivalent to the
291 .Dv IPFIREWALL_VERBOSE
293 .It Va ipv6_firewall_logging
295 The IPv6 equivalent of
296 .Va firewall_logging .
297 .It Va firewall_flags
303 specifies a filename.
304 .It Va ipv6_firewall_flags
306 The IPv6 equivalent of
323 sockets must be enabled in the kernel.
324 .It Va natd_interface
326 This is the name of the public interface on which
329 The interface may be given as an interface name or as an IP address.
334 flags should be placed here.
339 flag is automatically added with the above
342 .\" ----- ipfilter_enable setting --------------------------------
343 .It Va ipfilter_enable
354 Typical usage will require putting
356 ipfilter_enable="YES"
374 can be enabled independently.
378 both require at least one of
388 options IPFILTER_DEFAULT_BLOCK
391 in the kernel configuration file is a good idea, too.
392 .\" ----- ipfilter_program setting ------------------------------
393 .It Va ipfilter_program
399 .\" ----- ipfilter_rules setting --------------------------------
400 .It Va ipfilter_rules
405 This variable contains the name of the filter rule definition file.
406 The file is expected to be readable for the
409 .\" ----- ipv6_ipfilter_rules setting ---------------------------
410 .It Va ipv6_ipfilter_rules
415 This variable contains the IPv6 filter rule definition file.
416 The file is expected to be readable for the
419 .\" ----- ipfilter_flags setting --------------------------------
420 .It Va ipfilter_flags
423 This variable contains flags passed to the
426 .\" ----- ipnat_enable setting ----------------------------------
436 network address translation.
439 for a detailed discussion.
440 .\" ----- ipnat_program setting ---------------------------------
447 .\" ----- ipnat_rules setting -----------------------------------
453 This variable contains the name of the file
454 holding the network address translation definition.
455 This file is expected to be readable for the
458 .\" ----- ipnat_flags setting -----------------------------------
462 This variable contains flags passed to the
465 .\" ----- ipmon_enable setting ----------------------------------
480 Setting this variable needs setting
487 for a detailed discussion.
488 .\" ----- ipmon_program setting ---------------------------------
495 .\" ----- ipmon_flags setting -----------------------------------
501 This variable contains flags passed to the
504 Another typical example would be
505 .Dq Fl D Pa /var/log/ipflog
508 log directly to a file bypassing
511 .Pa /etc/newsyslog.conf
512 in such case like this:
514 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
516 .\" ----- ipfs_enable setting -----------------------------------
526 saving the filter and NAT state tables during shutdown
527 and reloading them during startup again.
528 Setting this variable needs setting
537 for a detailed discussion.
543 because the raised securelevel will prevent
545 from saving the state tables at shutdown time.
546 .\" ----- ipfs_program setting ----------------------------------
553 .\" ----- ipfs_flags setting ------------------------------------
557 This variable contains flags passed to the
560 .\" ----- end of added ipf hook ---------------------------------
561 .It Va tcp_extensions
568 disables certain TCP options as described by
574 might help remedy such problems with connections as randomly hanging
575 or other weird behavior.
576 Some network devices are known
577 to be broken with respect to these options.
584 .Va net.inet.tcp.log_in_vain
586 .Va net.inet.udp.log_in_vain ,
591 are set to the given value.
599 will disable probing idle TCP connections to verify that the
600 peer is still up and reachable.
601 .It Va tcp_drop_synfin
608 will cause the kernel to ignore TCP frames that have both
609 the SYN and FIN flags set.
610 This prevents OS fingerprinting, but may
611 break some legitimate applications.
612 This option is only available if the
613 kernel was built with the
616 .It Va icmp_drop_redirect
623 will cause the kernel to ignore ICMP REDIRECT packets.
626 for more information.
627 .It Va icmp_log_redirect
634 will cause the kernel to log ICMP REDIRECT packets.
636 the log messages are not rate-limited, so this option should only be used
637 for troubleshooting networks.
640 for more information.
641 .It Va icmp_bmcastecho
645 to respond to broadcast or multicast ICMP ping packets.
648 for more information.
649 .It Va ip_portrange_first
653 this is the first port in the default portrange.
656 for more information.
657 .It Va ip_portrange_last
661 this is the last port in the default portrange.
664 for more information.
665 .It Va network_interfaces
667 Set to the list of network interfaces to configure on this host.
668 For example, if the only network devices in the system are the loopback
677 .Va ifconfig_ Ns Aq Ar interface
678 variable is also assumed to exist for each value of
680 It is also possible to add IP alias entries here in cases where
681 multiple IP addresses registered against a single interface
683 Assuming that the interface in question was
688 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
689 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
694 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
696 its contents are passed to
698 Execution stops at the first unsuccessful access, so if
699 something like this is present:
701 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
702 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
703 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
704 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
707 Then note that alias4 would
709 be added since the search would
710 stop with the missing alias3 entry.
713 .Pa /etc/start_if. Ns Aq Ar interface
714 file is present, it is read and executed by the
717 before configuring the interface as specified in the
718 .Va ifconfig_ Ns Aq Ar interface
720 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
723 It is possible to bring up an interface with DHCP by setting the
724 .Va ifconfig_ Ns Aq Ar interface
727 For instance, to initialize the
730 it is possible to use something like:
734 .It Va ipv6_network_interfaces
736 This is the IPv6 equivalent of
737 .Va network_interfaces .
738 Instead of setting the ifconfig variables as
739 .Va ifconfig_ Ns Aq Ar interface
740 they should be set as
741 .Va ipv6_ifconfig_ Ns Aq Ar interface .
742 Aliases should be set as
743 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
744 .Va ipv6_prefix_ Ns Aq Ar interface
746 Interfaces that do not have a
747 .Va ipv6_ifconfig_ Ns Aq Ar interface
748 setting will be auto configured by
751 .Va ipv6_gateway_enable
754 Note that the IPv6 networking code does not support the
755 .Pa /etc/start_if. Ns Aq Ar interface
757 .It Va ipv6_default_interface
761 this is the default output interface for scoped addresses.
762 Now this works only for IPv6 link local multicast addresses.
763 .It Va cloned_interfaces
765 Set to the list of clonable network interfaces to create on this host.
767 .Va cloned_interfaces
768 are automatically appended to
769 .Va network_interfaces
771 .It Va gif_interfaces
775 tunnel interfaces to configure on this host.
777 .Va gifconfig_ Ns Aq Ar interface
778 variable is assumed to exist for each value of
780 The value of this variable is used to configure the link layer of the
781 tunnel according to the syntax of the
785 Additionally, this option ensures that each listed interface is created
790 before attempting to configure it.
791 .It Va sppp_interfaces
795 interfaces to configure on this host.
797 .Va spppconfig_ Ns Aq Ar interface
798 variable is assumed to exist for each value of
800 Each interface should also be configured by a general
801 .Va ifconfig_ Ns Aq Ar interface
805 for more information about available options.
815 Mode in which to run the
824 See the manual for a full description.
829 enables network address translation.
830 Used in conjunction with
832 allows hosts on private network addresses access to the Internet using
833 this host as a network address translating router.
836 The name of the profile to use from
837 .Pa /etc/ppp/ppp.conf .
840 The name of the user under which
850 This option is used to specify a list of files that will override
852 .Pa /etc/defaults/rc.conf .
853 The files will be read in the order in which they are specified and should
854 include the full path to the file.
855 By default, the files specified are
858 .Pa /etc/rc.conf.local
866 flag if the initial preen
867 of the file systems fails.
870 List of file system types that are network-based.
871 This list should generally not be modified by end users.
873 .Va extra_netfs_types
875 .It Va extra_netfs_types
877 If set to something other than
880 this variable extends the list of file system types
881 for which automatic mounting at startup by
883 should be delayed until the network is initialized.
885 a whitespace-separated list of network file system descriptor pairs,
886 each consisting of a file system type as passed to
888 and a human-readable, one-word description,
891 Extending the default list in this way is only necessary
892 when third party file system types are used.
893 .It Va syslogd_enable
900 .It Va syslogd_program
905 .Pa /usr/sbin/syslogd ) .
912 these are the flags to pass to
926 .Pa /usr/sbin/inetd ) .
933 these are the flags to pass to
939 use new functionality provided in the
941 script to facilitate a
945 This variable is experimental.
946 It may be removed or changed in the near future.
959 .Pa /usr/sbin/named ) .
966 these are the flags to pass to
970 This is the default path to the
973 Change it if you change the location in
975 .It Va named_chrootdir
977 The root directory for a name server run in a
985 This variable has no effect if
988 This variable is experimental.
989 It may be removed or changed in the near future.
990 .It Va named_chroot_autoupdate
994 to disable automatic syncing of libraries and
995 other system files between the root file system and the
997 This variable has no effect if
1000 This variable is experimental.
1001 It may be removed or changed in the near future.
1002 .It Va named_symlink_enable
1006 to disable symlinking of
1012 environment in which
1015 This variable has no effect if
1018 This variable is experimental.
1019 It may be removed or changed in the near future.
1020 .It Va kerberos5_server_enable
1024 to start a Kerberos 5 authentication server
1026 .It Va kerberos5_server
1029 .Va kerberos5_server_enable
1032 this is the path to Kerberos 5 Authentication Server.
1033 .It Va kadmind5_server_enable
1039 the Kerberos 5 Administration Daemon; set to
1042 .It Va kadmind5_server
1045 .Va kadmind5_server_enable
1048 this is the path to Kerberos 5 Administration Daemon.
1049 .It Va kpasswdd_server_enable
1055 the Kerberos 5 Password-Changing Daemon; set to
1058 .It Va kpasswdd_server
1061 .Va kpasswdd_server_enable
1064 this is the path to Kerberos 5 Password-Changing Daemon.
1071 daemon at boot time.
1078 these are the flags to pass to it.
1085 daemon at boot time.
1092 these are the flags to pass to it.
1095 manpage for more information.
1096 .It Va amd_map_program
1099 the specified program is run to get the list of
1104 maps are stored in NIS, one can set this to
1117 will be updated at boot time to reflect the kernel release
1122 will not be updated.
1123 .It Va nfs_client_enable
1127 run the NFS client daemons at boot time.
1128 .It Va nfs_access_cache
1131 .Va nfs_client_enable
1136 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1138 results should be cached.
1139 A value of 2-10 seconds will substantially reduce network traffic for
1140 many NFS operations. The default is 5 seconds. Note that the attribute
1141 cache holds stat information only. The NFS data cache is independant
1142 of the attribute cache and is only invalidated when the client detects that
1143 the server has modified the underlying file. This value specifies a
1144 maximum timeout. The NFS client will automatically use a shorter timeout
1145 for files which have been recently modified.
1146 .It Va nfs_neg_cache
1149 .Va nfs_client_enable
1154 to disable the caching of NEGATIVE LOOKUPS (lookups of non-existant
1155 filenames), or to the number of seconds for which negative lookups should
1157 A value of 2-10 seconds will substantially reduce network
1158 traffic for many NFS operations, especially source code builds. The
1159 default is 3 seconds.
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
1338 command at boot time.
1344 .Pa /usr/sbin/ntpd ) .
1351 these are the flags to pass to the
1355 by default which sets the time immediately at startup if the
1356 local clock is off by more than 180 seconds. To prevent
1358 from doing this, set
1362 .It Va nis_client_enable
1368 service at system boot time.
1369 .It Va nis_client_flags
1372 .Va nis_client_enable
1375 these are the flags to pass to the
1378 .It Va nis_ypset_enable
1384 daemon at system boot time.
1385 .It Va nis_ypset_flags
1388 .Va nis_ypset_enable
1391 these are the flags to pass to the
1394 .It Va nis_server_enable
1400 daemon at system boot time.
1401 .It Va nis_server_flags
1404 .Va nis_server_enable
1407 these are the flags to pass to the
1410 .It Va nis_ypxfrd_enable
1416 daemon at system boot time.
1417 .It Va nis_ypxfrd_flags
1420 .Va nis_ypxfrd_enable
1423 these are the flags to pass to the
1426 .It Va nis_yppasswdd_enable
1432 daemon at system boot time.
1433 .It Va nis_yppasswdd_flags
1436 .Va nis_yppasswdd_enable
1439 these are the flags to pass to the
1442 .It Va rpc_ypupdated_enable
1448 daemon at system boot time.
1449 .It Va defaultrouter
1453 create a default route to this host name or IP address
1454 (use an IP address if this router is also required to get to the
1456 .It Va ipv6_defaultrouter
1458 The IPv6 equivalent of
1460 .It Va static_routes
1462 Set to the list of static routes that are to be added at system
1466 then for each whitespace separated
1469 .Va route_ Ns Aq Ar element
1470 variable is assumed to exist
1471 whose contents will later be passed to a
1474 .It Va ipv6_static_routes
1476 The IPv6 equivalent of
1480 then for each whitespace separated
1483 .Va ipv6_route_ Ns Aq Ar element
1484 variable is assumed to exist
1485 whose contents will later be passed to a
1486 .Dq Nm route Cm add Fl inet6
1488 .It Va gateway_enable
1492 configure host to act as an IP router, e.g. to forward packets
1494 .It Va ipv6_gateway_enable
1496 The IPv6 equivalent of
1497 .Va gateway_enable .
1498 .It Va router_enable
1502 run a routing daemon of some sort, based on the
1507 .It Va ipv6_router_enable
1509 The IPv6 equivalent of
1513 run a routing daemon of some sort, based on the
1517 .Va ipv6_router_flags .
1524 this is the name of the routing daemon to use.
1527 The IPv6 equivalent of
1535 these are the flags to pass to the routing daemon.
1536 .It Va ipv6_router_flags
1538 The IPv6 equivalent of
1540 .It Va mrouted_enable
1544 run the multicast routing daemon,
1546 .It Va mroute6d_enable
1548 The IPv6 equivalent of
1549 .Va mrouted_enable .
1552 run the IPv6 multicast routing daemon.
1553 Note that no IPv6 multicast routing daemon is included in the
1557 can be installed from the
1560 .It Va mrouted_flags
1566 these are the flags to pass to the
1569 .It Va mroute6d_flags
1571 The IPv6 equivalent of
1577 these are the flags passed to the IPv6 multicast routing daemon.
1578 .It Va mroute6d_program
1584 this is the path to the IPv6 multicast routing daemon.
1585 .It Va rtadvd_enable
1591 daemon at boot time.
1594 .Va ipv6_gateway_enable
1599 utility sends router advertisement packets to the interfaces specified in
1600 .Va rtadvd_interfaces .
1602 and should only be enabled with great care.
1603 You may want to fine-tune
1605 .It Va rtadvd_interfaces
1611 this is the list of interfaces to use.
1612 .It Va ipxgateway_enable
1616 enable the routing of IPX traffic.
1617 .It Va ipxrouted_enable
1623 daemon at system boot time.
1624 .It Va ipxrouted_flags
1627 .Va ipxrouted_enable
1630 these are the flags to pass to the
1637 enable global proxy ARP.
1638 .It Va forward_sourceroute
1646 source-routed packets are forwarded.
1647 .It Va accept_sourceroute
1651 the system will accept source-routed packets directed at it.
1658 daemon at system boot time.
1665 these are the flags to pass to the
1668 .It Va bootparamd_enable
1674 daemon at system boot time.
1675 .It Va bootparamd_flags
1678 .Va bootparamd_enable
1681 these are the flags to pass to the
1684 .It Va stf_interface_ipv4addr
1688 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
1690 Specify this entry to enable the 6to4 interface.
1691 .It Va stf_interface_ipv4plen
1693 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
1694 An effective value is 0-31.
1695 .It Va stf_interface_ipv6_ifid
1697 IPv6 interface ID for
1701 .It Va stf_interface_ipv6_slaid
1703 IPv6 Site Level Aggregator for
1705 .It Va ipv6_faith_prefix
1709 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
1714 .It Va ipv6_ipv4mapping
1718 this enables IPv4 mapped IPv6 address communication (like
1719 .Li ::ffff:a.b.c.d ) .
1724 to enable the configuration of ATM interfaces at system boot time.
1725 For all of the ATM variables described below, please refer to the
1727 man page for further details on the available command parameters.
1728 Also refer to the files in
1729 .Pa /usr/share/examples/atm
1730 for more detailed configuration information.
1733 This is a list of physical ATM interface drivers to load. Typical values are
1737 .It Va atm_netif_ Ns Aq Ar intf
1739 For the ATM physical interface
1741 this variable defines the name prefix and count for the ATM network
1742 interfaces to be created.
1743 The value will be passed as the parameters of an
1744 .Dq Nm atm Cm "set netif" Ar intf
1746 .It Va atm_sigmgr_ Ns Aq Ar intf
1748 For the ATM physical interface
1750 this variable defines the ATM signalling manager to be used.
1751 The value will be passed as the parameters of an
1752 .Dq Nm atm Cm attach Ar intf
1754 .It Va atm_prefix_ Ns Aq Ar intf
1756 For the ATM physical interface
1758 this variable defines the NSAP prefix for interfaces using a UNI signalling
1762 the prefix will automatically be set via the
1765 Otherwise, the value will be passed as the parameters of an
1766 .Dq Nm atm Cm "set prefix" Ar intf
1768 .It Va atm_macaddr_ Ns Aq Ar intf
1770 For the ATM physical interface
1772 this variable defines the MAC address for interfaces using a UNI signalling
1776 the hardware MAC address contained in the ATM interface card will be used.
1777 Otherwise, the value will be passed as the parameters of an
1778 .Dq Nm atm Cm "set mac" Ar intf
1780 .It Va atm_arpserver_ Ns Aq Ar netif
1782 For the ATM network interface
1784 this variable defines the ATM address for a host which is to provide ATMARP
1786 This variable is only applicable to interfaces using a UNI signalling
1790 this host will become an ATMARP server.
1791 The value will be passed as the parameters of an
1792 .Dq Nm atm Cm "set arpserver" Ar netif
1794 .It Va atm_scsparp_ Ns Aq Ar netif
1798 SCSP/ATMARP service for the network interface
1800 will be initiated using the
1805 This variable is only applicable if
1806 .Va atm_arpserver_ Ns Aq Ar netif
1811 Set to the list of ATM PVCs to be added at system
1813 For each whitespace separated
1816 .Va atm_pvc_ Ns Aq Ar element
1817 variable is assumed to exist.
1818 The value of each of these variables
1819 will be passed as the parameters of an
1820 .Dq Nm atm Cm "add pvc"
1824 Set to the list of permanent ATM ARP entries to be added
1825 at system boot time.
1826 For each whitespace separated
1829 .Va atm_arp_ Ns Aq Ar element
1830 variable is assumed to exist.
1831 The value of each of these variables
1832 will be passed as the parameters of an
1833 .Dq Nm atm Cm "add arp"
1835 .It Va natm_interfaces
1839 interfaces that will also be used for HARP through
1841 If this list is not empty all interfaces in the list will be brought up
1847 For this to work the interface drivers must be either compiled into the
1848 kernel or must reside on the root partition.
1851 The keyboard bell sound.
1858 if the default behavior is desired.
1859 For details, refer to the
1866 no keymap is installed, otherwise the value is used to install
1868 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
1871 The keyboard repeat speed.
1878 if the default behavior is desired.
1883 attempt to program the function keys with the value.
1885 be a single string of the form:
1886 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
1889 Can be set to the value of
1892 .Dq Li destructive ,
1895 to set the cursor behavior explicitly or choose the default behavior.
1900 no screen map is installed, otherwise the value is used to install
1901 the screen map file in
1902 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
1907 the default 8x16 font value is used for screen size requests, otherwise
1909 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1915 the default 8x14 font value is used for screen size requests, otherwise
1917 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1923 the default 8x8 font value is used for screen size requests, otherwise
1925 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1931 the default screen blanking interval is used, otherwise it is set
1939 this is the actual screen saver to use
1940 .Li ( blank , snake , daemon ,
1942 .It Va moused_enable
1948 daemon is started for doing cut/paste selection on the console.
1951 This is the protocol type of the mouse connected to this host.
1952 This variable must be set if
1959 is able to detect the appropriate mouse type automatically in many cases.
1960 Set this variable to
1962 to let the daemon detect it, or
1963 select one from the following list if the automatic detection fails.
1965 If the mouse is attached to the PS/2 mouse port, choose
1969 regardless of the brand and model of the mouse.
1971 mouse is attached to the bus mouse port, choose
1975 All other protocols are for serial mice and will not work with
1976 the PS/2 and bus mice.
1977 If this is a USB mouse,
1979 is the only protocol type which will work.
1981 .Bl -tag -width ".Li x10mouseremote" -compact
1983 Microsoft mouse (serial)
1985 Microsoft IntelliMouse (serial)
1987 Mouse systems Corp. mouse (serial)
1989 MM Series mouse (serial)
1991 Logitech mouse (serial)
1995 Logitech MouseMan and TrackMan (serial)
1997 ALPS GlidePoint (serial)
1998 .It Li thinkingmouse
1999 Kensington ThinkingMouse (serial)
2003 MM HitTablet (serial)
2004 .It Li x10mouseremote
2005 X10 MouseRemote (serial)
2007 Interlink VersaPad (serial)
2010 Even if the mouse is not in the above list, it may be compatible
2011 with one in the list.
2012 Refer to the man page for
2014 for compatibility information.
2016 It should also be noted that while this is enabled, any
2017 other client of the mouse (such as an X server) should access
2018 the mouse through the virtual mouse device,
2020 and configure it as a
2022 type mouse, since all
2023 mouse data is converted to this single canonical format when
2026 If the client program does not support the
2032 It is the second preferred type.
2039 this is the actual port the mouse is on.
2042 for a COM1 serial mouse,
2046 for a bus mouse, for example.
2051 is set, these are the additional flags to pass to the
2054 .It Va mousechar_start
2058 the default mouse cursor character range
2059 .Li 0xd0 Ns - Ns Li 0xd3
2061 otherwise the range start is set
2066 Use if the default range is occupied in the language code table.
2067 .It Va allscreens_flags
2071 is run with these options for each of the virtual terminals
2075 will enable the mouse pointer on all virtual terminals
2080 .It Va allscreens_kbdflags
2084 is run with these options for each of the virtual terminals
2090 scrollback (history) buffer to 200 lines.
2097 daemon at system boot time.
2103 .Pa /usr/sbin/cron ) .
2110 these are the flags to pass to
2117 .Pa /usr/sbin/lpd ) .
2124 daemon at system boot time.
2131 these are the flags to pass to the
2134 .It Va mta_start_script
2136 This variable specifies the full path to the script to run to start
2137 a mail transfer agent.
2139 .Pa /etc/rc.sendmail .
2143 .Pa /etc/rc.sendmail
2144 uses are documented in the
2149 Indicates the device (usually a swap partition) to which a crash dump
2150 should be written in the event of a system crash.
2151 The value of this variable is passed as the argument to
2153 To disable crash dumps, set this variable to
2157 When the system reboots after a crash and a crash dump is found on the
2158 device specified by the
2162 will save that crash dump and a copy of the kernel to the directory
2166 The default value is
2175 .It Va savecore_flags
2177 If crash dumps are enabled, these are the flags to pass to the
2180 .It Va enable_quotas
2184 to turn on user disk quotas on system startup via the
2191 to enable user disk quota checking via the
2194 .It Va accounting_enable
2198 to enable system accounting through the
2205 to enable iBCS2 (SCO) binary emulation at system initial boot
2207 .It Va ibcs2_loaders
2215 this specifies a list of additional iBCS2 loaders to enable.
2220 to enable Linux/ELF binary emulation at system initial
2226 to enable OSF/1 (Digital UNIX) binary emulation at system
2233 enable SysVR4 emulation at boot time.
2234 .It Va sysvipc_enable
2238 load System V IPC primitives at boot time.
2239 .\" ----- cleanvar_enable setting--------------------------------
2240 .It Va cleanvar_enable
2248 .Pa /var/spool/uucp/.Temp/*
2250 .\" ----- clear_tmp_enable setting-------------------------------
2251 .It Va clear_tmp_enable
2258 .\" ----- ldconfig_paths setting --------------------------------
2259 .It Va ldconfig_paths
2261 Set to the list of shared library paths to use with
2265 will always be added first, so it need not appear in this list.
2266 .\" ----- ldconfig_paths_aout setting ---------------------------
2267 .It Va ldconfig_paths_aout
2269 Set to the list of shared library paths to use with
2274 .It Va ldconfig_insecure
2278 utility normally refuses to use directories
2279 which are writable by anyone except root.
2280 Set this variable to
2282 to disable that security check during system startup.
2283 .It Va kern_securelevel_enable
2287 to set the kernel security level at system startup.
2288 .It Va kern_securelevel
2290 The kernel security level to set at startup.
2291 The allowed range of
2293 ranges from \-1 (the compile time default) to 3 (the
2297 for the list of possible security levels and their effect
2298 on system operation.
2303 to enable Low Watermark Mandatory Access Control (LOMAC) at boot time.
2304 This security model enforces integrity constraints for system processes;
2307 for a complete description of the LOMAC model, as well as its impact
2308 on system operation.
2315 at system boot time.
2318 Path to the SSH server program
2319 .Pa ( /usr/sbin/sshd
2327 at system boot time.
2334 these are the flags to pass to the
2343 daemon at boot time.
2350 these are the flags passed to
2353 .It Va watchdogd_enable
2359 daemon at boot time.
2360 This requires that the kernel have been compiled with
2361 .Cd "options WATCHDOG" .
2366 any configured jails will not be started.
2369 A space separated list of names for jails.
2370 This is purely a configuration aid to help identify and
2371 configure multiple jails.
2372 The names specified in this list will be used to
2373 identify settings common to an instance of a jail.
2374 Assuming that the jail in question was named
2376 you would have the following dependant variables:
2378 jail_vjail_hostname="jail.example.com"
2379 jail_vjail_ip="192.168.1.100"
2380 jail_vjail_rootdir="/var/jails/vjail/root"
2381 jail_vjail_exec="/bin/sh /etc/rc"
2384 The last one is optional.
2388 .It Va jail_set_hostname_allow
2392 do not allow the root user in a jail to set its hostname.
2393 .It Va jail_socket_unixiproute_only
2397 do not allow any protocol,
2399 to be used within a jail.
2400 .It Va jail_sysvipc_allow
2404 allow applications within a jail to use System V IPC.
2405 .It Va unaligned_print
2409 unaligned access warnings will not be printed.
2411 .\" ----- isdn settings ---------------------------------
2422 at system boot time.
2426 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
2428 Additional flags to pass to
2434 for certain tunable parameters).
2440 The terminal type of the output device when
2442 operates in full-screen mode.
2443 .It Va isdn_screenflags
2448 The video mode for full-screen mode (only for
2458 The output device for
2460 in full-screen mode (or
2470 enables the ISDN protocol trace utility
2472 at system boot time.
2473 .It Va isdn_traceflags
2476 .Dq Fl f Pa /var/tmp/isdntrace0
2480 .\" -----------------------------------------------------
2481 .It Va harvest_interrupt
2485 to use hardware interrupts as an entropy source.
2488 for more information.
2489 .It Va harvest_ethernet
2493 to use LAN traffic as an entropy source.
2496 for more information.
2497 .It Va harvest_p_to_p
2501 to use serial line traffic as an entropy source.
2504 for more information.
2509 to disable caching entropy via
2511 Otherwise set to the directory used to store entropy files in.
2516 to disable caching entropy through reboots.
2517 Otherwise set to the filename used to store cached entropy through
2519 This file should be located on the root file system to seed the
2521 device as early as possible in the boot process.
2522 .It Va entropy_save_sz
2524 Size of the entropy cache files saved by
2527 .It Va entropy_save_num
2529 Number of entropy cache files to save by
2543 Configuration file for
2552 .Pa /var/run/dmesg.boot
2554 .It Va rcshutdown_timeout
2556 If set, start a watchdog timer in the background which will terminate
2560 has not completed within the specified time (in seconds).
2563 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
2564 .It Pa /etc/defaults/rc.conf
2566 .It Pa /etc/rc.conf.local
2629 .An Jordan K. Hubbard .