I don't claim to understand any of this (my exposure to wlans under openbsd began tonight) but I think you'd need something along the lines of:
Quote:
ifconfig wpi0 nwid AP_NAME nwkey WEP_KEY
|
taking note of this particular section in the ifconfig man page
Quote:
nwkey key
Enable WEP encryption for IEEE 802.11-based wireless network interfaces using the specified key. The key can either be a string, a series of hexadecimal digits (preceded by `0x')....
|
You may also want to fiddle with the "newkey persist" option, but I'm not sure.
Of course, after all of this you still need to