Gentoo eth0

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Thu Aug 05, 2010 5:04 pm

Gentoo eth0

Post by hakkuo23 »

ifconfig is not showing eth0
I followed this guide:
http://www.nfoservers.com/forums/viewto ... 08&p=34723

But it doesn't seem to fix it for me. I figure that the appropriate modules are loaded for the network card (e1000) but I cannot seem to get a response out of it :(

What should I do?

Thanks!
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Gentoo eth0

Post by hakkuo23 »

hakkuo23 wrote:ifconfig is not showing eth0
I followed this guide:
http://www.nfoservers.com/forums/viewto ... 08&p=34723

But it doesn't seem to fix it for me. I figure that the appropriate modules are loaded for the network card (e1000) but I cannot seem to get a response out of it :(

What should I do?

Thanks!
Also grepping dmesg get's me this:
29fa3861d0deaa0485f01311eb017275.png
But I don't know why I can't ping anything :(
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Gentoo eth0

Post by hakkuo23 »

Okay I just configured it using enp0s4 and i can connect to external networks now, but that doesn't feel very right haha
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Gentoo eth0

Post by Edge100x »

In recent versions, Gentoo has started renaming adapters to other things than eth0. I don't like it, myself, and turn it off for our internal installations, but it's the default behavior.
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Gentoo eth0

Post by hakkuo23 »

Edge100x wrote:In recent versions, Gentoo has started renaming adapters to other things than eth0. I don't like it, myself, and turn it off for our internal installations, but it's the default behavior.
Anyway to rename it haha?
User avatar
Edge100x
Founder
Founder
Posts: 13156
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Gentoo eth0

Post by Edge100x »

The devs say this:
The most reliable way of disabling the new network interface scheme is still
the kernel parameter "net.ifnames=0" since overriding the
80-net-name-slot.rules in /etc/udev/rules.d/ no longer works since upstream
renamed the file to /lib/udev/rules.d/80-net-setup-link.rules
The actual configuration is at /lib/systemd/network/99-default.link, which
you can override in /etc/systemd/network/
So, to clarify, you can override the new .rules file or the .link file in /etc
but using the kernel parameter is the most consistent way.
User avatar
hakkuo23
This is my homepage
This is my homepage
Posts: 88
Joined: Thu Aug 05, 2010 5:04 pm

Re: Gentoo eth0

Post by hakkuo23 »

Edge100x wrote:The devs say this:
The most reliable way of disabling the new network interface scheme is still
the kernel parameter "net.ifnames=0" since overriding the
80-net-name-slot.rules in /etc/udev/rules.d/ no longer works since upstream
renamed the file to /lib/udev/rules.d/80-net-setup-link.rules
The actual configuration is at /lib/systemd/network/99-default.link, which
you can override in /etc/systemd/network/
So, to clarify, you can override the new .rules file or the .link file in /etc
but using the kernel parameter is the most consistent way.
Hmm not sure if it's worth it :|
Post Reply