xref: /freebsd/share/man/man4/otus.4 (revision 20aff35e6b893449116c680ef9ebeddc666c5676)
1*20aff35eSAdrian Chadd.\" $FreeBSD$
2*20aff35eSAdrian Chadd.\"
3*20aff35eSAdrian Chadd.\" Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org>
4*20aff35eSAdrian Chadd.\"
5*20aff35eSAdrian Chadd.\" Permission to use, copy, modify, and distribute this software for any
6*20aff35eSAdrian Chadd.\" purpose with or without fee is hereby granted, provided that the above
7*20aff35eSAdrian Chadd.\" copyright notice and this permission notice appear in all copies.
8*20aff35eSAdrian Chadd.\"
9*20aff35eSAdrian Chadd.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10*20aff35eSAdrian Chadd.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11*20aff35eSAdrian Chadd.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12*20aff35eSAdrian Chadd.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13*20aff35eSAdrian Chadd.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14*20aff35eSAdrian Chadd.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15*20aff35eSAdrian Chadd.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16*20aff35eSAdrian Chadd.\"
17*20aff35eSAdrian Chadd.Dd September 25, 2015
18*20aff35eSAdrian Chadd.Dt OTUS 4
19*20aff35eSAdrian Chadd.Os
20*20aff35eSAdrian Chadd.Sh NAME
21*20aff35eSAdrian Chadd.Nm otus
22*20aff35eSAdrian Chadd.Nd Atheros AR9170 USB IEEE 802.11a/b/g/n wireless network device
23*20aff35eSAdrian Chadd.Sh SYNOPSIS
24*20aff35eSAdrian ChaddTo compile this driver into the kernel,
25*20aff35eSAdrian Chaddplace the following lines in your kernel configuration file:
26*20aff35eSAdrian Chadd.Bd -ragged -offset indent
27*20aff35eSAdrian Chadd.Cd "device ehci"
28*20aff35eSAdrian Chadd.Cd "device uhci"
29*20aff35eSAdrian Chadd.Cd "device ohci"
30*20aff35eSAdrian Chadd.Cd "device usb"
31*20aff35eSAdrian Chadd.Cd "device otus"
32*20aff35eSAdrian Chadd.Cd "device wlan"
33*20aff35eSAdrian Chadd.Ed
34*20aff35eSAdrian Chadd.Pp
35*20aff35eSAdrian ChaddAlternatively, to load the driver as a module at boot time,
36*20aff35eSAdrian Chaddplace the following line in
37*20aff35eSAdrian Chadd.Xr loader.conf 5 :
38*20aff35eSAdrian Chadd.Bd -literal -offset indent
39*20aff35eSAdrian Chaddif_otus_load="YES"
40*20aff35eSAdrian Chadd.Ed
41*20aff35eSAdrian Chadd.Sh DESCRIPTION
42*20aff35eSAdrian ChaddThe
43*20aff35eSAdrian Chadd.Nm
44*20aff35eSAdrian Chadddriver supports USB 2.0 wireless network devices based on the Atheros
45*20aff35eSAdrian ChaddAR9170 chipset.
46*20aff35eSAdrian Chadd.Pp
47*20aff35eSAdrian ChaddThe Atheros AR9170 is a draft-802.11n adapter that uses an external
48*20aff35eSAdrian Chaddradio to operate in either 2.4GHz only or 2.4GHz and 5GHz.
49*20aff35eSAdrian Chadd.Pp
50*20aff35eSAdrian ChaddThe AR9101 radio supports 1T1R operation in 2GHz only.
51*20aff35eSAdrian Chadd.Pp
52*20aff35eSAdrian ChaddThe AR9102 radio supports 2T2R operation in 2GHz only.
53*20aff35eSAdrian Chadd.Pp
54*20aff35eSAdrian ChaddThe AR9104 radio supports 2T2R operation both 2GHz and 5GHz.
55*20aff35eSAdrian Chadd.Pp
56*20aff35eSAdrian ChaddThese are the modes the
57*20aff35eSAdrian Chadd.Nm
58*20aff35eSAdrian Chadddriver can operate in:
59*20aff35eSAdrian Chadd.Bl -tag -width "IBSS-masterXX"
60*20aff35eSAdrian Chadd.It BSS mode
61*20aff35eSAdrian ChaddAlso known as
62*20aff35eSAdrian Chadd.Em infrastructure
63*20aff35eSAdrian Chaddmode, this is used when associating with an access point, through
64*20aff35eSAdrian Chaddwhich all traffic passes.
65*20aff35eSAdrian ChaddThis mode is the default.
66*20aff35eSAdrian Chadd.El
67*20aff35eSAdrian Chadd.Pp
68*20aff35eSAdrian ChaddThe
69*20aff35eSAdrian Chadd.Nm
70*20aff35eSAdrian Chadddriver can be configured to use
71*20aff35eSAdrian ChaddWired Equivalent Privacy (WEP) or
72*20aff35eSAdrian ChaddWi-Fi Protected Access (WPA-PSK and WPA2-PSK).
73*20aff35eSAdrian ChaddWPA is the de facto encryption standard for wireless networks.
74*20aff35eSAdrian ChaddIt is strongly recommended that WEP
75*20aff35eSAdrian Chaddnot be used as the sole mechanism
76*20aff35eSAdrian Chaddto secure wireless communication,
77*20aff35eSAdrian Chadddue to serious weaknesses in it.
78*20aff35eSAdrian Chadd.Pp
79*20aff35eSAdrian ChaddThe
80*20aff35eSAdrian Chadd.Nm
81*20aff35eSAdrian Chadddriver can be configured at runtime with
82*20aff35eSAdrian Chadd.Xr ifconfig 8 .
83*20aff35eSAdrian Chadd.Sh FILES
84*20aff35eSAdrian ChaddThe driver needs at least version 1.0 of the following firmware files,
85*20aff35eSAdrian Chaddwhich is loaded when an interface is attached:
86*20aff35eSAdrian Chadd.Pp
87*20aff35eSAdrian Chadd.Bl -tag -width Ds -offset indent -compact
88*20aff35eSAdrian Chadd.It Pa /boot/kernel/otusfw-init.ko
89*20aff35eSAdrian Chadd.It Pa /boot/kernel/otusfw-main.ko
90*20aff35eSAdrian Chadd.El
91*20aff35eSAdrian Chadd.Sh HARDWARE
92*20aff35eSAdrian ChaddThe
93*20aff35eSAdrian Chadd.Nm
94*20aff35eSAdrian Chadddriver provices support for Atheros AR9170 USB IEEE 802.11b/g/n
95*20aff35eSAdrian Chaddwireless network adapters, including:
96*20aff35eSAdrian Chadd.Pp
97*20aff35eSAdrian Chadd.Bl -tag -width Ds -offset indent -compact
98*20aff35eSAdrian Chadd.It 3Com 3CRUSBN275
99*20aff35eSAdrian Chadd.It Arcadyan WN7512
100*20aff35eSAdrian Chadd.\" .It AVM FRITZ!WLAN USB Stick N
101*20aff35eSAdrian Chadd.It CACE AirPcap \&Nx
102*20aff35eSAdrian Chadd.It D-Link DWA-130 rev \&D1
103*20aff35eSAdrian Chadd.It D-Link DWA-160 rev A1
104*20aff35eSAdrian Chadd.It D-Link DWA-160 rev A2
105*20aff35eSAdrian Chadd.It IO-Data WN-GDN/US2
106*20aff35eSAdrian Chadd.It NEC Aterm WL300NU-G
107*20aff35eSAdrian Chadd.It Netgear WNDA3100
108*20aff35eSAdrian Chadd.It Netgear WN111 v2
109*20aff35eSAdrian Chadd.It Planex GW-US300
110*20aff35eSAdrian Chadd.It SMC Networks SMCWUSB-N2
111*20aff35eSAdrian Chadd.It TP-Link TL-WN821N v1, v2
112*20aff35eSAdrian Chadd.It Ubiquiti SR71 USB
113*20aff35eSAdrian Chadd.It Unex DNUA-81
114*20aff35eSAdrian Chadd.It Z-Com UB81
115*20aff35eSAdrian Chadd.It Z-Com UB82
116*20aff35eSAdrian Chadd.It ZyXEL NWD-271N
117*20aff35eSAdrian Chadd.El
118*20aff35eSAdrian Chadd.Sh EXAMPLES
119*20aff35eSAdrian ChaddJoin an existing BSS network (i.e., connect to an access point):
120*20aff35eSAdrian Chadd.Bd -literal -offset indent
121*20aff35eSAdrian Chaddifconfig wlan create wlandev otus0 inet 192.168.0.20 \e
122*20aff35eSAdrian Chadd    netmask 0xffffff00
123*20aff35eSAdrian Chadd.Ed
124*20aff35eSAdrian Chadd.Pp
125*20aff35eSAdrian ChaddJoin a specific BSS network with network name
126*20aff35eSAdrian Chadd.Dq Li my_net :
127*20aff35eSAdrian Chadd.Pp
128*20aff35eSAdrian Chadd.Dl "ifconfig wlan create wlandev otus0 ssid my_net up"
129*20aff35eSAdrian Chadd.Pp
130*20aff35eSAdrian ChaddJoin a specific BSS network with 64-bit WEP encryption:
131*20aff35eSAdrian Chadd.Bd -literal -offset indent
132*20aff35eSAdrian Chaddifconfig wlan create wlandev otus0 ssid my_net \e
133*20aff35eSAdrian Chadd        wepmode on wepkey 0x1234567890 weptxkey 1 up
134*20aff35eSAdrian Chadd.Ed
135*20aff35eSAdrian Chadd.Sh DIAGNOSTICS
136*20aff35eSAdrian Chadd.Bl -diag
137*20aff35eSAdrian Chadd.It "%s: failed load firmware of file otusfw-main"
138*20aff35eSAdrian ChaddFor some reason, the driver was unable to read the microcode file from the
139*20aff35eSAdrian Chaddfilesystem.
140*20aff35eSAdrian ChaddThe file might be missing or corrupted.
141*20aff35eSAdrian Chadd.El
142*20aff35eSAdrian Chadd.Sh SEE ALSO
143*20aff35eSAdrian Chadd.Xr intro 1 ,
144*20aff35eSAdrian Chadd.Xr netintro 4 ,
145*20aff35eSAdrian Chadd.Xr otusfw 4 ,
146*20aff35eSAdrian Chadd.Xr usb 4 ,
147*20aff35eSAdrian Chadd.Xr wlan 4 ,
148*20aff35eSAdrian Chadd.Xr arp 8 ,
149*20aff35eSAdrian Chadd.Xr hostapd 8 ,
150*20aff35eSAdrian Chadd.Xr ifconfig 8 ,
151*20aff35eSAdrian Chadd.Xr wpa_supplicant 8
152*20aff35eSAdrian Chadd.Sh HISTORY
153*20aff35eSAdrian ChaddThe
154*20aff35eSAdrian Chadd.Nm
155*20aff35eSAdrian Chadddriver first appeared in
156*20aff35eSAdrian Chadd.Ox 4.6 .
157*20aff35eSAdrian Chadd.Sh AUTHORS
158*20aff35eSAdrian Chadd.An -nosplit
159*20aff35eSAdrian ChaddThe
160*20aff35eSAdrian Chadd.Nm
161*20aff35eSAdrian Chadddriver was written by
162*20aff35eSAdrian Chadd.An Damien Bergamini Aq Mt damien@openbsd.org
163*20aff35eSAdrian Chaddand ported by
164*20aff35eSAdrian Chadd.An Adrian Chadd Aq Mt adrian@freebsd.org .
165*20aff35eSAdrian Chadd.Sh CAVEATS
166*20aff35eSAdrian ChaddThe
167*20aff35eSAdrian Chadd.Nm
168*20aff35eSAdrian Chadddriver only supports 802.11a/b/g operations.
169*20aff35eSAdrian Chadd802.11 operation is not supported at this time.
170