On 2020-02-10 21:36, Patrick O'Callaghan wrote:
On Mon, 2020-02-10 at 20:40 +0800, Ed Greshko wrote:
> On 2020-02-10 20:14, Patrick O'Callaghan wrote:
>> So I changed that to turn autoneg on and speed to 1000, and rebooted.
>> The system came up with no network, so I reverted the change. Clearly
>> that isn't the right way to do it.
>>
>> Recommendations are welcome.
> Well, I use network manager and my network-script for enp2s0 only has
>
> ETHTOOL_OPTS="autoneg on"
>
> Could be that if you have autoneg on and then specify other stuff that should be
taken
> care of by the autoneg you cause issues.
I tried that (note that I've never touched that file before now so I
don't know where the settings originally came from) and now it does
come up, but is still running at 100Mbps. I rebooted both my box and
the router, but no difference. Both ends definitely support 1000Mbps
but my end now shows:
$ sudo ethtool enp4s0
Settings for enp4s0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
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 <---------------------*
Advertised FEC modes: Not reported
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Link partner advertised FEC modes: Not reported
Speed: 100Mb/s <---------------------*
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on <---------------------*
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000033 (51)
drv probe ifdown ifup
Link detected: yes
The key is....
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
The other side is telling that it only supports 100Mb/s
--
The key to getting good answers is to ask good questions.