Submit #2330
rc.conf.5 misleading wlan example
| Status: | Closed | Start date: | 03/11/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - |
Description
The example for configuring wlan devices via rc.conf should be updated as follows:
diff --git a/share/man/man5/rc.conf.5 b/share/man/man5/rc.conf.5
index 9a5072f..aa483ae 100644
--- a/share/man/man5/rc.conf.5
+++ b/share/man/man5/rc.conf.5
@@ -675,7 +675,8 @@ For instance, to initialize the
device via DHCP, using WPA authentication and 802.11b mode, it is
possible to use something like:
.Bd -literal
-ifconfig_wi0="up DHCP WPA mode 11b"
+wlans_wi0="wlan0"
+ifconfig_wlan0="up DHCP WPA mode 11b"
.Ed
.Pp
.\"
Related todos