Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Ethernet issue (renaming perhaps?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kiskoller
n00b
n00b


Joined: 30 Oct 2010
Posts: 65

PostPosted: Fri Nov 08, 2013 7:17 pm    Post subject: [SOLVED] Ethernet issue (renaming perhaps?) Reply with quote

Hello dear Gentoo users,

I came across a big issue while installing Gentoo onto my new box: I can't fire up ethernet interface:

* ERROR: interface eth0 does not exist
* Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.eth0 failed to start


I know that this usualy means 2 things:
Missing driver in the kernel, or driver is compiled as module and not loaded.

So I googled my Motherboard (ASUS Z87-Pro) and made sure that his ethernet adapters driver ( e1000e) is in the kernel. Then I tried to compile it as module and load it with modprobe. I even downloaded the driver from intel website and compiled that, still no luck.

I am using an Ubuntu LiveCD to install Gentoo (as usual) and since I have net connection with Ubuntu, I checked with lspci and lsmod what device do I actually have and what module does Ubuntu's kernel load to use it. Same thing, e1000e

So my only guess is that eth0 is not eth0 anymore, as mentioned here
http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

In Ubuntu ifconfig says that I have lo, eth0 and wlan0 adapters (im not using the wifi one, only the wired one)

Is there a way to figure out how should I name the syslink of net.lo in the /etc/init.d folder so I can fire up my adapter? In the old ways it was net.eth0, neth.eth1, net.eth2 etc.

Thanks for the help in advance!


Last edited by kiskoller on Fri Nov 08, 2013 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
kiskoller
n00b
n00b


Joined: 30 Oct 2010
Posts: 65

PostPosted: Fri Nov 08, 2013 7:24 pm    Post subject: Reply with quote

Haha found it. I was struggling with this issue for 4 hours, yet right after I ask for help I find the answer (Murphy's Law in motion I guess):


Code:
/sys/class/net


contains the interface names. I just had to use those names and voalá, problem solved.
Back to top
View user's profile Send private message
Dachnaz
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 76
Location: Minneapolis, MN, USA

PostPosted: Mon Nov 11, 2013 6:43 pm    Post subject: Reply with quote

What if your interfaces don't appear in there, as well? :(
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 2512
Location: Canada

PostPosted: Mon Nov 11, 2013 11:22 pm    Post subject: Reply with quote

kiskoller wrote:
Haha found it. I was struggling with this issue for 4 hours, yet right after I ask for help I find the answer (Murphy's Law in motion I guess):


Code:
/sys/class/net


contains the interface names. I just had to use those names and voalá, problem solved.


of course you do not have to use the new names and go back to using old fashioned names assigned by kernel.
Just make

/etc/udev/rules.d/80-net-name-slot.rules -> /dev/null

symlink
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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