xref: /freebsd/share/man/man4/rsu.4 (revision 31d9867769df3c14e87a6de68a20ba516ecba9f6)
1*31d98677SRui Paulo.\" $OpenBSD: rsu.4,v 1.11 2013/02/14 07:40:42 jmc Exp $
2*31d98677SRui Paulo.\" $FreeBSD$
3*31d98677SRui Paulo.\"
4*31d98677SRui Paulo.\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
5*31d98677SRui Paulo.\"
6*31d98677SRui Paulo.\" Permission to use, copy, modify, and distribute this software for any
7*31d98677SRui Paulo.\" purpose with or without fee is hereby granted, provided that the above
8*31d98677SRui Paulo.\" copyright notice and this permission notice appear in all copies.
9*31d98677SRui Paulo.\"
10*31d98677SRui Paulo.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11*31d98677SRui Paulo.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12*31d98677SRui Paulo.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13*31d98677SRui Paulo.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14*31d98677SRui Paulo.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15*31d98677SRui Paulo.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16*31d98677SRui Paulo.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17*31d98677SRui Paulo.\"
18*31d98677SRui Paulo.Dd July 29 2013
19*31d98677SRui Paulo.Dt RSU 4
20*31d98677SRui Paulo.Os
21*31d98677SRui Paulo.Sh NAME
22*31d98677SRui Paulo.Nm rsu
23*31d98677SRui Paulo.Nd Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network device
24*31d98677SRui Paulo.Sh SYNOPSIS
25*31d98677SRui Paulo.\.Cd "rsu* at uhub? port ?"
26*31d98677SRui PauloTo compile this driver into the kernel,
27*31d98677SRui Pauloplace the following lines in your kernel configuration file:
28*31d98677SRui Paulo.Bd -ragged -offset indent
29*31d98677SRui Paulo.Cd "device ehci"
30*31d98677SRui Paulo.Cd "device uhci"
31*31d98677SRui Paulo.Cd "device ohci"
32*31d98677SRui Paulo.Cd "device usb"
33*31d98677SRui Paulo.Cd "device rsu"
34*31d98677SRui Paulo.Cd "device wlan"
35*31d98677SRui Paulo.Ed
36*31d98677SRui Paulo.Pp
37*31d98677SRui PauloAlternatively, to load the driver as a module at boot time,
38*31d98677SRui Pauloplace the following line in
39*31d98677SRui Paulo.Xr loader.conf 5:
40*31d98677SRui Paulo.Bd -literal -offset indent
41*31d98677SRui Paulo.Xr if_rsu_load="YES"
42*31d98677SRui Paulo.Ed
43*31d98677SRui Paulo.Pp
44*31d98677SRui PauloAfter you have read the license in /usr/share/doc/legal/realtek
45*31d98677SRui Pauloyou will want to add the following lines to
46*31d98677SRui Paulo.Xr loader.conf 5 :
47*31d98677SRui Paulo.Bd -literal -offset indent
48*31d98677SRui Paulolegal.realtek.license_ack=1
49*31d98677SRui Paulorsu-rtl8712fw_load="YES"
50*31d98677SRui Paulo.Ed
51*31d98677SRui Paulo.Sh DESCRIPTION
52*31d98677SRui PauloThe
53*31d98677SRui Paulo.Nm
54*31d98677SRui Paulodriver supports USB 2.0 wireless network devices based on Realtek
55*31d98677SRui PauloRTL8188SU, RTL8191SU and RTL8192SU chipsets.
56*31d98677SRui Paulo.Pp
57*31d98677SRui PauloThe RTL8188SU is a highly integrated 802.11n adapter that combines
58*31d98677SRui Pauloa MAC, a 1T1R capable baseband and an RF in a single chip.
59*31d98677SRui PauloIt operates in the 2GHz spectrum only.
60*31d98677SRui Paulo.Pp
61*31d98677SRui PauloThe RTL8191SU is a highly integrated multiple-in, single-out (MISO)
62*31d98677SRui Paulo802.11n adapter that combines a MAC, a 1T2R capable baseband and an
63*31d98677SRui PauloRF in a single chip.
64*31d98677SRui PauloIt operates in the 2GHz spectrum only.
65*31d98677SRui Paulo.Pp
66*31d98677SRui PauloThe RTL8192SU is a highly integrated multiple-in, multiple-out (MIMO)
67*31d98677SRui Paulo802.11n adapter that combines a MAC, a 2T2R capable baseband and an
68*31d98677SRui PauloRF in a single chip.
69*31d98677SRui PauloIt operates in the 2GHz spectrum only.
70*31d98677SRui Paulo.Pp
71*31d98677SRui PauloThese are the modes the
72*31d98677SRui Paulo.Nm
73*31d98677SRui Paulodriver can operate in:
74*31d98677SRui Paulo.Bl -tag -width "IBSS-masterXX"
75*31d98677SRui Paulo.It BSS mode
76*31d98677SRui PauloAlso known as
77*31d98677SRui Paulo.Em infrastructure
78*31d98677SRui Paulomode, this is used when associating with an access point, through
79*31d98677SRui Paulowhich all traffic passes.
80*31d98677SRui PauloThis mode is the default.
81*31d98677SRui Paulo.El
82*31d98677SRui Paulo.Pp
83*31d98677SRui PauloThe
84*31d98677SRui Paulo.Nm
85*31d98677SRui Paulodriver can be configured to use
86*31d98677SRui PauloWired Equivalent Privacy (WEP) or
87*31d98677SRui PauloWi-Fi Protected Access (WPA-PSK and WPA2-PSK).
88*31d98677SRui PauloWPA is the de facto encryption standard for wireless networks.
89*31d98677SRui PauloIt is strongly recommended that WEP
90*31d98677SRui Paulonot be used as the sole mechanism
91*31d98677SRui Pauloto secure wireless communication,
92*31d98677SRui Paulodue to serious weaknesses in it.
93*31d98677SRui Paulo.Pp
94*31d98677SRui PauloThe
95*31d98677SRui Paulo.Nm
96*31d98677SRui Paulodriver can be configured at runtime with
97*31d98677SRui Paulo.Xr ifconfig 8
98*31d98677SRui Pauloor on boot with
99*31d98677SRui Paulo.Xr hostname 1 .
100*31d98677SRui Paulo.Sh FILES
101*31d98677SRui PauloThe driver needs at least version 1.2 of the following firmware file,
102*31d98677SRui Paulowhich is loaded when an interface is attached:
103*31d98677SRui Paulo.Pp
104*31d98677SRui Paulo.Bl -tag -width Ds -offset indent -compact
105*31d98677SRui Paulo.It /boot/kernel/rsu-rtl8712fw.ko
106*31d98677SRui Paulo.El
107*31d98677SRui Paulo.Sh HARDWARE
108*31d98677SRui PauloThe following adapters should work:
109*31d98677SRui Paulo.Pp
110*31d98677SRui Paulo.Bl -tag -width Ds -offset indent -compact
111*31d98677SRui Paulo.It ASUS USB-N10
112*31d98677SRui Paulo.It Belkin F7D1101 v1
113*31d98677SRui Paulo.It D-Link DWA-131 A1
114*31d98677SRui Paulo.It EDUP EP-MS150N(W)
115*31d98677SRui Paulo.It Hercules HWGUn-54
116*31d98677SRui Paulo.It Hercules HWNUm-300
117*31d98677SRui Paulo.It Planex GW-USNano
118*31d98677SRui Paulo.It Sitecom WL-349 v1
119*31d98677SRui Paulo.It Sitecom WL-353
120*31d98677SRui Paulo.It Sweex LW154
121*31d98677SRui Paulo.It TRENDnet TEW-648UB
122*31d98677SRui Paulo.It TRENDnet TEW-649UB
123*31d98677SRui Paulo.Sh EXAMPLES
124*31d98677SRui PauloJoin an existing BSS network (i.e., connect to an access point):
125*31d98677SRui Paulo.Bd -literal -offset indent
126*31d98677SRui Pauloifconfig wlan create wlandev rsu0 inet 192.168.0.20 \e
127*31d98677SRui Paulo    netmask 0xffffff00
128*31d98677SRui Paulo.Ed
129*31d98677SRui Paulo.Pp
130*31d98677SRui PauloJoin a specific BSS network with network name
131*31d98677SRui Paulo.Dq Li my_net :
132*31d98677SRui Paulo.Pp
133*31d98677SRui Paulo.Dl "ifconfig wlan create wlandev rsu0 ssid my_net up"
134*31d98677SRui Paulo.Pp
135*31d98677SRui PauloJoin a specific BSS network with 64-bit WEP encryption:
136*31d98677SRui Paulo.Bd -literal -offset indent
137*31d98677SRui Pauloifconfig wlan create wlandev rsu0 ssid my_net \e
138*31d98677SRui Paulo        wepmode on wepkey 0x1234567890 weptxkey 1 up
139*31d98677SRui Paulo.Ed
140*31d98677SRui Paulo.Sh DIAGNOSTICS
141*31d98677SRui Paulo.Bl -diag
142*31d98677SRui Paulo.It "%s: failed load firmware of file rsu-rtl8712fw"
143*31d98677SRui PauloFor some reason, the driver was unable to read the microcode file from the
144*31d98677SRui Paulofilesystem.
145*31d98677SRui PauloThe file might be missing or corrupted.
146*31d98677SRui Paulo.It "device timeout"
147*31d98677SRui PauloA frame dispatched to the hardware for transmission did not complete in time.
148*31d98677SRui PauloThe driver will reset the hardware.
149*31d98677SRui PauloThis should not happen.
150*31d98677SRui Paulo.El
151*31d98677SRui Paulo.Sh SEE ALSO
152*31d98677SRui Paulo.Xr arp 8 ,
153*31d98677SRui Paulo.Xr intro 1 ,
154*31d98677SRui Paulo.Xr netintro 4 ,
155*31d98677SRui Paulo.Xr usb 3 ,
156*31d98677SRui Paulo.Xr hostname 1 ,
157*31d98677SRui Paulo.Xr ifconfig 8,
158*31d98677SRui Paulo.Xr wlan 4 ,
159*31d98677SRui Paulo.Xr rsufw 4
160*31d98677SRui Paulo.Sh HISTORY
161*31d98677SRui PauloThe
162*31d98677SRui Paulo.Nm
163*31d98677SRui Paulodriver first appeared in
164*31d98677SRui Paulo.Ox 4.9 and
165*31d98677SRui Paulo.Fx 10.0 .
166*31d98677SRui Paulo.Sh AUTHORS
167*31d98677SRui Paulo.An -nosplit
168*31d98677SRui PauloThe
169*31d98677SRui Paulo.Nm
170*31d98677SRui Paulodriver was written by
171*31d98677SRui Paulo.An Damien Bergamini Aq damien@openbsd.org
172*31d98677SRui Pauloand ported by
173*31d98677SRui Paulo.An Rui Paulo Aq rpaulo@freebsd.org .
174*31d98677SRui Paulo.Sh CAVEATS
175*31d98677SRui PauloThe
176*31d98677SRui Paulo.Nm
177*31d98677SRui Paulodriver does not support any of the 802.11n capabilities offered by the
178*31d98677SRui Pauloadapters.
179