Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ERROR: interface eth0 does not exist [SOLVED]
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
AFriendlyTrashcan
n00b
n00b


Joined: 01 Jan 2017
Posts: 11

PostPosted: Sun Jan 01, 2017 5:47 pm    Post subject: ERROR: interface eth0 does not exist [SOLVED] Reply with quote

I just finished my gentoo installation and I have rebooted, now for some reason eth0 doesn't show up. I have all of the drivers included when I was configuring the kernel as far as I know. Here's the relevant output from /var/log/rc.log
Code:
* Bringing up interface eth0
*     Caching network module dependencies
*     ERROR: interface eth0 does not exist
*     Ensure that you have loaded the correct kernel module for your hardware
* ERROR: net.eth0 failed to start
* ERROR: cannot start netmount as net.eth0 would not start

Here's the relevant output from lspci -nnk
Code:
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 06)
       Subsystem: Intel Corporation 82579LM Gigabit Network Connection [8086:4953]
       Kernel driver in use: e1000e
       Kernel modules: e1000e

Any help is appreciated, I've been trying to fix this for a while.


Last edited by AFriendlyTrashcan on Sun Jan 01, 2017 7:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jan 01, 2017 6:00 pm    Post subject: Reply with quote

Default is to get nonsense names from udev and maybe now eudev. Run "ifconfig" to see your interface names. Mine wants to be something like "empanada".

Another "feature" from Red Hat's linux-like OS.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Sun Jan 01, 2017 6:06 pm    Post subject: Reply with quote

Exactly as Tony0945 says, see also https://wiki.gentoo.org/wiki/Eudev/Network_device_names
Back to top
View user's profile Send private message
AFriendlyTrashcan
n00b
n00b


Joined: 01 Jan 2017
Posts: 11

PostPosted: Sun Jan 01, 2017 6:25 pm    Post subject: Reply with quote

Cool it works, thank you to both of you! I just ran the command in the link you sent me
Code:
touch /etc/udev/rules.d/80-net-name-slot.rules

then I rebooted and it worked! :D
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Jan 01, 2017 6:55 pm    Post subject: Reply with quote

Edit your original post to add [SOLVED] to the title.
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