You are not logged in.

#1 2013-09-23 14:21:52

roxas
Member
Registered: 2012-07-06
Posts: 20

[Solved] Ethernet not working on campus-RTL8101E/RTL8102E

Hello everyone,
I live in a College dorm and suddenly this semester my ethernet (jack) stopped working. It was fine the last two years and since I moved in a month ago it stopped. Also the symptoms are weird:
_I can connect when I boot on Windows
_NetworkManager says I'm connected on Linux but impossible to ping anything or load any webpage.
_dhcpcd seems to run fine

sudo dhcpcd eth0   
dhcpcd[22032]: version 6.0.5 starting
dhcpcd[22032]: eth0: soliciting an IPv6 router
dhcpcd[22032]: eth0: ipv6rs_sendprobe: sendmsg: Operation not permitted
dhcpcd[22032]: eth0: soliciting a DHCP lease
dhcpcd[22032]: eth0: offered 192.168.10.143 from 192.168.10.1
dhcpcd[22032]: eth0: NAK: requested address not available from XXX.XX.X.XX
dhcpcd[22032]: eth0: soliciting a DHCP lease
dhcpcd[22032]: eth0: offered 192.168.10.143 from 192.168.10.1
dhcpcd[22032]: eth0: NAK: requested address not available from XXX.XX.X.XX
dhcpcd[22032]: eth0: soliciting a DHCP lease
dhcpcd[22032]: eth0: offered 192.168.10.143 from 192.168.10.1
dhcpcd[22032]: eth0: NAK: requested address not available from XXX.XX.X.XX
dhcpcd[22032]: eth0: soliciting a DHCP lease
dhcpcd[22032]: eth0: offered 192.168.10.143 from 192.168.10.1
dhcpcd[22032]: eth0: NAK: requested address not available from XXX.XX.X.XX
dhcpcd[22032]: eth0: soliciting a DHCP lease
dhcpcd[22032]: eth0: offered YYY.YY.Y.YY from XXX.XX.X.XX
dhcpcd[22032]: eth0: leased YYY.YY.Y.YY for 3600 seconds
dhcpcd[22032]: eth0: adding host route to YYY.YY.Y.YY via 127.0.0.1
dhcpcd[22032]: eth0: adding route to YYY.YY.Y.YY/23
dhcpcd[22032]: eth0: adding default route via YYY.YY.Y.YY
dhcpcd[22032]: forked to background, child pid 22249

_ifconfig looks normal

ifconfig 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1492
        inet 192.168.10.143  netmask 255.255.255.0  broadcast 192.168.10.255
        inet6 fe80::3a60:77ff:fe9b:68ee  prefixlen 64  scopeid 0x20<link>
        ether 38:60:77:9b:68:ee  txqueuelen 1000  (Ethernet)
        RX packets 552  bytes 50271 (49.0 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 62  bytes 5706 (5.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I contacted IT but they don't really know what to do with Linux and it also takes them forever to try anything.
Can the problem come from them? Or is it me? Is there a way to determine that? And to fix it?
Thanks in advance for your help.

Last edited by roxas (2013-10-01 14:35:01)

Offline

#2 2013-09-23 15:01:16

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [Solved] Ethernet not working on campus-RTL8101E/RTL8102E

First, verify that you redacted the addresses in the dhcpcd output.  If you did, let me point out that it really is not necessary to redact these addresses -- they are private addresses that are not routable on the Internet.  In other words, no one out here can find your computer based on that address.

Second, you said you cannot ping anything.  Did you ping using domain names, or did you try IP addresses.

For example,
Can you ping the following addresses:
127.0.0.1
192.168.10.143
102.168.10.1
66.211.214.131
??


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-09-23 15:08:41

roxas
Member
Registered: 2012-07-06
Posts: 20

Re: [Solved] Ethernet not working on campus-RTL8101E/RTL8102E

Hi ewaller,
Yes indeed I redacted the addresses, it's just an old reflex.
I can ping 127.0.0.1 and 192.168.10.143, but not 102.168.10.1 or 66.211.214.131

Offline

#4 2013-09-23 15:16:52

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [Solved] Ethernet not working on campus-RTL8101E/RTL8102E

Ouch.
Okay, so you can see your local machine, but you cannot ping the first machine in the route to the Internet.

You might try disabling IPv6.  No guarantees.
What is your wired Ethernet hardware (post the output of lspci -nn  )


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2013-09-23 18:12:51

roxas
Member
Registered: 2012-07-06
Posts: 20

Re: [Solved] Ethernet not working on campus-RTL8101E/RTL8102E

lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0116] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b5)
00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5)
00:1c.6 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 [8086:1c1c] (rev b5)
00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)
00:1f.0 ISA bridge [0601]: Intel Corporation HM65 Express Chipset Family LPC Controller [8086:1c49] (rev 05)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 05)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter [10ec:8176] (rev 01)
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller [10ec:8136] (rev 05)

Is it ok if I try disabling IPv6 via /etc/sysctl.d/ipv6.conf?

EDIT: So I tried disabling IPv6 by creating the file /etc/sysctl.d/ipv6.conf containing:

 # Disable IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1

But it didn't make any difference.
On the other hand, I tried booting on Ubuntu 11.04 using a flash drive and the ethernet was working there. It used the same config as Arch (an ethernet controller RTL8101E with module r8169), which tends to indicate that the problem is coming from me and not the university. And finally, just for the sake of it, I tried the module r8168, but then eth0 completely disappeared so went back to r8169 (which i tried to recompile without success from http://www.realtek.com/downloads/downlo … n=false#2)

Last edited by roxas (2013-09-23 21:07:44)

Offline

#6 2013-09-27 17:21:46

roxas
Member
Registered: 2012-07-06
Posts: 20

Re: [Solved] Ethernet not working on campus-RTL8101E/RTL8102E

I went through my log and here is what I got: http://pastebin.com/YMmE6hWh

The only error I see is

Sep 27 12:32:51 daxteriv dbus-daemon[533]: dbus[533]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Sep 27 12:32:51 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.

but when I try runnning

sudo systemctl status -l lvm.service
lvm.service
   Loaded: not-found (Reason: No such file or directory)
   Active: inactive (dead)

sept. 27 12:27:56 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 12:28:21 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 12:29:04 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 12:32:51 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 12:33:32 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 12:43:10 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 13:09:29 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 13:09:40 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 13:11:23 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.
sept. 27 13:12:10 daxteriv systemd[1]: Cannot add dependency job for unit lvm.service, ignoring: Unit lvm.service failed to load: No such file or directory. See system logs and 'systemctl status lvm.service' for details.

Am I missing something? And I can't find an explanation about lvm.service. I have lvmetad.service, lvmetad.socket, and lvm-monitoring.service running.

Offline

#7 2013-10-01 14:36:38

roxas
Member
Registered: 2012-07-06
Posts: 20

Re: [Solved] Ethernet not working on campus-RTL8101E/RTL8102E

Problem solved:
I deactivated NetworkManager completely and installed wicd following the wiki page (https://wiki.archlinux.org/index.php/Wicd#Initial_setup) and the ethernet is now working.
Still working ont eh explanation but marking this post as solved.

Offline

Board footer

Powered by FluxBB