You are not logged in.
I recently switched to a new motherboard (Gigabyte Z370n), which has 2 ethernet ports and built-in wifi. The wifi works fine, but I can't get either ethernet port to work. The ethernet connection worked fine for my previous arch build.
$ ip link
1: lo: [...]
2: enp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether [...]
3: wlp6s0: [...]
4: enp0s31f6: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
link/ether [...]
6: tun0: [...]$ lspci -v | grep -A 8 Ethernet
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V
Subsystem: Gigabyte Technology Co., Ltd Ethernet Connection (2) I219-V
Flags: bus master, fast devsel, latency 0, IRQ 138
Memory at f7300000 (32-bit, non-prefetchable) [size=128K]
Capabilities: <access denied>
Kernel driver in use: e1000e
Kernel modules: e1000e
05:00.0 Ethernet controller: Intel Corporation I211 Gigabit Network Connection (rev 03)
Subsystem: Gigabyte Technology Co., Ltd I211 Gigabit Network Connection
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at f7200000 (32-bit, non-prefetchable) [size=128K]
I/O ports at e000 [size=32]
Memory at f7220000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: igb
Kernel modules: igbWhen connecting the ethernet cable to one port I get the following:
$ sudo dhcpcd enp0s31f6
enp0s31f6: waiting for carrier
enp0s31f6: carrier acquired
DUID [...]
enp0s31f6: IAID [...]
enp0s31f6: adding address [...]
enp0s31f6: soliciting a DHCP lease
enp0s31f6: soliciting an IPv6 router
enp0s31f6: carrier lost
enp0s31f6: deleting address [...]
...
timed out
dhcpcd exited$ dmesg | grep e1000e
[ 6.118595] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[ 6.118596] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[ 6.120217] e1000e 0000:00:1f.6: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[ 6.548829] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
[ 6.632958] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) [...]
[ 6.632959] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[ 6.633011] e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: FFFFFF-0FF
[ 6.633754] e1000e 0000:00:1f.6 enp0s31f6: renamed from eth0
[ 473.397646] e1000e: enp0s31f6 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
[ 473.397654] e1000e 0000:00:1f.6 enp0s31f6: 10/100 speed: disabling TSO
[ 474.140738] e1000e: enp0s31f6 NIC Link is DownWhen I connect the ethernet cable to the other port I get the following:
$ sudo dhcpcd enp5s0
enp5s0: waiting for carrier
timed out
dhcpcd exited$ sudo dhcpcd enp0s31f6
enp0s31f6: waiting for carrier
timed out
dhcpcd exitedNot sure what I'm doing wrong. My next step would be to test the same build with a different Linux distro. Any advice?
Last edited by rawfalafel (2018-10-01 06:23:42)
Offline
Have you tried testing with static IPs instead of DHCP?
Offline
enp0s31f6: carrier lostWonky connection. Cable or plugs are broken or loose.
Pray it's not the slot.
You can try some live distro (like debian based grml) to check the HW condition. If the carrier is wonky there as well, well…
Edit: remember to check *both* sides of the connection! The carrier status depends on whether something responds on the other side.
Last edited by seth (2018-09-30 15:53:43)
Offline
Your intuition was correct, a different ethernet cable worked. I assumed it wasn't the cable because it was working fine with my previous build.
Thank you very much!
Offline