WOL plugin issue with bridge

    • OMV 2.x
    • WOL plugin issue with bridge

      I have the OpenVPN AS server plugin installed, using bridge mode.

      When I do a network scan in the WOL plugin, I get the following error:

      Source Code

      1. Failed to execute command '/usr/bin/nast -m': Nast V. 0.2.0
      2. Error #4000: exception 'OMVException' with message 'Failed to execute command '/usr/bin/nast -m':
      3. Nast V. 0.2.0
      4. ' in /usr/share/openmediavault/engined/rpc/wol.inc:424
      5. Stack trace:
      6. #0 [internal function]: OMVRpcServiceWol->doScan(NULL, Array)
      7. #1 /usr/share/php/openmediavault/rpcservice.inc(125): call_user_func_array(Array, Array)
      8. #2 /usr/share/php/openmediavault/rpc.inc(79): OMVRpcServiceAbstract->callMethod('doScan', NULL, Array)
      9. #3 /usr/sbin/omv-engined(500): OMVRpc::exec('Wol', 'doScan', NULL, Array, 1)
      10. #4 {main}

      I am getting the same error when executing "nast -m" from the shell.
      The reason seems to be the bridged network that the OpenVPN has installed.

      When I use "nast -m -i asbr0" (asbr0 being my bridge between eth0 and the VPN adapter), everything works correctly.

      Can this be fixed, or is there a workaround?

      Cheers & RFC