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.

  • lazynooblet@lazysoci.al
    link
    fedilink
    English
    arrow-up
    43
    ·
    2 months ago

    Your PC network card keeps the connection up in order to receive wake on LAN requests.

    Any link activity whilst the PC is shutdown is packets that were broadcasted to the entire network. Other PCs, DHCP requests, etc send traffic to all devices on the network. So seeing some traffic whilst it’s off is nothing to worry about.

    • refalo@programming.dev
      link
      fedilink
      arrow-up
      14
      ·
      edit-2
      2 months 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
        2
        arrow-down
        2
        ·
        2 months 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
        2
        ·
        edit-2
        2 months 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
            2
            arrow-down
            1
            ·
            edit-2
            2 months 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
              3
              ·
              2 months 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
                1
                ·
                2 months 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
                  3
                  ·
                  2 months 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.

  • oxomoxo@lemmy.world
    link
    fedilink
    arrow-up
    26
    arrow-down
    1
    ·
    2 months ago

    You computer has a feature for Out of Band management. Either WoL as others have mentioned or vPro(Intel), iLon(HP), iDrac(Dell), as well a few other less popular systems depending on who makes your mainboard or NIC.

    This leaves the power on to the network card so that it can be used even with your computer off. It does not have access to your normal computer in the this case. Just the ability to turn on/off the system and sometimes options to update BIOS/UEFI firmware and send a console image to either a client or browser.

    The lights are blinking because broadcasts packets from other devices on your LAN are sent to every device. This is normal and expected behavior.

    • Trainguyrom@reddthat.com
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 months ago

      The lights are blinking because broadcasts packets from other devices on your LAN are sent to every device. This is normal and expected behavior.

      Just building off of this, modern computers are chatty as heck and there’s just constantly little bits of chatter spamming out on LANs. This is normal and expected behavior

  • foremanguy@lemmy.ml
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    2 months ago

    As other said, it’s surely related to the LAN traffic and not the WAN traffic only your router sends some packets but it shouldn’t be Windows. Little tips if you don’t want telemetry and tracking, simply use Linux.

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    2 months ago

    Maybe but probably not. Its just frames coming in from the rest of the network. The device on the other end doesn’t know the computer is off.

    Alternatively if the card still has power it might be just in the state Windows left it in. I could imagine it would be good to not have to reinitialize the card all the time.

    Why are you concerned about telemetry on shutdown? That wouldn’t make any sense as it sends your data and checks the system status in the background while you use your computer. Also it is not great practice to totally shutdown at night as that’s the time when update happen. It also could theoretically wear out hardware but chances are that’s not a problem on newer machines

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

    i noticed both of the ethernet lights were on and blinking

    So usually one of the lights on the port indicates the link state (up/down and if its at full speed or a reduced speed) and the other light indicates data flow. Both lights blinking suggests either a really shoddy link state or an unusual implementation of status lights on the port. Do both lights blink while its booted and actively transferring a large file? Can you find documentation of how your device implements the indicator LEDs? (I can’t tell if that’s a dongle or a port on your computer)

  • Johnny Wishbone@lemmy.world
    link
    fedilink
    arrow-up
    4
    arrow-down
    2
    ·
    2 months ago

    I’m sure it’s legacy thing from back in the day, flashing means it’s sending or receiving, solid means it’s idle.

  • linkhidalgogato@lemmy.ml
    link
    fedilink
    arrow-up
    2
    arrow-down
    6
    ·
    2 months ago

    disconnect ur pc from power physically if the behavior continues which i would guess it will its probably something connected to ur wifi doing something in a dumb way if it stops thats wierd as fuck but forcing the pc to shut down by holding the power button should do the trick since that usually tells the motherboard to tell the power supply to shut off and i dont think windows gets a say on that.