Skip to content


Subversion checkout URL

You can clone with
Download ZIP
simple OpenBSD wifi network auth manager script
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

This is a short script for managing auth info for multiple wireless networks on OpenBSD.


Create a file, ~/.wifidat , that looks something like this:

device="ral0"   -- device ID, as listed by ifconfig
sudo=true       -- use sudo before ifconfig command

Network{ key="home", nwid="thebatcave", wpa="pajamatime" }
Network{ key="coffeeshop", nwid="Coffee Mart", wep="0xdeadbeef" }
Network{ key="office", nwid="Corporate Guest Network", 
         wpa="meetingsFTW" }
Network{ key="library", nwid="lib_public" }

Each Network{} definition can have the following keys:

  • key = "name"
  • nwid = "NWID"
  • wpa = WPA key
  • wep = WEP key (yeah...)
Something went wrong with that request. Please try again.