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

Quote:
Originally Posted by Daffy View Post
I think this is wrong. "Wpapsk" was being used up until 4.9. Someone correct me if I'm wrong, but ifconfig(8), states that you must use "wpakey" instead.

So you should use
Code:
ifconfig <interface> nwid <id> wpakey <key>
You’re right. From /usr/src/sbin/ifconfig/ifconfig.c:
Code:
        { "wpakey",     NEXTARG,        0,              setifwpakey },
        { "-wpakey",    -1,             0,              setifwpakey },
/*XXX delete these two after the 4.9 release */
/*XXX*/ { "wpapsk",     NEXTARG,        0,              setifwpakey },
/*XXX*/ { "-wpapsk",    -1,             0,              setifwpakey },
The options do the same thing but wpapsk will be removed soon.
__________________
Many thanks to the forum regulars who put time and effort into helping others solve their problems.
Reply With Quote