[Bug 1752247] Re: Can't Connect to Open Network

Brian Murray brian at ubuntu.com
Mon Mar 5 16:31:28 UTC 2018


** Also affects: nplan (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: rls-bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nplan in Ubuntu.
https://bugs.launchpad.net/bugs/1752247

Title:
  Can't Connect to Open Network

Status in netplan:
  New
Status in nplan package in Ubuntu:
  New

Bug description:
  The man page states:

  access-points (mapping)

  ...

      password (scalar)
          Enable WPA2 authentication and set the passphrase for it. If not given, the network is assumed to be open. Other authentication modes are not currently supported. 

  If I configure Netplan this way:

    wifis:
      wlp1s0:
        dhcp4: yes
        access-points:
          "My Open Network":

  Upon "sudo netplan apply":

  Error in network definition //etc/netplan/01-netcfg.yaml line 16
  column 28: expected mapping

  If I configure Netplan this way:

    wifis:
      wlp1s0:
        dhcp4: yes
        access-points:
          "My Open Network":
            password:

  Syslog shows:

  Feb 28 16:10:08 dionach systemd[1]: Starting resolvconf-pull-resolved.service...
  Feb 28 16:10:08 dionach systemd[1]: Started resolvconf-pull-resolved.service.
  Feb 28 16:10:08 dionach kernel: [71993.278797] IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
  Feb 28 16:10:08 dionach systemd[1]: Starting resolvconf-pull-resolved.service...
  Feb 28 16:10:08 dionach systemd[1]: Started WPA supplicant for netplan wlp1s0.
  Feb 28 16:10:08 dionach wpa_supplicant[27188]: Successfully initialized wpa_supplicant
  Feb 28 16:10:08 dionach systemd[1]: Started resolvconf-pull-resolved.service.
  Feb 28 16:10:08 dionach wpa_supplicant[27188]: Line 13: Invalid passphrase length 0 (expected: 8..63) '"'.
  Feb 28 16:10:08 dionach wpa_supplicant[27188]: Line 13: failed to parse psk '""'.
  Feb 28 16:10:08 dionach wpa_supplicant[27188]: Line 14: failed to parse network block.
  Feb 28 16:10:08 dionach wpa_supplicant[27188]: Failed to read or parse configuration '/run/netplan/wpa-wlp1s0.conf'.
  Feb 28 16:10:08 dionach systemd[1]: netplan-wpa at wlp1s0.service: Main process exited, code=exited, status=255/n/a
  Feb 28 16:10:08 dionach systemd[1]: netplan-wpa at wlp1s0.service: Failed with result 'exit-code'.

  Netplan will happily connect to any access-point that has a password.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1752247/+subscriptions



More information about the foundations-bugs mailing list