maschelsea |
02-09-2017 07:24 PM |
Ugh! - AKA The dreaded "udev changed my ethernet interface" issue.
As many of you know, after ten years of using Gentoo, I switched to Slackware last December. I feel like over the past couple of months, I've grown into Slackware. I've had a few issues here and there, but overall, I've always been able to resolve them. Like when I reboot Slack and my web browser loads and reports that I have Page Not Found errors in every open tab. This is relatively easy to fix: Just run /etc/rc.d/rc.inet1 start. Granted, I still think immediately of running /etc/init.d/net.eth0 restart. Eventually that will go away. For the meantime, though, my backup machine (bought in Sept, 2005 and still mostly functional) runs Gentoo updated to April, 2016, when I bought my current workstation. Because my backup machine runs Gentoo (granted, a somewhat dated Gentoo - kernel 4.0.5 in fact (and I KNOW that that kernel is vulnerable to Dirty Cow, but at least it works when I need it,)) I have created a USB with a recent install of Gentoo on it. The problem is that when I boot the USB drive, udev loads my ethernet interface on sit0. I desperately want it to be on eth0. On my old machine, I accomplished this by putting net.ifnames=0 in my /boot/grub/grub.conf. Of course, that was grub.0.97-r16 and my USB runs grub-2.02_beta3-r1:2/2.02_beta3-r1. I am asking this because I tend to have a rather short attention span. It used to be longer, but I'm dreadfully out of practice not having used it in about twenty years. I tend to freak out and completely lose my train of thought whenever I encounter something I don't understand. I have tried and tried and tried to make sense of the Gentoo forum people who have had this exact problem. I have put dummy files in /etc/udev/rules.d/ to override files in /lib/udev/rules.d/. Right now I have
Code:
caitlyn ~ # ls /etc/udev/rules.d/
70-network.rules 80-net-name-slot.rules 80-net-setup-link.rules
I am chrooted into my Gentoo USB drive because I have no network when I boot off my USB. I know that I could simply create file called copy my /etc/conf.d/net.eth0 file over to /etc/conf.d/net.sit0 and change the config.eth0 reference to config.sit0, but then I wouldn't learn how to step beyond this issue, and I'd really REALLY like to step beyond this issue. I know that my short attention span is an excuse and that I need to develop more patience, but for the time being, will anyone answer this for me?
|