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

13,015

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.

Share:
13,015

Related videos on Youtube

Kuba Novosad
Author by

Kuba Novosad

Updated on September 18, 2022

Comments

  • Kuba Novosad
    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
    Kuba Novosad almost 8 years
    So shoud it look like something like this? link
  • Chhandosee Bhattacharya
    Chhandosee Bhattacharya almost 8 years
    yes. 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
    Chhandosee Bhattacharya almost 8 years
    enp0s25 is the network device name, make sure you use the correct device name in your configuration file.
  • Kuba Novosad
    Kuba Novosad almost 8 years
    So instead of wifi indicator now i can see LAN indicator (2 arrows different way) but still no internet
  • Chhandosee Bhattacharya
    Chhandosee Bhattacharya almost 8 years
    you 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
    You'reAGitForNotUsingGit almost 8 years
    Please suggest an edit rather than posting as another answer
  • aleskva
    aleskva almost 8 years
    works for me, but maybe not for tha author of the question
  • noleti
    noleti over 7 years
    Thanks 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
    Eagle91 over 7 years
    Yes, please do! I haven't filed one...
  • Rishabh Agrahari
    Rishabh Agrahari over 6 years
    what do you mean by 'clear text'?
  • Rishabh Agrahari
    Rishabh Agrahari over 6 years
    doesn'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.