You are not logged in.

#1 2014-02-26 02:43:48

bbm21
Member
Registered: 2012-12-24
Posts: 27

[SLOVED] ethernet not working

Hey Arch Users

It seems that my Ethernet has suddenly stopped working, it tries and fails to connect in networkmanager, and when I run "dhcpcd enp2s0" (my ethernet device) I get the following output:

dhcpcd[9183]: version 6.2.1 starting
dhcpcd[9183]: DUID 00:01:00:01:19:8e:6b:8d:c4:85:08:f6:e9:9c
dhcpcd[9183]: enp2s0: IAID c3:77:8c:4c
dhcpcd[9183]: enp2s0: soliciting an IPv6 router
dhcpcd[9183]: enp2s0: soliciting a DHCP lease
dhcpcd[9183]: enp2s0: no IPv6 Routers available
dhcpcd[9183]: timed out
dhcpcd[9183]: exited

any ideas?

thanks

Last edited by bbm21 (2014-02-27 20:37:11)

Offline

#2 2014-02-26 03:21:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SLOVED] ethernet not working

Have you upgraded your kernel without having rebooted?
What is your network controller plugged into? A router? Another computer? A corporate/educational infrastructure?
Are the Link Lights turned on? On  both ends of the cable?
Have you tried a different cable?
Have you tried a different computer?
Have you rebooted your router/modem/etc?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2014-02-26 03:36:31

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [SLOVED] ethernet not working

Hey thanks for the response

I have without a doubt updated my kernel without rebooting immediately after, but I turn my computer on/off regularly, so I have rebooted it since the last kernel update
The ethernet is plunged into the wall, it is part of my college so I guess educational infrastructure
my roommate's computer works with the same cable in the same port (on windows), no lights are on but they never were, and aren't on my roommate's
I have tried a different cable
I can't reboot the modem/router

Offline

#4 2014-02-26 03:44:06

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SLOVED] ethernet not working

Okay.  Next step, what is the output of ip link  ?    and of ip addr   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2014-02-26 04:01:55

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [SLOVED] ethernet not working

ip link:

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: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 50:b7:c3:77:8c:4c brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether c4:85:08:f6:e9:9c brd ff:ff:ff:ff:ff:ff

ip addr:

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 50:b7:c3:77:8c:4c brd ff:ff:ff:ff:ff:ff
    inet6 fe80::52b7:c3ff:fe77:8c4c/64 scope link 
       valid_lft forever preferred_lft forever
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether c4:85:08:f6:e9:9c brd ff:ff:ff:ff:ff:ff
    inet 137.22.187.200/24 brd 137.22.187.255 scope global wlp1s0
       valid_lft forever preferred_lft forever
    inet6 fe80::c685:8ff:fef6:e99c/64 scope link 
       valid_lft forever preferred_lft forever

Offline

#6 2014-02-26 04:32:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SLOVED] ethernet not working

I am fast running out of ideas.  What type of interface is this?  What does lspci -nn say about the network interface?  Also, you might try dhclient instead of dhcpcd if you have it installed.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2014-02-27 00:54:34

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [SLOVED] ethernet not working

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 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4)
00:1c.3 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 [8086:1e16] (rev c4)
00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4)
00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation HM75 Express Chipset LPC Controller [8086:1e5d] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
01:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6235 [8086:088e] (rev 24)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
03:00.0 USB controller [0c03]: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller [1912:0015] (rev 02)

dhclient

RTNETLINK answers: File exists

thanks

Offline

#8 2014-02-27 11:11:01

Neburski
Member
Registered: 2009-09-15
Posts: 118

Re: [SLOVED] ethernet not working

Can you try to force dhcpcd to use ipv4?

Offline

#9 2014-02-27 14:29:43

Archelien
Member
Registered: 2011-08-24
Posts: 10

Re: [SLOVED] ethernet not working

I get the same problem just now. Suddently, eth0 stops working while browsing web (last update: last week, rebooted 10 times since).
Router is ok, wifi still works.

Tried to set up ip addr + dns manually: no success
Tried to use dhclient eth0 -4: no success

Weird.

Offline

#10 2014-02-27 15:22:50

Archelien
Member
Registered: 2011-08-24
Posts: 10

Re: [SLOVED] ethernet not working

Solved here, by rebooting all PLC blocks (ethernet over powerline).
Very weird.

Offline

#11 2014-02-27 16:20:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SLOVED] ethernet not working

Archelien wrote:

Solved here, by rebooting all PLC blocks (ethernet over powerline).
Very weird.

You did not mention those sad
If yours are like the ones I installed at my folks house, you have to perform an authentication ceremony to allow trusted devices into the network.  Perhaps one of yours had lost a session key.

edit: If this is solved, don't forget to change the thread title by editing your first post.  Prepend [SOLVED] Never mind, I missed that you were not the OP

Last edited by ewaller (2014-02-27 16:22:19)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#12 2014-02-27 18:10:53

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [SLOVED] ethernet not working

How do I force dhcpcd to use ipv4?

also how do I reboot all PLC vlocks?

thanks

Offline

#13 2014-02-27 18:27:32

harshsahil48
Member
Registered: 2013-12-10
Posts: 65

Re: [SLOVED] ethernet not working

Looks like youve turned on both dhcpcd and NetworkManager

Try:

sudo systemctl disable dhcpcd.service
sudo systemctl enable NetworkManager

Reboot and the issue should be solved.


Never forget~Never forgive

Offline

#14 2014-02-27 20:26:39

bbm21
Member
Registered: 2012-12-24
Posts: 27

Re: [SLOVED] ethernet not working

dhcpcd was not enabled, ran those commands and nothing. Also, with NetworkManager disabled and dhcpcd enabled I still cannot connect to the internet

EDIT: I uninstalled dhcpcd and The ethernet seems to be mostly working, it takes a while to connect and is slow, but that is probably just the internet connection I have

thanks for the help guys

Last edited by bbm21 (2014-02-27 20:36:56)

Offline

Board footer

Powered by FluxBB