Skip to content
TrySitePrice

OpenBSD: Configure Ralink USB IEEE 802.11a/g/n Wireless Network Adapter

Best/Tutorial

To configure a Ralink USB IEEE 802.11a/g/n wireless network adapter on OpenBSD, follow these steps:

  1. Install the necessary firmware:
doas pkg_add firmware-ralink
  1. Load the necessary kernel modules:
doas modload if_urtw
  1. Connect to a wireless network:
doas ifconfig urtw0 up
ndoas dhclient urtw0
  1. Verify the connection:
doas ifconfig urtw0
  1. To make the wireless connection persist across reboots, add the following lines to /etc/hostname.urtw0:
up
ndhcp
  1. To automatically load the necessary kernel modules at boot, add the following line to /etc/rc.conf.local:
pkg_scripts="if_urtw"

That’s it! Your Ralink USB wireless network adapter should now be configured and connected to a network on OpenBSD.

n(yurtsofamerica.com)