1 .\" $NetBSD: rtw.4,v 1.3 2005/09/09 14:11:39 drochner Exp $
2 .\" $OpenBSD: rtw.4,v 1.18 2005/06/09 09:03:38 jmc Exp $
4 .\" Copyright (c) 2004 Jonathan Gray <jsg@openbsd.org>
6 .\" Permission to use, copy, modify, and distribute this software for any
7 .\" purpose with or without fee is hereby granted, provided that the above
8 .\" copyright notice and this permission notice appear in all copies.
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
23 .Nd Realtek RTL8180L IEEE 802.11b wireless network driver
25 .Cd "rtw* at cardbus? function ?"
26 .Cd "rtw* at pci? dev ? function ?"
30 driver supports PCI/CardBus 802.11b wireless adapters based on the
33 A variety of radio transceivers can be found in these devices, including
34 the Philips SA2400A, Maxim MAX2820, and GCT GRF5101, though not all of them
35 are currently supported.
37 These are the modes the
39 driver can operate in:
40 .Bl -tag -width "IBSS-masterXX"
44 mode, this is used when associating with an access point, through
45 which all traffic passes.
46 This mode is the default.
53 This is the standardized method of operating without an access point.
54 Stations associate with a service set.
55 However, actual connections between stations are peer-to-peer.
57 In this mode the driver acts as an access point (base station)
60 In this mode the driver is able to receive packets without
61 associating with an access point.
62 This disables the internal receive filter and enables the card to
63 capture packets from networks which it wouldn't normally have access to,
64 or to scan for access points.
68 supports software WEP.
69 Wired Equivalent Privacy (WEP) is the de facto encryption standard
70 for wireless networks.
71 It can be typically configured in one of three modes:
72 no encryption; 40-bit encryption; or 104-bit encryption.
73 Unfortunately, due to serious weaknesses in WEP protocol
74 it is strongly recommended that it not be used as the
75 sole mechanism to secure wireless communication.
76 WEP is not enabled by default.
80 driver can be configured at runtime with
84 using the following parameters:
87 Set the desired BSSID.
89 Unset the desired BSSID.
90 The interface will automatically select a BSSID in this mode, which is
93 Set the channel (radio frequency) to be used by the driver based on
97 Unset the desired channel to be used by the driver.
98 The driver will automatically select a channel in this mode, which is
100 .It Cm media Ar media
103 driver supports the following
107 .Bl -tag -width autoselect -compact
109 Enable autoselection of the media type and options.
111 Set 802.11b DS 1Mbps operation.
113 Set 802.11b DS 2Mbps operation.
115 Set 802.11b DS 5.5Mbps operation.
117 Set 802.11b DS 11Mbps operation.
119 .It Cm mediaopt Ar opts
122 driver supports the following media options:
124 .Bl -tag -width monitor -compact
126 Select Host AP operation.
128 Select IBSS operation.
132 .It Fl mediaopt Ar opts
133 Disable the specified media options on the driver and return it to the
134 default mode of operation (BSS).
139 can either be any text string up to 32 characters in length,
140 or a series of hexadecimal digits up to 64 digits.
143 string allows the interface to connect to any available access points.
146 driver uses an empty string.
147 Note that network ID is synonymous with Extended Service Set ID (ESSID).
149 Enable WEP encryption using the specified
153 can either be a string, a series of hexadecimal digits (preceded by
155 or a set of keys of the form
159 specifies which of the keys will be used for transmitted packets,
164 are configured as WEP keys.
165 If a set of keys is specified, a comma
167 within the key must be escaped with a backslash.
168 Note that if multiple keys are used, their order must be the same within
171 is capable of using both 40-bit (5 characters or 10 hexadecimal digits)
172 or 104-bit (13 characters or 26 hexadecimal digits) keys.
174 Disable WEP encryption.
175 This is the default mode of operation.
177 Enable WEP encryption with the persistent key stored in the network card.
180 The following adapters should work:
182 .Bl -column "Card " "Bus" -compact -offset 6n
184 .\".It Li "Acer Aspire 1357 LMi" Ta Mini PCI
185 .\".It Li "Belkin F5D6001 V3" Ta PCI
186 .It Li "Belkin F5D6020 V3" Ta CardBus
187 .It Li "Buffalo WLI-CB-B11" Ta CardBus
188 .It Li "Corega CG-WLCB11V3" Ta CardBus
189 .\".It Li "D-Link DWL-510" Ta PCI
190 .\".It Li "D-Link DWL-520 rev D" Ta PCI
191 .It Li "D-Link DWL-610" Ta CardBus
192 .\".It Li "Encore ENLWI-PCI1-NT" Ta PCI
193 .\".It Li "Gigabyte GN-WLMR101" Ta PCI
194 .It Li "Level-One WPC-0101" Ta CardBus
195 .It Li "Linksys WPC11 v4" Ta CardBus
196 .It Li "Netgear MA521" Ta CardBus
197 .It Li "Ovislink AirLive WL-1120PCM" Ta CardBus
198 .It Li "Planet WL-3553" Ta CardBus
199 .It Li "TrendNET TEW-266PC" Ta CardBus
200 .\".It Li "TrendNET TEW-288PI" Ta PCI
201 .It Li "VCTnet PC-11B1" Ta CardBus
206 example creates a host-based access point on boot:
207 .Bd -literal -offset indent
208 inet 192.168.1.1 255.255.255.0 NONE media autoselect \e
209 mediaopt hostap ssid my_net chan 11
212 Configure rtw0 for WEP, using hex key
214 .Bd -literal -offset indent
215 # ifconfig rtw0 nwkey 0x1deadbeef1
218 Return rtw0 to its default settings:
219 .Bd -literal -offset indent
220 # ifconfig rtw0 -bssid -chan media autoselect \e
224 Join an existing BSS network,
226 .Bd -literal -offset indent
227 # ifconfig rtw0 192.168.1.1 netmask 0xffffff00 ssid my_net
240 .%O http://www.realtek.com.tw
245 device driver first appeared in
253 driver was written by
255 .Aq dyoung@NetBSD.org
259 .An Jonathan Gray Aq jsg@openbsd.org ,
260 who wrote this man page.
262 Only the Philips SA2400A and Maxim MAX2820 RF transceivers are known to work.
263 Devices incorporating a GCT RF transceiver are not supported due to a lack of
264 documentation from GCT.
266 While PCI devices will attach most of them are not able to transmit.