On Sun, Feb 15, 2009 at 06:58:10PM +0100, Damien Bergamini wrote: > any particular reason to use a syntax different from the one > in the drivers man pages? > > i.e: > ifconfig wpi0 wpa wpapsk `wpa-psk wlan supersecret` > instead of: > ifconfig wpi0 nwid wlan wpa wpapsk $(wpa-psk wlan supersecret)
This is the syntax that I've been using without issue for months. > > you really want to specify the ssid with nwid too. When I do that (don't recall if it's every time, but there have been many), it's by accident, and I have to issue an `ifconfign -nwid' to keep it from doing a link state up/link state down dance which keeps me off of the access point. This seems to be incorrect behavior (I had thought that my usage was incorrect), so I'll talk to you offline about that. > > Damien > > > | CVSROOT: /cvs > | Module name: src > | Changes by: blamb...@cvs.openbsd.org 2009/02/15 10:33:13 > | > | Modified files: > | sbin/ifconfig : ifconfig.8 > | > | Log message: > | Give an example of how to use wpa-psk(8) to connect to WPA > | networks in the wpapsk section of the page. > | > | ok deraadt@ henning@ > |