wpa-eap wifi network definition does not support phase2-auth

Bug #1833538 reported by Netplan Bugger
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Netplan
New
Undecided
Unassigned

Bug Description

Environment:
Ubuntu Server 18.04 on Raspberry Pi 3B+, all packages updated as of 2019-06-20.
netplan.io package version: 0.97-0ubuntu1~18.04.1

Test configuration file:
```
network:
  wifis:
    renderer: NetworkManager
    wlan0:
      access-points:
        "wpa-eap-test":
           auth:
             key-management: eap
             method: peap
             identity: "wpauser"
             password: "SeKr1t"
```

Expected behavior:
"wpa-eap-test" added to connections in NetworkManager.
```
# nmcli c
NAME UUID TYPE DEVICE
netplan-wlan0-wpa-eap-test 225700ef-7dbd-3d6c-8371-31fc990e6c19 wifi --
```

Current behavior:
Althought keyfile for the connection is generated, it is not recognized by NetworkManager.
```
# nmcli c
NAME UUID TYPE DEVICE
```
```
# ls /run/NetworkManager/system-connections/
netplan-wlan0-wpa-eap-test.nmconnection
# cat /run/NetworkManager/system-connections/netplan-wlan0-wpa-eap-test.nmconnection
[connection]
id=netplan-wlan0-wpa-eap-test
type=wifi
interface-name=wlan0

[ethernet]
wake-on-lan=0

[ipv4]
method=link-local

[ipv6]
method=ignore

[wifi]
ssid=wpa-eap-test
mode=infrastructure

[wifi-security]
key-mgmt=wpa-eap

[802-1x]
eap=peap
identity=wpauser
password=SeKr1t
```

Appending `phase2-auth=mschapv2` to [802-1x] section of the keyfile and running `systemctl restart NetworkManager` makes NetworkManager recognizes the connections.

description: updated
Revision history for this message
Phil Dibowitz (jaymzh) wrote :
Revision history for this message
Tuomas Suutari (tuomas-suutari) wrote :

I can confirm that the mentioned PR #108 fixes this issue. Thanks Phil!

Revision history for this message
Tuomas Suutari (tuomas-suutari) wrote :

Now that the fix from PR #108 is merged, how soon can we expect it to be packaged to Ubuntu?

Would be great to have this in the LTS, since currently I can't use my company Wifi because of this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.