Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
why am I getting eth0?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Sat Jan 04, 2014 4:00 pm    Post subject: why am I getting eth0? Reply with quote

I've confirmed that I don't have /etc/udev/rules.d/80-net-name-slot.rules but I'm getting eth0 instead of something in the new naming convention. Any idea why this is happening? It's a Pandaboard ES up-to-date and on 3.12.6.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13831

PostPosted: Sat Jan 04, 2014 4:46 pm    Post subject: Reply with quote

There are multiple ways to make udev keep the predictable kernel names instead of using the PCI slot based names. The two that come to mind are the rules file that you checked, and placing net.ifnames=0 on the kernel command line. The news item that announced this last year (2013-03-29 Upgrading udev to version >=200) says that having an old 70-persistent-net.rules can interfere with the udev name mangling. If none of this fixes your problem, please post the output of ls -la /etc/udev/rules.d/ ; cat -n /etc/udev/rules.d/*.rules.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Sat Jan 04, 2014 7:09 pm    Post subject: Reply with quote

I haven't added any special kernel boot parameters and I don't have a 70-persistent-net.rules at all. It's a completely fresh install.

# ls -la /etc/udev/rules.d/ ; cat -n /etc/udev/rules.d/*.rules.
total 8
drwxr-xr-x 2 root root 4096 Jan 4 07:38 .
drwxr-xr-x 4 root root 4096 Dec 31 09:15 ..
cat: /etc/udev/rules.d/*.rules.: No such file or directory
#
Back to top
View user's profile Send private message
creaker
l33t
l33t


Joined: 14 Jul 2012
Posts: 651

PostPosted: Sat Jan 04, 2014 7:21 pm    Post subject: Reply with quote

Do you have udev running at all? If so, interface should be renamed.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 989

PostPosted: Sat Jan 04, 2014 7:29 pm    Post subject: Reply with quote

It seems to be running:

# /etc/init.d/udev status
* status: started
#

# dmesg|grep eth0
[ 3.121734] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-4a064c00.ehci-1.1, smsc95xx USB 2.0 Ethernet, 66:b8:b4:d3:08:a8
[ 13.134063] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 15.050170] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[ 1347.911834] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 1350.750518] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 1352.500305] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
#
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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