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.7 2005/01/11 19:14:58 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
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
1338 command at boot time.
1344 .Pa /usr/sbin/ntpd ) .
1351 these are the flags to pass to the
1354 .It Va nis_client_enable
1360 service at system boot time.
1361 .It Va nis_client_flags
1364 .Va nis_client_enable
1367 these are the flags to pass to the
1370 .It Va nis_ypset_enable
1376 daemon at system boot time.
1377 .It Va nis_ypset_flags
1380 .Va nis_ypset_enable
1383 these are the flags to pass to the
1386 .It Va nis_server_enable
1392 daemon at system boot time.
1393 .It Va nis_server_flags
1396 .Va nis_server_enable
1399 these are the flags to pass to the
1402 .It Va nis_ypxfrd_enable
1408 daemon at system boot time.
1409 .It Va nis_ypxfrd_flags
1412 .Va nis_ypxfrd_enable
1415 these are the flags to pass to the
1418 .It Va nis_yppasswdd_enable
1424 daemon at system boot time.
1425 .It Va nis_yppasswdd_flags
1428 .Va nis_yppasswdd_enable
1431 these are the flags to pass to the
1434 .It Va rpc_ypupdated_enable
1440 daemon at system boot time.
1441 .It Va defaultrouter
1445 create a default route to this host name or IP address
1446 (use an IP address if this router is also required to get to the
1448 .It Va ipv6_defaultrouter
1450 The IPv6 equivalent of
1452 .It Va static_routes
1454 Set to the list of static routes that are to be added at system
1458 then for each whitespace separated
1461 .Va route_ Ns Aq Ar element
1462 variable is assumed to exist
1463 whose contents will later be passed to a
1466 .It Va ipv6_static_routes
1468 The IPv6 equivalent of
1472 then for each whitespace separated
1475 .Va ipv6_route_ Ns Aq Ar element
1476 variable is assumed to exist
1477 whose contents will later be passed to a
1478 .Dq Nm route Cm add Fl inet6
1480 .It Va gateway_enable
1484 configure host to act as an IP router, e.g. to forward packets
1486 .It Va ipv6_gateway_enable
1488 The IPv6 equivalent of
1489 .Va gateway_enable .
1490 .It Va router_enable
1494 run a routing daemon of some sort, based on the
1499 .It Va ipv6_router_enable
1501 The IPv6 equivalent of
1505 run a routing daemon of some sort, based on the
1509 .Va ipv6_router_flags .
1516 this is the name of the routing daemon to use.
1519 The IPv6 equivalent of
1527 these are the flags to pass to the routing daemon.
1528 .It Va ipv6_router_flags
1530 The IPv6 equivalent of
1532 .It Va mrouted_enable
1536 run the multicast routing daemon,
1538 .It Va mroute6d_enable
1540 The IPv6 equivalent of
1541 .Va mrouted_enable .
1544 run the IPv6 multicast routing daemon.
1545 Note that no IPv6 multicast routing daemon is included in the
1549 can be installed from the
1552 .It Va mrouted_flags
1558 these are the flags to pass to the
1561 .It Va mroute6d_flags
1563 The IPv6 equivalent of
1569 these are the flags passed to the IPv6 multicast routing daemon.
1570 .It Va mroute6d_program
1576 this is the path to the IPv6 multicast routing daemon.
1577 .It Va rtadvd_enable
1583 daemon at boot time.
1586 .Va ipv6_gateway_enable
1591 utility sends router advertisement packets to the interfaces specified in
1592 .Va rtadvd_interfaces .
1594 and should only be enabled with great care.
1595 You may want to fine-tune
1597 .It Va rtadvd_interfaces
1603 this is the list of interfaces to use.
1604 .It Va ipxgateway_enable
1608 enable the routing of IPX traffic.
1609 .It Va ipxrouted_enable
1615 daemon at system boot time.
1616 .It Va ipxrouted_flags
1619 .Va ipxrouted_enable
1622 these are the flags to pass to the
1629 enable global proxy ARP.
1630 .It Va forward_sourceroute
1638 source-routed packets are forwarded.
1639 .It Va accept_sourceroute
1643 the system will accept source-routed packets directed at it.
1650 daemon at system boot time.
1657 these are the flags to pass to the
1660 .It Va bootparamd_enable
1666 daemon at system boot time.
1667 .It Va bootparamd_flags
1670 .Va bootparamd_enable
1673 these are the flags to pass to the
1676 .It Va stf_interface_ipv4addr
1680 this is the local IPv4 address for 6to4 (IPv6 over IPv4 tunneling
1682 Specify this entry to enable the 6to4 interface.
1683 .It Va stf_interface_ipv4plen
1685 Prefix length for 6to4 IPv4 addresses, to limit peer address range.
1686 An effective value is 0-31.
1687 .It Va stf_interface_ipv6_ifid
1689 IPv6 interface ID for
1693 .It Va stf_interface_ipv6_slaid
1695 IPv6 Site Level Aggregator for
1697 .It Va ipv6_faith_prefix
1701 this is the faith prefix to enable a FAITH IPv6-to-IPv4 TCP
1706 .It Va ipv6_ipv4mapping
1710 this enables IPv4 mapped IPv6 address communication (like
1711 .Li ::ffff:a.b.c.d ) .
1716 to enable the configuration of ATM interfaces at system boot time.
1717 For all of the ATM variables described below, please refer to the
1719 man page for further details on the available command parameters.
1720 Also refer to the files in
1721 .Pa /usr/share/examples/atm
1722 for more detailed configuration information.
1725 This is a list of physical ATM interface drivers to load. Typical values are
1729 .It Va atm_netif_ Ns Aq Ar intf
1731 For the ATM physical interface
1733 this variable defines the name prefix and count for the ATM network
1734 interfaces to be created.
1735 The value will be passed as the parameters of an
1736 .Dq Nm atm Cm "set netif" Ar intf
1738 .It Va atm_sigmgr_ Ns Aq Ar intf
1740 For the ATM physical interface
1742 this variable defines the ATM signalling manager to be used.
1743 The value will be passed as the parameters of an
1744 .Dq Nm atm Cm attach Ar intf
1746 .It Va atm_prefix_ Ns Aq Ar intf
1748 For the ATM physical interface
1750 this variable defines the NSAP prefix for interfaces using a UNI signalling
1754 the prefix will automatically be set via the
1757 Otherwise, the value will be passed as the parameters of an
1758 .Dq Nm atm Cm "set prefix" Ar intf
1760 .It Va atm_macaddr_ Ns Aq Ar intf
1762 For the ATM physical interface
1764 this variable defines the MAC address for interfaces using a UNI signalling
1768 the hardware MAC address contained in the ATM interface card will be used.
1769 Otherwise, the value will be passed as the parameters of an
1770 .Dq Nm atm Cm "set mac" Ar intf
1772 .It Va atm_arpserver_ Ns Aq Ar netif
1774 For the ATM network interface
1776 this variable defines the ATM address for a host which is to provide ATMARP
1778 This variable is only applicable to interfaces using a UNI signalling
1782 this host will become an ATMARP server.
1783 The value will be passed as the parameters of an
1784 .Dq Nm atm Cm "set arpserver" Ar netif
1786 .It Va atm_scsparp_ Ns Aq Ar netif
1790 SCSP/ATMARP service for the network interface
1792 will be initiated using the
1797 This variable is only applicable if
1798 .Va atm_arpserver_ Ns Aq Ar netif
1803 Set to the list of ATM PVCs to be added at system
1805 For each whitespace separated
1808 .Va atm_pvc_ Ns Aq Ar element
1809 variable is assumed to exist.
1810 The value of each of these variables
1811 will be passed as the parameters of an
1812 .Dq Nm atm Cm "add pvc"
1816 Set to the list of permanent ATM ARP entries to be added
1817 at system boot time.
1818 For each whitespace separated
1821 .Va atm_arp_ Ns Aq Ar element
1822 variable is assumed to exist.
1823 The value of each of these variables
1824 will be passed as the parameters of an
1825 .Dq Nm atm Cm "add arp"
1827 .It Va natm_interfaces
1831 interfaces that will also be used for HARP through
1833 If this list is not empty all interfaces in the list will be brought up
1839 For this to work the interface drivers must be either compiled into the
1840 kernel or must reside on the root partition.
1843 The keyboard bell sound.
1850 if the default behavior is desired.
1851 For details, refer to the
1858 no keymap is installed, otherwise the value is used to install
1860 .Pa /usr/share/syscons/keymaps/ Ns Ao Ar value Ac Ns Pa .kbd .
1863 The keyboard repeat speed.
1870 if the default behavior is desired.
1875 attempt to program the function keys with the value.
1877 be a single string of the form:
1878 .Dq Ar funkey_number new_value Op Ar funkey_number new_value ... .
1881 Can be set to the value of
1884 .Dq Li destructive ,
1887 to set the cursor behavior explicitly or choose the default behavior.
1892 no screen map is installed, otherwise the value is used to install
1893 the screen map file in
1894 .Pa /usr/share/syscons/scrnmaps/ Ns Aq Ar value .
1899 the default 8x16 font value is used for screen size requests, otherwise
1901 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1907 the default 8x14 font value is used for screen size requests, otherwise
1909 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1915 the default 8x8 font value is used for screen size requests, otherwise
1917 .Pa /usr/share/syscons/fonts/ Ns Aq Ar value
1923 the default screen blanking interval is used, otherwise it is set
1931 this is the actual screen saver to use
1932 .Li ( blank , snake , daemon ,
1934 .It Va moused_enable
1940 daemon is started for doing cut/paste selection on the console.
1943 This is the protocol type of the mouse connected to this host.
1944 This variable must be set if
1951 is able to detect the appropriate mouse type automatically in many cases.
1952 Set this variable to
1954 to let the daemon detect it, or
1955 select one from the following list if the automatic detection fails.
1957 If the mouse is attached to the PS/2 mouse port, choose
1961 regardless of the brand and model of the mouse.
1963 mouse is attached to the bus mouse port, choose
1967 All other protocols are for serial mice and will not work with
1968 the PS/2 and bus mice.
1969 If this is a USB mouse,
1971 is the only protocol type which will work.
1973 .Bl -tag -width ".Li x10mouseremote" -compact
1975 Microsoft mouse (serial)
1977 Microsoft IntelliMouse (serial)
1979 Mouse systems Corp. mouse (serial)
1981 MM Series mouse (serial)
1983 Logitech mouse (serial)
1987 Logitech MouseMan and TrackMan (serial)
1989 ALPS GlidePoint (serial)
1990 .It Li thinkingmouse
1991 Kensington ThinkingMouse (serial)
1995 MM HitTablet (serial)
1996 .It Li x10mouseremote
1997 X10 MouseRemote (serial)
1999 Interlink VersaPad (serial)
2002 Even if the mouse is not in the above list, it may be compatible
2003 with one in the list.
2004 Refer to the man page for
2006 for compatibility information.
2008 It should also be noted that while this is enabled, any
2009 other client of the mouse (such as an X server) should access
2010 the mouse through the virtual mouse device,
2012 and configure it as a
2014 type mouse, since all
2015 mouse data is converted to this single canonical format when
2018 If the client program does not support the
2024 It is the second preferred type.
2031 this is the actual port the mouse is on.
2034 for a COM1 serial mouse,
2038 for a bus mouse, for example.
2043 is set, these are the additional flags to pass to the
2046 .It Va mousechar_start
2050 the default mouse cursor character range
2051 .Li 0xd0 Ns - Ns Li 0xd3
2053 otherwise the range start is set
2058 Use if the default range is occupied in the language code table.
2059 .It Va allscreens_flags
2063 is run with these options for each of the virtual terminals
2067 will enable the mouse pointer on all virtual terminals
2072 .It Va allscreens_kbdflags
2076 is run with these options for each of the virtual terminals
2082 scrollback (history) buffer to 200 lines.
2089 daemon at system boot time.
2095 .Pa /usr/sbin/cron ) .
2102 these are the flags to pass to
2109 .Pa /usr/sbin/lpd ) .
2116 daemon at system boot time.
2123 these are the flags to pass to the
2126 .It Va mta_start_script
2128 This variable specifies the full path to the script to run to start
2129 a mail transfer agent.
2131 .Pa /etc/rc.sendmail .
2135 .Pa /etc/rc.sendmail
2136 uses are documented in the
2141 Indicates the device (usually a swap partition) to which a crash dump
2142 should be written in the event of a system crash.
2143 The value of this variable is passed as the argument to
2145 To disable crash dumps, set this variable to
2149 When the system reboots after a crash and a crash dump is found on the
2150 device specified by the
2154 will save that crash dump and a copy of the kernel to the directory
2158 The default value is
2167 .It Va savecore_flags
2169 If crash dumps are enabled, these are the flags to pass to the
2172 .It Va enable_quotas
2176 to turn on user disk quotas on system startup via the
2183 to enable user disk quota checking via the
2186 .It Va accounting_enable
2190 to enable system accounting through the
2197 to enable iBCS2 (SCO) binary emulation at system initial boot
2199 .It Va ibcs2_loaders
2207 this specifies a list of additional iBCS2 loaders to enable.
2212 to enable Linux/ELF binary emulation at system initial
2218 to enable OSF/1 (Digital UNIX) binary emulation at system
2225 enable SysVR4 emulation at boot time.
2226 .It Va sysvipc_enable
2230 load System V IPC primitives at boot time.
2231 .It Va clear_tmp_enable
2238 .It Va ldconfig_paths
2240 Set to the list of shared library paths to use with
2244 will always be added first, so it need not appear in this list.
2245 .It Va ldconfig_paths_aout
2247 Set to the list of shared library paths to use with
2252 .It Va ldconfig_insecure
2256 utility normally refuses to use directories
2257 which are writable by anyone except root.
2258 Set this variable to
2260 to disable that security check during system startup.
2261 .It Va kern_securelevel_enable
2265 to set the kernel security level at system startup.
2266 .It Va kern_securelevel
2268 The kernel security level to set at startup.
2269 The allowed range of
2271 ranges from \-1 (the compile time default) to 3 (the
2275 for the list of possible security levels and their effect
2276 on system operation.
2281 to enable Low Watermark Mandatory Access Control (LOMAC) at boot time.
2282 This security model enforces integrity constraints for system processes;
2285 for a complete description of the LOMAC model, as well as its impact
2286 on system operation.
2293 at system boot time.
2296 Path to the SSH server program
2297 .Pa ( /usr/sbin/sshd
2305 at system boot time.
2312 these are the flags to pass to the
2321 daemon at boot time.
2328 these are the flags passed to
2331 .It Va watchdogd_enable
2337 daemon at boot time.
2338 This requires that the kernel have been compiled with
2339 .Cd "options WATCHDOG" .
2344 any configured jails will not be started.
2347 A space separated list of names for jails.
2348 This is purely a configuration aid to help identify and
2349 configure multiple jails.
2350 The names specified in this list will be used to
2351 identify settings common to an instance of a jail.
2352 Assuming that the jail in question was named
2354 you would have the following dependant variables:
2356 jail_vjail_hostname="jail.example.com"
2357 jail_vjail_ip="192.168.1.100"
2358 jail_vjail_rootdir="/var/jails/vjail/root"
2359 jail_vjail_exec="/bin/sh /etc/rc"
2362 The last one is optional.
2366 .It Va jail_set_hostname_allow
2370 do not allow the root user in a jail to set its hostname.
2371 .It Va jail_socket_unixiproute_only
2375 do not allow any protocol,
2377 to be used within a jail.
2378 .It Va jail_sysvipc_allow
2382 allow applications within a jail to use System V IPC.
2383 .It Va unaligned_print
2387 unaligned access warnings will not be printed.
2389 .\" ----- isdn settings ---------------------------------
2400 at system boot time.
2404 .Dq Fl d Ns Cm n Fl d Ns Li 0x1f9
2406 Additional flags to pass to
2412 for certain tunable parameters).
2418 The terminal type of the output device when
2420 operates in full-screen mode.
2421 .It Va isdn_screenflags
2426 The video mode for full-screen mode (only for
2436 The output device for
2438 in full-screen mode (or
2448 enables the ISDN protocol trace utility
2450 at system boot time.
2451 .It Va isdn_traceflags
2454 .Dq Fl f Pa /var/tmp/isdntrace0
2458 .\" -----------------------------------------------------
2466 verbose messages about the actions done by the start script are displayed.
2470 driver must be compiled into the kernel before the
2473 options described here take any effect.
2479 Use this to configure a national keyboard mapping found in the
2480 .Pa /usr/share/misc/keycap.pcvt
2481 file of keyboard mappings.
2482 (See also the manual pages
2488 keycap database and the manual page
2492 for national keyboard mapping configuration.)
2498 Used to set the keyboard key repeat delay value.
2500 in the range 0..3 for delay values of 250, 500, 750 and 1000 msec.
2509 Used to set the keyboard key repetition rate value.
2511 in the range 0..31 for repetition values of 2..30 characters per second.
2512 .It Va pcvt_keyrepeat
2519 to enable automatic keyboard key repeating.
2529 to use 24 lines only (in 25 lines mode) for compatibility
2540 to enable the display and functionality of function key labels (as found
2543 terminals such as the
2554 by default resulting in a value of 25.
2555 Used to set the number of lines on the screen.
2556 For VGA displays, valid
2557 values are 25, 28, 40 and 50 lines.
2561 .It Va pcvt_blanktime
2566 Used to set the screen saver timeout in seconds for values greater than
2573 Used to set the cursor top scanline.
2582 Used to set the cursor bottom scanline.
2583 .It Va pcvt_monohigh
2590 to set intensity to high on monochrome monitors.
2595 for more information on changing VGA palette
2597 .It Va harvest_interrupt
2601 to use hardware interrupts as an entropy source.
2604 for more information.
2605 .It Va harvest_ethernet
2609 to use LAN traffic as an entropy source.
2612 for more information.
2613 .It Va harvest_p_to_p
2617 to use serial line traffic as an entropy source.
2620 for more information.
2625 to disable caching entropy via
2627 Otherwise set to the directory used to store entropy files in.
2632 to disable caching entropy through reboots.
2633 Otherwise set to the filename used to store cached entropy through
2635 This file should be located on the root file system to seed the
2637 device as early as possible in the boot process.
2638 .It Va entropy_save_sz
2640 Size of the entropy cache files saved by
2643 .It Va entropy_save_num
2645 Number of entropy cache files to save by
2659 Configuration file for
2668 .Pa /var/run/dmesg.boot
2670 .It Va rcshutdown_timeout
2672 If set, start a watchdog timer in the background which will terminate
2676 has not completed within the specified time (in seconds).
2679 .Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
2680 .It Pa /etc/defaults/rc.conf
2682 .It Pa /etc/rc.conf.local
2745 .An Jordan K. Hubbard .