894

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
[-] cypherpunks@lemmy.ml 30 points 3 days ago

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

I somehow first read "Redhat" as "Reddit" in this sentence, and so was briefly thinking that perhaps this bad idea originated there 😂

[-] renzev@lemmy.world 38 points 3 days ago

"reddit makes a linux distro" would be hilarious and terrifying

[-] ouRKaoS 25 points 3 days ago

I'm getting "Twitch plays Pokemon" vibes...

I smell a community event brewing… :D

[-] TheEntity@lemmy.world 3 points 3 days ago
[-] JackRiddle@sh.itjust.works 13 points 3 days ago

Arch is too well made to be made by reddit. While redditors are drawn to it, they could never have actually made it themselves.

[-] barsquid@lemmy.world 2 points 3 days ago

If that was made by redditors then where is the delusional far-right propaganda?

load more comments (2 replies)
this post was submitted on 27 Jun 2024
894 points (96.5% liked)

linuxmemes

19676 readers
75 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