xref: /freebsd/share/man/man4/rsu.4 (revision cfde4db254ca945a8c2882f86550a3e36e8813b2)
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.\"
1831d98677SRui Paulo.Dd July 29 2013
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
4031d98677SRui Paulo.Xr if_rsu_load="YES"
4131d98677SRui Paulo.Ed
4231d98677SRui Paulo.Pp
4331d98677SRui PauloAfter you have read the license in /usr/share/doc/legal/realtek
4431d98677SRui Pauloyou will want to add the following lines to
4531d98677SRui Paulo.Xr loader.conf 5 :
4631d98677SRui Paulo.Bd -literal -offset indent
4731d98677SRui Paulolegal.realtek.license_ack=1
4831d98677SRui Paulorsu-rtl8712fw_load="YES"
4931d98677SRui Paulo.Ed
5031d98677SRui Paulo.Sh DESCRIPTION
5131d98677SRui PauloThe
5231d98677SRui Paulo.Nm
5331d98677SRui Paulodriver supports USB 2.0 wireless network devices based on Realtek
5431d98677SRui PauloRTL8188SU, RTL8191SU and RTL8192SU chipsets.
5531d98677SRui Paulo.Pp
5631d98677SRui PauloThe RTL8188SU is a highly integrated 802.11n adapter that combines
5731d98677SRui Pauloa MAC, a 1T1R capable baseband and an RF in a single chip.
5831d98677SRui PauloIt operates in the 2GHz spectrum only.
5931d98677SRui Paulo.Pp
6031d98677SRui PauloThe RTL8191SU is a highly integrated multiple-in, single-out (MISO)
6131d98677SRui Paulo802.11n adapter that combines a MAC, a 1T2R capable baseband and an
6231d98677SRui PauloRF in a single chip.
6331d98677SRui PauloIt operates in the 2GHz spectrum only.
6431d98677SRui Paulo.Pp
6531d98677SRui PauloThe RTL8192SU is a highly integrated multiple-in, multiple-out (MIMO)
6631d98677SRui Paulo802.11n adapter that combines a MAC, a 2T2R capable baseband and an
6731d98677SRui PauloRF in a single chip.
6831d98677SRui PauloIt operates in the 2GHz spectrum only.
6931d98677SRui Paulo.Pp
7031d98677SRui PauloThese are the modes the
7131d98677SRui Paulo.Nm
7231d98677SRui Paulodriver can operate in:
7331d98677SRui Paulo.Bl -tag -width "IBSS-masterXX"
7431d98677SRui Paulo.It BSS mode
7531d98677SRui PauloAlso known as
7631d98677SRui Paulo.Em infrastructure
7731d98677SRui Paulomode, this is used when associating with an access point, through
7831d98677SRui Paulowhich all traffic passes.
7931d98677SRui PauloThis mode is the default.
8031d98677SRui Paulo.El
8131d98677SRui Paulo.Pp
8231d98677SRui PauloThe
8331d98677SRui Paulo.Nm
8431d98677SRui Paulodriver can be configured to use
8531d98677SRui PauloWired Equivalent Privacy (WEP) or
8631d98677SRui PauloWi-Fi Protected Access (WPA-PSK and WPA2-PSK).
8731d98677SRui PauloWPA is the de facto encryption standard for wireless networks.
8831d98677SRui PauloIt is strongly recommended that WEP
8931d98677SRui Paulonot be used as the sole mechanism
9031d98677SRui Pauloto secure wireless communication,
9131d98677SRui Paulodue to serious weaknesses in it.
9231d98677SRui Paulo.Pp
9331d98677SRui PauloThe
9431d98677SRui Paulo.Nm
9531d98677SRui Paulodriver can be configured at runtime with
9631d98677SRui Paulo.Xr ifconfig 8
9731d98677SRui Pauloor on boot with
9831d98677SRui Paulo.Xr hostname 1 .
9931d98677SRui Paulo.Sh FILES
10031d98677SRui PauloThe driver needs at least version 1.2 of the following firmware file,
10131d98677SRui Paulowhich is loaded when an interface is attached:
10231d98677SRui Paulo.Pp
10331d98677SRui Paulo.Bl -tag -width Ds -offset indent -compact
10431d98677SRui Paulo.It /boot/kernel/rsu-rtl8712fw.ko
10531d98677SRui Paulo.El
10631d98677SRui Paulo.Sh HARDWARE
10731d98677SRui PauloThe following adapters should work:
10831d98677SRui Paulo.Pp
10931d98677SRui Paulo.Bl -tag -width Ds -offset indent -compact
11031d98677SRui Paulo.It ASUS USB-N10
11131d98677SRui Paulo.It Belkin F7D1101 v1
11231d98677SRui Paulo.It D-Link DWA-131 A1
11331d98677SRui Paulo.It EDUP EP-MS150N(W)
11431d98677SRui Paulo.It Hercules HWGUn-54
11531d98677SRui Paulo.It Hercules HWNUm-300
11631d98677SRui Paulo.It Planex GW-USNano
11731d98677SRui Paulo.It Sitecom WL-349 v1
11831d98677SRui Paulo.It Sitecom WL-353
11931d98677SRui Paulo.It Sweex LW154
12031d98677SRui Paulo.It TRENDnet TEW-648UB
12131d98677SRui Paulo.It TRENDnet TEW-649UB
122*cfde4db2SJoel Dahl.El
12331d98677SRui Paulo.Sh EXAMPLES
12431d98677SRui PauloJoin an existing BSS network (i.e., connect to an access point):
12531d98677SRui Paulo.Bd -literal -offset indent
12631d98677SRui Pauloifconfig wlan create wlandev rsu0 inet 192.168.0.20 \e
12731d98677SRui Paulo    netmask 0xffffff00
12831d98677SRui Paulo.Ed
12931d98677SRui Paulo.Pp
13031d98677SRui PauloJoin a specific BSS network with network name
13131d98677SRui Paulo.Dq Li my_net :
13231d98677SRui Paulo.Pp
13331d98677SRui Paulo.Dl "ifconfig wlan create wlandev rsu0 ssid my_net up"
13431d98677SRui Paulo.Pp
13531d98677SRui PauloJoin a specific BSS network with 64-bit WEP encryption:
13631d98677SRui Paulo.Bd -literal -offset indent
13731d98677SRui Pauloifconfig wlan create wlandev rsu0 ssid my_net \e
13831d98677SRui Paulo        wepmode on wepkey 0x1234567890 weptxkey 1 up
13931d98677SRui Paulo.Ed
14031d98677SRui Paulo.Sh DIAGNOSTICS
14131d98677SRui Paulo.Bl -diag
14231d98677SRui Paulo.It "%s: failed load firmware of file rsu-rtl8712fw"
14331d98677SRui PauloFor some reason, the driver was unable to read the microcode file from the
14431d98677SRui Paulofilesystem.
14531d98677SRui PauloThe file might be missing or corrupted.
14631d98677SRui Paulo.It "device timeout"
14731d98677SRui PauloA frame dispatched to the hardware for transmission did not complete in time.
14831d98677SRui PauloThe driver will reset the hardware.
14931d98677SRui PauloThis should not happen.
15031d98677SRui Paulo.El
15131d98677SRui Paulo.Sh SEE ALSO
15231d98677SRui Paulo.Xr hostname 1 ,
153*cfde4db2SJoel Dahl.Xr intro 1 ,
154*cfde4db2SJoel Dahl.Xr usb 3 ,
155*cfde4db2SJoel Dahl.Xr netintro 4 ,
156*cfde4db2SJoel Dahl.Xr rsufw 4 ,
15731d98677SRui Paulo.Xr wlan 4 ,
158*cfde4db2SJoel Dahl.Xr arp 8 ,
159*cfde4db2SJoel Dahl.Xr ifconfig 8
16031d98677SRui Paulo.Sh HISTORY
16131d98677SRui PauloThe
16231d98677SRui Paulo.Nm
16331d98677SRui Paulodriver first appeared in
16431d98677SRui Paulo.Ox 4.9 and
16531d98677SRui Paulo.Fx 10.0 .
16631d98677SRui Paulo.Sh AUTHORS
16731d98677SRui Paulo.An -nosplit
16831d98677SRui PauloThe
16931d98677SRui Paulo.Nm
17031d98677SRui Paulodriver was written by
17131d98677SRui Paulo.An Damien Bergamini Aq damien@openbsd.org
17231d98677SRui Pauloand ported by
17331d98677SRui Paulo.An Rui Paulo Aq rpaulo@freebsd.org .
17431d98677SRui Paulo.Sh CAVEATS
17531d98677SRui PauloThe
17631d98677SRui Paulo.Nm
17731d98677SRui Paulodriver does not support any of the 802.11n capabilities offered by the
17831d98677SRui Pauloadapters.
179