Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] eth0 interface not found.
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
__M_
n00b
n00b


Joined: 14 Feb 2015
Posts: 3
Location: Australia

PostPosted: Sat Feb 14, 2015 1:29 pm    Post subject: [solved] eth0 interface not found. Reply with quote

Hi

It appears that something has gone wrong with eth0. I do have the correct drivers built into the kernel, Intel e1000, but it seems that they aren't communicating with anything.

- dmesg | grep eth0 gives nothing.

- The Intel driver seems to be loaded at boot, but no network, in dmesg :
Code:
 [4.701649] e1000: Intel(R) PR0/1000 Network Driver - version 7.3.21-k8-NAPI 


- There is no file for eth0 in /sys/class/, only lo and sit0

- /etc/init.d/net.eth0 gives "interface does not exist"

- I have installed dhcpd, and the /etc/conf.d/net has
Code:
 config_eth0 = "dhcp"


The interface has not been renamed as something else by udev.

Suggestions?


Last edited by __M_ on Sun Feb 15, 2015 3:53 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Feb 14, 2015 2:09 pm    Post subject: Reply with quote

__M_,

Welcome to Gentoo

I have previous experience of cards moving between e1000 and e1000e in both directions.
Look up the PCI vendor and device ID on the web to see which driver you need.
Code:
lspci -nn
will help.
I get
Code:
0a:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller [10ec:8169] (rev 10)

The 10ec:8169 is the vendor and device ID.

Code:
lspci -k
on your boot media may help but in the case of the e1000 and e1000e drivers, its not reliable.
_________________
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
__M_
n00b
n00b


Joined: 14 Feb 2015
Posts: 3
Location: Australia

PostPosted: Sat Feb 14, 2015 2:27 pm    Post subject: Reply with quote

Its the Intel I218-v [8086:15a1], on an ASUS x99-a motherboard. Intel I218
I see some other Linux distros have had problems with this in the past. Maybe download the drivers from the Intel website and compile it in myself?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Feb 14, 2015 2:33 pm    Post subject: Reply with quote

__M_,

It looks like you need e1000e, not the e1000 you posted.
_________________
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
__M_
n00b
n00b


Joined: 14 Feb 2015
Posts: 3
Location: Australia

PostPosted: Sun Feb 15, 2015 3:52 am    Post subject: Reply with quote

Ah, thanks a lot.

I just compiled the driver as a kernel module and loaded it

Code:

cd /usr/src/linux
make menuconfig

make modules
make modules_install


udev did end up renaming it to eno1, so I just added renamed etc/init.d/eth0 to eno1.
/etc/init.d/net.eno1 gives me an ip.
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