xref: /openbsd-src/share/man/man4/rum.4 (revision b6ef1ff8d416ce6b7d3d925ceea6aed69542b0c8)
1.\" $OpenBSD: rum.4,v 1.62 2021/10/15 08:10:44 kn Exp $
2.\"
3.\" Copyright (c) 2005-2007
4.\"	Damien Bergamini <damien.bergamini@free.fr>
5.\"
6.\" Permission to use, copy, modify, and distribute this software for any
7.\" purpose with or without fee is hereby granted, provided that the above
8.\" copyright notice and this permission notice appear in all copies.
9.\"
10.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\"
18.Dd $Mdocdate: October 15 2021 $
19.Dt RUM 4
20.Os
21.Sh NAME
22.Nm rum
23.Nd Ralink Technology/MediaTek USB IEEE 802.11a/b/g wireless network device
24.Sh SYNOPSIS
25.Cd "rum* at uhub? port ?"
26.Sh DESCRIPTION
27The
28.Nm
29driver supports USB 2.0 and PCI Express Mini Card wireless adapters based on the
30Ralink RT2501USB and RT2601USB chipsets.
31.Pp
32Ralink PCI Express Mini Card adapters show up as normal USB 2.0 devices and are
33thus handled by the
34.Nm
35driver.
36.Pp
37The RT2501USB chipset is the second generation of 802.11a/b/g adapters from
38Ralink.
39It consists of two integrated chips, an RT2571W MAC/BBP and an RT2528 or
40RT5226 radio transceiver.
41.Pp
42The RT2601USB chipset consists of two integrated chips, an RT2671 MAC/BBP and
43an RT2527 or RT5225 radio transceiver.
44This chipset uses the MIMO (multiple-input multiple-output) technology with
45multiple antennas to extend the operating range of the adapter and to achieve
46higher throughput.
47.Pp
48These are the modes the
49.Nm
50driver can operate in:
51.Bl -tag -width "IBSS-masterXX"
52.It BSS mode
53Also known as
54.Em infrastructure
55mode, this is used when associating with an access point, through
56which all traffic passes.
57This mode is the default.
58.It IBSS mode
59Also known as
60.Em IEEE ad-hoc
61mode or
62.Em peer-to-peer
63mode.
64This is the standardized method of operating without an access point.
65Stations associate with a service set.
66However, actual connections between stations are peer-to-peer.
67.It Host AP
68In this mode the driver acts as an access point (base station)
69for other cards.
70.It monitor mode
71In this mode the driver is able to receive packets without
72associating with an access point.
73This disables the internal receive filter and enables the card to
74capture packets from networks which it wouldn't normally have access to,
75or to scan for access points.
76.El
77.Pp
78The
79.Nm
80driver can be configured to use
81Wired Equivalent Privacy (WEP) or
82Wi-Fi Protected Access (WPA1 and WPA2).
83WPA2 is the current encryption standard for wireless networks.
84It is strongly recommended that neither WEP nor WPA1
85are used as the sole mechanism to secure wireless communication,
86due to serious weaknesses.
87WPA1 is disabled by default and may be enabled using the option
88.Qq Cm wpaprotos Ar wpa1,wpa2 .
89For standard WPA networks which use pre-shared keys (PSK),
90keys are configured using the
91.Qq Cm wpakey
92option.
93WPA-Enterprise networks require use of the wpa_supplicant package.
94The
95.Nm
96driver relies on the software 802.11 stack for both encryption and decryption
97of data frames.
98.Pp
99The
100.Nm
101driver can be configured at runtime with
102.Xr ifconfig 8
103or on boot with
104.Xr hostname.if 5 .
105.Sh FILES
106The following firmware file is loaded when an interface is brought up:
107.Pp
108.Bl -tag -width Ds -offset indent -compact
109.It /etc/firmware/rum-rt2573
110.El
111.Sh HARDWARE
112The following adapters should work:
113.Pp
114.Bl -tag -width Ds -offset indent -compact
115.It 3Com Aolynk WUB320g
116.It Abocom WUG2700
117.It Airlink101 AWLL5025
118.It ASUS WL-167g ver 2
119.It Atlantis Land A02-UP1-W54
120.It Belkin F5D7050 ver 3
121.It Belkin F5D9050 ver 3
122.It Belkin F5D9050C
123.It Buffalo WLI-U2-SG54HG
124.It Buffalo WLI-U2-SG54HP
125.It Buffalo WLI-U2-G54HP
126.It CNet CWD-854 ver F
127.It Conceptronic C54RU ver 2
128.It Corega CG-WLUSB2GL
129.It Corega CG-WLUSB2GO
130.It Corega CG-WLUSB2GPX
131.It D-Link DWA-110
132.It D-Link DWA-111
133.It "D-Link DWL-G122 rev C1"
134.It D-Link WUA-1340
135.It Digitus DN-7003GR
136.It Edimax EW-7318Ug
137.It Edimax EW-7318USg
138.It Edimax EW-7618Ug
139.It Gigabyte GN-WB01GS
140.It Gigabyte GN-WI05GS
141.It Hawking HWUG1
142.It Hawking HWU54DM
143.It Hercules HWGUSB2-54-LB
144.It Hercules HWGUSB2-54V2-AP
145.It LevelOne WNC-0301USB v3
146.It Linksys WUSB200
147.It Linksys WUSB54G rev C
148.It Linksys WUSB54GR
149.It Planex GW-US54HP
150.It Planex GW-US54Mini2
151.It Planex GW-USMM
152.It Senao NUB-3701
153.It Sitecom WL-113 ver 2
154.It Sitecom WL-172
155.It Sweex LW053
156.It TP-LINK TL-WN321G
157.El
158.Sh EXAMPLES
159The following example scans for available networks:
160.Pp
161.Dl # ifconfig rum0 scan
162.Pp
163The following
164.Xr hostname.if 5
165example configures rum0 to join network
166.Dq mynwid ,
167using WPA key
168.Dq mywpakey ,
169obtaining an IP address using DHCP:
170.Bd -literal -offset indent
171nwid mynwid wpakey mywpakey
172inet autoconf
173.Ed
174.Pp
175The following
176.Xr hostname.if 5
177example creates a host-based access point on boot:
178.Bd -literal -offset indent
179mediaopt hostap
180nwid mynwid wpakey mywpakey
181inet 192.168.1.1 255.255.255.0
182.Ed
183.Sh DIAGNOSTICS
184.Bl -diag
185.It "rum0: error N, could not read firmware ..."
186For some reason, the driver was unable to read the microcode file from the
187filesystem.
188The file might be missing or corrupted.
189.It "rum0: could not load 8051 microcode"
190An error occurred while attempting to upload the microcode to the onboard 8051
191microcontroller unit.
192.It "rum0: device timeout"
193A frame dispatched to the hardware for transmission did not complete in time.
194The driver will reset the hardware.
195This should not happen.
196.El
197.Sh SEE ALSO
198.Xr arp 4 ,
199.Xr ifmedia 4 ,
200.Xr intro 4 ,
201.Xr netintro 4 ,
202.Xr usb 4 ,
203.Xr hostname.if 5 ,
204.Xr hostapd 8 ,
205.Xr ifconfig 8
206.Sh HISTORY
207The
208.Nm
209driver first appeared in
210.Ox 4.0 .
211.Sh AUTHORS
212The
213.Nm
214driver was written by
215.An Niall O'Higgins Aq Mt niallo@openbsd.org
216and
217.An Damien Bergamini Aq Mt damien.bergamini@free.fr .
218.Sh CAVEATS
219The
220.Nm
221driver supports automatic control of the transmit speed in BSS mode only.
222Therefore the use of a
223.Nm
224adapter in Host AP mode is discouraged.
225.Pp
226This driver does not support powersave mode.
227