You are not logged in.
Explanation: Hand-waving-argument, magic. I don't know. But I think you'll be ok when you move your system to different hardware.
Haha...glad it's not just me. Yes, it appears I'll be OK but it would be nice to understand why. Both are still a mystery to me...that is, how I'm getting eth0 without net.ifnames=0, and why I'm getting no 70-persistent-net.rules (or any other rules) with udev enabled. Don't look a gift horse in the mouth I guess
.
EDIT: Totally OT: Any idea why wiki.debian.org is apparently blocking the commercial VPN I use? I get 403s...very annoying. I read some things from way back where this was supposedly corrected(?).
Thanks!
Tom
I'm certainly not using systemd of course. Correct me if I'm wrong, but there's no alternative to udev available in devuan at the moment(?)..unless maybe someone were to create a static /dev of something. Under Gentoo I'm using eudev.
And again, while I haven't been able to test what device I get is I port this to another VM environment, I am getting the eth0 device without passing any kernel options, and I am not getting anything like the 70-persistent-net.rules at all even though udev is running. That's actually great, but I'm really bothered by the fact that nobody seems to know why that is.
Is this possible because I'm not using network manager?
Tom
Thanks for the replies! I'm hoping to test exporting my VM to an OVF and deploying it on our VCenter today to see what happens with the interface.
What still confuses me a bit is understanding why I'm getting eth0 rather than the new complex names...unless that's because I'm not running network manager(?). I certainly haven't changed any boot parameters etc. I'm also a little thrown as to why I'm currently not getting that auto-generated udev file at all (70-persistent-net.rules) or any others, even though udev is clearly running.
I'm not complaining, and I'd love it if that continued...I'm just not clear why it's behaving that way. Currently I have "auto eth0" in /etc/network/interfaces and, again, no network manager installed. As far as I can see, the only thing that gets changed automatically is /etc/resolv.conf and only if I set eth0 up for dhcp rather than static. That's exactly what I want.
If anyone understands why it's behaving so nicely I'd like to understand. ![]()
On an unrelated note: This has been my first use of anything related to Debian and I'm pretty thrilled all in all. I can say for sure that apt puts yum into the trash heap it deserves for sure. One feature that blew me away is the fact that I was able to install Tcl expect without unwanted (suggested) dependencies of tk by using "apt-get install expect tk8.6-". Too cool. For a binary distribution that reminded me of the flexibility I have with Gentoo.
Thanks again!
Tom
OH...I just noticed an important aspect of this. That is, that I'm not using network manager at all. Still trying to understand if that makes a difference here.
In our case we'll always have one single "wired" network interface, and ideally we'd like it to always come up as eth0 regardless of the VM environment.
Thanks again.
Tom
Holy good lord...just started reading this. One thing I need to get straight before I even ask any further questions, as there are two separate potential issues here:
What I was referring to specifically, as we ran into on CentOS 6, is when udev records an identifier for for a specific NIC card in /etc/udev/rules.d/70-persistent-net.rules. If the same VM boots in a different VM environment, it will end up with eth1 rather than eth0 unless that file has been removed, so we remove it at shutdown. I actually did a similar thing with a Gentoo install of my MythTV frontend, because I occasionally swap the hard drive with an identical backup computer and I have it configured for eth0.
The other issue, which I recall from way back with my Gentoo machines, was that switch to the entirely different naming scheme that replaces the eth0 naming. Under Gentoo that was prevented by simply adding a dummy file at /etc/udev/rules.d/80-net-name-slot.rules. I'm assuming we didn't run into that in CentOS 6 as that uses udev 147.
After that I have a lot of questions...for example, what caused me to get eth0 in this install instead of the new naming scheme...given that that's using udev 215?
Is there anything the freedesktop.org folks haven't screwed up? Under Gentoo I'm using eudev. I'm not sure if the fix above regarding 80-net-name-slot.rules was specific to just eudev or not. As a matter of fact I've also replaced that grub 2 nightmare with syslinux...I wasn't not much happier with that than any of this udev stuff.
Thanks for the replies!!...(I think
).
Tom
First a quick intro...first time posting here. My company currently delivers our product (primarily LAMP based) on a CentOS 6 VM, and we need to move to a more recent OS for several reasons. There was no way we were going with CentOS 7 or anything else with systemd. Given that I knew Debian had always been a solid go-to server OS, I ended up here. I've been working with a new headless devuan 1.0 install on a VM for about a week. I can't say enough about how ecstatic I am with it so far, and how thankful I am to everyone involved. Real Linux lives and rocks.
Here's my question: For several reasons, we want to ensure that a clone of our VM will always end up with the network device eth0. It's been my experience that when cloning a VM like this, there's a tendency to end up with a new device name like etc1 etc caused by what it perceives as a different network device. This is usually the result of the file /etc/udev/rules.d/70-persistent-net.rules created automatically by udev. On CentOS we worked around this with a shutdown process that deletes that file. With that, the network device always gets picked up as eth0.
In the install I'm testing, I get no such udev file. I've yet to try anything as far as spinning up a clone in a different VM environment.
Will this VM just always pick up the device as eth0? I'm a little unclear as to what's happening there and how/if udev is even involved.
Thanks in advance!
Tom