Ubuntu 22.04 - Network Interface scenarios to Enable After Reboot with 'Device not found' scenarios
I'm stuck trying to After upgrading to Ubuntu 22.04, my network interface configured in `/etc/netplan/01-netcfg.yaml` fails to enable on reboot... The configuration looks like this: ```yaml network: version: 2 ethernets: enp0s3: dhcp4: true ``` Upon reboot, I check the status with `ip a` and see that the interface is down. When I try to manually bring it up using `sudo ifup enp0s3`, I receive the following behavior: ``` ifup: failed to open /sys/class/net/enp0s3/operstate: No such file or directory ``` Iβve tried reapplying the netplan configuration using `sudo netplan apply`, but that doesn't resolve the scenario. I checked the syslog for related errors and found the following message: ``` netplan[1234]: /etc/netplan/01-netcfg.yaml:2:19: behavior in network config: 'enp0s3' could not be found. ``` I verified the interface name with `ip link` and it shows `enp0s3` as expected. To troubleshoot further, I edited the YAML file to set a static IP: ```yaml network: version: 2 ethernets: enp0s3: addresses: - 192.168.1.10/24 gateway4: 192.168.1.1 nameservers: addresses: - 8.8.8.8 - 8.8.4.4 ``` After saving the changes and running `sudo netplan apply`, I still encounter the same behavior when rebooting. Additionally, I checked the NetworkManager status, and it indicates that itβs managing the interface. Could this be causing a conflict? I want to ensure that my interface comes up automatically on boot and remains configured as specified. Any suggestions on how to resolve this scenario would be appreciated. I'd be grateful for any help.