How to get eth0 and wlan0 back on Ubuntu Mate 18.04?
David Fletcher
dave at thefletchers.net
Wed Jan 27 11:08:44 UTC 2021
On Wed, 2021-01-27 at 10:18 +0100, Bo Berglund wrote:
> I have a repurposed laptop running Ubuntu Mate 18.04.5 LTS and I need
> to run a
> lot of scripts on this, but they fail because for some reason eth0
> and wlan0 are
> no longer available...
>
> How can I re-enable the use of these standard names instead of the
> new strange
> names?
Any chance you could include a config file at the top of each of your
scripts which defines the strange new names of the interfaces, then do
a global search/replace to change eth0 and wlan0 to instead reference
the definitions? It might be slightly painful, once, but in future
you'd only need to update them in just one place in one file.
Dave
More information about the ubuntu-users
mailing list