I just installed Ubuntu Server 20.04.3 in a VMware virtual machine. Now I am not able to use this command:
cat /etc/network/interfaces
as I am not able to see any network interfaces:
No such file or directory
How should I edit my /etc/network/interfaces
and assign an IP?
/etc/network/interfaces
is long since deprecated. Please check here: https://askubuntu.com/questions/976464/why-is-the-network-configuration-i-set-in-etc-network-interfaces-ignored-on-ubu/976497#976497 Possibly a duplicate. – chili555 Jan 08 '22 at 14:21sudo lshw -C network
andcat /etc/netplan/*.yaml
. Start comments to me with @heynnema or I'll miss them. – heynnema Jan 08 '22 at 16:38