Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Problem with Wake on Lan Option

I´ve been tried to use the option Wake on Lan on my computer, but i received the following error: PHP Fatal error:  Uncaught ArgumentCountError: Too few arguments to function Wol::wake(), 1 passed in /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_computer/ms_computer.php on line 74 and exactly 2 expected in /usr/share/ocsinventory-reports/ocsreports/require/function_wol.php:30\nStack trace:\n#0 /usr/share/ocsinventory-reports/ocsreports/plugins/main_sections/ms_computer/ms_computer.php(74): Wol->wake('78:2B:CB:AF:FD:...')\n#1 /usr/share/ocsinventory-reports/ocsreports/require/header.php(444): require('/usr/share/ocsi...')\n#2 /usr/share/ocsinventory-reports/ocsreports/index.php(44): require('/usr/share/ocsi...')\n#3 {main}\n  thrown in /usr/share/ocsinventory-reports/ocsreports/require/function_wol.php on line 30, referer: http://10.8.1.29/ocsreports/index.php?function=computer&head=1&systemid=2

i apreciate if you can help me, thanks.
in IP Discover by (160 points)

2 Answers

0 votes
Hi,

Same here but it occurs only when i try to WOL more than one machine at time (mass processing on selection --> Wake On Lan).

I already made changes mentionned here : https://github.com/OCSInventory-NG/OCSInventory-ocsreports/pull/340/files and can send magic packets for hosts through Administrastive data --> WOL link
by (280 points)
0 votes

Hi, Matou671

with a single computer if it works for you?

by (160 points)
 
Powered by Question2Answer
...