Problem with Green0 Interface

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

Autonegotiation is mandatory on gigabit ethernet.

You haven’t explained what device bs is. I see you’re on IPFire 152 so I’m assuming you you haven’t updated anything on either end of the cable, so it’s most likely to be a hardware issue. There are various things you can try:

  • reboot the devices on both ends of the cable;
  • remove and reseat the cable at both ends;
  • change the cable;
  • connect a different device to the APU2 and/or the device on the other end.

Hi @krasnal.

Thanks for answering.

I didn’t know about the Gigabit Ethernet, Thank you.

I suspect it is a hardware problem. If it happens again, I’ll change it to another IPFire.

The cable I doubt it is. The Switch could be, but I think not, It will be the IPFire.

Happy new year 2021 !!!.

Regards.

Interesting. I thought the same thing, because I already had the same issue twice during the last few days, but I updated to 153 a few days ago and never had that problem before. Now I don’t think it’s hardware related.