[Bug 1752247] Re: Can't Connect to Open Network
Mathieu Trudel-Lapierre
mathieu.tl at gmail.com
Thu Mar 29 15:42:21 UTC 2018
What about if you pass:
wifis:
wlp1s0:
dhcp4: yes
access-points:
"My Open Network": {}
This is non-obvious though, we should fix the doc to clarify.
** Package changed: nplan (Ubuntu) => netplan.io (Ubuntu)
** Changed in: netplan.io (Ubuntu)
Status: New => Triaged
** Changed in: netplan
Status: New => Triaged
** Changed in: netplan
Importance: Undecided => High
** Changed in: netplan.io (Ubuntu)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1752247
Title:
Can't Connect to Open Network
Status in netplan:
Triaged
Status in netplan.io package in Ubuntu:
Triaged
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