NamTaf / if_bge_wol

Patch to enable Wake on LAN for the if_bge driver on FreeBSD 11.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if_bge_wol

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.

Instructions

  • 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 show WOL_MAGIC under OPTIONS

History

  • Update of my previous PR for 10.1-RELEASE here.

Credits

  • Thanks to Nicola T (w4w) for the BitBucket patch & explanation here.
  • Thanks to zoon01 & daoyama for the original NAS4Free 9.1 patch here.

About

Patch to enable Wake on LAN for the if_bge driver on FreeBSD 11.1