Hi guys!!!.
This morning, in a machine I had a problem of connectivity towards the Internet since the following appeared to me:
[root@bs ~]# ethtool green0
Settings for green0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: Unknown! (65535)
Duplex: Unknown! (255)
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
Link detected: no
The temporary solution (it was the second time that happened to me) has been to drop the network cable, wait 10 seconds and reconnect it. At the moment everything has started to work again.
It seems to be a problem with Auto-Negotiation and I have thought about running this:
ethtool -s green0 speed 1000 duplex full autoneg off
In this way I disable it and issue solved, Saving the command line in: /etc/sysconfig/rc.local.
But the problem is that even executing it, Auto-Negotiation is not turned off.
[root@bs ~]# ethtool green0
Settings for green0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
Supported pause frame use: Symmetric
Supports auto-negotiation: Yes
Advertised link modes: 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Speed: 1000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off (auto)
Supports Wake-on: pumbg
Wake-on: g
Current message level: 0x00000007 (7)
drv probe link
Link detected: yes
The profile of the machine in question is: fireinfo.ipfire.org - Profile ff99d4b0d7664ab4dad2da40972b3e235194a361
What could be the problem?.
Thanks a lot.
Cheers