canonical / ubuntu-desktop-installer

Ubuntu Desktop Installer
GNU General Public License v3.0
536 stars 94 forks source link

Wifi password not copied & working to new install #2348

Open jbicha opened 11 months ago

jbicha commented 11 months ago

What happened?

If a Wifi password is provided during the install, the Wifi network is supposed to be preconfigured with that password after install. It's not working with Ubuntu 23.10.

What was expected?

No response

Steps to reproduce

  1. Use the new Ubuntu Desktop installer to install Ubuntu 23.10 from a computer that has a wifi card
  2. During the install, connect to a password-protected wifi network
  3. After the install, the computer should be automatically connected to that network

Additional context

20230920 Ubuntu Desktop Mantic ISO

Ubuntu Desktop 23.10 now uses Netplan as the NetworkManager backend.

I do have a /etc/netplan/90-NM-{redacted-UUID}.yaml file which has the network listed but it doesn't seem to have the password saved. wifi-security.auth-alg: "open" does not sound right to me.

network:
  version: 2
  wifis
    NM-{redacted-UUID}:
      renderer: NetworkManager
      match:
        name: "wlp2s0"
      dhcp4: true
      dhcp6: true
      access-points:
        "{redacted Access Point name}":
          auth:
            key-management: "psk"
          networkmanager:
            uuid: "{redacted-UUID}"
            name: "{redacted Access Point name}"
            passthrough:
              wifi-security.auth-alg: "open"
              ipv6.addr-gen-mode: "default"
              ipv6.ip6-privacy: "-1"
              proxy._: ""
      networkmanager:
        uuid: "{redacted-UUID}"
         name: "{redacted Access Point name}"
jbicha commented 11 months ago

This issue also affects the legacy ubiquity installer