Re: Query regarding a NetworkManager error-code.



You are a champ, Jirka. 
I am, in fact, trying to activate a connection - a WPA2-Enterprise type.

The key-management is, in fact, 
wireless_security['key_mgmt'] = 'wpa-eap'

I have also set

wireless_security['proto'] = "rsn"
wireless_security['pairwise'] = ['ccmp', 'tkip']
wireless_security['group'] = ['ccmp', 'tkip']


and also

wireless_security['ssid']='Auto MTNL
'wireless_security['eap']='TTLS'
wireless_security.['scan_ssid']=1
wireless_security['identity']="John Doe"
wireless_security['password']="hello"
wireless_security['phase2']="auth=PAP"
wireless_security['ca_cert']="/usr/local/etc/raddb/certs/ca.pem"
wireless_security['anonymous_identity']="anonymous"


but I see, the following (potentially non-fatal, but warnings nevertheless)
logs:

Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'password'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'ca_cert'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'anonymous_identity'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'scan_ssid'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'ssid'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'identity'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'phase2'
Nov 25 00:57:17 ajay NetworkManager[1451]: <WARN>  one_property_cb():
Ignoring invalid property 'eap'


Strangely, the above settings are seen as 'Config added:' when I do the
connection via nm-applet, and not through python-dbus-apis. Obviously, I am
able to connect through nm-applet, but not through python-dbus-apis.

So, I am, in fact, missing the '802-1x' setting.
Could you please let-me-know/point-to-the-relevant-docs the possible
value(s) that
wireless_security['802-1x'] may take? My 3-day long struggle may finally
come to an end...

Thanks for returning my confidence..

Regards,
Ajay



Jirka Klimes wrote:
> 
> 
> Your connection is not valid.
> You probaly have a connection which requires '802-1x' setting, but it is 
> missing.
> The setting is required for "ieee8021x" or "wpa-eap" key management.
> 
> List your connection with:
> nmcli con list id "Auto MTNL"
> 
> You can create a valid connection using nm-connection-editor.
> 
> Jirka
> _______________________________________________
> networkmanager-list mailing list
> networkmanager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
> 
> 

-- 
View this message in context: http://old.nabble.com/Query-regarding-a-NetworkManager-error-code.-tp32874949p32875561.html
Sent from the Gnome - NetworkManager mailing list archive at Nabble.com.



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