RUM(4)

okay so bestie, you're reading RUM(4) from the Kernel Interfaces Manual, and lemme tell you, this one is lowkey a whole era. it's giving "your wifi dongle from 2007 finally gets the respect it deserves". sit down, grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

rum β€” the Ralink Technology USB IEEE 802.11a/b/g wireless network device. no cap, that's the whole name. iconic.


πŸ¦‹ SYNOPSIS πŸ¦‹

so like, if you wanna bake this driver into the kernel, you gotta drop these lines into your kernel configuration file:

device ehci
device uhci
device ohci
device usb
device rum
device wlan
device wlan_amrr

or β€” and this is the main character option honestly β€” you can just load it as a module at boot time by putting this one single line in loader.conf(5):

if_rum_load="YES"

periodt. one line. slay.


🌸 DESCRIPTION 🌸

the rum driver supports USB 2.0 and PCI Express Mini Card wireless adapters based on the Ralink RT2501USB and RT2601USB chipsets.

fun fact bestie: Ralink PCI Express Mini Card adapters show up looking like totally normal USB 2.0 devices, so the rum driver handles them too. it's giving "no thoughts, just USB energy" πŸ’…

the RT2501USB chipset is the second generation of 802.11a/b/g adapters from Ralink. it's made of two integrated chips: an RT2571W MAC/BBP and an RT2528 or RT5226 radio transceiver. two chips, one vibe.

the RT2601USB chipset is also two integrated chips: an RT2671 MAC/BBP and an RT2527 or RT5225 radio transceiver. this one uses MIMO (multiple-input multiple-output) technology with multiple antennas to extend the operating range of the adapter and to achieve higher throughput. multi-antenna? we love a girl who can multitask 🫢

and every single chip here has hardware support for WEP, AES-CCM, TKIP, and Michael cryptographic operations. security queens only πŸ”

rum supports station, adhoc, adhoc-demo, hostap, and monitor mode operation. but heads up: only one virtual interface may be configured at any time. one. just one. don't be greedy πŸ™ˆ

for more info on configuring this device, go peek at ifconfig(8).


πŸ‘‘ HARDWARE πŸ‘‘

the rum driver supports USB 2.0 wireless adapters based on the Ralink RT2501USB and RT2601USB chipsets, including:

  • 3Com Aolynk WUB320g β€” USB
  • Abocom WUG2700 Ta β€” USB
  • Airlink101 AWLL5025 β€” USB
  • ASUS WL-167g ver 2 β€” USB
  • Belkin F5D7050 ver 3 β€” USB
  • Belkin F5D9050 ver 3 β€” USB
  • Buffalo WLI-U2-SG54HP β€” USB
  • Buffalo WLI-U2-SG54HG β€” USB
  • Buffalo WLI-U2-G54HP β€” USB
  • Buffalo WLI-UC-G β€” USB
  • CNet CWD-854 ver F β€” USB
  • Conceptronic C54RU ver 2 β€” USB
  • Corega CG-WLUSB2GO β€” USB
  • D-Link DWA-110 β€” USB
  • D-Link DWA-111 β€” USB
  • D-Link DWL-G122 rev C1 β€” USB
  • D-Link WUA-1340 β€” USB
  • Digitus DN-7003GR β€” USB
  • Edimax EW-7318USG β€” USB
  • Gigabyte GN-WB01GS β€” USB
  • Gigabyte GN-WI05GS β€” USB
  • Hawking HWUG1 β€” USB
  • Hawking HWU54DM β€” USB
  • Hercules HWGUSB2-54-LB β€” USB
  • Hercules HWGUSB2-54V2-AP β€” USB
  • LevelOne WNC-0301USB v3 β€” USB
  • Linksys WUSB54G rev C β€” USB
  • Linksys WUSB54GR β€” USB
  • Planex GW-US54HP β€” USB
  • Planex GW-US54Mini2 β€” USB
  • Planex GW-USMM β€” USB
  • Senao NUB-3701 β€” USB
  • Sitecom WL-113 ver 2 β€” USB
  • Sitecom WL-172 β€” USB
  • Sweex LW053 β€” USB
  • TP-LINK TL-WN321G v1/v2/v3 β€” USB

like. that's a lot of little plastic rectangles. all of them USB. all of them ate πŸ’€βœ¨


πŸ’œ EXAMPLES πŸ’œ

joining an existing BSS network (aka connecting to an access point, the classic move):

ifconfig wlan create wlandev rum0 inet 192.168.0.20 \
    netmask 0xffffff00

joining a specific BSS network with the network name β€œmy_net”:

ifconfig wlan create wlandev rum0 ssid my_net up

joining a specific BSS network with 64-bit WEP encryption:

ifconfig wlan create wlandev rum0 ssid my_net \
        wepmode on wepkey 0x1234567890 weptxkey 1 up

joining a specific BSS network with 128-bit WEP encryption:

ifconfig wlan create wlandev rum0 wlanmode adhoc ssid my_net \
    wepmode on wepkey 0x01020304050607080910111213 weptxkey 1

copy these exactly bestie, character for character, no freestyling on the hex πŸ’…


πŸŽ€ DIAGNOSTICS πŸŽ€

  • rum%d: could not load 8051 microcode β€” an error occurred while attempting to upload the microcode to the onboard 8051 microcontroller unit. the driver will reset the hardware. this should not happen. so if it happens, that's a whole moment 😭 the driver is out here resetting itself like "not me, not today".

🌈 SEE ALSO 🌈

intro(4), netintro(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/. iykyk πŸ’«


🧚 HISTORY 🧚

the rum driver first appeared in OpenBSD 4.0. a legend was born, fr fr.


πŸ’– AUTHORS πŸ’–

the original rum driver was written by Niall O'Higgins <niallo@openbsd.org> and Damien Bergamini <damien@openbsd.org>. two icons, one driver. we stan πŸ‘‘


and that's the whole page bestie!! you made it to the end, which means you now know more about rum than 99% of the group chat. main character energy, truly.

this lil masterpiece shipped as part of Debian, dated November 8, 2018, under the RUM(4) name. mwah, take care of your wifi dongles, they're doing their best πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from