On Wed, 2016-11-23 at 19:12 +0100, poma wrote:
Salute Giudici, https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id =12b9d30 NOTE: changed the default value for auto-negotiate from TRUE to FALSE. It not only leads to maximum network interface deceleration Advertised link modes: Not reported Advertised auto-negotiation: No Speed: 10Mb/s Auto-negotiation: off but in some cases, because of an over zealous power management, the device is disconnected - connection remains down. So this is the question; How to configure ethernet 'auto-negotiate' -globally- within the NetworkManager.conf, to return to modus operandi prior to this change, without changing the source code: $ sed -i 's/ FALSE/ TRUE/' libnm-core/nm-setting-wired.c ?
prior to this, the fields auto-negotiate, speed and duplex existed in the API, but they were not applied. The new defaults are auto-negotiate: FALSE* speed: 0 duplex: NULL (*) is the change of the default. The new default should cause NM not to change the link properties. What values do you have set there? What does the (debug) logfile say regarding "set-link:" The problem seems to be, that old versions of NetworkManager eagerly stored [ethernet] duplex=full to keyfile... Thomas
Attachment:
signature.asc
Description: This is a digitally signed message part