Patch to enable Wake on LAN for the if_bge driver on FreeBSD 11.1. Tested on HP Proliant Microserver N36L on 11.1-RELEASE-p9, should work on the N40L and N54L.
- cd /usr/src/sys/dev/bge/
- patch if_bge.c < if_bge.c.patch
- cd /usr/src/sys/modules/bge/
- make
- make install
- cp ./if_bge.ko /boot/kernel/
- clean
- Add
if_bge_load="YES"
to/boot/loader.conf
To test:
- shutdown -r now
ifconfig bge0
should showWOL_MAGIC
underOPTIONS
- Update of my previous PR for 10.1-RELEASE here.