this post was submitted on 10 Sep 2024
29 points (77.4% liked)

Privacy

31931 readers
938 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

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.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 50 points 2 months ago (1 children)

Does your PC support Wake-On-Lan? Effectively, leaving the port powered to allow switching on over the network

https://en.wikipedia.org/wiki/Wake-on-LAN

[–] [email protected] 16 points 2 months ago* (last edited 2 months ago) (3 children)

It does, but wake on lan is disabled in the BIOS.

[–] [email protected] 14 points 2 months ago

Power to the port may be hardwired for that feature to exist even though you have it disabled. Usually older models, but some do stay on just from being powered.

If it's a privacy concern check at your router and see if it holds an address.

[–] [email protected] 3 points 2 months ago

Try toggling ErP setting or similarly named EU energy setting in your UEFI. This should resolve the lights being on.

[–] [email protected] 0 points 2 months ago (1 children)

Windows by default doesn't fully power off when you tell it to shut down. It goes into hibernation and keeps the network open for updates and will sometimes power back on to complete these updates.

If you want to fully power off, hold the left shift key when you click shut down. Or turn the power off elsewhere (eg. psu or power bar.) I'm sure there's another way to do it, or to prevent the behavior entirely.

[–] possiblylinux127 2 points 2 months ago (1 children)

This isn't correct at all. You are confusing fast boot and sleep. When Windows goes to sleep (I think it is S4) is when it can come back up for updates. However, during sleep networking is not active. It just wakes back up on a timer. Fast boot isn't sleep at all. It just a fancy shutdown mode that doesn't unmount the boot disk before shutdown. It also caches the system state to improve the startup time.

[–] [email protected] 1 points 2 months ago (1 children)

Fast boot is just Windows logging you out of your session, then hibernating.

Sleep is keeping the computer in a low-power state with RAM powered on..

Both of these have been known to result in laptops powering on unbeknownst to their owners to perform updates and remain powered on afterward.

[–] [email protected] 0 points 2 months ago

Windows is never responsible for this. It is errors in the EC code or BIOS wake timers. When you click shutdown, the system is powered off. Windows hands off execution to Bios code for shutdown after the cycling dots saying "shutdown".

[–] [email protected] 44 points 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.

[–] [email protected] 27 points 2 months ago (4 children)

the link light is powered by the switch. it doesnt [necessarily] mean data transfer

[–] [email protected] 15 points 2 months ago* (last edited 2 months ago) (7 children)

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.

[–] [email protected] 1 points 2 months ago (1 children)

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.

[–] possiblylinux127 2 points 2 months ago

Fastboot shouldn't affect networking as the hardware itself is powered off.

load more comments (6 replies)
[–] [email protected] 6 points 2 months ago

this 100% factually incorrect.

[–] [email protected] 1 points 2 months ago

i don't really think so. unplug the power to your PC and the lights will turn off soon

[–] [email protected] 0 points 2 months ago
[–] [email protected] 26 points 2 months ago (2 children)

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.

[–] [email protected] 5 points 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

[–] [email protected] 1 points 2 months ago

More rarely: some poorly configured USB controllers can actually provide enough backwash power to the motherboard that some LEDs still blink, like the Ethernet indicators.

I ran into this myself, I notice the lights being on, and they stayed on when I unplugged the computer. Took me a good 5m of debugging to figure it out.

[–] [email protected] 15 points 2 months ago (2 children)

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.

[–] [email protected] 6 points 2 months ago* (last edited 2 months ago) (3 children)

use Linux

Had to be said, didn't it?

[–] [email protected] 9 points 2 months ago

And always use proper protection when surfing online

[–] [email protected] 1 points 2 months ago
[–] [email protected] 1 points 2 months ago

Right sorry

[–] [email protected] 4 points 2 months ago (2 children)

I dualboot both Windows and Linux. I use windows just for pyinstaller and compiling, while i daily drive Arch Linux with dwm.

[–] [email protected] 1 points 1 month ago (1 children)

Why windows for pyinstaller and compiling?

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago) (1 children)

Well as you may know, when you try running pyinstaller on linux, it packs the .py file into a linux exectuable, not a windows executable.

[–] [email protected] 1 points 1 month ago (1 children)

Very interesting! Thanks for the heads up. I didnt know that. 7 years ago, they already used wine for that. https://stackoverflow.com/questions/44014390/how-to-generate-a-windows-executable-using-pyinstaller-on-linux#45065125

If all else fails you could also use a vm. Thats probably less dangerous than dual booting because of windows not playing nice with grub.

[–] [email protected] 1 points 1 month ago* (last edited 1 month ago)

I dualboot both Windows and Linux using the BIOS's boot menu. Linux installed on a seprate drive, windows on another.

[–] [email protected] 1 points 2 months ago
[–] [email protected] 8 points 2 months ago
[–] possiblylinux127 6 points 2 months ago* (last edited 2 months ago) (1 children)

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

[–] [email protected] 5 points 2 months ago (1 children)

Also it is not great practice to totally shutdown at night as that's the time when update happen.

updates can be installed when it's turned on, though, and it well consume much less power.

It also could theoretically wear out hardware but chances are that's not a problem on newer machines

what do you mean? I don't understand.
if you mean the HDDs spinning down and up, then

  • if it only happens at shutdown, it shouldn't wear them out, additionally as I know HDDs (consumer models at least) don't like endless spinning either
  • windows probably shuts it down regularly when it's not in use. this is a setting in the power profile
  • as I know, frequent spindowns only increase wear out if it happens very often, like every 10 seconds and such because of the drive's garbage internal power saving setting. that's why I always keep it at least 30 minutes or more
[–] possiblylinux127 1 points 2 months ago (2 children)

I've never seen hardware die because of repeated shutdowns. Also most people aren't running HDDs these days as flash storage is cheap and plentiful.

For updates you need to be turned on for them to install. That's why shutting it down isn't good practice. Just set a maintenance window and put the computer to sleep.

[–] [email protected] 1 points 2 months ago

or just install and then shut down?

[–] [email protected] 1 points 2 months ago

I've never seen hardware die because of repeated shutdowns

then why do you recommend to keep the computer on for a longer life?

but in the case of hard drives, this is a real thing, just not at that scale of shutdowns. if you don't find sources on this let me know and I'll show some.

For updates you need to be turned on for them to install. That's why shutting it down isn't good practice. Just set a maintenance window and put the computer to sleep.

of course, the installation will get prepared while the computer in on. it will have plenty of time being turned on.
but most updates, including a lot of security updates only apply when restarting the updated software, like shutting down the operating system.

[–] [email protected] 5 points 2 months ago
[–] [email protected] 3 points 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)

[–] [email protected] 2 points 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.

[–] [email protected] 1 points 2 months ago

I believe you can stop it by turning off a feature called "fast startup" or something like that.