atu.4 revision 1.8
$OpenBSD: atu.4,v 1.8 2004/11/23 12:37:36 naddy Exp $

Copyright (c) 1997, 1998, 1999
Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. All advertising materials mentioning features or use of this software
must display the following acknowledgement:
This product includes software developed by Bill Paul.
4. Neither the name of the author nor the names of any co-contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.

.Dd March 23, 2004 .Dt ATU 4 .Os .Sh NAME .Nm atu .Nd Atmel at76c50x 802.11B wireless network interfaces .Sh SYNOPSIS .Cd "# all architectures" .Cd "atu* at uhub? port ?" .Sh DESCRIPTION The .Nm driver provides support for wireless network adapters based around the Atmel at76c503, at76c503a, at76c505, and at76c505a USB chipsets.

p Supported features include 802.11 and 802.3 frames, power management, BSS, IBSS, ad-hoc, and host-based access point mode.

p The .Nm driver encapsulates all IP and ARP traffic as 802.11 frames, however it can receive either 802.11 or 802.3 frames. Transmit speed is selectable between 1Mbps fixed, 2Mbps fixed, 2Mbps with auto fallback, 5.5Mbps, 8Mbps, or 11Mbps depending on your hardware.

p Four different radio chipsets are used along with the device, each requiring a different firmware.

p By default, the .Nm driver configures the card for BSS operation (aka infrastructure mode). This mode requires the use of an access point (base station).

p For more information on configuring this device, see .Xr ifconfig 8 .

p The following devices are among those supported by the .Nm driver:

p l -tag -width Ds -offset indent -compact t Tn Atmel BW002 t Tn Ovislink AirLive t Tn Geowave GW-US11S t Tn SMC 2662W-AR t Tn Linksys WUSB11 t Tn Acer Peripherals AWL400 t Tn Atmel WL-1330 t Tn Linksys WUSB11-V28 t Tn Aincomm AWU2000B t Tn Atmel 2662W-V4 t Tn Atmel DWL-120 t Tn AcerP AWL-300 .El .Sh FILES The driver needs some firmware files, which are loaded on demand when the device is attached:

p l -tag -width Ds -offset indent -compact t Pa /etc/firmware/atu-license t Pa /etc/firmware/atu-intersil-int t Pa /etc/firmware/atu-intersil-ext t Pa /etc/firmware/atu-rfmd-int t Pa /etc/firmware/atu-rfmd-ext t Pa /etc/firmware/atu-rfmd2958-int t Pa /etc/firmware/atu-rfmd2958-ext t Pa /etc/firmware/atu-rfmd2958smc-int t Pa /etc/firmware/atu-rfmd2958smc-ext .El .Sh EXAMPLES Join an existing BSS network (ie: connect to an access point): .Dl # ifconfig atu0 inet 192.168.0.20 netmask 0xffffff00

p Join a specific BSS network with network name .Dq my_net : .Dl # ifconfig atu0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net

p Join a specific BSS network with WEP encryption: d -literal -compact -offset indent # ifconfig atu0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net \e nwkey 0x8736639624 .Ed

p Join an ad-hoc network with network name .Dq my_net : d -literal -compact -offset indent # ifconfig atu0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net \e mediaopt adhoc .Ed

p Create an IBSS network with network name .Dq my_net : d -literal -compact -offset indent # ifconfig atu0 inet 192.168.0.20 netmask 0xffffff00 nwid my_net \e mediaopt ibss-master .Ed

p Join an IBSS network with network name .Dq my_net : d -literal -compact -offset indent # ifconfig atu0 inet 192.168.0.22 netmask 0xffffff00 nwid my_net \e mediaopt ibss .Ed

p Create a host-based access point: d -literal -compact -offset indent # ifconfig atu0 inet 192.168.0.10 netmask 0xffffff00 nwid my_ap \e mediaopt hostap .Ed

p Create a host-based access point with WEP enabled: d -literal -compact -offset indent # ifconfig atu0 inet 192.168.0.10 netmask 0xffffff00 nwid my_ap \e nwkey 0x1234567890 mediaopt hostap .Ed

p Create a host-based wireless bridge to fxp0: d -literal -compact -offset indent # ifconfig atu0 inet up nwid my_ap mediaopt hostap # brconfig bridge0 add fxp0 add atu0 up .Ed .Sh SEE ALSO .Xr arp 4 , .Xr ifmedia 4 , .Xr intro 4 , .Xr netintro 4 , .Xr usb 4 , .Xr hostname.if 5 , .Xr ifconfig 8 , .Xr wicontrol 8 .Sh AUTHORS The .Nm driver was written by .An Daan Vreeken and ported to .Ox by .An Theo de Raadt and David Gwynne .