Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Network interface name changed back to eth0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
snowman30
n00b
n00b


Joined: 11 Feb 2025
Posts: 2

PostPosted: Tue Feb 11, 2025 8:12 pm    Post subject: [Solved] Network interface name changed back to eth0 Reply with quote

Hi,

I ran into a weird problem. There is a system which was not updated for at least two years, sitting at my parents home about 230km away from my location...
So after I ran a repeated "emerge -uDN world" marathon, solved all blockers, performed "etc-update", depclean'ed the system, I also compiled a new kernel based on the old config. To ensure that there is nothing wrong with the kernel, I set the new kernel to be booted only on the next boot.
Then I rebooted. System did not come up cleanly, as the network interface was not coming up properly. So the system was rebooted, this time using the old kernel as this was set as default. Same again, network does not come up. So I was stuck, as I could not connect to this machine anymore to solve this issue.
Now, using a pikvm, I do have access to this system again. And what I found is the following:

TL;DR:
Network interface is now called eth0 instead of enp3s0 after world update

Nothing was intentionally changed regarding this behavior (maybe I overlooked something in the etc-update process?)
The system is probably old enough that the transition from eth0 to enp3s0 was done in the past, but this reverting behavior puzzles me.

Any ideas to where the problem might be?


Last edited by snowman30 on Tue Feb 11, 2025 8:58 pm; edited 1 time in total
Back to top
View user's profile Send private message
snowman30
n00b
n00b


Joined: 11 Feb 2025
Posts: 2

PostPosted: Tue Feb 11, 2025 8:57 pm    Post subject: Reply with quote

Issue solved.

Based on bug 856916, I was poking around and found that in sysinit udev-mount failed to start as it is not existant any more.

[/url]Removed it from this runlevel (rc-update del udev-mount sysinit), network interface is renamed to enp3s0 as before, and also, the display manger is started again. This was also one of the curiosities, that this was not happening.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54850
Location: 56N 3W

PostPosted: Tue Feb 11, 2025 8:58 pm    Post subject: Reply with quote

snowman30,

Welcome to Gentoo.

Ethernet interface renaming is done by udev or systemd.
Is it running?

Interface renaming can be be turned off with a udev rules file or a kernel command line parameter.
Neither are present by default.

Can you put dmesg onto a pastebin site?
The kernel boot messages may provide pointers.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum