Forced to re-enter wifi password on resume from suspend

More often than not, when I resume from a suspend on my laptop on Kubuntu 18.04 it makes me re-enter the password. I'm using a pretty old kernel GalliumOS kernel (4.9) if that's relevant

Anyone have the same issue and/or find a fix?

Posted May 28, 2018, 3:54 PM UTC

11
aturfer•

I briefly experienced the issue you describe when I first installed Kubuntu 18.04 (a clean install). Unfortunately I cannot remember exactly what I did to get rid of the issue (I haven't experienced it since). I think what I did was:

  1. Open Network Manager.
  2. Click on the connection to bring up the settings.
  3. Click on the Wi-Fi Security tab.
  4. Entered my password in the "Password" text box.
  5. Selected Store password for all users (not encrypted) in the dropdown below the password input.

If that doesn't work, you could always try to use "netplan" (https://netplan.io) instead of NetworkManager:

Edit your /etc/netplan/01-network-manager-all.yaml so it looks something like this:

network:
  version: 2
  renderer: networkd
  wifis:
    <your_wifi_interface_name>:
      dhcp4: yes
      dhcp6: no
      access-points:
        "<your_network_ssid_name>":
          password: "<your_network_password>"

Then:

$ sudo netplan generate
$ sudo netpan apply
1