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

NAME
     otus - Atheros USB IEEE 802.11a/g/n wireless network device

SYNOPSIS
     otus* at uhub? port ?

DESCRIPTION
     The otus driver supports USB 2.0 wireless network devices based on
     Atheros Communications AR9001U chipset.

     The AR9001U chipset is made of an AR9170 MAC/Baseband and an AR9101
     (1T2R), AR9102 (2T2R) or AR9104 (dual-band 2T2R) Radio.

     These are the modes the otus 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 otus 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 otus driver can be configured at runtime with ifconfig(8) or on boot
     with hostname.if(5).

FILES
     The driver needs at least version 1.0 of the following firmware files,
     which are loaded when an interface is attached:

           /etc/firmware/otus-init
           /etc/firmware/otus-main

     Although these firmware files are freely redistributable, their usage is
     restricted.  A prepackaged version of the firmware, designed to be used
     with pkg_add(1), can be found at:

     http://damien.bergamini.free.fr/packages/openbsd/otus-firmware-1.0.tgz

HARDWARE
     The following adapters should work:

           Arcadyan WN7512
           CACE AirPcap Nx
           D-Link DWA-130 rev D1
           D-Link DWA-160 rev A1
           D-Link DWA-160 rev A2
           IO-Data WN-GDN/US2
           Netgear WNDA3100
           Netgear WN111 v2
           Planex GW-US300
           TP-Link TL-WN821N
           Ubiquiti SR71 USB
           Unex DNUA-81
           Z-Com UB81
           Z-Com UB82
           ZyXEL NWD-271N

EXAMPLES
     The following hostname.if(5) example configures otus0 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 otus0 to join network ``my_net'' using WPA-PSK with passphrase
     ``my_passphrase'':

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

     Return otus0 to its default settings:

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

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

           # ifconfig otus0 192.168.1.1 netmask 0xffffff00 nwid my_net

DIAGNOSTICS
     otus%d: error %d, could not read firmware %s  For some reason, the driver
     was unable to read the microcode file from the filesystem.  The file
     might be missing or corrupted.

     otus%d: device timeout  A frame dispatched to the hardware for transmis-
     sion did not complete in time.  The driver will reset the hardware.  This
     should not happen.

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

     Atheros Communications AR9001U-2NX/AR9001U-2NG/AR9001U-NG:
     http://www.atheros.com/pt/bulletins/AR9001USBBulletin.pdf

HISTORY
     The otus driver first appeared in OpenBSD 4.6.

AUTHORS
     The otus driver was written by Damien Bergamini <damien@openbsd.org>
     based on source code licensed under the ISC released in 2008 by Atheros
     Communications for Linux.

CAVEATS
     The AVM FRITZ!WLAN USB Stick N adapter is currently not supported.

     The otus driver does not support any of the 802.11n capabilities offered
     by the AR9001U chipset.  Additional work is required in ieee80211(9) be-
     fore those features can be supported.

OpenBSD 4.7                    November 17, 2009                             2
