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.37 2007/06/02 10:26:47 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 installer.
45 is not to run commands or perform system startup actions
47 Instead, it is included by the
48 various generic startup scripts in
50 which conditionalize their
51 internal actions according to the settings found there.
55 file is included from the file
56 .Pa /etc/defaults/rc.conf ,
57 which specifies the default settings for all the available options.
58 Options need only be specified in
60 when the system administrator wishes to override these defaults.
62 .Pa /etc/rc.conf.local
63 is used to override settings in
65 for historical reasons.
70 The following list provides a name and short description for each
71 variable that can be set in the
74 .Bl -tag -width indent-two
79 enable output of debug messages from rc scripts.
80 This variable can be helpful in diagnosing mistakes when
81 editing or integrating new scripts.
82 Beware that this produces copious output to the terminal and
88 disable informational messages from the rc scripts.
89 Informational messages are displayed when
90 a condition that is not serious enough to warrant a warning or
96 no swapfile is installed, otherwise the value is used as the full
97 pathname to a file to use for additional swap space.
102 enable support for Automatic Power Management with
110 to handle APM event from userland.
111 This also enables support for APM.
118 these are the flags to pass to the
124 to monitor the status of batteries present in the system.
125 This also enables support for APM.
132 these are the flags to pass to the
135 .It Va pccard_ifconfig
137 List of arguments to be passed to
140 insertion of the card (e.g.\&
141 .Dq Cm inet Li 192.168.1.1 Cm netmask Li 255.255.255.0
142 for a fixed address or
145 .It Va pccard_ether_delay
147 Set the delay before starting
150 .Pa /etc/pccard_ether
152 This defaults to 5 seconds to work around a bug in the
154 driver which can lead to system hangs when using some newer
157 .It Va removable_interfaces
159 List of removable network interfaces to be supported by
160 .Pa /etc/pccard_ether .
163 List of directories to search for startup script files.
164 .It Va script_name_sep
166 The field separator to use for breaking down the list of startup script files
167 into individual filenames.
168 The default is a space.
169 It is not necessary to change this unless there are startup scripts with names
173 The fully qualified domain name (FQDN) of this host on the network.
174 This should almost certainly be set to something meaningful, even if
175 there is no network connection.
178 is used to set the hostname via DHCP,
179 this variable should be set to an empty string.
182 Enable support for IPv6 networking.
183 Note that this requires that the kernel have been compiled with
184 .Cd "options INET6" .
187 The NIS domain name of this host, or
190 .It Va dhclient_program
192 Path to the DHCP client program
193 .Pa ( /sbin/dhclient ,
196 .It Va dhclient_flags
198 Additional flags to pass to the DHCP client program.
199 For the ISC DHCP client, see the
201 manpage for a description of the command line options available.
202 .It Va background_dhclient
206 to start the DHCP client in background.
207 This can cause trouble with applications depending on
208 a working network, but it will provide a faster startup
217 .It Va dhcrelay_enable
223 .It Va firewall_enable
227 to load firewall rules at startup.
228 If the kernel was not built with
229 .Cd "options IPFIREWALL" ,
232 kernel module will be loaded.
234 .Va ipfilter_enable .
235 .It Va ipv6_firewall_enable
237 The IPv6 equivalent of
238 .Va firewall_enable .
241 to load IPv6 firewall rules at startup.
242 If the kernel was not built with
243 .Cd "options IPV6FIREWALL" ,
246 kernel module will be loaded.
247 .It Va firewall_script
249 This variable specifies the full path to the firewall script to run.
251 .Pa /etc/rc.firewall .
252 .It Va ipv6_firewall_script
254 The IPv6 equivalent of
255 .Va firewall_script .
258 Names the firewall type from the selection in
259 .Pa /etc/rc.firewall ,
260 or the file which contains the local firewall ruleset.
261 Valid selections from
265 .Bl -tag -width ".Li simple" -compact
267 unrestricted IP access
269 all IP services disabled, except via
272 basic protection for a workstation on a LAN
278 If a filename is specified, the full path
280 .It Va firewall_trusted_nets
282 List of trusted networks (if
286 .It Va firewall_trusted_interfaces
288 List of trusted network interfaces (if
292 .It Va firewall_allowed_icmp_types
294 List of allowed ICMP types (if
298 .It Va firewall_open_tcp_ports
300 List of TCP ports to open (if
304 .It Va firewall_open_udp_ports
306 List of UDP ports to open (if
310 .It Va ipv6_firewall_type
312 The IPv6 equivalent of
314 .It Va firewall_quiet
318 to disable the display of firewall rules on the console during boot.
319 .It Va ipv6_firewall_quiet
321 The IPv6 equivalent of
323 .It Va firewall_logging
327 to enable firewall event logging.
328 This is equivalent to the
329 .Dv IPFIREWALL_VERBOSE
331 .It Va ipv6_firewall_logging
333 The IPv6 equivalent of
334 .Va firewall_logging .
335 .It Va firewall_flags
341 specifies a filename.
342 .It Va ipv6_firewall_flags
344 The IPv6 equivalent of
361 sockets must be enabled in the kernel.
362 .It Va natd_interface
364 This is the name of the public interface on which
367 The interface may be given as an interface name or as an IP address.
372 flags should be placed here.
377 flag is automatically added with the above
380 .\" ----- ipfilter_enable setting --------------------------------
381 .It Va ipfilter_enable
392 Typical usage will require putting
394 ipfilter_enable="YES"
412 can be enabled independently.
416 both require at least one of
426 options IPFILTER_DEFAULT_BLOCK
429 in the kernel configuration file is a good idea, too.
430 .\" ----- ipfilter_program setting ------------------------------
431 .It Va ipfilter_program
437 .\" ----- ipfilter_rules setting --------------------------------
438 .It Va ipfilter_rules
443 This variable contains the name of the filter rule definition file.
444 The file is expected to be readable for the
447 .\" ----- ipv6_ipfilter_rules setting ---------------------------
448 .It Va ipv6_ipfilter_rules
453 This variable contains the IPv6 filter rule definition file.
454 The file is expected to be readable for the
457 .\" ----- ipfilter_flags setting --------------------------------
458 .It Va ipfilter_flags
461 This variable contains flags passed to the
464 .\" ----- ipnat_enable setting ----------------------------------
474 network address translation.
477 for a detailed discussion.
478 .\" ----- ipnat_program setting ---------------------------------
485 .\" ----- ipnat_rules setting -----------------------------------
491 This variable contains the name of the file
492 holding the network address translation definition.
493 This file is expected to be readable for the
496 .\" ----- ipnat_flags setting -----------------------------------
500 This variable contains flags passed to the
503 .\" ----- ipmon_enable setting ----------------------------------
518 Setting this variable needs setting
525 for a detailed discussion.
526 .\" ----- ipmon_program setting ---------------------------------
533 .\" ----- ipmon_flags setting -----------------------------------
539 This variable contains flags passed to the
542 Another typical example would be
543 .Dq Fl D Pa /var/log/ipflog
546 log directly to a file bypassing
549 .Pa /etc/newsyslog.conf
550 in such case like this:
552 /var/log/ipflog 640 10 100 * Z /var/run/ipmon.pid
554 .\" ----- ipfs_enable setting -----------------------------------
564 saving the filter and NAT state tables during shutdown
565 and reloading them during startup again.
566 Setting this variable needs setting
575 for a detailed discussion.
581 because the raised securelevel will prevent
583 from saving the state tables at shutdown time.
584 .\" ----- ipfs_program setting ----------------------------------
591 .\" ----- ipfs_flags setting ------------------------------------
595 This variable contains flags passed to the
598 .\" ----- end of added ipf hook ---------------------------------
599 .It Va tcp_extensions
606 disables certain TCP options as described by
612 might help remedy such problems with connections as randomly hanging
613 or other weird behavior.
614 Some network devices are known
615 to be broken with respect to these options.
622 .Va net.inet.tcp.log_in_vain
624 .Va net.inet.udp.log_in_vain ,
629 are set to the given value.
637 will disable probing idle TCP connections to verify that the
638 peer is still up and reachable.
639 .It Va tcp_drop_synfin
646 will cause the kernel to ignore TCP frames that have both
647 the SYN and FIN flags set.
648 This prevents OS fingerprinting, but may
649 break some legitimate applications.
650 This option is only available if the
651 kernel was built with the
654 .It Va icmp_drop_redirect
661 will cause the kernel to ignore ICMP REDIRECT packets.
664 for more information.
665 .It Va icmp_log_redirect
672 will cause the kernel to log ICMP REDIRECT packets.
674 the log messages are not rate-limited, so this option should only be used
675 for troubleshooting networks.
678 for more information.
679 .It Va icmp_bmcastecho
683 to respond to broadcast or multicast ICMP ping packets.
686 for more information.
687 .It Va ip_portrange_first
691 this is the first port in the default portrange.
694 for more information.
695 .It Va ip_portrange_last
699 this is the last port in the default portrange.
702 for more information.
703 .It Va network_interfaces
705 Set to the list of network interfaces to configure on this host.
706 For example, if the only network devices in the system are the loopback
715 .Va ifconfig_ Ns Aq Ar interface
716 variable is also assumed to exist for each value of
718 It is also possible to add IP alias entries here in cases where
719 multiple IP addresses registered against a single interface
721 Assuming that the interface in question was
726 ifconfig_ed0_alias0="inet 127.0.0.253 netmask 0xffffffff"
727 ifconfig_ed0_alias1="inet 127.0.0.254 netmask 0xffffffff"
732 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
734 its contents are passed to
736 Execution stops at the first unsuccessful access, so if
737 something like this is present:
739 ifconfig_ed0_alias0="inet 127.0.0.251 netmask 0xffffffff"
740 ifconfig_ed0_alias1="inet 127.0.0.252 netmask 0xffffffff"
741 ifconfig_ed0_alias2="inet 127.0.0.253 netmask 0xffffffff"
742 ifconfig_ed0_alias4="inet 127.0.0.254 netmask 0xffffffff"
745 Then note that alias4 would
747 be added since the search would
748 stop with the missing alias3 entry.
751 .Pa /etc/start_if. Ns Aq Ar interface
752 file is present, it is read and executed by the
755 before configuring the interface as specified in the
756 .Va ifconfig_ Ns Aq Ar interface
758 .Va ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n
761 It is possible to bring up an interface with DHCP by setting the
762 .Va ifconfig_ Ns Aq Ar interface
765 For instance, to initialize the
768 it is possible to use something like:
772 .It Va ipv6_network_interfaces
774 This is the IPv6 equivalent of
775 .Va network_interfaces .
776 Instead of setting the ifconfig variables as
777 .Va ifconfig_ Ns Aq Ar interface
778 they should be set as
779 .Va ipv6_ifconfig_ Ns Aq Ar interface .
780 Aliases should be set as
781 .Va ipv6_ifconfig_ Ns Ao Ar interface Ac Ns Va _alias Ns Aq Ar n .
782 .Va ipv6_prefix_ Ns Aq Ar interface
784 Interfaces that do not have a
785 .Va ipv6_ifconfig_ Ns Aq Ar interface
786 setting will be auto configured by
789 .Va ipv6_gateway_enable
792 Note that the IPv6 networking code does not support the
793 .Pa /etc/start_if. Ns Aq Ar interface
795 .It Va ipv6_default_interface
799 this is the default output interface for scoped addresses.
800 Now this works only for IPv6 link local multicast addresses.
801 .It Va cloned_interfaces
803 Set to the list of clonable network interfaces to create on this host.
805 .Va cloned_interfaces
806 are automatically appended to
807 .Va network_interfaces
809 .It Va gif_interfaces
813 tunnel interfaces to configure on this host.
815 .Va gifconfig_ Ns Aq Ar interface
816 variable is assumed to exist for each value of
818 The value of this variable is used to configure the link layer of the
819 tunnel according to the syntax of the
823 Additionally, this option ensures that each listed interface is created
828 before attempting to configure it.
829 .It Va sppp_interfaces
833 interfaces to configure on this host.
835 .Va spppconfig_ Ns Aq Ar interface
836 variable is assumed to exist for each value of
838 Each interface should also be configured by a general
839 .Va ifconfig_ Ns Aq Ar interface
843 for more information about available options.
853 Mode in which to run the
862 See the manual for a full description.
867 enables network address translation.
868 Used in conjunction with
870 allows hosts on private network addresses access to the Internet using
871 this host as a network address translating router.
874 The name of the profile to use from
875 .Pa /etc/ppp/ppp.conf .
878 The name of the user under which
888 This option is used to specify a list of files that will override
890 .Pa /etc/defaults/rc.conf .
891 The files will be read in the order in which they are specified and should
892 include the full path to the file.
893 By default, the files specified are
896 .Pa /etc/rc.conf.local
904 flag if the initial preen
905 of the file systems fails.
908 List of file system types that are network-based.
909 This list should generally not be modified by end users.
911 .Va extra_netfs_types
913 .It Va extra_netfs_types
915 If set to something other than
918 this variable extends the list of file system types
919 for which automatic mounting at startup by
921 should be delayed until the network is initialized.
923 a whitespace-separated list of network file system descriptor pairs,
924 each consisting of a file system type as passed to
926 and a human-readable, one-word description,
929 Extending the default list in this way is only necessary
930 when third party file system types are used.
931 .It Va syslogd_enable
938 .It Va syslogd_program
943 .Pa /usr/sbin/syslogd ) .
950 these are the flags to pass to
964 .Pa /usr/sbin/inetd ) .
971 these are the flags to pass to
977 use new functionality provided in the
979 script to facilitate a
983 This variable is experimental.
984 It may be removed or changed in the near future.
997 .Pa /usr/sbin/named ) .
1004 these are the flags to pass to
1006 .It Va named_pidfile
1008 This is the default path to the
1011 Change it if you change the location in
1012 .Pa /etc/namedb/named.conf .
1013 .It Va named_chrootdir
1015 The root directory for a name server run in a
1020 will not be run in a
1023 This variable has no effect if
1026 This variable is experimental.
1027 It may be removed or changed in the near future.
1028 .It Va named_chroot_autoupdate
1032 to disable automatic syncing of libraries and
1033 other system files between the root file system and the
1035 This variable has no effect if
1038 This variable is experimental.
1039 It may be removed or changed in the near future.
1040 .It Va named_symlink_enable
1044 to disable symlinking of
1050 environment in which
1053 This variable has no effect if
1056 This variable is experimental.
1057 It may be removed or changed in the near future.
1058 .It Va kerberos5_server_enable
1062 to start a Kerberos 5 authentication server
1064 .It Va kerberos5_server_program
1067 .Va kerberos5_server_enable
1070 this is the path to Kerberos 5 Authentication Server.
1071 .It Va kadmind5_server_enable
1077 the Kerberos 5 Administration Daemon; set to
1080 .It Va kadmind5_server_program
1083 .Va kadmind5_server_enable
1086 this is the path to Kerberos 5 Administration Daemon.
1087 .It Va kpasswdd_server_enable
1093 the Kerberos 5 Password-Changing Daemon; set to
1096 .It Va kpasswdd_server_program
1099 .Va kpasswdd_server_enable
1102 this is the path to Kerberos 5 Password-Changing Daemon.
1109 daemon at boot time.
1116 these are the flags to pass to it.
1123 daemon at boot time.
1130 these are the flags to pass to it.
1133 manpage for more information.
1134 .It Va amd_map_program
1137 the specified program is run to get the list of
1142 maps are stored in NIS, one can set this to
1155 will be updated at boot time to reflect the kernel release
1160 will not be updated.
1161 .It Va nfs_client_enable
1165 run the NFS client daemons at boot time.
1166 .It Va nfs_client_flags
1169 .Va nfs_client_enable
1172 these are the flags to pass to the
1175 .It Va nfs_access_cache
1178 .Va nfs_client_enable
1183 to disable NFS ACCESS RPC caching, or to the number of seconds for which
1185 results should be cached.
1186 A value of 2-10 seconds will substantially reduce network traffic for
1187 many NFS operations. The default is 5 seconds. Note that the attribute
1188 cache holds stat information only. The NFS data cache is independent
1189 of the attribute cache and is only invalidated when the client detects that
1190 the server has modified the underlying file. This value specifies a
1191 maximum timeout. The NFS client will automatically use a shorter timeout
1192 for files which have been recently modified.
1193 .It Va nfs_neg_cache
1196 .Va nfs_client_enable
1201 to disable the caching of NEGATIVE LOOKUPS (lookups of non-existent
1202 filenames), or to the number of seconds for which negative lookups should
1204 A value of 2-10 seconds will substantially reduce network
1205 traffic for many NFS operations, especially source code builds. The
1206 default is 3 seconds.
1207 .It Va nfs_server_enable
1211 run the NFS server daemons at boot time.
1212 .It Va nfs_server_flags
1215 .Va nfs_server_enable
1218 these are the flags to pass to the
1221 .It Va mountd_enable
1226 .Va nfs_server_enable
1232 It is commonly needed to run CFS without real NFS used.
1239 these are the flags to pass to the
1242 .It Va weak_mountd_authentication
1246 allow services like PCNFSD to make non-privileged mount
1248 .It Va nfs_reserved_port_only
1252 provide NFS services only on a secure port.
1253 .It Va nfs_bufpackets
1255 If set to a number, indicates the number of packets worth of
1256 socket buffer space to reserve on an NFS client.
1257 The kernel default is typically 4.
1258 Using a higher number may be
1259 useful on gigabit networks to improve performance.
1260 The minimum value is
1261 2 and the maximum is 64.
1262 .It Va rpc_umntall_enable
1266 (default) and we are also an NFS client, run
1268 at boot time to clear out old mounts on remote servers.
1273 will not be run at boot time.
1274 .It Va rpc_lockd_enable
1278 and also an NFS server, run
1281 .It Va rpc_statd_enable
1285 and also an NFS server, run
1288 .It Va rpcbind_program
1293 .Pa /usr/sbin/rpcbind ) .
1294 .It Va rpcbind_enable
1300 service at boot time.
1301 .It Va rpcbind_flags
1307 these are the flags to pass to the
1310 .It Va keyserv_enable
1316 daemon on boot for running Secure RPC.
1317 .It Va keyserv_flags
1323 these are the flags to pass to
1326 .It Va pppoed_enable
1332 daemon at boot time to provide PPP over Ethernet services.
1333 .It Va pppoed_provider
1336 listens to requests to this provider and ultimately runs
1340 argument of the same name.
1343 Additional flags to pass to
1345 .It Va pppoed_interface
1347 The network interface to run
1350 This is mandatory when
1360 service at boot time.
1361 This command is intended for networks of
1362 machines where a consistent
1364 for all hosts must be established.
1365 This is often useful in large NFS
1366 environments where time stamps on files are expected to be consistent
1374 these are the flags to pass to the
1383 command at boot time.
1389 .Pa /usr/sbin/ntpd ) .
1396 these are the flags to pass to the
1400 by default which sets the time immediately at startup if the
1401 local clock is off by more than 180 seconds. To prevent
1403 from doing this, set
1413 at system boot time.
1414 .It Va dntpd_program
1419 .Pa /usr/sbin/dntpd ) .
1426 these are the flags to pass to the
1429 .It Va nis_client_enable
1435 service at system boot time.
1436 .It Va nis_client_flags
1439 .Va nis_client_enable
1442 these are the flags to pass to the
1445 .It Va nis_ypset_enable
1451 daemon at system boot time.
1452 .It Va nis_ypset_flags
1455 .Va nis_ypset_enable
1458 these are the flags to pass to the
1461 .It Va nis_server_enable
1467 daemon at system boot time.
1468 .It Va nis_server_flags
1471 .Va nis_server_enable
1474 these are the flags to pass to the
1477 .It Va nis_ypxfrd_enable
1483 daemon at system boot time.
1484 .It Va nis_ypxfrd_flags
1487 .Va nis_ypxfrd_enable
1490 these are the flags to pass to the
1493 .It Va nis_yppasswdd_enable
1499 daemon at system boot time.
1500 .It Va nis_yppasswdd_flags
1503 .Va nis_yppasswdd_enable
1506 these are the flags to pass to the
1509 .It Va rpc_ypupdated_enable
1515 daemon at system boot time.
1516 .It Va defaultrouter
1520 create a default route to this host name or IP address
1521 (use an IP address if this router is also required to get to the
1523 .It Va ipv6_defaultrouter
1525 The IPv6 equivalent of
1527 .It Va static_routes
1529 Set to the list of static routes that are to be added at system
1533 then for each whitespace separated
1536 .Va route_ Ns Aq Ar element
1537 variable is assumed to exist
1538 whose contents will later be passed to a
1541 .It Va ipv6_static_routes
1543 The IPv6 equivalent of
1547 then for each whitespace separated
1550 .Va ipv6_route_ Ns Aq Ar element
1551 variable is assumed to exist
1552 whose contents will later be passed to a
1553 .Dq Nm route Cm add Fl inet6
1555 .It Va gateway_enable
1559 configure host to act as an IP router, e.g. to forward packets
1561 .It Va ipv6_gateway_enable
1563 The IPv6 equivalent of
1564 .Va gateway_enable .
1565 .It Va router_enable
1569 run a routing daemon of some sort, based on the
1574 .It Va ipv6_router_enable
1576 The IPv6 equivalent of
1580 run a routing daemon of some sort, based on the
1582 .Va ipv6_router_program
1584 .Va ipv6_router_flags .
1585 .It Va router_program
1591 this is the name of the routing daemon to use.
1592 .It Va ipv6_router_program
1594 The IPv6 equivalent of
1595 .Va router_program .
1602 these are the flags to pass to the routing daemon.
1603 .It Va ipv6_router_flags
1605 The IPv6 equivalent of
1607 .It Va mrouted_enable
1611 run the multicast routing daemon,
1613 .It Va mroute6d_enable
1615 The IPv6 equivalent of
1616 .Va mrouted_enable .
1619 run the IPv6 multicast routing daemon.
1620 Note that no IPv6 multicast routing daemon is included in the
1624 can be installed from the
1627 .It Va mrouted_flags
1633 these are the flags to pass to the
1636 .It Va mroute6d_flags
1638 The IPv6 equivalent of
1644 these are the flags passed to the IPv6 multicast routing daemon.
1645 .It Va mroute6d_program
1651 this is the path to the IPv6 multicast routing daemon.
1652 .It Va rtadvd_enable
1658 daemon at boot time.
1661 .Va ipv6_gateway_enable
1666 utility sends router advertisement packets to the interfaces specified in
1667 .Va rtadvd_interfaces .
1669 and should only be enabled with great care.
1670 You may want to fine-tune
1672 .It Va rtadvd_interfaces
1678 this is the list of interfaces to use.
1679 .It Va ipxgateway_enable
1683 enable the routing of IPX traffic.
1684 .It Va ipxrouted_enable
1690 daemon at system boot time.
1691 .It Va ipxrouted_flags
1694 .Va ipxrouted_enable
1697 these are the flags to pass to the
1704 enable global proxy ARP.
1705 .It Va forward_sourceroute
1713 source-routed packets are forwarded.
1714 .It Va accept_sourceroute
1718 the system will accept source-routed packets directed at it.
1725 daemon at system boot time.
1732 these are the flags to pass to the
1735 .It Va bootparamd_enable
1741 daemon at system boot time.
1742 .It Va bootparamd_flags
1745 .Va bootparamd_enable
1748 these are the flags to pass to the
1751 .It Va stf_interface_ipv4addr
1755 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
1757 Specify this entry to enable the 6to4 interface.
1758 .It Va stf_interface_ipv4plen
1760 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
1761 An effective value is 0-31.
1762 .It Va stf_interface_ipv6_ifid
1764 IPv6 interface ID for
1768 .It Va stf_interface_ipv6_slaid
1770 IPv6 Site Level Aggregator for
1772 .It Va ipv6_faith_prefix
1776 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
1781 .It Va ipv6_ipv4mapping
1785 this enables IPv4 mapped IPv6 address communication (like
1786 .Li ::ffff:a.b.c.d ) .
1791 to enable the configuration of ATM interfaces at system boot time.
1792 For all of the ATM variables described below, please refer to the
1794 man page for further details on the available command parameters.
1795 Also refer to the files in
1796 .Pa /usr/share/examples/atm
1797 for more detailed configuration information.
1800 This is a list of physical ATM interface drivers to load. Typical values are
1804 .It Va atm_netif_ Ns Aq Ar intf
1806 For the ATM physical interface
1808 this variable defines the name prefix and count for the ATM network
1809 interfaces to be created.
1810 The value will be passed as the parameters of an
1811 .Dq Nm atm Cm "set netif" Ar intf
1813 .It Va atm_sigmgr_ Ns Aq Ar intf
1815 For the ATM physical interface
1817 this variable defines the ATM signalling manager to be used.
1818 The value will be passed as the parameters of an
1819 .Dq Nm atm Cm attach Ar intf
1821 .It Va atm_prefix_ Ns Aq Ar intf
1823 For the ATM physical interface
1825 this variable defines the NSAP prefix for interfaces using a UNI signalling
1829 the prefix will automatically be set via the
1832 Otherwise, the value will be passed as the parameters of an
1833 .Dq Nm atm Cm "set prefix" Ar intf
1835 .It Va atm_macaddr_ Ns Aq Ar intf
1837 For the ATM physical interface
1839 this variable defines the MAC address for interfaces using a UNI signalling
1843 the hardware MAC address contained in the ATM interface card will be used.
1844 Otherwise, the value will be passed as the parameters of an
1845 .Dq Nm atm Cm "set mac" Ar intf
1847 .It Va atm_arpserver_ Ns Aq Ar netif
1849 For the ATM network interface
1851 this variable defines the ATM address for a host which is to provide ATMARP
1853 This variable is only applicable to interfaces using a UNI signalling
1857 this host will become an ATMARP server.
1858 The value will be passed as the parameters of an
1859 .Dq Nm atm Cm "set arpserver" Ar netif
1861 .It Va atm_scsparp_ Ns Aq Ar netif
1865 SCSP/ATMARP service for the network interface
1867 will be initiated using the
1872 This variable is only applicable if
1873 .Va atm_arpserver_ Ns Aq Ar netif
1878 Set to the list of ATM PVCs to be added at system
1880 For each whitespace separated
1883 .Va atm_pvc_ Ns Aq Ar element
1884 variable is assumed to exist.
1885 The value of each of these variables
1886 will be passed as the parameters of an
1887 .Dq Nm atm Cm "add pvc"
1891 Set to the list of permanent ATM ARP entries to be added
1892 at system boot time.
1893 For each whitespace separated
1896 .Va atm_arp_ Ns Aq Ar element
1897 variable is assumed to exist.
1898 The value of each of these variables
1899 will be passed as the parameters of an
1900 .Dq Nm atm Cm "add arp"
1902 .It Va natm_interfaces
1906 interfaces that will also be used for HARP through
1908 If this list is not empty all interfaces in the list will be brought up
1914 For this to work the interface drivers must be either compiled into the
1915 kernel or must reside on the root partition.
1918 The keyboard bell sound.
1925 if the default behavior is desired.
1926 For details, refer to the
1933 no keymap is installed, otherwise the value is used to install
1935 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
1938 The keyboard repeat speed.
1945 if the default behavior is desired.
1950 attempt to program the function keys with the value.
1952 be a single string of the form:
1953 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
1956 Can be set to the value of
1959 .Dq Li destructive ,
1962 to set the cursor behavior explicitly or choose the default behavior.
1967 no screen map is installed, otherwise the value is used to install
1968 the screen map file in
1969 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
1974 the default 8x16 font value is used for screen size requests, otherwise
1976 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1982 the default 8x14 font value is used for screen size requests, otherwise
1984 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1990 the default 8x8 font value is used for screen size requests, otherwise
1992 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1998 the default screen blanking interval is used, otherwise it is set
2006 this is the actual screen saver to use
2007 .Li ( blank , snake , daemon ,
2009 .It Va moused_enable
2015 daemon is started for doing cut/paste selection on the console.
2018 This is the protocol type of the mouse connected to this host.
2019 This variable must be set if
2026 is able to detect the appropriate mouse type automatically in many cases.
2027 Set this variable to
2029 to let the daemon detect it, or
2030 select one from the following list if the automatic detection fails.
2032 If the mouse is attached to the PS/2 mouse port, choose
2036 regardless of the brand and model of the mouse.
2038 mouse is attached to the bus mouse port, choose
2042 All other protocols are for serial mice and will not work with
2043 the PS/2 and bus mice.
2044 If this is a USB mouse,
2046 is the only protocol type which will work.
2048 .Bl -tag -width ".Li x10mouseremote" -compact
2050 Microsoft mouse (serial)
2052 Microsoft IntelliMouse (serial)
2054 Mouse systems Corp. mouse (serial)
2056 MM Series mouse (serial)
2058 Logitech mouse (serial)
2062 Logitech MouseMan and TrackMan (serial)
2064 ALPS GlidePoint (serial)
2065 .It Li thinkingmouse
2066 Kensington ThinkingMouse (serial)
2070 MM HitTablet (serial)
2071 .It Li x10mouseremote
2072 X10 MouseRemote (serial)
2074 Interlink VersaPad (serial)
2077 Even if the mouse is not in the above list, it may be compatible
2078 with one in the list.
2079 Refer to the man page for
2081 for compatibility information.
2083 It should also be noted that while this is enabled, any
2084 other client of the mouse (such as an X server) should access
2085 the mouse through the virtual mouse device,
2087 and configure it as a
2089 type mouse, since all
2090 mouse data is converted to this single canonical format when
2093 If the client program does not support the
2099 It is the second preferred type.
2106 this is the actual port the mouse is on.
2109 for a COM1 serial mouse,
2113 for a bus mouse, for example.
2118 is set, these are the additional flags to pass to the
2121 .It Va mousechar_start
2125 the default mouse cursor character range
2126 .Li 0xd0 Ns - Ns Li 0xd3
2128 otherwise the range start is set
2133 Use if the default range is occupied in the language code table.
2136 Set the size of the history (scrollback) buffer in lines.
2137 .It Va allscreens_flags
2141 is run with these options for each of the virtual terminals
2145 will enable the mouse pointer on all virtual terminals
2150 .It Va allscreens_kbdflags
2154 is run with these options for each of the virtual terminals
2160 scrollback (history) buffer to 200 lines.
2167 daemon at system boot time.
2173 .Pa /usr/sbin/cron ) .
2180 these are the flags to pass to
2187 .Pa /usr/sbin/lpd ) .
2194 daemon at system boot time.
2201 these are the flags to pass to the
2210 settings across reboots.
2211 .It Va mta_start_script
2213 This variable specifies the full path to the script to run to start
2214 a mail transfer agent.
2216 .Pa /etc/rc.sendmail .
2220 .Pa /etc/rc.sendmail
2221 uses are documented in the
2226 Indicates the device (usually a swap partition) to which a crash dump
2227 should be written in the event of a system crash.
2228 The value of this variable is passed as the argument to
2230 To disable crash dumps, set this variable to
2234 When the system reboots after a crash and a crash dump is found on the
2235 device specified by the
2239 will save that crash dump and a copy of the kernel to the directory
2243 The default value is
2252 .It Va savecore_flags
2254 If crash dumps are enabled, these are the flags to pass to the
2257 .It Va enable_quotas
2261 to turn on user disk quotas on system startup via the
2268 to enable user disk quota checking via the
2271 .It Va accounting_enable
2275 to enable system accounting through the
2282 to enable Linux/ELF binary emulation at system initial
2284 .It Va sysvipc_enable
2288 load System V IPC primitives at boot time.
2289 .\" ----- cleanvar_enable setting--------------------------------
2290 .It Va cleanvar_enable
2298 .Pa /var/spool/uucp/.Temp/*
2300 .\" ----- clear_tmp_enable setting-------------------------------
2301 .It Va clear_tmp_enable
2308 .\" ----- ldconfig_paths setting --------------------------------
2309 .It Va ldconfig_paths
2311 Set to the list of shared library paths to use with
2315 will always be added first, so it need not appear in this list.
2316 .It Va ldconfig_insecure
2320 utility normally refuses to use directories
2321 which are writable by anyone except root.
2322 Set this variable to
2324 to disable that security check during system startup.
2325 .It Va kern_securelevel
2327 The kernel security level to set at startup.
2328 The allowed range of
2330 ranges from \-1 (the compile time default) to 3 (the
2334 for the list of possible security levels and their effect
2335 on system operation.
2340 to enable Low Watermark Mandatory Access Control (LOMAC) at boot time.
2341 This security model enforces integrity constraints for system processes;
2344 for a complete description of the LOMAC model, as well as its impact
2345 on system operation.
2352 at system boot time.
2359 at system boot time.
2362 Path to the SSH server program
2363 .Pa ( /usr/sbin/sshd
2371 these are the flags to pass to the
2380 at system boot time.
2387 these are the flags to pass to the
2396 daemon at boot time.
2403 these are the flags passed to
2406 .It Va watchdogd_enable
2412 daemon at boot time.
2413 This requires that the kernel have been compiled with
2414 .Cd "options WATCHDOG" .
2419 any configured jails will not be started.
2422 A space separated list of names for jails.
2423 This is purely a configuration aid to help identify and
2424 configure multiple jails.
2425 The names specified in this list will be used to
2426 identify settings common to an instance of a jail.
2427 Assuming that the jail in question was named
2429 you would have the following dependent variables:
2431 jail_vjail_hostname="jail.example.com"
2432 jail_vjail_ip="192.168.1.100"
2433 jail_vjail_rootdir="/var/jails/vjail/root"
2434 jail_vjail_exec="/bin/sh /etc/rc"
2437 The last one is optional.
2441 .It Va jail_set_hostname_allow
2445 do not allow the root user in a jail to set its hostname.
2446 .It Va jail_socket_unixiproute_only
2450 do not allow any protocol,
2452 to be used within a jail.
2453 .It Va jail_sysvipc_allow
2457 allow applications within a jail to use System V IPC.
2458 .It Va resident_enable
2462 make the dynamic binaries listed in
2463 .Pa /etc/resident.conf
2465 .It Va varsym_enable
2470 .Pa /etc/varsym.conf
2471 to set system-wide variables for variant symlinks.
2476 or a whitespace separated list of IRQ numbers which will be used as a source of
2478 .\" ----- isdn settings ---------------------------------
2489 at system boot time.
2493 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
2495 Additional flags to pass to
2501 for certain tunable parameters).
2507 The terminal type of the output device when
2509 operates in full-screen mode.
2510 .It Va isdn_screenflags
2515 The video mode for full-screen mode (only for
2525 The output device for
2527 in full-screen mode (or
2537 enables the ISDN protocol trace utility
2539 at system boot time.
2540 .It Va isdn_traceflags
2543 .Dq Fl f Pa /var/tmp/isdntrace0
2547 .\" -----------------------------------------------------
2552 to disable caching entropy via
2554 Otherwise set to the directory used to store entropy files in.
2559 to disable caching entropy through reboots.
2560 Otherwise set to the filename used to store cached entropy through
2562 This file should be located on the root file system to seed the
2564 device as early as possible in the boot process.
2565 .It Va entropy_save_sz
2567 Size of the entropy cache files saved by
2570 .It Va entropy_save_num
2572 Number of entropy cache files to save by
2586 Configuration file for
2595 .Pa /var/run/dmesg.boot
2597 .It Va rcshutdown_timeout
2599 If set, start a watchdog timer in the background which will terminate
2603 has not completed within the specified time (in seconds).
2606 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
2607 .It Pa /etc/defaults/rc.conf
2609 .It Pa /etc/rc.conf.local
2624 .Xr resident.conf 5 ,
2682 .An Jordan K. Hubbard .