I just tried this on Lubuntu Lunar.
Some things I noticed:
1: After installing the Netplan-integrated NetworkManager, my WiFi and loopback connections appeared to drop, then both reconnected. WiFi dropping out seems normal, however I don’t think the loopback connection should ever drop. Not sure if that’s something to be taken into account.
2: When installation was finished, sudo netplan get
and ls /etc/netplan
both showed almost no Netplan-related data. All I got from sudo netplan get
was:
** (process:4088): WARNING **: 12:41:41.394; Permissions for /etc/netplan/01-network-manager-all.yaml are too open. Netplan configuration should NOT be accessible by others.
network:
version: 2
renderer: NetworkManager
I had to disconnect from WiFi, entirely delete my WiFi connection with nmtui
, then reconnect to WiFi in order to get anything to register in Netplan. After doing that, things seem to look normal.
3: Netplan is storing my WiFi password in cleartext. I don’t think this is a problem since the .yaml file that actually holds my WiFi info isn’t publicly accessible like the 01-network-manager-all.yaml
file is. However, I believe that Kubuntu (at least sometimes) holds the WiFi password in KWallet, and retrieves it from KWallet to connect to WiFi. I’m wondering how that will interact with Netplan - will the two conflict? Will one get ignored?
4: Last but not least since this ended up not being a bug, it looks like Netplan is failing to get the IP address from NetworkManager. My sudo netplan get
output looks like this after getting things to show up there:
network:
version: 2
renderer: NetworkManager
wifis:
NM-90ea9018-baa8-8c59-f4044a9c8b31:
renderer: NetworkManager
match:
name: "wlp1s0"
dhcp4: true
dhcp6: true
access-points:
"My WiFi Hotspot Name":
auth:
key-management: "psk"
password: hunter2
networkmanager:
uuid: "90ea9018-baa8-41d5-8c59-f4044a9c8b31"
name: "My WiFi Hotspot Name"
passthrough:
wifi-security.auth-alg: "open"
ipv6.addr-gen-mode: "default"
ipv6.ip6-privacy: "-1"
proxy._: ""
networkmanager:
uuid: "90ea9018-baa8-41d5-8c59-f4044a9c8b31"
name: "My WiFi Hotspot Name"
The “Common case 2: Wifi Connection” above shows that there are IPv4 addresses in the Netplan output, and I know my hotspot provides me an IPv4 address.
My WiFi appears to be working just fine, though - I can still browse websites and whatnot without problems so far.
My testcase is a fairly standard WiFi connection on a laptop. I’m using a cellular WiFi hotspot. Also, in case it wasn’t obvious, “My WiFi Hotspot Name” is not the actual name of my WiFi hotspot, and “hunter2” is not my actual WiFi password.