Re: Auto-negotiation - Out of business



On 23.11.2016 19:25, Thomas Haller wrote:
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



$ NetworkManager --version
1.5.2-0.18.20161123git88f3f29.fc24

$ nm-connection-editor --version

** (nm-connection-editor:26664): WARNING **: Failed to parse options: Unknown option --version

~~~~~~~~~~
~~~~

From here:

$ grep -v ^# /etc/NetworkManager/NetworkManager.conf

[main]
plugins=keyfile

[keyfile]

[logging]
domains=ALL
level=DEBUG

[connection]
ethernet.wake-on-lan=64

~~~~~~~~~~~~~~~~~~~~~~~

# cat /etc/NetworkManager/system-connections/enp3s0 
[connection]
id=enp3s0
uuid=<UUID>
type=ethernet
interface-name=enp3s0
permissions=
secondaries=

[ethernet]
duplex=full
mac-address=<MAC>
mac-address-blacklist=

[ipv4]
address1=<IP>
dns-search=
method=manual

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=ignore

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ nmcli device status | grep enp3s0
enp3s0   ethernet  connected    enp3s0     

~~~~~~~~~~~~~~~~~~~~~~~~~~

$ nmcli device show enp3s0
GENERAL.DEVICE:                         enp3s0
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         <MAC>
GENERAL.MTU:                            1500
GENERAL.STATE:                          100 (connected)
GENERAL.CONNECTION:                     enp3s0
GENERAL.CON-PATH:                       /org/freedesktop/NetworkManager/ActiveConnection/1
WIRED-PROPERTIES.CARRIER:               off
IP4.ADDRESS[1]:                         <IP>
IP4.GATEWAY:                            --
IP6.GATEWAY:                            --

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ ethtool -i enp3s0 | grep driver
driver: r8169

~~~~~~~~~~~~~~~~

# ethtool enp3s0
Settings for enp3s0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: off
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: no

~~~~~~~~~~~~~~~~~~~~~

$ dmesg | grep enp3s0
[    2.880442] r8169 0000:03:00.0 enp3s0: renamed from eth1
[   37.859741] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   37.866450] r8169 0000:03:00.0 enp3s0: link down
[   37.866462] r8169 0000:03:00.0 enp3s0: link down
[   37.866529] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   37.899038] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[   43.138337] r8169 0000:03:00.0 enp3s0: link up
[   43.241874] r8169 0000:03:00.0 enp3s0: link down
[   46.493306] r8169 0000:03:00.0 enp3s0: link up
[   46.597200] r8169 0000:03:00.0 enp3s0: link down
[   54.546408] r8169 0000:03:00.0 enp3s0: link up
[   54.649942] r8169 0000:03:00.0 enp3s0: link down
[   62.600245] r8169 0000:03:00.0 enp3s0: link up
[   62.705229] r8169 0000:03:00.0 enp3s0: link down
[   84.074222] r8169 0000:03:00.0 enp3s0: link up
[   84.178746] r8169 0000:03:00.0 enp3s0: link down
[  117.629065] r8169 0000:03:00.0 enp3s0: link up
[  117.733084] r8169 0000:03:00.0 enp3s0: link down
[  122.326169] r8169 0000:03:00.0 enp3s0: link up
[  122.430367] r8169 0000:03:00.0 enp3s0: link down
[  126.688226] r8169 0000:03:00.0 enp3s0: link up
[  126.792399] r8169 0000:03:00.0 enp3s0: link down
[  188.092681] r8169 0000:03:00.0 enp3s0: link up
[  188.197976] r8169 0000:03:00.0 enp3s0: link down
[  220.975895] r8169 0000:03:00.0 enp3s0: link up
[  221.079806] r8169 0000:03:00.0 enp3s0: link down
[  231.713326] r8169 0000:03:00.0 enp3s0: link up
[  231.817846] r8169 0000:03:00.0 enp3s0: link down
[  257.885656] r8169 0000:03:00.0 enp3s0: link up
[  257.989579] r8169 0000:03:00.0 enp3s0: link down
[  271.978532] r8169 0000:03:00.0 enp3s0: link up
[  272.083051] r8169 0000:03:00.0 enp3s0: link down
[  298.486467] r8169 0000:03:00.0 enp3s0: link up
[  298.590634] r8169 0000:03:00.0 enp3s0: link down
[  304.861795] r8169 0000:03:00.0 enp3s0: link up
[  304.965620] r8169 0000:03:00.0 enp3s0: link down
[  318.283487] r8169 0000:03:00.0 enp3s0: link up
[  318.387451] r8169 0000:03:00.0 enp3s0: link down
[  325.330057] r8169 0000:03:00.0 enp3s0: link up
[  325.434142] r8169 0000:03:00.0 enp3s0: link down
[  335.060694] r8169 0000:03:00.0 enp3s0: link up
[  335.164566] r8169 0000:03:00.0 enp3s0: link down
[  346.804712] r8169 0000:03:00.0 enp3s0: link up
[  346.908580] r8169 0000:03:00.0 enp3s0: link down
[  349.153516] r8169 0000:03:00.0 enp3s0: link up
[  349.258022] r8169 0000:03:00.0 enp3s0: link down
[  352.173389] r8169 0000:03:00.0 enp3s0: link up
[  352.277606] r8169 0000:03:00.0 enp3s0: link down
[  367.943954] r8169 0000:03:00.0 enp3s0: link up
[  368.048744] r8169 0000:03:00.0 enp3s0: link down
[  388.076562] r8169 0000:03:00.0 enp3s0: link up
[  388.181416] r8169 0000:03:00.0 enp3s0: link down
[  397.807298] r8169 0000:03:00.0 enp3s0: link up
[  397.911851] r8169 0000:03:00.0 enp3s0: link down
[  419.282102] r8169 0000:03:00.0 enp3s0: link up
[  419.386302] r8169 0000:03:00.0 enp3s0: link down
[  421.630905] r8169 0000:03:00.0 enp3s0: link up
[  421.735716] r8169 0000:03:00.0 enp3s0: link down
[  424.650796] r8169 0000:03:00.0 enp3s0: link up
[  424.758767] r8169 0000:03:00.0 enp3s0: link down
[  447.803298] r8169 0000:03:00.0 enp3s0: link up
[  447.907491] r8169 0000:03:00.0 enp3s0: link down
[  461.225034] r8169 0000:03:00.0 enp3s0: link up
[  461.329233] r8169 0000:03:00.0 enp3s0: link down
[  469.278070] r8169 0000:03:00.0 enp3s0: link up
[  469.382183] r8169 0000:03:00.0 enp3s0: link down
[  480.015580] r8169 0000:03:00.0 enp3s0: link up
[  480.119934] r8169 0000:03:00.0 enp3s0: link down
[  488.068454] r8169 0000:03:00.0 enp3s0: link up
[  488.172709] r8169 0000:03:00.0 enp3s0: link down
[  496.792586] r8169 0000:03:00.0 enp3s0: link up
[  496.897265] r8169 0000:03:00.0 enp3s0: link down
[  528.333720] r8169 0000:03:00.0 enp3s0: link up
[  528.438106] r8169 0000:03:00.0 enp3s0: link down
[  536.386758] r8169 0000:03:00.0 enp3s0: link up
[  536.490634] r8169 0000:03:00.0 enp3s0: link down
[  561.216910] r8169 0000:03:00.0 enp3s0: link up
[  561.320467] r8169 0000:03:00.0 enp3s0: link down
[  566.585613] r8169 0000:03:00.0 enp3s0: link up
[  566.689522] r8169 0000:03:00.0 enp3s0: link down
[  581.349557] r8169 0000:03:00.0 enp3s0: link up
[  581.453211] r8169 0000:03:00.0 enp3s0: link down
[  608.194141] r8169 0000:03:00.0 enp3s0: link up
[  608.296563] r8169 0000:03:00.0 enp3s0: link down
[  622.956933] r8169 0000:03:00.0 enp3s0: link up
[  623.061777] r8169 0000:03:00.0 enp3s0: link down
[  625.641494] r8169 0000:03:00.0 enp3s0: link up
[  625.745546] r8169 0000:03:00.0 enp3s0: link down
[  637.049831] r8169 0000:03:00.0 enp3s0: link up
[  637.153823] r8169 0000:03:00.0 enp3s0: link down
[  642.418444] r8169 0000:03:00.0 enp3s0: link up
[  642.522708] r8169 0000:03:00.0 enp3s0: link down
[  645.773926] r8169 0000:03:00.0 enp3s0: link up
[  645.878096] r8169 0000:03:00.0 enp3s0: link down
[  651.813710] r8169 0000:03:00.0 enp3s0: link up
[  651.917192] r8169 0000:03:00.0 enp3s0: link down
[  659.195666] r8169 0000:03:00.0 enp3s0: link up
[  659.299863] r8169 0000:03:00.0 enp3s0: link down
[  665.235444] r8169 0000:03:00.0 enp3s0: link up
[  665.338962] r8169 0000:03:00.0 enp3s0: link down
[  687.381309] r8169 0000:03:00.0 enp3s0: link up
[  687.485244] r8169 0000:03:00.0 enp3s0: link down
[  698.789882] r8169 0000:03:00.0 enp3s0: link up
[  698.893450] r8169 0000:03:00.0 enp3s0: link down
[  704.158424] r8169 0000:03:00.0 enp3s0: link up
[  704.262609] r8169 0000:03:00.0 enp3s0: link down
[  709.527173] r8169 0000:03:00.0 enp3s0: link up
[  709.631372] r8169 0000:03:00.0 enp3s0: link down
[  714.895840] r8169 0000:03:00.0 enp3s0: link up
[  715.000372] r8169 0000:03:00.0 enp3s0: link down
[  720.264544] r8169 0000:03:00.0 enp3s0: link up
[  720.369422] r8169 0000:03:00.0 enp3s0: link down
[  725.633376] r8169 0000:03:00.0 enp3s0: link up
[  725.736923] r8169 0000:03:00.0 enp3s0: link down
[  747.107976] r8169 0000:03:00.0 enp3s0: link up
[  747.212934] r8169 0000:03:00.0 enp3s0: link down
[  750.463460] r8169 0000:03:00.0 enp3s0: link up
[  750.568326] r8169 0000:03:00.0 enp3s0: link down
[  756.503256] r8169 0000:03:00.0 enp3s0: link up
[  756.607461] r8169 0000:03:00.0 enp3s0: link down
[  761.871914] r8169 0000:03:00.0 enp3s0: link up
[  761.976478] r8169 0000:03:00.0 enp3s0: link down
[  768.247255] r8169 0000:03:00.0 enp3s0: link up
[  768.351482] r8169 0000:03:00.0 enp3s0: link down
[  772.609294] r8169 0000:03:00.0 enp3s0: link up
[  772.712838] r8169 0000:03:00.0 enp3s0: link down
[  789.722023] r8169 0000:03:00.0 enp3s0: link up
[  789.825895] r8169 0000:03:00.0 enp3s0: link down
[  800.123925] r8169 0000:03:00.0 enp3s0: link up
[  800.228110] r8169 0000:03:00.0 enp3s0: link down
[  818.914293] r8169 0000:03:00.0 enp3s0: link up
[  819.018870] r8169 0000:03:00.0 enp3s0: link down
[  826.977324] r8169 0000:03:00.0 enp3s0: link up
[  827.071518] r8169 0000:03:00.0 enp3s0: link down
[  837.704742] r8169 0000:03:00.0 enp3s0: link up
[  837.809572] r8169 0000:03:00.0 enp3s0: link down
[  852.468674] r8169 0000:03:00.0 enp3s0: link up
[  852.573207] r8169 0000:03:00.0 enp3s0: link down
[  882.667591] r8169 0000:03:00.0 enp3s0: link up
[  882.772088] r8169 0000:03:00.0 enp3s0: link down
[  904.813388] r8169 0000:03:00.0 enp3s0: link up
[  904.918344] r8169 0000:03:00.0 enp3s0: link down
[  920.919498] r8169 0000:03:00.0 enp3s0: link up
[  921.023709] r8169 0000:03:00.0 enp3s0: link down
[  939.710027] r8169 0000:03:00.0 enp3s0: link up
[  939.814521] r8169 0000:03:00.0 enp3s0: link down
[  958.835900] r8169 0000:03:00.0 enp3s0: link up
[  958.939553] r8169 0000:03:00.0 enp3s0: link down
[  962.526880] r8169 0000:03:00.0 enp3s0: link up
[  962.638091] r8169 0000:03:00.0 enp3s0: link down
[  986.686009] r8169 0000:03:00.0 enp3s0: link up
[  986.790577] r8169 0000:03:00.0 enp3s0: link down
[ 1000.107787] r8169 0000:03:00.0 enp3s0: link up
[ 1000.212498] r8169 0000:03:00.0 enp3s0: link down
[ 1006.818632] r8169 0000:03:00.0 enp3s0: link up
[ 1006.923131] r8169 0000:03:00.0 enp3s0: link down
[ 1016.213812] r8169 0000:03:00.0 enp3s0: link up
[ 1016.317899] r8169 0000:03:00.0 enp3s0: link down
[ 1022.924858] r8169 0000:03:00.0 enp3s0: link up
[ 1023.028716] r8169 0000:03:00.0 enp3s0: link down
[ 1033.662131] r8169 0000:03:00.0 enp3s0: link up
[ 1033.766629] r8169 0000:03:00.0 enp3s0: link down
[ 1052.452534] r8169 0000:03:00.0 enp3s0: link up
[ 1052.557412] r8169 0000:03:00.0 enp3s0: link down
[ 1057.821256] r8169 0000:03:00.0 enp3s0: link up
[ 1057.924799] r8169 0000:03:00.0 enp3s0: link down
[ 1065.874291] r8169 0000:03:00.0 enp3s0: link up
[ 1065.979123] r8169 0000:03:00.0 enp3s0: link down
[ 1080.638206] r8169 0000:03:00.0 enp3s0: link up
[ 1080.742842] r8169 0000:03:00.0 enp3s0: link down
[ 1088.020135] r8169 0000:03:00.0 enp3s0: link up
[ 1088.123702] r8169 0000:03:00.0 enp3s0: link down
[ 1094.060076] r8169 0000:03:00.0 enp3s0: link up
[ 1094.164416] r8169 0000:03:00.0 enp3s0: link down
[ 1107.481680] r8169 0000:03:00.0 enp3s0: link up
[ 1107.586152] r8169 0000:03:00.0 enp3s0: link down
[ 1155.799879] r8169 0000:03:00.0 enp3s0: link up
[ 1155.904127] r8169 0000:03:00.0 enp3s0: link down
[ 1161.168602] r8169 0000:03:00.0 enp3s0: link up
[ 1161.273153] r8169 0000:03:00.0 enp3s0: link down
[ 1185.998832] r8169 0000:03:00.0 enp3s0: link up
[ 1186.102970] r8169 0000:03:00.0 enp3s0: link down
[ 1199.420576] r8169 0000:03:00.0 enp3s0: link up
[ 1199.524773] r8169 0000:03:00.0 enp3s0: link down
[ 1251.765301] r8169 0000:03:00.0 enp3s0: link up
[ 1251.869832] r8169 0000:03:00.0 enp3s0: link down
[ 1259.818392] r8169 0000:03:00.0 enp3s0: link up
[ 1259.922564] r8169 0000:03:00.0 enp3s0: link down
[ 1273.240102] r8169 0000:03:00.0 enp3s0: link up
[ 1273.344321] r8169 0000:03:00.0 enp3s0: link down
[ 1278.608937] r8169 0000:03:00.0 enp3s0: link up
[ 1278.713330] r8169 0000:03:00.0 enp3s0: link down
[ 1289.346321] r8169 0000:03:00.0 enp3s0: link up
[ 1289.449723] r8169 0000:03:00.0 enp3s0: link down
[ 1332.295769] r8169 0000:03:00.0 enp3s0: link up
[ 1332.400262] r8169 0000:03:00.0 enp3s0: link down
[ 1343.704215] r8169 0000:03:00.0 enp3s0: link up
[ 1343.808409] r8169 0000:03:00.0 enp3s0: link down
[ 1377.929662] r8169 0000:03:00.0 enp3s0: link up
[ 1378.034653] r8169 0000:03:00.0 enp3s0: link down
[ 1399.404418] r8169 0000:03:00.0 enp3s0: link up
[ 1399.508972] r8169 0000:03:00.0 enp3s0: link down
[ 1410.141865] r8169 0000:03:00.0 enp3s0: link up
[ 1410.245351] r8169 0000:03:00.0 enp3s0: link down
[ 1415.510505] r8169 0000:03:00.0 enp3s0: link up
[ 1415.614383] r8169 0000:03:00.0 enp3s0: link down
[ 1418.865962] r8169 0000:03:00.0 enp3s0: link up
[ 1418.969807] r8169 0000:03:00.0 enp3s0: link down
[ 1443.025242] r8169 0000:03:00.0 enp3s0: link up
[ 1443.129589] r8169 0000:03:00.0 enp3s0: link down
[ 1446.380526] r8169 0000:03:00.0 enp3s0: link up
[ 1446.485028] r8169 0000:03:00.0 enp3s0: link down
[ 1453.762481] r8169 0000:03:00.0 enp3s0: link up
[ 1453.866271] r8169 0000:03:00.0 enp3s0: link down
[ 1457.117852] r8169 0000:03:00.0 enp3s0: link up
[ 1457.221475] r8169 0000:03:00.0 enp3s0: link down
[ 1492.685468] r8169 0000:03:00.0 enp3s0: link up
[ 1492.789359] r8169 0000:03:00.0 enp3s0: link down
[ 1498.054189] r8169 0000:03:00.0 enp3s0: link up
[ 1498.158409] r8169 0000:03:00.0 enp3s0: link down
[ 1507.750643] r8169 0000:03:00.0 enp3s0: link up
[ 1507.865928] r8169 0000:03:00.0 enp3s0: link down
[ 1523.555444] r8169 0000:03:00.0 enp3s0: link up
[ 1523.660041] r8169 0000:03:00.0 enp3s0: link down
[ 1557.109851] r8169 0000:03:00.0 enp3s0: link up
[ 1557.214374] r8169 0000:03:00.0 enp3s0: link down
   etc. etc. ...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# journalctl -b -u NetworkManager -o short-monotonic | grep 'enp3s0.*set-link\|set-link.*enp3s0'
[   37.959864] from.here NetworkManager[1959]: <debug> [...] device[...] (enp3s0): set-link: configure static 
negotiation (10 Mbit* - full duplex)

~~~~~~~~~~~~~~~~~
~~~~~~~~~
~~~~~

Over the rainbow:

$ grep -v ^# /etc/NetworkManager/NetworkManager.conf 

[main]
plugins=keyfile

[keyfile]

[logging]
domains=ALL
level=DEBUG

[connection]
ethernet.wake-on-lan=64

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# cat /etc/NetworkManager/system-connections/enp0s10
[connection]
id=enp0s10
uuid=<UUID>
type=ethernet
interface-name=enp0s10
permissions=
secondaries=

[ethernet]
duplex=full
mac-address=<MAC>
mac-address-blacklist=

[ipv4]
address1=<IP>
dns-search=
method=manual

[ipv6]
addr-gen-mode=stable-privacy
dns-search=
ip6-privacy=0
method=ignore

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ nmcli device status | grep enp0s10
enp0s10     ethernet  unavailable  --         

~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ nmcli device show enp0s10 
GENERAL.DEVICE:                         enp0s10
GENERAL.TYPE:                           ethernet
GENERAL.HWADDR:                         <MAC>
GENERAL.MTU:                            1500
GENERAL.STATE:                          20 (unavailable)
GENERAL.CONNECTION:                     --
GENERAL.CON-PATH:                       --
WIRED-PROPERTIES.CARRIER:               off

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ ethtool -i enp0s10 | grep driver
driver: forcedeth

~~~~~~~~~~~~~~~~~

# ethtool enp0s10
Settings for enp0s10:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  Not reported
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: Unknown!
        Duplex: Unknown! (255)
        Port: MII
        PHYAD: 3
        Transceiver: external
        Auto-negotiation: off
        Supports Wake-on: g
        Wake-on: g
        Link detected: no

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

$ dmesg | egrep forcedeth\|enp0s10
[   17.307160] forcedeth: Reverse Engineered nForce ethernet driver. Version 0.64.
[   17.365570] forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 3, addr <MAC>
[   17.365852] forcedeth 0000:00:0a.0: highdma csum pwrctl gbit lnktim msi desc-v3
[   18.348377] forcedeth 0000:00:0a.0 enp0s10: renamed from eth0
[   43.526971] IPv6: ADDRCONF(NETDEV_UP): enp0s10: link is not ready
[   43.899617] forcedeth 0000:00:0a.0 enp0s10: link up
[   50.692334] forcedeth 0000:00:0a.0 enp0s10: link down

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# journalctl -b -u NetworkManager -o short-monotonic | grep 'enp0s10.*set-link\|set-link.*enp0s10'
[   47.555155] over.the.rainbow NetworkManager[709]: <debug> [...] device[...] (enp0s10): set-link: configure 
static negotiation (100 Mbit* - full duplex)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~
~~~~~

After removing 'duplex=full' from:
/etc/NetworkManager/system-connections/enp*
[ethernet]

~~~~~~~~~~~~~~~~

# ethtool enp3s0
Settings for enp3s0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Half 1000baseT/Full 
        Advertised pause frame use: Symmetric Receive-only
        Advertised auto-negotiation: Yes
        Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                             100baseT/Half 100baseT/Full 
                                             1000baseT/Full 
        Link partner advertised pause frame use: Symmetric Receive-only
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Supports Wake-on: pumbg
        Wake-on: g
        Current message level: 0x00000033 (51)
                               drv probe ifdown ifup
        Link detected: yes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# journalctl -b -u NetworkManager -o short-monotonic | grep 'enp3s0.*set-link\|set-link.*enp3s0'
[   36.387246] from.here NetworkManager[2597]: <debug> [...] device[...] (enp3s0): set-link: ignore link 
negotiation

~~~~~~~~~~~~~~~~~

# ethtool enp0s10
Settings for enp0s10:
        Supported ports: [ MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
                                1000baseT/Full 
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 1000Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 3
        Transceiver: external
        Auto-negotiation: on
        Supports Wake-on: g
        Wake-on: g
        Link detected: yes

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

# journalctl -b -u NetworkManager -o short-monotonic | grep 'enp0s10.*set-link\|set-link.*enp0s10'
[   48.702850] over.the.rainbow NetworkManager[682]: <debug> [...] device[...] (enp0s10): set-link: ignore 
link negotiation




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]