OPNsense Forum

English Forums => General Discussion => Topic started by: larzeni on January 30, 2020, 08:24:32 PM

Title: wake on lan plugin: a contribution to allow it to work even with ipmi BMC
Post by: larzeni on January 30, 2020, 08:24:32 PM
Hi there,
I have a Dell T110 server, which doesn't supports wake on lan, but has a separate interface (a BMC) that can be managed with ipmitool.

Since I need to start the server from crontab (daily usage) and from GUI (weekend, if needed), I did a "quack" patch to extend the wol plugin. I'm still a newbie so I'm not able to go deep inside the GUI and other opnsense customizations, and I write this post hoping that someone could integrate ipmi inside the wol plugin.

Here are the instructions:

That's all.

Now when the wol command will be issued from the GUI, it will invoke our script, that, in turn, will call ipmitool if needed and wol otherwise.

Oh, and since the conf file has a description, the command will now be available also in crontab!

Regards and thanks again for opnsense,
larzeni