How to get eth0 and wlan0 back on Ubuntu Mate 18.04?

Ralf Mardorf kde.lists at yahoo.com
Thu Jan 28 09:02:24 UTC 2021


On Thu, 28 Jan 2021 19:31:14 +1100, Karl Auer wrote:
>Edit /etc/netplan/01-network-manager-all.yaml and make it look
>something like this:

Does it require NetworkManager?

I would solve it similar to what Dave suggested, just without a config
file, by using an editor's "replace option", but by using a variable.
Actually the eth approach never caused an issue for me, but the enp
approach can result in inconsistencies.

I can solve those inconsistencies on my machine by running

  $(basename $(ls -d /sys/class/net/enp?s0))

it not necessarily works that easy on all machines.

I used this without a variable, but consider to assign this to a
variable next time.




More information about the ubuntu-users mailing list