[04:05] Hi all, so I'm mucking around with netplan on Ubuntu 20.04..... [04:05] I'm trying to figure out how to handle a USB ethernet adapter to want to do DHCP on it [04:06] given the interface name seems to contain the MAC address, all I know is that it'll be called something like: enx [04:06] how can I make a config statement to auto-set these up as DHCP? [09:34] CRCinAU: if you know the mac address, you can match it using that, e.g. via the "match.macaddress" setting. Then you can simply use "dhcp4: yes" and "dhcp6: yes" to enable DHCP [09:34] See https://netplan.io/reference/#common-properties-for-all-device-types [09:35] alternatively, you could match by driver, or by interface name (or a combination of all 3) [09:36] so you could for example also match on network.ethernets.usb-adapter.match.name="enx*" [10:28] I'll be honest, I ended up just switching it to NetworkManager... For the USB ethernet parts - it just does what I wanted out of the box