RSU(4)
π RSU(4) π
okay bestie, sit down, hydrate, because we're about to talk about your rsu driver β that's the Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network device situation. this lives in the Kernel Interfaces Manual, and yes it's giving "I am the entire personality of your USB wifi stick." π¦
β¨ SYNOPSIS β¨
so if you wanna bake this driver directly into your kernel, you drop these lines into your kernel configuration file:
device ehci
device uhci
device ohci
device usb
device rsu
device rsufw
device wlan
orrrr β and this is the lowkey easier route β if you'd rather load it as a module at boot time, you put these in loader.conf(5):
if_rsu_load="YES"
rsu-rtl8712fw_load="YES"
no cap, that's it. π«Ά
πΈ DESCRIPTION πΈ
the rsu driver is out here supporting USB 2.0 wireless network devices built on the Realtek RTL8188SU, RTL8191SU and RTL8192SU chipsets. let's meet the girlies:
- the RTL8188SU is a highly integrated 802.11n adapter that combines a MAC, a 1T1R capable baseband and an RF in a single chip. it operates in the 2GHz spectrum only. one chip, whole personality. π
- the RTL8191SU is a highly integrated multiple-in, single-out (MISO) 802.11n adapter that combines a MAC, a 1T2R capable baseband and an RF in a single chip. it operates in the 2GHz spectrum only.
- the RTL8192SU is a highly integrated multiple-in, multiple-out (MIMO) 802.11n adapter that combines a MAC, a 2T2R capable baseband and an RF in a single chip. it operates in the 2GHz spectrum only. main character energy fr fr.
π the modes she can serve
these are the modes the rsu driver can operate in:
- BSS mode β also known as infrastructure mode, this is used when associating with an access point, through which all traffic passes. this mode is the default. the default one. the moment. β¨
- monitor mode β in this mode the driver is able to receive packets without associating with an access point. this disables the internal receive filter and enables the card to capture packets from networks which it wouldn't normally have access to, or to scan for access points. she's nosy and we love her. π
the rsu driver can be configured to use Wired Equivalent Privacy (WEP) or Wi-Fi Protected Access (WPA-PSK and WPA2-PSK). WPA is the de facto encryption standard for wireless networks.
β οΈ it is strongly recommended that WEP not be used as the sole mechanism to secure wireless communication, due to serious weaknesses in it. bestie. please. WEP is not the vibe. do not. π
the rsu driver can be configured at runtime with ifconfig(8). iconic behavior honestly.
π FILES π
/usr/share/doc/legal/realtek.LICENSEβ rsu firmware license
the driver needs at least version 1.2 of the following firmware file, which is loaded when an interface is attached:
/boot/kernel/rsu-rtl8712fw.ko
so like. version 1.2 or newer. don't show up with 1.1. π
π₯ HARDWARE π₯
the rsu driver provides support for Realtek RTL8188SU/RTL8192SU USB IEEE 802.11b/g/n wireless network adapters, including:
ASUS USB-N10
Belkin F7D1101 v1
D-Link DWA-131 A1
EDUP EP-MS150N(W)
Edimax EW-7622UMN
Hercules HWGUn-54
Hercules HWNUm-300
Planex GW-USNano
Sitecom WL-349 v1
Sitecom WL-353
Sweex LW154
TRENDnet TEW-646UBH
TRENDnet TEW-648UB
TRENDnet TEW-649UB
if your stick is on this list, she's supported, periodt. if notβ¦ vibe check your shopping cart next time πβ¨
π§ EXAMPLES π§
join an existing BSS network (i.e., connect to an access point):
ifconfig wlan create wlandev rsu0 inet 192.168.0.20 \
netmask 0xffffff00
join a specific BSS network with network name βmy_netβ:
ifconfig wlan create wlandev rsu0 ssid my_net up
join a specific BSS network with 64-bit WEP encryption:
ifconfig wlan create wlandev rsu0 ssid my_net \
wepmode on wepkey 0x1234567890 weptxkey 1 up
(that last one is the WEP example. see above re: WEP. I'm just the messenger π)
π DIAGNOSTICS π
%s: failed load firmware of file rsu-rtl8712fwβ for some reason, the driver was unable to read the microcode file from the filesystem. the file might be missing or corrupted. check your file bestie, she's not there. πdevice timeoutβ a frame dispatched to the hardware for transmission did not complete in time. the driver will reset the hardware. this should not happen. it's giving red flag. π©
π SEE ALSO π
intro(1), netintro(4), rsufw(4), usb(4), wlan(4), arp(8), hostapd(8), ifconfig(8), wpa_supplicant(8)
read them. they ate. πβ¨
π HISTORY π
the rsu driver first appeared in OpenBSD 4.9 and FreeBSD 10.0. a legend since day one. β
π AUTHORS π
the rsu driver was written by Damien Bergamini <damien@openbsd.org> and ported by Rui Paulo <rpaulo@freebsd.org>. the 802.11n support was added by Adrian Chadd <adrian@freebsd.org>.
thank you to the girlies who built her π«Άπ
β οΈ CAVEATS β οΈ
- the
rsudriver currently does not support 802.11n transmit aggregation, either A-MSDU or A-MPDU. so no, she's not doing that. π - the
rsudriver does not capture management frames in non-monitor modes; without this limitation some firmware functions (e.g., 'join bss') will not work properly. it's a whole tradeoff, iykyk.
and that's the page, bestie!! π this one's from the Debian crew, dated April 4, 2018, and it's filed as RSU(4) β go forth, plug in your USB stick, and slay. πβ¨π¦
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms