https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218579

--- Comment #61 from Keve Nagy <freebsd....@nagykeve.e4ward.com> ---
Q1. Does power off still work if the system was woken using WOL and no
intervening reboot performed?
A1. In my tests, I experienced no unexpected reboots/autostarts. I always
finished with a "shutdown -p now;exit" command, and the computer properly shut
down and powered off each time. Regarless of which computer I used (T610 or
MicroServer), which version of FreeBSD I used (13.3R or 14.0R), or which kernel
I booted (bge patched GENERIC or factory GENERIC). So powering down worked
always fine. The difference in unpatched or patched kernel meant that "wake"
did wake the computer up or did not.
When I used "shutdown -r now", THEN and ONLY THEN the computer automatically
restarted after shutting down.

Q2. Does ifconfig wol do anything?
A2. On those of my computers with an on-board bge interface, "ifconfig bge0
wol" seems to make no difference at all. If I boot with the factory GENERIC
kernel, then WOL_MAGIC is off by default, and this command does not enable it.
If I boot the bge-patched GENERIC kernel, then WOL_MAGIC is enabled by default,
and it stays that way after an "ifconfig bge0 wol" with nothing new added
either. Hence, again, this command seems to make no difference.
On the Optiplex 7050 with no bge interface and an on-board em interface,
"ifconfig em0 wol" enables WOL_MAGIC and some other WOL_ options.
The uploaded files will show you all details about this.

I stay away from FREEBSD-CURRENT, but if you see the bge interface on
14-CURRENT coming up by default without WOL_MAGIC and then "ifconfig bge0 wol"
enables WOL_MAGIC, then there is already a significant difference between
14-RELEASE and 14-CURRENT.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to