GNOME Bugzilla – Bug 769661
802.1x authentication does not work for Ethernet connections
Last modified: 2016-08-18 15:46:21 UTC
See https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1579246 Basically what happens is that you get presented with an endless series of password dialogs instead of getting connected, unless you manually add your password in plaintext(!!) to the network configuration file.
Description from the launchpad bug (which has a bit more content) "If you use a 802.1x autentication in NetworkManager, the NetworkManager never save password on /etc/NetworkManager/system-connections/MySecureNetworkAlias, As a workarround you can add the password manualy in file /etc/NetworkManager/system-connections/MySecureNetworkAlias (using $ sudo vi) [802-1x] altsubject-matches= ca-cert=/mycert.cer eap=peap; identity=DOMAIN\\USER password=MyPassword <--- this is the line phase2-altsubject-matches= phase2-auth=mschapv2 The log is: may 06 16:24:06 jared-laptop NetworkManager[976]: <info> [1462569846.8763] device (enp8s0): state change: need-auth -> prepare (reason 'none') [60 40 0] may 06 16:24:06 jared-laptop NetworkManager[976]: <info> [1462569846.8767] device (enp8s0): state change: prepare -> config (reason 'none') [40 50 0] may 06 16:24:06 jared-laptop NetworkManager[976]: <info> [1462569846.8770] device (enp8s0): Activation: (ethernet) connection 'MySecureNetworkAlias' has security, but secrets are required. may 06 16:24:06 jared-laptop NetworkManager[976]: <info> [1462569846.8770] device (enp8s0): state change: config -> need-auth (reason 'none') [50 60 0] may 06 16:24:07 jared-laptop gnome-session[1599]: nm-applet-Message: No keyring secrets found for Produban/802-1x; asking user."
similar report on fedora24, https://bugzilla.redhat.com/show_bug.cgi?id=1344688
Created attachment 333114 [details] [review] [PATCH] applet: fix handling of 802.1x secrets for ethernet connections
The nm-applet patch above should fix the problem, can anybody test it please?
Thanks, I've asked for feedback in the Ubuntu bug
I have tested the patch, and it solves the issue for me.
Merged: 4eecd6409730b0e03b7cca0e21d2f7f35302965b fd8786449b62be465c37c68bf8c534c567f7be5e