Interface names

New to Debian (Or Linux in general)? Ask your questions here!

Re: Interface names

Postby dryden » 2018-02-09 22:44

OpenSUSE also doesn't enable "Predictable" Interface Names by default.

These names are the worst invention in Linux thus far, after SystemD.
dryden
 
Posts: 80
Joined: 2015-02-04 08:54

Re: Interface names

Postby Thorny » 2018-02-09 23:39

Well, I kind of like the number two way of avoiding the "predictable interface naming" shown in the link I posted.
2. You create your own manual naming scheme, for example by naming your interfaces "internet0", "dmz0" or "lan0". For that create your own .link files in /etc/systemd/network/, that choose an explicit name or a better naming scheme for one, some, or all of your interfaces. See systemd.link(5) for more information.

It is similar to the use of LABEL for drives. However it also does not happen automagically and of course wouldn't be useful for those who don't use systemd.

[edit] Yes, dryden, I am aware you mentioned that.
User avatar
Thorny
 
Posts: 542
Joined: 2011-02-27 13:40

Re: Interface names

Postby dryden » 2018-02-10 00:47

The idea of 'sorted' interface names itself is not bad, the implementation is just defunct.

There is no sensible reason why, in the booting of the system, they could not have implemented a choke point like network.target at which the 'biosdevnames' could not be enumerated into a logical list.

And if that's not possible for hot-pluggable devices like 3g modems, then use device ID strings or let the user assign a number to each device (as has of course been implemented).

It should be easy enough to have some software that lists the devices and where you can say "device "string" set number 2".

It only requires 2 commands but we don't have it.

Maybe OpenSUSE has it (with YaST) I don't know.

I mean it's so utterly simple to provide a user-friendly solution, but apparently that is not difficult enough and you can't call yourself a genius for solving such a problem; however if you make the solution utterly complex you can make a career out of solving the problems your own solutions produced.

(Lots of people in the world are employed in such systems).
dryden
 
Posts: 80
Joined: 2015-02-04 08:54

Previous

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable