View Single Post
Old 18th May 2011
backrow backrow is offline
Real Name: Anthony J. Bentley
Shell Scout
 
Join Date: Jul 2009
Location: Albuquerque, NM
Posts: 136
Default

This is how I typically connect to a WPA wireless network, assuming wireless interface foo0:

/etc/hostname.foo0:
Code:
dhcp NONE NONE NONE
# ifconfig foo0 nwid networkgoeshere wpa wpakey keygoeshere
# sh /etc/netstart foo0


This is in -current; I remember they changed the key semantics fairly recently (you used to have to run /usr/sbin/wpa-psk to generate the key, then provide those results to ifconfig).
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.

Last edited by backrow; 18th May 2011 at 05:18 AM. Reason: Correction, thanks Daffy
Reply With Quote