Greetings! So recently, i spent a few hours coding software. After i was done and i shut off my pc, i noticed both of the ethernet lights were on and blinking. Does this mean that Microsoft is sending data to their servers before the PC fully shuts off? I am scared that this might be the thing it does. How can i get rid of this issue? I have no idea if it’s related to Windows or the PC itself.

  • refalo@programming.dev
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    6 days ago

    the link light is powered by the switch

    No it’s not. If you don’t believe me, unplug your PC’s power cord and watch the light go out.

    If the power cord is plugged in but the computer is shutdown, and the light is still on, then that means the network adapter supports WoL or OOB management and must stay on for that reason, but the network switch connected to the adapter is not physically powering any lights.

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      3
      arrow-down
      2
      ·
      6 days ago

      If the power cord is plugged in but the computer is shutdown, and the light is still on, then that means the network adapter supports WoL or OOB management and must stay on for that reason

      Also worth noting that Windows is especially bad about actually shutting down when you tell it to shut down because something something fastboot. I’ve seen similar inconsistently on Linux but I strongly suspect that to be more edgecases with specific hardware and my install.

    • 3H3x36tBElshOa@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      arrow-down
      3
      ·
      edit-2
      6 days ago

      For cameras on some devices, the camera cannot be used without completing a circuit that turns on a light. I think they’re just stating the same is true for the ethernet port light.

        • 3H3x36tBElshOa@feddit.nl
          link
          fedilink
          English
          arrow-up
          1
          arrow-down
          2
          ·
          edit-2
          6 days ago

          I don’t know enough about ethernet switches to know if this is common. Though, reading their comment again, I don’t really think I’m right about their statement. It’s definitely a light that is frequently designed to be on when packets are still being accepted for waking the computer.

          I don’t have a background in CE, but I’ve seen people claim this is sometimes a design used in the past. I think it makes sense that a circuit that is controlled by the computer can be hard wired to turn on both a light and a ethernet port. Though, I don’t know how common this design is in reality.

          edit: After searching some, it looks like some port lights can be controlled by a driver. I still think it probably depends on the hardware design though, and this won’t be consistent between ports.

          • refalo@programming.dev
            link
            fedilink
            arrow-up
            4
            ·
            6 days ago

            sure it depends on the design, but no standards-compliant non-PoE Ethernet design is going to light up an LED, it barely uses 1 volt.

            • 3H3x36tBElshOa@feddit.nl
              link
              fedilink
              English
              arrow-up
              1
              arrow-down
              2
              ·
              6 days ago

              I think driver examples from the Linux kernel are very convincing evidence that the lights can be controlled entirely by software, but I’m interested to see any possible specific port designs where that isn’t true.

              • refalo@programming.dev
                link
                fedilink
                arrow-up
                4
                ·
                6 days ago

                I was not refuting that, yes drivers can control the LED since forever. The original comment was “the link light is powered by the switch”, which I’m saying is not possible. An ethernet switch (assuming it’s not PoE) cannot directly power an LED on a network adapter in your PC let alone the rest of it, that’s all I’m saying.