autoselection of AP does not send private key info to supplicant



with 6.2 release

I have a gconf profile that looks like this:
wpa_eap_ca_cert_file="/etc/certs/CA.pem"
wpa_eap_private_key_file="/etc/certs/client.pfx"
wpa_eap_identity="user"
wpa_eap_key_mgt="1"
wpa_eap_wpa_version="4 "
wpa_eap_key_type="0"
wpa_eap_eap_method="32 "
we_cipher="32"
bssids="00:01:02:03:04:05"
timestamp="1150311374"
essid="AP"

When I select my AP manually it works, but on boot up or or when I unplug my wired connection and nm switches automatically it does not. In the latter cases, I am seeing that the private key cert and private key password is not being sent. I am not re-entering my credentials when I select the AP from the scan list, so obviously the data exists (the list above is directly from gconf with some reformatting.)

When I unplug my wired connection:
NetworkManager: <information>   SUP: sending command 'INTERFACE_ADD ath1                madwifi /var/run/wpa_supplicant '
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'AP_SCAN 1'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'ADD_NETWORK'
NetworkManager: <information>   SUP: response was '0'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 ssid 4150'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 proto WPA2'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-EAP'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 eap TLS'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 identity "user"'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 ca_cert "/etc/certs/CA.pem"'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'ENABLE_NETWORK 0'
NetworkManager: <information>   SUP: response was 'OK'


When I select from the scan list:
NetworkManager: <information>   SUP: sending command 'INTERFACE_ADD ath1                madwifi /var/run/wpa_supplicant '
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'AP_SCAN 1'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'ADD_NETWORK'
NetworkManager: <information>   SUP: response was '0'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 ssid 4150'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 proto WPA2'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 key_mgmt WPA-EAP'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 eap TLS'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 identity "user"'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 private_key "/etc/certs/client.pfx"'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 private_key_passwd <key>'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'SET_NETWORK 0 ca_cert "/etc/certs/CA.pem"'
NetworkManager: <information>   SUP: response was 'OK'
NetworkManager: <information>   SUP: sending command 'ENABLE_NETWORK 0'
NetworkManager: <information>   SUP: response was 'OK'

In both cases pulling from the same gconf profile, but only the second one has the private key info. Naturally wpa_supplicant fails to initialize EAP-TLS without the client cert and private key:

NetworkManager: <information>   wpa_supplicant(7137): EAP: Initialize selected EAP method: vendor 0 method 13 (TLS)
NetworkManager: <information>   wpa_supplicant(7137): EAP-TLS: Private key not configured
NetworkManager: <information>   wpa_supplicant(7137): EAP: Failed to initialize EAP method: vendor 0 method 13 (TLS)


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]