|
Replies:
1
-
Last Post:
Jan 6, 2008 5:00 AM
by: quaker
|
|
|
Posts:
760
From:
US
Registered:
3/9/05
|
|
|
|
Problem using WPA with wpi driver in snv_79
Posted:
Jan 5, 2008 12:21 AM
To: Communities » laptop » discuss
|
|
Hi,
According to the Wifi device list, WPA is supported for the wpi driver since build 77. I have build 79 running on my system, and I want to use WPA.
First, I found that the wpa_supplicant is not installed by default. So, I downloaded the wpa_supplicant v0.1 daemon package from opensolaris.org site.
Then, I found that the wificonfig command that's installed in build 79 doesn't support the WPA options, so, I downloaded the wificonfig-0.3 utility package from opensolaris.org site.
After I installed the above 2 packages, I tried to start the wpa_supplicant. However, I found that the wpa_supplicant depends on libssl.so.0.9.7 and libcrypto.so.0.9.7. On build 79, libssl.so is already at 0.9.8 and libcrypto is also at 0.9.8. To workaround the problem, I created symbolic links. The wpa_supplicant also depends on libcrypto_extra.0.9.8. That library doesn't exist at all in snv_79. So, I just created a sym link for it using libcrypto.so.0.9.7. After all these, I am finally able to start the wpa_supplicant daemon.
I started it in the debugging mode:
------------------------------- # wpa_supplicant -i wpi0 -F -dd eapol_sm_init : malloc sm=808a7e8 EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 events_init: Enter sysevent init entry Before eloop_run -------------------------------------
Then, I created a profile for my connection as follows:
# wificonfig createprofile home1 essid=Gamma psk=mykey proto=WPA key_mgmt=WPA-PSK pairwise=TKIP
When I try to connect, I got the following error:
# wificonfig connect home1 wificonfig: failed to set 'psk' for Operation not supported wificonfig: failed to set 'proto' for Operation not supported wificonfig: failed to connect to profile 'home1' #
----------------------------
Any idea on how I should proceed? Are the wpa_supplicant and wificonfig packages from opensolaris out-of-date? Would the most updated copy help in this situation?
Thanks,
--Karen
|
|
|
Posts:
460
From:
CN
Registered:
9/14/06
|
|
|
|
Re: Problem using WPA with wpi driver in snv_79
Posted:
Jan 6, 2008 5:00 AM
in response to: ktung
|
|
Hi Karen,
The wpa_supplicant on OpenSolaris is just a prototype working with wificonfig v0.3 and ath driver v0.4; Since you are using wpi driver, you needn't download these two packages. From build 64, the wpa_supplicant has been integrated into Solaris, works as wpa service. The wpa service works only with dladm, so you need to use dladm, you can do:
# dladm create-secobj -c wpa mykey .... input your PSK ... # dladm connect-wifi -e Gamma -k mykey wpi0
I believe this will work for you.
-- Quaker
Karen W. Tung wrote: > Hi, > > According to the Wifi device list, WPA is supported for the wpi driver since build 77. > I have build 79 running on my system, and I want to use WPA. > > First, I found that the wpa_supplicant is not installed by default. So, I downloaded > the wpa_supplicant v0.1 daemon package from opensolaris.org site. > > Then, I found that the wificonfig command that's installed in build 79 doesn't support the WPA options, so, I downloaded the wificonfig-0.3 utility package from opensolaris.org site. > > After I installed the above 2 packages, I tried to start the wpa_supplicant. However, I found > that the wpa_supplicant depends on libssl.so.0.9.7 and libcrypto.so.0.9.7. On build 79, > libssl.so is already at 0.9.8 and libcrypto is also at 0.9.8. To workaround the problem, I > created symbolic links. The wpa_supplicant also depends on libcrypto_extra.0.9.8. That library > doesn't exist at all in snv_79. So, I just created a sym link for it using libcrypto.so.0.9.7. > After all these, I am finally able to start the wpa_supplicant daemon. > > I started it in the debugging mode: > > ------------------------------- > # wpa_supplicant -i wpi0 -F -dd > eapol_sm_init : malloc sm=808a7e8 > EAPOL: SUPP_PAE entering state DISCONNECTED > EAPOL: KEY_RX entering state NO_KEY_RECEIVE > EAPOL: SUPP_BE entering state INITIALIZE > EAP: EAP entering state DISABLED > EAPOL: External notification - portEnabled=0 > EAPOL: External notification - portValid=0 > events_init: > Enter sysevent init entry > Before eloop_run > ------------------------------------- > > Then, I created a profile for my connection as follows: > > # wificonfig createprofile home1 essid=Gamma psk=mykey proto=WPA key_mgmt=WPA-PSK pairwise=TKIP > > When I try to connect, I got the following error: > > # wificonfig connect home1 > wificonfig: failed to set 'psk' for Operation not supported > wificonfig: failed to set 'proto' for Operation not supported > wificonfig: failed to connect to profile 'home1' > # > > ---------------------------- > > Any idea on how I should proceed? Are the wpa_supplicant and wificonfig packages > from opensolaris out-of-date? Would the most updated copy help in this situation? > > Thanks, > > --Karen > > > This message posted from opensolaris.org > _______________________________________________ > laptop-discuss mailing list > laptop-discuss at opensolaris dot org >
_______________________________________________ laptop-discuss mailing list laptop-discuss at opensolaris dot org
|
|
|
|
|