Score:0

Renaming Ethernet Adapters

cn flag

I'm trying to rename 2 NICs using the /etc/netplan/01-network-manager-all.yaml file by modifying with Ubuntu text editor. Problem is it's a "read only" file and apparently I don't have the required permissions to overwrite it. OS is UBUNTU 20.04

Thanks in advance.

hu flag
Try `sudo nano /etc/netplan/01-network-manager-all.yaml`
Nu2buntu avatar
cn flag
Thank-you, that worked but now I've manage to make both NICs disappear. I was initially trying to rename them eth0 & eth1. Is there a simple (yet precise) scrip and set of steps to do that as well as assign a static IP address to both. I've tried a few different options on this forum but nothing working so far. I'm definitely missing something or doing things in the wrong sequence.
us flag
Renaming to eth* is unsafe because these are the initial kernel names and you can have race conditions when renaming resulting in collisions.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.