diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-04-17 14:01:23 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2008-04-17 14:01:23 +0000 |
commit | 0215c4413c37cb78e0b790795039710b0c95540e (patch) | |
tree | 0e82111176fe615da3e005bd2a578e361c0aa792 /share/man/man4/rtw.4 | |
parent | d7b6bab86f754dc45b1bf00bb29ceefec3232e56 (diff) |
remove the CONFIGURATION section from the wireless pages:
the addition of the wpa options have shown just how unwieldy it had
become, it's already in ifconfig(8) anyway, and "ifconfig -m" will
get the relevant ones.
ok dlg jsg
Diffstat (limited to 'share/man/man4/rtw.4')
-rw-r--r-- | share/man/man4/rtw.4 | 137 |
1 files changed, 4 insertions, 133 deletions
diff --git a/share/man/man4/rtw.4 b/share/man/man4/rtw.4 index c59bbd5bda9..2bd3ef80390 100644 --- a/share/man/man4/rtw.4 +++ b/share/man/man4/rtw.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: rtw.4,v 1.30 2007/12/10 10:32:54 jmc Exp $ +.\" $OpenBSD: rtw.4,v 1.31 2008/04/17 14:01:22 jmc Exp $ .\" .\" Copyright (c) 2004 Jonathan Gray <jsg@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: December 10 2007 $ +.Dd $Mdocdate: April 17 2008 $ .Dt RTW 4 .Os .Sh NAME @@ -72,142 +72,13 @@ Unfortunately, due to serious weaknesses in WEP protocol it is strongly recommended that it not be used as the sole mechanism to secure wireless communication. WEP is not enabled by default. -.Sh CONFIGURATION +.Pp The .Nm driver can be configured at runtime with .Xr ifconfig 8 or on boot with -.Xr hostname.if 5 -using the following parameters: -.Bl -tag -width Ds -.It Cm bssid Ar bssid -Set the desired BSSID. -.It Fl bssid -Unset the desired BSSID. -The interface will automatically select a BSSID in this mode, which is -the default. -.It Cm chan Ar n -Set the channel (radio frequency) to be used by the driver based on -the given channel ID -.Ar n . -.It Fl chan -Unset the desired channel to be used by the driver. -The driver will automatically select a channel in this mode, which is -the default. -.It Cm media Ar media -The -.Nm -driver supports the following -.Ar media -types: -.Pp -.Bl -tag -width autoselect -compact -.It Cm autoselect -Enable autoselection of the media type and options. -.It Cm DS1 -Set 802.11b DS 1Mbps operation. -.It Cm DS2 -Set 802.11b DS 2Mbps operation. -.It Cm DS5 -Set 802.11b DS 5.5Mbps operation. -.It Cm DS11 -Set 802.11b DS 11Mbps operation. -.El -.It Cm mediaopt Ar opts -The -.Nm -driver supports the following media options: -.Pp -.Bl -tag -width monitor -compact -.It Cm hostap -Select Host AP operation. -.It Cm ibss -Select IBSS operation. -.It Cm monitor -Select monitor mode. -.El -.It Fl mediaopt Ar opts -Disable the specified media options on the driver and return it to the -default mode of operation (BSS). -.It Cm nwflag Ar flag -Set a specified flag for the wireless network interface. -The flag name can be either -.Ql hidenwid -or -.Ql nobridge . -The -.Ql hidenwid -flag will hide the network ID (ESSID) in beacon frames when operating -in Host AP mode. -It will also prevent responses to probe requests with an unspecified -network ID. -The -.Ql nobridge -flag will disable the direct bridging of frames between associated -nodes when operating in Host AP mode. -Setting this flag will block and filter direct inter-station -communications. -.Pp -Note that the -.Ql hidenwid -and -.Ql nobridge -options do not provide any security. -The hidden network ID will be sent in clear text by associating -stations and can be easily discovered with tools like -.Xr tcpdump 8 -and -.Xr hostapd 8 . -.It Fl nwflag Ar flag -Remove a specified flag for the wireless network interface. -.It Cm nwid Ar id -Set the network ID. -The -.Ar id -can either be any text string up to 32 characters in length, -or a series of hexadecimal digits up to 64 digits. -An empty -.Ar id -string allows the interface to connect to any available access points. -By default the -.Nm -driver uses an empty string. -Note that network ID is synonymous with Extended Service Set ID (ESSID). -.It Fl nwid -Set the network ID to the empty string to allow the interface to connect -to any available access point. -.It Cm nwkey Ar key -Enable WEP encryption using the specified -.Ar key . -The -.Ar key -can either be a string, a series of hexadecimal digits (preceded by -.Sq 0x ) , -or a set of keys of the form -.Dq n:k1,k2,k3,k4 , -where -.Sq n -specifies which of the keys will be used for transmitted packets, -and the four keys, -.Dq k1 -through -.Dq k4 , -are configured as WEP keys. -If a set of keys is specified, a comma -.Pq Sq \&, -within the key must be escaped with a backslash. -Note that if multiple keys are used, their order must be the same within -the network. -.Nm -is capable of using both 40-bit (5 characters or 10 hexadecimal digits) -or 104-bit (13 characters or 26 hexadecimal digits) keys. -.It Fl nwkey -Disable WEP encryption. -This is the default mode of operation. -.It Cm nwkey persist -Enable WEP encryption with the persistent key stored in the network card. -.El +.Xr hostname.if 5 . .Sh HARDWARE The following adapters should work: .Pp |