919
submitted 2 weeks ago by [email protected] to c/[email protected]

Context for newbies: Linux refers to network adapters (wifi cards, ethernet cards, etc.) by so called "interfaces". For the longest time, the interface names were assigned based on the type of device and the order in which the system discovered it. So, eth0, eth1, wlan0, and wwan0 are all possible interface names. This, however, can be an issue: "the order in which the system discovered it" is not deterministic, which means hardware can switch interface names across reboots. This can be a real issue for things like servers that rely on interface names staying the same.

The solution to this issue is to assign custom names based on MAC address. The MAC address is hardcoded into the network adaptor, and will not change. (There are other ways to do this as well, such as setting udev rules).

Redhat, however, found this solution too simple and instead devised their own scheme for assigning network interface names. It fails at solving the problem it was created to solve while making it much harder to type and remember interface names.

To disable predictable interface naming and switch back to the old scheme, add net.ifnames=0 and biosdevname=0 to your boot paramets.

The template for this meme is called "stop doing math".

you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 1 points 2 weeks ago

I have to disagree with you there. Systemd sucks ass, and so does RPM.

[-] [email protected] 3 points 2 weeks ago

so does RPM.

Careful. Jeff's format gives us really great advantages from an atomic package that we don't have elsewhere. THAT, at least, was a great thing.

Lennart's Cancer, though, can die in a fire.

[-] [email protected] 2 points 2 weeks ago

Atomic updates are amazing. But the package manager is slow as hell. SuSE managed to make zypper much faster using the same package format.

[-] [email protected] 3 points 2 weeks ago

The only thing that's slow is dnf's repository check and some migration scripts in certain fedora packages. If that's the price I need to pay to get seamless updates and upgrades across major versions for nearly a decade, then I can live with that.

[-] [email protected] 2 points 2 weeks ago

I'll grant you that; I haven't used dnf so can't speak to its performance.

load more comments (1 replies)
load more comments (1 replies)
this post was submitted on 27 Jun 2024
919 points (96.6% liked)

linuxmemes

19849 readers
913 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS