debian testing stretch: what's the point to rename eth0, wlan0,... at boot?
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If you don't like it, use the "net.ifnames=0" boot parameter and change their names to ethX/wlanX in /etc/network/interfaces and anywhere else mentioned with the old name.
If you don't like it, use the "net.ifnames=0" boot parameter and change their names to ethX/wlanX in /etc/network/interfaces and anywhere else mentioned with the old name.
simply why to make debian Ugly?
Please tell others to fix that in stretch. Make it predictable.
(in systemd: please too fix that lid to change it to ignore instead of suspend)
Please tell others to fix that in stretch. Make it predictable.
That should actually be the point. They may be ugly, but they should be predictable. If you have a USB wifi dongle, it should always come up with the same name, no matter when you plug it in. No more guessing whether it's eth2 or eth3 today.
Isn't it working like this for you now, ugly but reliable?
That should actually be the point. They may be ugly, but they should be predictable. If you have a USB wifi dongle, it should always come up with the same name, no matter when you plug it in. No more guessing whether it's eth2 or eth3 today.
Isn't it working like this for you now, ugly but reliable?
I like that I have wlan0, eth0, wlan1,... and no complex labels something that is simple.
wlan1... up to wlan10, no problem. The best is that it is the same after each reboot.
like before... no need to touch something that was secured and worked.
That should actually be the point. They may be ugly, but they should be predictable. If you have a USB wifi dongle, it should always come up with the same name, no matter when you plug it in. No more guessing whether it's eth2 or eth3 today.
Isn't it working like this for you now, ugly but reliable?
The fun part here is if you plug your USB dongle into a different USB port it will get a different name ...
To be honest, I don't really understand the point of the "predictable network interface names" of systemd. It was predictable before systemd, using udev rules. For instance, I have this in my old pc's /etc/udev/rules.d/70-persistent-net.rules since systemd was... an idea, which makes sure its nic is always listed as eth0
This UNIQUELY identifies the card, since it uses its mac address, which is unique indeed. It was not written by me, it was made by the debian installer when I installed the os, sometime in September 2010! And it does work until today, the systemd days. The proof that it does work is that, a few months ago, I had to change slot to the card. And it is still eth0! Would it keep the same name on systemd without the rule? I doubt it.
The situation "if I plug my wireless dongle to a different usb port, it will get a different interface name" because it will be identified again as different hardware, is a bad feature of the windows nature. Sadly, it seems systemd brought it to linux. And "predictable network interface names" is the one of few systemd features I dislike.
To be honest, I don't really understand the point of the "predictable network interface names" of systemd. It was predictable before systemd, using udev rules. For instance, I have this in my old pc's /etc/udev/rules.d/70-persistent-net.rules since systemd was... an idea, which makes sure its nic is always listed as eth0
This UNIQUELY identifies the card, since it uses its mac address, which is unique indeed. It was not written by me, it was made by the debian installer when I installed the os, sometime in September 2010! And it does work until today, the systemd days. The proof that it does work is that, a few months ago, I had to change slot to the card. And it is still eth0! Would it keep the same name on systemd without the rule? I doubt it.
The situation "if I plug my wireless dongle to a different usb port, it will get a different interface name" because it will be identified again as different hardware, is a bad feature of the windows nature. Sadly, it seems systemd brought it to linux. And "predictable network interface names" is the one of few systemd features I dislike.
this is not our job to fix all the debian stretch.
Please make sure that stretch is made out with a predictable wlan.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.