xref: /freebsd/share/man/man4/rsu.4 (revision be0d76eb2baeb0f2d28e3821bf0da54792e555b4)
131d98677SRui Paulo.\" $OpenBSD: rsu.4,v 1.11 2013/02/14 07:40:42 jmc Exp $
231d98677SRui Paulo.\" $FreeBSD$
331d98677SRui Paulo.\"
431d98677SRui Paulo.\" Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
531d98677SRui Paulo.\"
631d98677SRui Paulo.\" Permission to use, copy, modify, and distribute this software for any
731d98677SRui Paulo.\" purpose with or without fee is hereby granted, provided that the above
831d98677SRui Paulo.\" copyright notice and this permission notice appear in all copies.
931d98677SRui Paulo.\"
1031d98677SRui Paulo.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
1131d98677SRui Paulo.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
1231d98677SRui Paulo.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
1331d98677SRui Paulo.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
1431d98677SRui Paulo.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
1531d98677SRui Paulo.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1631d98677SRui Paulo.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1731d98677SRui Paulo.\"
18*be0d76ebSChristian Brueffer.Dd May 3, 2014
1931d98677SRui Paulo.Dt RSU 4
2031d98677SRui Paulo.Os
2131d98677SRui Paulo.Sh NAME
2231d98677SRui Paulo.Nm rsu
2331d98677SRui Paulo.Nd Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network device
2431d98677SRui Paulo.Sh SYNOPSIS
2531d98677SRui PauloTo compile this driver into the kernel,
2631d98677SRui Pauloplace the following lines in your kernel configuration file:
2731d98677SRui Paulo.Bd -ragged -offset indent
2831d98677SRui Paulo.Cd "device ehci"
2931d98677SRui Paulo.Cd "device uhci"
3031d98677SRui Paulo.Cd "device ohci"
3131d98677SRui Paulo.Cd "device usb"
3231d98677SRui Paulo.Cd "device rsu"
3331d98677SRui Paulo.Cd "device wlan"
3431d98677SRui Paulo.Ed
3531d98677SRui Paulo.Pp
3631d98677SRui PauloAlternatively, to load the driver as a module at boot time,
3731d98677SRui Pauloplace the following line in
3831d98677SRui Paulo.Xr loader.conf 5 :
3931d98677SRui Paulo.Bd -literal -offset indent
402a6b4327SJohn-Mark Gurneyif_rsu_load="YES"
4131d98677SRui Paulo.Ed
4231d98677SRui Paulo.Pp
43*be0d76ebSChristian BruefferAfter you have read the license in
44*be0d76ebSChristian Brueffer.Pa /usr/share/doc/legal/realtek
4531d98677SRui Pauloyou will want to add the following lines to
4631d98677SRui Paulo.Xr loader.conf 5 :
4731d98677SRui Paulo.Bd -literal -offset indent
4831d98677SRui Paulolegal.realtek.license_ack=1
4931d98677SRui Paulorsu-rtl8712fw_load="YES"
5031d98677SRui Paulo.Ed
5131d98677SRui Paulo.Sh DESCRIPTION
5231d98677SRui PauloThe
5331d98677SRui Paulo.Nm
5431d98677SRui Paulodriver supports USB 2.0 wireless network devices based on Realtek
5531d98677SRui PauloRTL8188SU, RTL8191SU and RTL8192SU chipsets.
5631d98677SRui Paulo.Pp
5731d98677SRui PauloThe RTL8188SU is a highly integrated 802.11n adapter that combines
5831d98677SRui Pauloa MAC, a 1T1R capable baseband and an RF in a single chip.
5931d98677SRui PauloIt operates in the 2GHz spectrum only.
6031d98677SRui Paulo.Pp
6131d98677SRui PauloThe RTL8191SU is a highly integrated multiple-in, single-out (MISO)
6231d98677SRui Paulo802.11n adapter that combines a MAC, a 1T2R capable baseband and an
6331d98677SRui PauloRF in a single chip.
6431d98677SRui PauloIt operates in the 2GHz spectrum only.
6531d98677SRui Paulo.Pp
6631d98677SRui PauloThe RTL8192SU is a highly integrated multiple-in, multiple-out (MIMO)
6731d98677SRui Paulo802.11n adapter that combines a MAC, a 2T2R capable baseband and an
6831d98677SRui PauloRF in a single chip.
6931d98677SRui PauloIt operates in the 2GHz spectrum only.
7031d98677SRui Paulo.Pp
7131d98677SRui PauloThese are the modes the
7231d98677SRui Paulo.Nm
7331d98677SRui Paulodriver can operate in:
7431d98677SRui Paulo.Bl -tag -width "IBSS-masterXX"
7531d98677SRui Paulo.It BSS mode
7631d98677SRui PauloAlso known as
7731d98677SRui Paulo.Em infrastructure
7831d98677SRui Paulomode, this is used when associating with an access point, through
7931d98677SRui Paulowhich all traffic passes.
8031d98677SRui PauloThis mode is the default.
8131d98677SRui Paulo.El
8231d98677SRui Paulo.Pp
8331d98677SRui PauloThe
8431d98677SRui Paulo.Nm
8531d98677SRui Paulodriver can be configured to use
8631d98677SRui PauloWired Equivalent Privacy (WEP) or
8731d98677SRui PauloWi-Fi Protected Access (WPA-PSK and WPA2-PSK).
8831d98677SRui PauloWPA is the de facto encryption standard for wireless networks.
8931d98677SRui PauloIt is strongly recommended that WEP
9031d98677SRui Paulonot be used as the sole mechanism
9131d98677SRui Pauloto secure wireless communication,
9231d98677SRui Paulodue to serious weaknesses in it.
9331d98677SRui Paulo.Pp
9431d98677SRui PauloThe
9531d98677SRui Paulo.Nm
9631d98677SRui Paulodriver can be configured at runtime with
97*be0d76ebSChristian Brueffer.Xr ifconfig 8 .
9831d98677SRui Paulo.Sh FILES
9931d98677SRui PauloThe driver needs at least version 1.2 of the following firmware file,
10031d98677SRui Paulowhich is loaded when an interface is attached:
10131d98677SRui Paulo.Pp
10231d98677SRui Paulo.Bl -tag -width Ds -offset indent -compact
103*be0d76ebSChristian Brueffer.It Pa /boot/kernel/rsu-rtl8712fw.ko
10431d98677SRui Paulo.El
10531d98677SRui Paulo.Sh HARDWARE
106*be0d76ebSChristian BruefferThe
107*be0d76ebSChristian Brueffer.Nm
108*be0d76ebSChristian Bruefferdriver provices support for Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n
109*be0d76ebSChristian Bruefferwireless network adapters, including:
11031d98677SRui Paulo.Pp
11131d98677SRui Paulo.Bl -tag -width Ds -offset indent -compact
11231d98677SRui Paulo.It ASUS USB-N10
11331d98677SRui Paulo.It Belkin F7D1101 v1
11431d98677SRui Paulo.It D-Link DWA-131 A1
11531d98677SRui Paulo.It EDUP EP-MS150N(W)
11631d98677SRui Paulo.It Hercules HWGUn-54
11731d98677SRui Paulo.It Hercules HWNUm-300
11831d98677SRui Paulo.It Planex GW-USNano
11931d98677SRui Paulo.It Sitecom WL-349 v1
12031d98677SRui Paulo.It Sitecom WL-353
12131d98677SRui Paulo.It Sweex LW154
12231d98677SRui Paulo.It TRENDnet TEW-648UB
12331d98677SRui Paulo.It TRENDnet TEW-649UB
124cfde4db2SJoel Dahl.El
12531d98677SRui Paulo.Sh EXAMPLES
12631d98677SRui PauloJoin an existing BSS network (i.e., connect to an access point):
12731d98677SRui Paulo.Bd -literal -offset indent
12831d98677SRui Pauloifconfig wlan create wlandev rsu0 inet 192.168.0.20 \e
12931d98677SRui Paulo    netmask 0xffffff00
13031d98677SRui Paulo.Ed
13131d98677SRui Paulo.Pp
13231d98677SRui PauloJoin a specific BSS network with network name
13331d98677SRui Paulo.Dq Li my_net :
13431d98677SRui Paulo.Pp
13531d98677SRui Paulo.Dl "ifconfig wlan create wlandev rsu0 ssid my_net up"
13631d98677SRui Paulo.Pp
13731d98677SRui PauloJoin a specific BSS network with 64-bit WEP encryption:
13831d98677SRui Paulo.Bd -literal -offset indent
13931d98677SRui Pauloifconfig wlan create wlandev rsu0 ssid my_net \e
14031d98677SRui Paulo        wepmode on wepkey 0x1234567890 weptxkey 1 up
14131d98677SRui Paulo.Ed
14231d98677SRui Paulo.Sh DIAGNOSTICS
14331d98677SRui Paulo.Bl -diag
14431d98677SRui Paulo.It "%s: failed load firmware of file rsu-rtl8712fw"
14531d98677SRui PauloFor some reason, the driver was unable to read the microcode file from the
14631d98677SRui Paulofilesystem.
14731d98677SRui PauloThe file might be missing or corrupted.
14831d98677SRui Paulo.It "device timeout"
14931d98677SRui PauloA frame dispatched to the hardware for transmission did not complete in time.
15031d98677SRui PauloThe driver will reset the hardware.
15131d98677SRui PauloThis should not happen.
15231d98677SRui Paulo.El
15331d98677SRui Paulo.Sh SEE ALSO
154cfde4db2SJoel Dahl.Xr intro 1 ,
155*be0d76ebSChristian Brueffer.Xr usb 4 ,
156cfde4db2SJoel Dahl.Xr netintro 4 ,
157cfde4db2SJoel Dahl.Xr rsufw 4 ,
15831d98677SRui Paulo.Xr wlan 4 ,
159cfde4db2SJoel Dahl.Xr arp 8 ,
160*be0d76ebSChristian Brueffer.Xr hostapd 8 ,
161*be0d76ebSChristian Brueffer.Xr ifconfig 8 ,
162*be0d76ebSChristian Brueffer.Xr wpa_supplicant 8
16331d98677SRui Paulo.Sh HISTORY
16431d98677SRui PauloThe
16531d98677SRui Paulo.Nm
16631d98677SRui Paulodriver first appeared in
16731d98677SRui Paulo.Ox 4.9 and
16831d98677SRui Paulo.Fx 10.0 .
16931d98677SRui Paulo.Sh AUTHORS
17031d98677SRui Paulo.An -nosplit
17131d98677SRui PauloThe
17231d98677SRui Paulo.Nm
17331d98677SRui Paulodriver was written by
17431d98677SRui Paulo.An Damien Bergamini Aq damien@openbsd.org
17531d98677SRui Pauloand ported by
17631d98677SRui Paulo.An Rui Paulo Aq rpaulo@freebsd.org .
17731d98677SRui Paulo.Sh CAVEATS
17831d98677SRui PauloThe
17931d98677SRui Paulo.Nm
18031d98677SRui Paulodriver does not support any of the 802.11n capabilities offered by the
18131d98677SRui Pauloadapters.
182