- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
after configuring Wake-on-LAN my PC reboots immediately after shutdown.
- Operating system: Debian 12
- Mainboard: MAG Z790 TOMAHAWK WIFI
- Network interface: Intel Corporation Ethernet Controller I225-V (rev 03)
I enabled wake up for PCI in the bios settings (“Resume By PCI-E/Networking Device [Enabled]”).
I did configure the network device for Wake-on-LAN with Magic Packet (ethtool -s device_name wol p).
While trying to get the Wake-on-LAN working I did send the Magic Packet multiple times for testing purposes, also while the PC was running and Wake-on-LAN set to “p”.
Now, when I do a shutdown or activate the standby-mode, the PC immediately reboots after shutting down or resumes from the standby if Wake-on-LAN is set to “p”, activated in the bios and the network cable is connected to the PC. I can prevent the reboots by doing one of three things:
- unplug the network cable
- disable Wake-on-LAN by setting it to “d” with ethtool
- disable in bios
But I want to use Wake-on-LAN, so those are no solutions for my reboot problem.
It appears as if the Magic Packets that arrived while the PC was running and the network device in “p” mode have been queued and are processed after shutdown.
Is this true that the Magic Packets are stored in a queue on the network device?
This behavior was described for I219V already by @IAkel in this post in 2020:
intel-i219V wake on lan right after shutdown (due to magic packets while computer awake)
If this is the case - how can I reset or empty this queue?
What can I do to resolve the reboot issue while still being able to use Wake-on-LAN?
Thanks!
Frank
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Another way I found to stop the reboot problem is to disable the wakeup like this:
device="/sys/bus/pci/devices/$PCI_DEVICE_ID"
echo -n "disabled" > "$device/power/wakeup"
But this also disables the Wake-on-LAN function completely. I want to use Wake-on-LAN, but I don't want an automatic reboot after the shutdown.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page