URTW(4)                   OpenBSD Programmer's Manual                  URTW(4)

NAME
     urtw - Realtek RTL8187L/RTL8187B USB IEEE 802.11b/g wireless network de-
     vice

SYNOPSIS
     urtw* at uhub? port ?

DESCRIPTION
     The urtw driver supports USB 802.11b/g wireless adapters based on the Re-
     altek RTL8187L and RTL8187B.

     These are the modes the urtw driver can operate in:

     BSS mode       Also known as infrastructure mode, this is used when asso-
                    ciating with an access point, through which all traffic
                    passes.  This mode is the default.

     monitor mode   In this mode the driver is able to receive packets without
                    associating with an access point.  This disables the in-
                    ternal receive filter and enables the card to capture
                    packets from networks which it wouldn't normally have ac-
                    cess to, or to scan for access points.

     The urtw driver can be configured to use Wired Equivalent Privacy (WEP)
     or Wi-Fi Protected Access (WPA-PSK and WPA2-PSK).  WPA is the de facto
     encryption standard for wireless networks.  It is strongly recommended
     that WEP not be used as the sole mechanism to secure wireless communica-
     tion, due to serious weaknesses in it.  The urtw driver relies on the
     software 802.11 stack for both encryption and decryption of data frames.

     The urtw driver can be configured at runtime with ifconfig(8) or on boot
     with hostname.if(5).

HARDWARE
     The following adapters should work:

           Alfa AWUS036H
           ASUS P5B Deluxe
           Belkin F5D7050E
           Linksys WUSB54GC v2
           Netgear WG111v2
           Netgear WG111v3
           Shuttle XPC Accessory PN20
           Sitecom WL-168
           Sitecom WL-168 v4
           Surecom EP-9001-g rev 2A
           TRENDnet TEW-424UB V3.xR

EXAMPLES
     The following hostname.if(5) example configures urtw0 to join whatever
     network is available on boot, using WEP key ``0x1deadbeef1'', channel 11,
     obtaining an IP address using DHCP:

           dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11

     Configure urtw0 to join network ``my_net'' using WPA-PSK with passphrase
     ``my_passphrase'':

           # ifconfig urtw0 nwid my_net wpa wpapsk \
                   `wpa-psk my_net my_passphrase`

     Return urtw0 to its default settings:

           # ifconfig urtw0 -bssid -chan media autoselect \
                   nwid "" -nwkey -wpa -wpapsk

     Join an existing BSS network, ``my_net'':

           # ifconfig urtw0 192.168.1.1 netmask 0xffffff00 nwid my_net

SEE ALSO
     arp(4), ifmedia(4), intro(4), netintro(4), usb(4), hostname.if(5),
     hostapd(8), ifconfig(8), wpa-psk(8)

     Realtek Semiconductor: http://www.realtek.com.tw/

HISTORY
     The urtw device driver first appeared in OpenBSD 4.5.

AUTHORS
     The urtw driver was written by Weongyo Jeong <weongyo@FreeBSD.org>.

OpenBSD 4.7                      March 1, 2010                               2
