| RTW(4) | Device Drivers Manual | RTW(4) |
rtw — Realtek
RTL8180L IEEE 802.11b wireless network driver
rtw* at cardbus? function ?
rtw* at pci? dev ? function ?
The rtw driver supports PCI/CardBus
802.11b wireless adapters based on the Realtek RTL8180L.
A variety of radio transceivers can be found in these devices, including the Philips SA2400A, Maxim MAX2820, and GCT GRF5101, though not all of them are currently supported.
These are the modes the rtw driver can
operate in:
rtw supports software WEP. Wired
Equivalent Privacy (WEP) is the de facto encryption standard for wireless
networks. It can be typically configured in one of three modes: no
encryption; 40-bit encryption; or 104-bit encryption. 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.
The rtw driver can be configured at
runtime with ifconfig(8) or
on boot with
ifconfig.if(5) using the
following parameters:
bssid
bssid-bssidchan
n-chanmedia
mediartw driver supports the following
media types:
autoselectDS1DS2DS5DS11mediaopt
optsrtw driver supports the following media
options:
-mediaopt
optsssid
idrtw driver uses an empty string. Note that network
ID is synonymous with Extended Service Set ID (ESSID).nwkey
keyrtw is capable of using both 40-bit (5 characters
or 10 hexadecimal digits) or 104-bit (13 characters or 26 hexadecimal
digits) keys.-nwkeynwkey
persistThe following adapters should work:
| Card | Bus |
Belkin F5D6020
V3 |
CardBus |
Buffalo
WLI-CB-B11 |
CardBus |
Corega
CG-WLCB11V3 |
CardBus |
D-Link
DWL-610 |
CardBus |
Level-One
WPC-0101 |
CardBus |
Linksys WPC11
v4 |
CardBus |
Netgear
MA521 |
CardBus |
Ovislink AirLive
WL-1120PCM |
CardBus |
Planet
WL-3553 |
CardBus |
TrendNET
TEW-266PC |
CardBus |
VCTnet
PC-11B1 |
CardBus |
The following ifconfig.if(5) example creates a host-based access point on boot:
inet 192.168.1.1 255.255.255.0 NONE media autoselect \ mediaopt hostap ssid my_net chan 11
Configure rtw0 for WEP, using hex key “0x1deadbeef1”:
# ifconfig rtw0 nwkey 0x1deadbeef1
Return rtw0 to its default settings:
# ifconfig rtw0 -bssid -chan media autoselect \ ssid "" -nwkey
Join an existing BSS network, “my_net”:
# ifconfig rtw0 192.168.1.1 netmask 0xffffff00 ssid my_net
arp(4), cardbus(4), ifmedia(4), intro(4), netintro(4), pci(4), ifconfig.if(5), ifconfig(8)
Realtek, http://www.realtek.com.tw.
The rtw device driver first appeared in
NetBSD 3.0 and then in OpenBSD
3.7.
The rtw driver was written by
David Young ⟨dyoung@NetBSD.org⟩ and
ported to OpenBSD by Jonathan
Gray
<jsg@openbsd.org>, who
wrote this man page.
Only the Philips SA2400A and Maxim MAX2820 RF transceivers are known to work. Devices incorporating a GCT RF transceiver are not supported due to a lack of documentation from GCT.
While PCI devices will attach most of them are not able to transmit.
| December 29, 2004 | NetBSD 11.0 |