Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No more network after major update
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
elsni
n00b
n00b


Joined: 21 Sep 2004
Posts: 56
Location: Lübeck/Germany

PostPosted: Thu Apr 28, 2016 10:24 am    Post subject: No more network after major update Reply with quote

Hi,

I needed to update my home server which was not updated for about two years because of a suggested portage update.
Unfortunately, that leads into update of the whole system because of blockers of blockers and so on.
I needed to update gcc, glibc, baselayout and install OpenRC. Update @world ist still not possible because of blockers.

But the worst thing is that on a reboot, ethernet is not working anymore and I dont know what to do.
there is no /etc/init.d/network or net.eth0 !?!

On boot there are some messages about outdated /etc/ scripts, but I already did an etc-update.

I'm stuck, could someone give me an advice where to start or what to do next?

Thank you very much!!
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Thu Apr 28, 2016 11:21 am    Post subject: Reply with quote

Add net.ifnames=0 to kernel command line and eth0 will be back.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Thu Apr 28, 2016 11:38 am    Post subject: Reply with quote

Buffoon wrote:
Add net.ifnames=0 to kernel command line and eth0 will be back.

Or, without touching the kernel command line: https://wiki.gentoo.org/wiki/Eudev#Keep_classic_.27eth0.27_naming.
Back to top
View user's profile Send private message
elsni
n00b
n00b


Joined: 21 Sep 2004
Posts: 56
Location: Lübeck/Germany

PostPosted: Mon May 02, 2016 9:30 pm    Post subject: Reply with quote

Thanks,
but that did not work. It seems that I have some issues with the update anyway, so I guess it I'll have to fix them first.
Back to top
View user's profile Send private message
vaxbrat
l33t
l33t


Joined: 05 Oct 2005
Posts: 731
Location: DC Burbs

PostPosted: Tue May 03, 2016 12:10 am    Post subject: persistent naming Reply with quote

You probably did persistent naming when udev got sufficiently bumped. Do an

Code:
ifconfig -a


If you get enpxxxx style devices, they should stay put for you to work with them. Or just follow the eudev guide if you want to switch over to the new default udev for gentoo and then opt to put back old school naming in /etc/udev/rules.d as documented.

https://wiki.gentoo.org/wiki/Eudev
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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