You are not logged in.

#1 2013-11-20 21:49:11

skiwi
Member
Registered: 2012-11-28
Posts: 32

No eth0 RTL8101E/RTL8102E

Hi,

I'm having trouble getting a wired network connection to work.
I am using NetworkManager to manage the connections, but it doesn't show any wired connection.
Wireless is working.
It appears there is no eth0 at all:

> ip link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether 74:e5:43:fa:ca:37 brd ff:ff:ff:ff:ff:ff

The network controllers I have are:

> lspci
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
03:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

Following the Arch network config guide, I wanted to install the compat-drivers package from AUR but this is no longer mainained (the wiki should probably be updated there)

https://wiki.archlinux.org/index.php/Ne … ros_AR8161
https://aur.archlinux.org/packages/comp … s-patched/ (outdated drivers)

So I ended up installing the 'backports' it refers to, which ended up changing my 'wlan0' to what is now called 'wlp3s0' but otherwise still no 'eth0'.

http://drvbp1.linux-foundation.org/~mcg … backports/

I found this link
http://www.gentooforum.de/artikel/21276 … exist.html
where someone appears to have fixed his problem by creating a symlink which I haven't tried because I don't really see what good this would do...

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

Any suggestions how to get eth0 to work?

Thanks!

Last edited by skiwi (2013-11-20 21:52:49)

Offline

#2 2013-11-20 22:25:08

mike_r
Member
Registered: 2009-01-22
Posts: 114

Re: No eth0 RTL8101E/RTL8102E

Usually a missing device means that a kernel module wasn't loaded that was appropriate for that device. I'm not familiar with your card, but try an "lsmod" and see if any of the loaded modules match your card. Then have a look through /usr/lib/modules to see if any of the network drivers available in there match it.


Linux User #353 - SLS -> Slackware -> Red Hat -> Mandrake -> Fedora -> Arch

Offline

#3 2013-11-20 22:27:19

Gusar
Member
Registered: 2009-08-25
Posts: 3,605

Re: No eth0 RTL8101E/RTL8102E

Hmm, the r8169 driver should handle this thing. Load the module manually and check dmesg, maybe it'll say something useful. Also, post lspci -nn output so we'll know the pci-id of the chip.

Offline

#4 2013-11-20 22:28:40

skiwi
Member
Registered: 2012-11-28
Posts: 32

Re: No eth0 RTL8101E/RTL8102E

Hi, thanks.

lsmod gives the following

> lsmod
Module                  Size  Used by
fuse                   74768  3 
joydev                  9671  0 
x86_pkg_temp_thermal     6999  0 
intel_powerclamp        8642  0 
coretemp                6334  0 
kvm                   389093  0 
crct10dif_pclmul        4754  0 
crct10dif_common        1380  1 crct10dif_pclmul
crc32_pclmul            3027  0 
crc32c_intel           14257  0 
ghash_clmulni_intel     4509  0 
aesni_intel            46132  1 
aes_x86_64              7407  1 aesni_intel
lrw                     3573  1 aesni_intel
gf128mul                5866  1 lrw
glue_helper             4617  1 aesni_intel
ablk_helper             1980  1 aesni_intel
cryptd                  8481  3 ghash_clmulni_intel,aesni_intel,ablk_helper
hid_logitech_dj        10639  0 
iTCO_wdt                5407  0 
iTCO_vendor_support     1937  1 iTCO_wdt
arc4                    2008  2 
microcode              15024  0 
evdev                  10989  13 
uvcvideo               72900  0 
videobuf2_vmalloc       3280  1 uvcvideo
videobuf2_memops        2343  1 videobuf2_vmalloc
videobuf2_core         28027  1 uvcvideo
videodev              111140  2 uvcvideo,videobuf2_core
psmouse                85428  0 
media                  11751  2 uvcvideo,videodev
serio_raw               5049  0 
ath9k                  91690  0 
usbhid                 40577  0 
ath9k_common            2158  1 ath9k
hid                    90678  3 usbhid,hid_logitech_dj
i2c_i801               11277  0 
ath9k_hw              393756  2 ath9k_common,ath9k
ath                    15881  3 ath9k_common,ath9k,ath9k_hw
mac80211              470018  1 ath9k
bluetooth             309116  0 
snd_hda_codec_hdmi     30098  1 
cfg80211              414006  3 ath,ath9k,mac80211
snd_hda_codec_conexant    36695  1 
thermal                 8532  0 
compat                  1305  5 cfg80211,ath9k_common,ath9k,mac80211,ath9k_hw
wmi                     8419  0 
i915                  656950  2 
snd_hda_intel          36904  1 
snd_hda_codec         149569  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
snd_hwdep               6340  1 snd_hda_codec
snd_pcm                77709  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
intel_agp              10880  1 i915
snd_page_alloc          7242  2 snd_pcm,snd_hda_intel
ideapad_laptop          9969  0 
intel_gtt              12664  2 i915,intel_agp
snd_timer              18726  1 snd_pcm
sparse_keymap           3154  1 ideapad_laptop
drm_kms_helper         36286  1 i915
rfkill                 15651  4 cfg80211,ideapad_laptop,bluetooth
drm                   238206  3 i915,drm_kms_helper
snd                    59173  9 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_hda_codec,snd_hda_intel
video                  11196  1 i915
battery                 6837  0 
i2c_algo_bit            5399  1 i915
i2c_core               24164  6 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit,videodev
soundcore               5450  1 snd
lpc_ich                13120  0 
mei_me                  9304  0 
mei                    62254  1 mei_me
ac                      3332  0 
shpchp                 25465  0 
processor              24999  0 
button                  4677  1 i915
ext4                  474187  4 
crc16                   1367  2 ext4,bluetooth
mbcache                 6082  1 ext4
jbd2                   83504  1 ext4
sd_mod                 30789  6 
ahci                   22896  4 
libahci                21401  1 ahci
libata                170792  2 ahci,libahci
scsi_mod              130669  2 libata,sd_mod
ehci_pci                4000  0 
ehci_hcd               59220  1 ehci_pci
xhci_hcd              146970  0 
usbcore               179768  5 uvcvideo,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common              1656  1 usbcore

It shows the ath9k module but nothing 'rtl...', perhaps you are right and I am missing the relevant module.

Offline

#5 2013-11-20 22:31:02

skiwi
Member
Registered: 2012-11-28
Posts: 32

Re: No eth0 RTL8101E/RTL8102E

Thanks! that actually did the trick.. It immediately switched to my wired connection.

 modprobe r8169 

update

oops, figured out the cause of my problem:
I had actually previously blacklisted the eth0 driver to save power...

Last edited by skiwi (2013-11-20 22:40:32)

Offline

#6 2014-01-07 17:25:33

Kolibry
Member
Registered: 2012-12-20
Posts: 110

Re: No eth0 RTL8101E/RTL8102E

Hey everyone,

This topic is not so old, so I take it because i have EXACTLy the same hardware and the same problem...

Here are some results I had :

lspci -v :

05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller (prog-if 30 [XHCI])
        Subsystem: ASUSTeK Computer Inc. Device 103b
        Flags: bus master, fast devsel, latency 0, IRQ 18
        Memory at fe900000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_hcd

06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
        Subsystem: ASUSTeK Computer Inc. Device 103b
        Flags: bus master, fast devsel, latency 0, IRQ 44
        I/O ports at e000 [size=256]
        Memory at d0004000 (64-bit, prefetchable) [size=4K]
        Memory at d0000000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

lsmod | grep r8169 :

lsmod | grep r8169
r8169                  51000  0 
mii                     3375  1 r8169

dmesg | grep enp6s0 :

[dmesg | grep enp6s0
[    8.585373] systemd-udevd[146]: renamed network interface eth0 to enp6s0
[   13.273391] r8169 0000:06:00.0 enp6s0: link down
[   13.273518] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[   13.273526] r8169 0000:06:00.0 enp6s0: link down
[  123.323406] r8169 0000:06:00.0 enp6s0: link down
[  123.323566] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready
[  159.553248] r8169 0000:06:00.0 enp6s0: link down
[  159.553396] IPv6: ADDRCONF(NETDEV_UP): enp6s0: link is not ready

sudo dhcpcd enp6s0 :

sudo dhcpcd enp6s0
[sudo] password for kolibry: 
dhcpcd[6703]: version 6.1.0 starting
dhcpcd[6703]: enp6s0: waiting for carrier
dhcpcd[6703]: timed out
dhcpcd[6703]: exited

Thanks for any help !


Asus 1225B - 11,6" -  AMD E-60 Dual Core 1,3Ghz - 4 Go RAM - Disque dur SSD 128 Go -  Radeon HD6290
ArchLinux Openbox - My Github

Offline

#7 2014-01-07 17:28:21

skiwi
Member
Registered: 2012-11-28
Posts: 32

Re: No eth0 RTL8101E/RTL8102E

Did you see my last update?
In my case I had just forgotten that I blacklisted the driver some months earlier to save energy.

In your case it's loaded so this is not the same problem.
Either you need another kernel module with your hardware or it's completely different and it would be better to start a new topic.

Offline

Board footer

Powered by FluxBB