Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
Yes, I know I can use udev, or work around the problem by adapting my configuration to the new names, which is simpler than fiddling with udev rules. I used the second option.
But either approach requires me to change the set up of my system software. This strikes me as a band-aid solution.
Ideally, I want to find out what motivates the kernel or NIC driver to change the interface name. This should help me understand how the servers are different.
Or at least, is there a way to prevent this change from happening in the first place?
You could try to recreate the /etc/udev/rules.d/70-persistent-net.rules if it exists, example: mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.bac to back it up. A reboot should reproduce it or can be done from command line with: /sbin/udevadm trigger --type=devices --action=add
I found this article marked solved.
I'm guessing information in that file is based on the information in the /etc/sysconfig/network-scritps/ files, as per the suggestion in that last link, there may be an error in one or more, since you should have four in there, maybe UUID or as mentioned, unprintable error.
EDIT: You can also compare those scripts with the ones in the other blades, might spot the issue
Only very recently I discovered that openSUSE's historic use of /etc/udev/rules.d/70-persistent-net.rules isn't any more needed, and could very well be the reason for eth1 being skipped. All that's needed is net.ifnames=0; no need for biosdevname=0 (which isn't included in any of my openSUSE installations).
A MAC address in /etc/sysconfig/network/ifcfg-eth1 also might be the cause. IME, normally there will not be one in an openSUSE installation.
I don't think the interface is renamed by udev, but rather the driver or kernel without request to rename it. it's currently hard to double check that right now, as I can't afford to reboot the server.
My ifcfg files don't contain UUIDs or MAC addresses. They are identical across the blades, except for IP addresses (in fact, all eth[0-4] are members of bridges).
When I have a chance to explore that further and if I find anything, I will report the result. For now I just adapted my configuration to the new interface numbering and focus on other problems.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.