xref: /openbsd/share/man/man4/rum.4 (revision 17df1aa7)
1.\" $OpenBSD: rum.4,v 1.48 2010/04/29 09:20:17 jmc 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: April 29 2010 $
19.Dt RUM 4
20.Os
21.Sh NAME
22.Nm rum
23.Nd Ralink Technology 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 (WPA-PSK and WPA2-PSK).
83WPA is the de facto encryption standard for wireless networks.
84It is strongly recommended that WEP
85not be used as the sole mechanism
86to secure wireless communication,
87due to serious weaknesses in it.
88The
89.Nm
90driver relies on the software 802.11 stack for both encryption and decryption
91of data frames.
92.Pp
93The
94.Nm
95driver can be configured at runtime with
96.Xr ifconfig 8
97or on boot with
98.Xr hostname.if 5 .
99.Sh FILES
100The following firmware file is loaded when an interface is brought up:
101.Pp
102.Bl -tag -width Ds -offset indent -compact
103.It /etc/firmware/rum-rt2573
104.El
105.Sh HARDWARE
106The following adapters should work:
107.Pp
108.Bl -tag -width Ds -offset indent -compact
109.It 3Com Aolynk WUB320g
110.It Abocom WUG2700
111.It Airlink101 AWLL5025
112.It ASUS WL-167g ver 2
113.It Atlantis Land A02-UP1-W54
114.It Belkin F5D7050 ver 3
115.It Belkin F5D9050 ver 3
116.It Belkin F5D9050C
117.It Buffalo WLI-U2-SG54HG
118.It Buffalo WLI-U2-SG54HP
119.It Buffalo WLI-U2-G54HP
120.It CNet CWD-854 ver F
121.It Conceptronic C54RU ver 2
122.It Corega CG-WLUSB2GL
123.It Corega CG-WLUSB2GO
124.It Corega CG-WLUSB2GPX
125.It D-Link DWA-110
126.It D-Link DWA-111
127.It "D-Link DWL-G122 rev C1"
128.It D-Link WUA-1340
129.It Digitus DN-7003GR
130.It Edimax EW-7318Ug
131.It Edimax EW-7318USg
132.It Edimax EW-7618Ug
133.It Gigabyte GN-WB01GS
134.It Gigabyte GN-WI05GS
135.It Hawking HWUG1
136.It Hawking HWU54DM
137.It Hercules HWGUSB2-54-LB
138.It Hercules HWGUSB2-54V2-AP
139.It LevelOne WNC-0301USB v3
140.It Linksys WUSB200
141.It Linksys WUSB54G rev C
142.It Linksys WUSB54GR
143.It Planex GW-US54HP
144.It Planex GW-US54Mini2
145.It Planex GW-USMM
146.It Senao NUB-3701
147.It Sitecom WL-113 ver 2
148.It Sitecom WL-172
149.It Sweex LW053
150.It TP-LINK TL-WN321G
151.El
152.Sh EXAMPLES
153The following
154.Xr hostname.if 5
155example configures rum0 to join whatever network is available on boot,
156using WEP key
157.Dq 0x1deadbeef1 ,
158channel 11, obtaining an IP address using DHCP:
159.Bd -literal -offset indent
160dhcp NONE NONE NONE nwkey 0x1deadbeef1 chan 11
161.Ed
162.Pp
163The following
164.Xr hostname.if 5
165example creates a host-based access point on boot:
166.Bd -literal -offset indent
167inet 192.168.1.1 255.255.255.0 NONE media autoselect \e
168	mediaopt hostap nwid my_net chan 11
169.Ed
170.Pp
171Configure rum0 to join network
172.Dq my_net
173using WPA-PSK with passphrase
174.Dq my_passphrase :
175.Bd -literal -offset indent
176# ifconfig rum0 nwid my_net wpa wpapsk \e
177	`wpa-psk my_net my_passphrase`
178.Ed
179.Pp
180Return rum0 to its default settings:
181.Bd -literal -offset indent
182# ifconfig rum0 -bssid -chan media autoselect \e
183	nwid "" -nwkey -wpa -wpapsk
184.Ed
185.Pp
186Join an existing BSS network,
187.Dq my_net :
188.Bd -literal -offset indent
189# ifconfig rum0 192.168.1.1 netmask 0xffffff00 nwid my_net
190.Ed
191.Sh DIAGNOSTICS
192.Bl -diag
193.It "rum%d: error %d, could not read firmware %s"
194For some reason, the driver was unable to read the microcode file from the
195filesystem.
196The file might be missing or corrupted.
197.It "rum%d: could not load 8051 microcode"
198An error occurred while attempting to upload the microcode to the onboard 8051
199microcontroller unit.
200.It "rum%d: device timeout"
201A frame dispatched to the hardware for transmission did not complete in time.
202The driver will reset the hardware.
203This should not happen.
204.El
205.Sh SEE ALSO
206.Xr arp 4 ,
207.Xr ifmedia 4 ,
208.Xr intro 4 ,
209.Xr netintro 4 ,
210.Xr usb 4 ,
211.Xr hostname.if 5 ,
212.Xr hostapd 8 ,
213.Xr ifconfig 8 ,
214.Xr wpa-psk 8
215.Pp
216Ralink Technology:
217.Pa http://www.ralinktech.com/
218.Sh HISTORY
219The
220.Nm
221driver first appeared in
222.Ox 4.0 .
223.Sh AUTHORS
224The
225.Nm
226driver was written by
227.An Niall O'Higgins Aq niallo@openbsd.org
228and
229.An Damien Bergamini Aq damien@openbsd.org .
230.Sh CAVEATS
231The
232.Nm
233driver supports automatic control of the transmit speed in BSS mode only.
234Therefore the use of a
235.Nm
236adapter in Host AP mode is discouraged.
237.Pp
238Host AP mode doesn't support power saving.
239Clients attempting to use power saving mode may experience significant
240packet loss (disabling power saving on the client will fix this).
241