xref: /openbsd-src/share/man/man4/acx.4 (revision 565a3eb61f67857cd253e73cbee499481e410760)
1*565a3eb6Sjmc.\"	$OpenBSD: acx.4,v 1.50 2022/01/05 17:39:24 jmc Exp $
2a456da88Sderaadt.\"
3a456da88Sderaadt.\" Copyright (c) 2006 Theo de Raadt.
4a456da88Sderaadt.\" Copyright (c) 2006 The DragonFly Project.  All rights reserved.
5a456da88Sderaadt.\"
6a456da88Sderaadt.\" Redistribution and use in source and binary forms, with or without
7a456da88Sderaadt.\" modification, are permitted provided that the following conditions
8a456da88Sderaadt.\" are met:
9a456da88Sderaadt.\"
10a456da88Sderaadt.\" 1. Redistributions of source code must retain the above copyright
11a456da88Sderaadt.\"    notice, this list of conditions and the following disclaimer.
12a456da88Sderaadt.\" 2. Redistributions in binary form must reproduce the above copyright
13a456da88Sderaadt.\"    notice, this list of conditions and the following disclaimer in
14a456da88Sderaadt.\"    the documentation and/or other materials provided with the
15a456da88Sderaadt.\"    distribution.
16a456da88Sderaadt.\" 3. Neither the name of The DragonFly Project nor the names of its
17a456da88Sderaadt.\"    contributors may be used to endorse or promote products derived
18a456da88Sderaadt.\"    from this software without specific, prior written permission.
19a456da88Sderaadt.\"
20a456da88Sderaadt.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21a456da88Sderaadt.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22a456da88Sderaadt.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
23a456da88Sderaadt.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE
24a456da88Sderaadt.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
25a456da88Sderaadt.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
26a456da88Sderaadt.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27a456da88Sderaadt.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
28a456da88Sderaadt.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29a456da88Sderaadt.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30a456da88Sderaadt.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31a456da88Sderaadt.\" SUCH DAMAGE.
32a456da88Sderaadt.\"
33*565a3eb6Sjmc.Dd $Mdocdate: January 5 2022 $
34a456da88Sderaadt.Dt ACX 4
35c0fdb081Sjmc.Os
36a456da88Sderaadt.Sh NAME
37a456da88Sderaadt.Nm acx
382b7d0807Sjmc.Nd TI ACX100/ACX111 IEEE 802.11a/b/g wireless network device
39a456da88Sderaadt.Sh SYNOPSIS
40a456da88Sderaadt.Cd "acx* at cardbus?"
41a456da88Sderaadt.Cd "acx* at pci?"
42a456da88Sderaadt.Sh DESCRIPTION
43a456da88SderaadtThe
44a456da88Sderaadt.Nm
4555ddb777Sjsgdriver provides support for TI TNETW1100/TNETW1100B (ACX100) and
46857e0daaSsobradoTNETW1130 (ACX111) based PCI/CardBus network adapters.
47a456da88Sderaadt.Pp
481bb9c84dSjmcThe ACX100A and ACX100B are first generation 802.11b devices
494e92e292Sderaadtfrom TI.
5055ddb777SjsgThe ACX111 is a second generation device which supports 802.11b/g
5155ddb777Sjsgand in some cases 802.11a.
52a456da88Sderaadt.Pp
53a456da88SderaadtThese are the modes the
54a456da88Sderaadt.Nm
55a456da88Sderaadtdriver can operate in:
56a456da88Sderaadt.Bl -tag -width "IBSS-masterXX"
57a456da88Sderaadt.It BSS mode
58a456da88SderaadtAlso known as
59a456da88Sderaadt.Em infrastructure
60a456da88Sderaadtmode, this is used when associating with an access point, through
61a456da88Sderaadtwhich all traffic passes.
62a456da88SderaadtThis mode is the default.
63d4a3b00eSmglocker.It IBSS mode
64d4a3b00eSmglockerAlso known as
65d4a3b00eSmglocker.Em IEEE ad-hoc
66d4a3b00eSmglockermode or
67d4a3b00eSmglocker.Em peer-to-peer
68d4a3b00eSmglockermode.
69d4a3b00eSmglockerThis is the standardized method of operating without an access point.
70d4a3b00eSmglockerStations associate with a service set.
71d4a3b00eSmglockerHowever, actual connections between stations are peer-to-peer.
72d4a3b00eSmglocker.It Host AP
73d4a3b00eSmglockerIn this mode the driver acts as an access point (base station)
74d4a3b00eSmglockerfor other cards.
75611f5384Smglocker.It monitor mode
76611f5384SmglockerIn this mode the driver is able to receive packets without
77611f5384Smglockerassociating with an access point.
78611f5384SmglockerThis disables the internal receive filter and enables the card to
79611f5384Smglockercapture packets from networks which it wouldn't normally have access to,
80611f5384Smglockeror to scan for access points.
81a456da88Sderaadt.El
82a456da88Sderaadt.Pp
83476f429cSjmcThe
84a456da88Sderaadt.Nm
85476f429cSjmcdriver can be configured to use
866ed8ba4bSjmcWired Equivalent Privacy (WEP)
87476f429cSjmcin software for ACX111
88476f429cSjmcor in hardware for ACX100.
89476f429cSjmcIt is strongly recommended that WEP
90476f429cSjmcnot be used as the sole mechanism
91476f429cSjmcto secure wireless communication,
92476f429cSjmcdue to serious weaknesses in it.
93a456da88Sderaadt.Pp
94a456da88SderaadtThe transmit speed is user-selectable or can be adapted automatically by the
954c46dff4Sdamiendriver depending on the number of hardware transmission retries.
96e8a6e26fSjmc.Pp
97416d9f2aSjmcIn Host AP mode,
98416d9f2aSjmcthe driver is compatible with clients using powersave.
99416d9f2aSjmc.Pp
100a456da88SderaadtThe
101a456da88Sderaadt.Nm
102a456da88Sderaadtdriver can be configured at runtime with
103a456da88Sderaadt.Xr ifconfig 8
104a456da88Sderaadtor on boot with
105e8a6e26fSjmc.Xr hostname.if 5 .
106a456da88Sderaadt.Sh FILES
107a456da88SderaadtThe driver needs a set of firmware files which are loaded when
108a456da88Sderaadtan interface is brought up:
109a456da88Sderaadt.Pp
110a456da88Sderaadt.Bl -tag -width Ds -offset indent -compact
111a456da88Sderaadt.It Pa /etc/firmware/tiacx100
1120f048f6aSjsg.It Pa /etc/firmware/tiacx100r0D
113bd44d3e0Smglocker.It Pa /etc/firmware/tiacx100r11
1142906e763Smglocker.It Pa /etc/firmware/tiacx111
1150f048f6aSjsg.It Pa /etc/firmware/tiacx111c16
1162906e763Smglocker.It Pa /etc/firmware/tiacx111r16
117a456da88Sderaadt.El
118a456da88Sderaadt.Pp
1191bb9c84dSjmcThese firmware files are not free because TI refuses
1201bb9c84dSjmcto grant distribution rights.
1211bb9c84dSjmcIn fact they have rebuffed thousands
122a456da88Sderaadtof attempts to start a dialogue on this issue.
123a456da88SderaadtAs a result, even though
124a456da88Sderaadt.Ox
125ef54bfc0Sderaadtincludes the driver, the firmware files cannot be included and
126ef54bfc0Sderaadtusers have to download these files on their own.
12799b7bb14Smglocker.Pp
128c13116a0SsthenA prepackaged version of the firmware can be installed using
129*565a3eb6Sjmc.Xr fw_update 8 .
130a456da88Sderaadt.Sh HARDWARE
131b47aa5b8SmglockerThe following cards are among those supported by the
132b47aa5b8Smglocker.Nm
133b47aa5b8Smglockerdriver:
134e324319bSjmc.Bl -column "Microcom Travelcard" "ACX111" "CardBus" "Standard" -offset 6n
135e324319bSjmc.It Em Card Ta Em Chip Ta Em Bus Ta Em Standard
136e324319bSjmc.It "D-Link DWL-520+" Ta ACX100 Ta PCI Ta b
137e324319bSjmc.It "D-Link DWL-650+" Ta ACX100 Ta CardBus Ta b
138e324319bSjmc.It "D-Link DWL-G520+" Ta ACX111 Ta PCI Ta b/g
139e324319bSjmc.It "D-Link DWL-G630+" Ta ACX111 Ta CardBus Ta b/g
140e324319bSjmc.It "D-Link DWL-G650+" Ta ACX111 Ta CardBus Ta b/g
141e324319bSjmc.It "Digitus DN-7001G" Ta ACX111 Ta CardBus Ta b/g
142e324319bSjmc.It "Ergenic ERG WL-003" Ta ACX100 Ta CardBus Ta b
143e324319bSjmc.It "Hamlet HNWP254" Ta ACX111 Ta CardBus Ta b/g
144e324319bSjmc.It "Hawking HWP54G" Ta ACX111 Ta PCI Ta b/g
145e324319bSjmc.It "Linksys WPC54Gv2" Ta ACX111 Ta CardBus Ta b/g
146e324319bSjmc.It "Microcom Travelcard" Ta ACX111 Ta CardBus Ta b/g
147e324319bSjmc.It "Netgear WG311v2" Ta ACX111 Ta PCI Ta b/g
148e324319bSjmc.It "Sceptre SC254W+" Ta ACX111 Ta CardBus Ta b/g
149e324319bSjmc.It "Tornado/ADT 211g" Ta ACX111 Ta PCI Ta b/g
150e324319bSjmc.It "USR USR5410" Ta ACX111 Ta CardBus Ta b/g
151e324319bSjmc.It "USR USR5416" Ta ACX111 Ta PCI Ta b/g
152e324319bSjmc.It "ZyXEL G-160" Ta ACX111 Ta CardBus Ta b/g
153e324319bSjmc.It "ZyXEL G-360 EE" Ta ACX111 Ta PCI Ta b/g
154b47aa5b8Smglocker.El
15551468e4eSjmc.Sh EXAMPLES
156f0f562a5SjmcThe following example scans for available networks:
157f0f562a5Sjmc.Pp
158f0f562a5Sjmc.Dl # ifconfig acx0 scan
159f0f562a5Sjmc.Pp
16051468e4eSjmcThe following
16151468e4eSjmc.Xr hostname.if 5
162f0f562a5Sjmcexample configures acx0 to join network
163f0f562a5Sjmc.Dq mynwid ,
16451468e4eSjmcusing WEP key
165f0f562a5Sjmc.Dq mywepkey ,
166f0f562a5Sjmcobtaining an IP address using DHCP:
16751468e4eSjmc.Bd -literal -offset indent
168cfafcb89Sphesslernwid mynwid nwkey mywepkey
169b6ef1ff8Skninet autoconf
17051468e4eSjmc.Ed
17151468e4eSjmc.Pp
17251468e4eSjmcThe following
17351468e4eSjmc.Xr hostname.if 5
17451468e4eSjmcexample creates a host-based access point on boot:
17551468e4eSjmc.Bd -literal -offset indent
176f0f562a5Sjmcmediaopt hostap
177cfafcb89Sphesslernwid mynwid nwkey mywepkey
17814989542Sstspinet 192.168.1.1 255.255.255.0
17951468e4eSjmc.Ed
180a456da88Sderaadt.Sh SEE ALSO
181a456da88Sderaadt.Xr arp 4 ,
182a456da88Sderaadt.Xr cardbus 4 ,
183a456da88Sderaadt.Xr ifmedia 4 ,
184a456da88Sderaadt.Xr intro 4 ,
185a456da88Sderaadt.Xr netintro 4 ,
1861bb9c84dSjmc.Xr pci 4 ,
187a456da88Sderaadt.Xr hostname.if 5 ,
188a456da88Sderaadt.Xr hostapd 8 ,
189a456da88Sderaadt.Xr ifconfig 8
190a456da88Sderaadt.Sh HISTORY
191a456da88SderaadtThe
192a456da88Sderaadt.Nm
193a456da88Sderaadtdriver first appeared in
194a456da88Sderaadt.Ox 4.0 .
195a456da88Sderaadt.Sh AUTHORS
196a456da88Sderaadt.An -nosplit
197a456da88SderaadtThe
198a456da88Sderaadt.Nm
199a456da88Sderaadtdriver was written by
200a456da88Sderaadt.An Sepherosa Ziehau .
201a456da88SderaadtThe manual page was written by
202a456da88Sderaadt.An Sascha Wildner .
203a456da88SderaadtBoth are based on the
204305b6e39Sschwarze.Lk http://wlan.kewl.org
205a456da88Sderaadtproject team's original code.
206a456da88Sderaadt.Pp
207a456da88SderaadtThe hardware specification was reverse engineered by the good folks at
208305b6e39Sschwarze.Lk http://acx100.sourceforge.net .
209a456da88SderaadtWithout them this driver would not have been possible.
210