I would like to set up an active-backup bond for ethernet and WiFi on a freshly installed 20.04 server. I have installed wpasupplicant and wireless-tools with apt as indicated here.
When I boot the server, my wireless interface works (claims an IP address via DHCP and is pingable). It doesn't work anymore though when I run
sudo netplan generate and
sudo netplan apply, even if the netplan configuration is unchanged. I've run both of those with
--debug and neither provided errors to help troubleshooting so the only way to get WiFi back up is to reboot. Ethernet works correctly all the time. The WiFi is a Realtek adapter with USB id 0bda:b720.
network: ethernets: enxa0cec8d3f838: dhcp4: true wifis: wlx7cc7099afdf5: dhcp4: true access-points: "my-ssid": password: "my-password" version: 2
I have also followed the suggestion here to build the driver myself and even after rebooting the problem seems to have persisted, so I'm fairly sure it's not a drivers issue.