NetworkManager asks for password repeatedly [802.1x][16.04]
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.
Related videos on Youtube
Kuba Novosad
Updated on September 18, 2022Comments
-
Kuba Novosad over 1 year
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.
-
Kuba Novosad almost 8 yearsSo shoud it look like something like this? link
-
Chhandosee Bhattacharya almost 8 yearsyes. you can use reference to help.ubuntu.com/community/Network802.1xAuthentication. And use wpa_supplicant -D wired -i eth0 -c /etc/wpa_supplicant/wpa_wired.conf to check your configuration is working or not.
-
Chhandosee Bhattacharya almost 8 yearsenp0s25 is the network device name, make sure you use the correct device name in your configuration file.
-
Kuba Novosad almost 8 yearsSo instead of wifi indicator now i can see LAN indicator (2 arrows different way) but still no internet
-
Chhandosee Bhattacharya almost 8 yearsyou can use wpa_supplicant -D wired -i eth0 -c /etc/wpa_supplicant/wpa_wired.conf command, and the authentication will print out on the screen, you can check if the authentication is success or not. Once you pass the authentication, use another session, do a "dhclient [interface]" to get your ip.
-
You'reAGitForNotUsingGit almost 8 yearsPlease suggest an edit rather than posting as another answer
-
aleskva almost 8 yearsworks for me, but maybe not for tha author of the question
-
noleti over 7 yearsThanks for the workaround, solves the problem for me. This seems to be a bug in the nm-applet. I could not find a filed bug, is there one, or should I open one?
-
Eagle91 over 7 yearsYes, please do! I haven't filed one...
-
Rishabh Agrahari over 6 yearswhat do you mean by 'clear text'?
-
Rishabh Agrahari over 6 yearsdoesn't work for me, I'm not using any certificate and it loops over and over. I've a
@
in password, I don't think that would be causing any trouble.