You are not logged in.

#1 2016-09-03 04:17:03

Azphreal
Member
Registered: 2016-09-03
Posts: 8

Ethernet unable to establish connection

Yesterday my ethernet was working fine. Today, it's started playing up and I can't get internet from it.

When I first installed Arch two days ago, I had to manually enable my ethernet with

# ip link set enp2s0f1 up
# dhcpcd enp2s0f1

I installed NetworkManager, things were fine for a while. Now I can't get a connection with it.
Trying to activate the connection manually:

[nmtui]
Could not activate connection: Connection 'Ethernet' is not available on the device enp2s0f1 at this time.
# nmcli con up id Ethernet
Error: Connection activation failed: No suitable device found for this connection.
# dhcpcd enp2s0f1
enp20sf1: waiting for carrier
timed out
dhcpcd exited

For a couple of minutes after boot, dmesg shows this every second or two:

r8169 0000:02:00.1 enp2s0f1: link up
r8169 0000:02:00.1 enp2s0f1: link down
# ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp2s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether f0:76:1c:75:a6:b5 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether d8:fc:93:11:ac:97 brd ff:ff:ff:ff:ff:ff
# lspci -nn | grep 0200                   
02:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)

dhcpcd and netctl are disabled, so I have no other network managers trying to control it at once. I've tried rebooting, restarting NetworkManager, manually activating the connection, nothing's worked.

e: Should add that trying to activate the device with ip link results in the device going back down again.

Last edited by Azphreal (2016-09-03 04:20:08)

Offline

#2 2016-09-03 07:19:50

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 210

Re: Ethernet unable to establish connection

Do you have any logs?

#  journalctl | grep enp*

I have earlier revision of this ../***wonderful***\.. chipset and above kernel 4.0 works good with r8169 and also with dedicated r8168. Thus you could try to install package r8168. Download it from mirror and install locally by pacman:

#   pacman -U /absolute/path/to/file/r8168-8.042-4-x86_64.pkg.tar.xz

Last edited by Fixxer (2016-09-03 07:20:35)

Offline

#3 2016-09-03 08:29:14

Azphreal
Member
Registered: 2016-09-03
Posts: 8

Re: Ethernet unable to establish connection

Logs are much the same. Though there is a little bit that's more interesting when I try to activate it.

# journalctl | grep enp
Sep 03 13:22:45 birnam NetworkManager[333]: <warn>  [1472872965.6896] dhcp4 (enp2s0f1): request timed out
Sep 03 13:22:45 birnam NetworkManager[333]: <info>  [1472872965.6897] dhcp4 (enp2s0f1): state changed unknown -> timeout
Sep 03 13:22:45 birnam NetworkManager[333]: <info>  [1472872965.7043] dhcp4 (enp2s0f1): canceled DHCP transaction
Sep 03 13:22:45 birnam NetworkManager[333]: <info>  [1472872965.7043] dhcp4 (enp2s0f1): state changed timeout -> done
Sep 03 13:22:45 birnam NetworkManager[333]: <info>  [1472872965.7045] device (enp2s0f1): state change: ip-config -> failed (reason 'ip-config-unavailable') [70 120 5]
Sep 03 13:22:45 birnam NetworkManager[333]: <warn>  [1472872965.7050] device (enp2s0f1): Activation: failed for connection 'Ethernet'
Sep 03 13:22:45 birnam NetworkManager[333]: <info>  [1472872965.7062] device (enp2s0f1): state change: failed -> disconnected (reason 'none') [120 30 0]
Sep 03 13:22:45 birnam NetworkManager[333]: <info>  [1472872965.7091] device (enp2s0f1): state change: disconnected -> unavailable (reason 'carrier-changed') [30 20 40]
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0191] device (enp2s0f1): link connected
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0196] device (enp2s0f1): state change: unavailable -> disconnected (reason 'carrier-changed') [20 30 40]
Sep 03 13:22:47 birnam kernel: r8169 0000:02:00.1 enp2s0f1: link up
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0212] device (enp2s0f1): Activation: starting connection 'Ethernet' (6bbb1f1f-bc78-3c0b-9c0f-3f982bafe7fb)
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0214] device (enp2s0f1): state change: disconnected -> prepare (reason 'none') [30 40 0]
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0222] device (enp2s0f1): state change: prepare -> config (reason 'none') [40 50 0]
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0226] device (enp2s0f1): state change: config -> ip-config (reason 'none') [50 70 0]
Sep 03 13:22:47 birnam NetworkManager[333]: <info>  [1472872967.0229] dhcp4 (enp2s0f1): activation: beginning transaction (timeout in 45 seconds)
Sep 03 13:22:47 birnam kernel: r8169 0000:02:00.1 enp2s0f1: link down

Currently in transit so I won't be able to test the drivers for another few hours. Can you tell me why you suggest downloading it then installing it locally? Wouldn't it be easier to just install it from the repo?


Edit: nm-applet was giving me some headaches so I was having to do everything through the command line, so I gave up and installed wicd instead.

Last edited by Azphreal (2016-09-04 03:35:28)

Offline

Board footer

Powered by FluxBB