RUN(4)
π NAME π
run β the Ralink Technology USB IEEE 802.11a/g/n wireless network device, bestie. yes that's a whole mouthful and yes it's iconic.
β¨ SYNOPSIS β¨
okay so if you wanna compile this driver into the kernel (very main character of you), drop these lines in your kernel configuration file:
device ehci
device uhci
device ohci
device usb
device run
device wlan
device wlan_amrr
and you also need the firmware, which is provided by:
device runfw
alternatively β and honestly this is the low-effort slay β you can load the driver as a module at boot time. just put these lines in loader.conf(5):
if_run_load="YES"
runfw_load="YES"
π¦ DESCRIPTION π¦
so the run driver supports USB 2.0 wireless adapters based on the Ralink RT2700U, RT2800U, RT3000U and RT3900E chipsets. let's break that down fr fr.
the RT2700U chipset consists of two integrated chips: an RT2770 MAC/BBP and an RT2720 (1T2R) or RT2750 (dual-band 1T2R) radio transceiver.
the RT2800U chipset consists of two integrated chips: an RT2870 MAC/BBP and an RT2820 (2T3R) or RT2850 (dual-band 2T3R) radio transceiver.
the RT3000U is a single-chip solution based on an RT3070 MAC/BBP and an RT3020 (1T1R), RT3021 (1T2R) or RT3022 (2T2R) single-band radio transceiver.
the RT3900E is a single-chip USB 2.0 802.11n solution. the MAC/Baseband Processor can be an RT3593, RT5390, RT5392 or an RT5592. the radio can be an RT3053, RT5370, RT5372 or an RT5572. the RT3053 chip operates in the 2GHz and 5GHz spectra and supports up to 3 transmit paths and 3 receiver paths (3T3R). the RT5370 chip operates in the 2GHz spectrum and supports 1 transmit path and 1 receiver path (1T1R). the RT5372 chip operates in the 2GHz spectrum and supports up to 2 transmit paths and 2 receiver paths (2T2R). the RT5572 chip operates in the 2GHz and 5GHz spectra and supports up to 2 transmit paths and 2 receiver paths (2T2R). π
π the modes, bestie π
these are the modes the run 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. she's the moment, no notes.
- Host AP mode β in this mode the driver acts as an access point (base station) for other cards. you're literally the queen bee now π
- 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. sneaky. we love her. π
the run 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. like genuinely bestie, do NOT. WEP is giving "password123" energy and not in a cute way. π
the run driver offloads both encryption and decryption of data frames to the hardware for the WEP40, WEP104, TKIP(+MIC) and CCMP ciphers. hardware doing the heavy lifting so you don't have to. periodt.
the run driver can be configured at runtime with ifconfig(8).
π HARDWARE π
the run driver supports the following wireless adapters β full roster, no skips:
Airlink101 AWLL6090ASUS USB-N11ASUS USB-N13 ver. A1ASUS USB-N66ASUS WL-160NBelkin F5D8051 ver 3000Belkin F5D8053Belkin F5D8055Belkin F6D4050 ver 1Belkin F9L1103Buffalo WLI-UC-AG300NBuffalo WLI-UC-G300HPBuffalo WLI-UC-G300NBuffalo WLI-UC-G301NBuffalo WLI-UC-GNBuffalo WLI-UC-GNMBuffalo WLI-UC-GNM2Corega CG-WLUSB2GNLCorega CG-WLUSB2GNRCorega CG-WLUSB300AGNCorega CG-WLUSB300GNMD-Link DWA-130 rev B1D-Link DWA-140 rev B1, B2, B3, D1D-Link DWA-160 rev B2D-Link DWA-162DrayTek Vigor N61Edimax EW-7711UAnEdimax EW-7711UTnEdimax EW-7717UnEdimax EW-7718UnEdimax EW-7733UnDGigabyte GN-WB30NGigabyte GN-WB31NGigabyte GN-WB32LHawking HWDN1Hawking HWUN1Hawking HWUN2Hercules HWNU-300Linksys WUSB54GC v3Linksys WUSB600NLogitec LAN-W150N/U2Mvix Nubbin MS-811NPanda Wireless PAU06Planex GW-USMicroNPlanex GW-US300MiniSSitecom WL-182Sitecom WL-188Sitecom WL-301Sitecom WL-302Sitecom WL-315SMC SMCWUSBS-N2Sweex LW303Sweex LW313TP-LINK TL-WDN3200TP-LINK TL-WN321G v4TP-LINK TL-WN727N v3Unex DNUR-81Unex DNUR-82ZyXEL NWD2705ZyXEL NWD210NZyXEL NWD270N
if your dongle is on this list, she's compatible and she's ready. π
π EXAMPLES π
join an existing BSS network (i.e., connect to an access point):
ifconfig wlan create wlandev run0 inet 192.168.0.20 \
netmask 0xffffff00
join a specific BSS network with network name βmy_netβ:
ifconfig wlan create wlandev run0 ssid my_net up
join a specific BSS network with 64-bit WEP encryption:
ifconfig wlan create wlandev run0 ssid my_net \
wepmode on wepkey 0x1234567890 weptxkey 1 up
join a specific BSS network with 128-bit WEP encryption:
ifconfig wlan create wlandev run0 wlanmode adhoc ssid my_net \
wepmode on wepkey 0x01020304050607080910111213 weptxkey 1
(remember what we said about WEP tho. the examples are here, the warning stands. π«Ά)
π DIAGNOSTICS π
run%d: faild load firmware of file runfwβ for some reason, the driver was unable to read the microcode file from the filesystem. the file might be missing or corrupted. (and yes, the typo is canon, we do not fix her.)run%d: could not load 8051 microcodeβ an error occurred while attempting to upload the microcode to the onboard 8051 microcontroller unit.run%d: 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.
π SEE ALSO π
intro(4), netintro(4), runfw(4), usb(4), wlan(4), wlan_amrr(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), wlan_xauth(4), hostapd(8), ifconfig(8), wpa_supplicant(8)
Ralink Technology: http://www.ralinktech.com/
πΈ HISTORY πΈ
the run driver first appeared in OpenBSD 4.5. vintage. retro. a classic. π
π§ AUTHORS π§
the run driver was written by Damien Bergamini <damien@openbsd.org>. absolute legend behavior, we stan. π
π CAVEATS π
the run driver supports some of the 11n capabilities found in the RT2800, RT3000 and RT3900 chipsets. some, not all β read that twice bestie, manage your expectations accordingly. π
and that's the whole page!! this one's from the <strong>Debian</strong> manual set, dated <strong>June 16, 2020</strong> β mwah, slay, go connect to some wifi β¨π¦π
π¦ 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) 2008 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