> eric at opensolaris:~# dladm scan-wifi
> LINK       ESSID               BSSID/IBSSID      SEC
>    STRENGTH   MODE   SPEED
> 0       bbSSID              0:6:25:f2:b6:df   wpa
>    excellent  b      11Mb
[...]
> dladm connect-wifi -e bbSSID -k ????????? ral0
> 
> However, bash responded with 
> 
> dladm: invalid key(s) '???????????'

I assume that "???????????" stands for your WPA PSK (Pre-Shared Key).  I don't 
think you can use that directly as the -k argument to connect-wifi.  Instead, 
you should create a secobj (security object) using "dladm create-secobj -c wpa 
SOMENAME".  That will prompt you for the WPA PSK.  Then you can "dladm 
connect-wifi -k SOMENAME ...".
-- 
Simon.
 
 
This message posted from opensolaris.org

Reply via email to