Ubuntu – NetworkManager asks for password repeatedly [802.1x][16.04]


I recently updated form 15.10 to 16.04, I live on a campus, and we have to sign in for internet through 802.1x. I did everything same as I did it on 15.10, but I can't sign in on ubuntu 16.04. After i enter password, login window shows again and again and so on. I am pretty sure password is correct, because i'm using it in Windows. I also tried to remove all networks and add new one or restart network-manager, neither of it helped. I already try this https://askubuntu.com/a/465222/517465, but it didn't help either.

jjnovo@jjnovo:~$ sudo gedit /etc/NetworkManager/system-connections/TUL

(gedit:5906): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

** (gedit:5906): WARNING **: Set document metadata failed: Nastavení atributu metadata::gedit-spell-enabled není podporováno

** (gedit:5906): WARNING **: Set document metadata failed: Nastavení atributu metadata::gedit-encoding není podporováno

Where can be problem?

I tried too sudo vi /etc/NetworkManager/system-connections/TUL and edit system-ca-certs=false unfortunately this doesn't work too.

And when i boot from usb stick Ubuntu 15.10 everything work just fine, from usb stick with 16.04 nothing.

Best Answer

I think I have found a simpler work around for this.

I still use the usual Network Connections interface to populate all the 802.1x Security tab including the password (this is neccessary to activate the 'Save' button even though the password isn't stored correctly).

I then open a terminal and run "nmtui-connect" and activate the connection there, it prompts for the password and attempts to connect. In all of my tests I have been connected successfully.

Interestingly the password then persists between log-ins and the "Password" section of 802.1x Security tab is populated.