You are not logged in.

#1 2019-09-03 21:40:02

olocin
Member
Registered: 2018-01-03
Posts: 166

[solved] wired connection issue with network manager

I have a problem connecting my laptop to a specific wired network (other wired networks work fine).
It fails either with or without network manager enabled.
Here's the log using network manager

$ nmcli conn up Wired
Error: Connection activation failed: IP configuration could not be reserved (no available address, timeout, etc.)
Hint: use 'journalctl -xe NM_CONNECTION=87a4174c-81a2-33a4-bc3e-9ac6b13d270c + NM_DEVICE=enp0s31f6' to get more details.

which gives

NetworkManager[479]: <info>  [1567513219.0522] manager: (enp0s31f6): new Ethernet device (/org/freedesktop/NetworkManager/Devices/2)
NetworkManager[479]: <info>  [1567513219.0612] device (enp0s31f6): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
NetworkManager[479]: <info>  [1567513222.1164] device (enp0s31f6): carrier: link connected
NetworkManager[479]: <info>  [1567513222.1167] device (enp0s31f6): state change: unavailable -> disconnected (reason 'carrier-changed', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513222.1182] device (enp0s31f6): Activation: starting connection 'Wired' (87a4174c-81a2-33a4-bc3e-9ac6b13d270c)
NetworkManager[479]: <info>  [1567513222.1184] device (enp0s31f6): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513222.2455] device (enp0s31f6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513222.2467] device (enp0s31f6): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513222.2473] dhcp4 (enp0s31f6): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[479]: <info>  [1567513226.0660] device (enp0s31f6): carrier: link connected
NetworkManager[479]: <info>  [1567513260.5697] device (enp0s31f6): state change: ip-config -> deactivating (reason 'user-requested', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513260.5727] device (enp0s31f6): state change: deactivating -> disconnected (reason 'user-requested', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513260.5894] dhcp4 (enp0s31f6): canceled DHCP transaction
NetworkManager[479]: <info>  [1567513260.5895] dhcp4 (enp0s31f6): state changed unknown -> done
NetworkManager[479]: <info>  [1567513284.1344] device (enp0s31f6): Activation: starting connection 'Wired' (87a4174c-81a2-33a4-bc3e-9ac6b13d270c)
NetworkManager[479]: <info>  [1567513284.1348] device (enp0s31f6): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513284.2597] device (enp0s31f6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513284.2624] device (enp0s31f6): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513284.2635] dhcp4 (enp0s31f6): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[479]: <info>  [1567513288.1433] device (enp0s31f6): carrier: link connected
NetworkManager[479]: <warn>  [1567513329.6560] dhcp4 (enp0s31f6): request timed out
NetworkManager[479]: <info>  [1567513329.6561] dhcp4 (enp0s31f6): state changed unknown -> timeout
NetworkManager[479]: <info>  [1567513329.6858] dhcp4 (enp0s31f6): canceled DHCP transaction
NetworkManager[479]: <info>  [1567513329.6859] dhcp4 (enp0s31f6): state changed timeout -> done
NetworkManager[479]: <info>  [1567513329.6867] device (enp0s31f6): state change: ip-config -> failed (reason 'ip-config-unavailable', sys-iface-state: 'managed')
NetworkManager[479]: <warn>  [1567513329.6911] device (enp0s31f6): Activation: failed for connection 'Wired'
NetworkManager[479]: <info>  [1567513329.6917] device (enp0s31f6): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513329.6973] device (enp0s31f6): Activation: starting connection 'Wired' (87a4174c-81a2-33a4-bc3e-9ac6b13d270c)
NetworkManager[479]: <info>  [1567513329.6975] device (enp0s31f6): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513329.8264] device (enp0s31f6): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513329.8295] device (enp0s31f6): state change: config -> ip-config (reason 'none', sys-iface-state: 'managed')
NetworkManager[479]: <info>  [1567513329.8308] dhcp4 (enp0s31f6): activation: beginning transaction (timeout in 45 seconds)
NetworkManager[479]: <info>  [1567513333.5405] device (enp0s31f6): carrier: link connected

What is going on?

Last edited by olocin (2019-09-04 17:22:16)

Offline

#2 2019-09-04 06:45:44

seth
Member
Registered: 2012-09-03
Posts: 12,674

Re: [solved] wired connection issue with network manager

It fails either with or without network manager enabled.

Do you suggest to run multiple network managing daemons concurrently?

Otherwise try dhcpcd or dhclient, https://wiki.archlinux.org/index.php/Ne … HCP_client

If that doesn't work either, please post a complete journal (sudo journalctl -b) because the carrier looks unstable in that filter, but that's hard to judge w/o knowing what's going on around (in particular whether another dhcp client is banging the NIC)

Offline

#3 2019-09-04 08:27:04

olocin
Member
Registered: 2018-01-03
Posts: 166

Re: [solved] wired connection issue with network manager

No, I'm not running multiple network managing daemons concurrently.
Will post complete journal later.

Offline

#4 2019-09-04 17:22:01

olocin
Member
Registered: 2018-01-03
Posts: 166

Re: [solved] wired connection issue with network manager

Turns out it's a mac address issue, sorry for wasting your time.

Offline

Board footer

Powered by FluxBB