Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
wake on lan plugin: a contribution to allow it to work even with ipmi BMC
« previous
next »
Print
Pages: [
1
]
Author
Topic: wake on lan plugin: a contribution to allow it to work even with ipmi BMC (Read 1678 times)
larzeni
Newbie
Posts: 3
Karma: 0
wake on lan plugin: a contribution to allow it to work even with ipmi BMC
«
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:
install ipmitool: pgk install ipmitool
copy the files into the /root/bin folder (create it if needed)
overwrite the original /usr/local/opnsense/service/conf/actions.d/actions_wol.conf with the attached one
reload the services (issuing command service configd restart)
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
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
wake on lan plugin: a contribution to allow it to work even with ipmi BMC