PXE networking setup errors in Dnsmasq

  • I'm trying to setup a PXE host on OMV, but I'm getting some errors when setting up the network with Dnsmasq. Any help would be much appreciated, Thank you.
    DHCP
    Error network: The value 'NULL' is not a string.
    Error #0:OMV\Json\SchemaValidationException: network: The value 'NULL' is not a string. in /usr/share/php/openmediavault/json/schema.inc:366Stack trace:#0 /usr/share/php/openmediavault/json/schema.inc(297): OMV\Json\Schema->validateString(NULL, Array, 'network')#1 /usr/share/php/openmediavault/json/schema.inc(627): OMV\Json\Schema->validateType(NULL, Array, 'network')#2 /usr/share/php/openmediavault/json/schema.inc(395): OMV\Json\Schema->checkProperties(Object(stdClass), Array, '')#3 /usr/share/php/openmediavault/json/schema.inc(285): OMV\Json\Schema->validateObject(Object(stdClass), Array, '')#4 /usr/share/php/openmediavault/json/schema.inc(257): OMV\Json\Schema->validateType(Object(stdClass), Array, '')#5 /usr/share/php/openmediavault/rpc/paramsvalidator.inc(59): OMV\Json\Schema->validate(Object(stdClass))#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(178): OMV\Rpc\ParamsValidator->validate('{"enable":true,...')#7 /usr/share/openmediavault/engined/rpc/dnsmasq.inc(62): OMV\Rpc\ServiceAbstract->validateMethodParams(Array, 'rpc.dnsmasq.set...')#8 [internal function]: OMVRpcServiceDnsmasq->setSettings(Array, Array)#9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setSettings', Array, Array)#11 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Dnsmasq', 'setSettings', Array, Array, 1)#12 {main}


    Extra Options
    Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'dnsmasq' 2>&1' with exit code '1': Job for dnsmasq.service failed because the control process exited with error code. See "systemctl status dnsmasq.service" and "journalctl -xe" for details.
    Error #0:OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; systemctl start 'dnsmasq' 2>&1' with exit code '1': Job for dnsmasq.service failed because the control process exited with error code.See "systemctl status dnsmasq.service" and "journalctl -xe" for details. in /usr/share/php/openmediavault/system/process.inc:182Stack trace:#0 /usr/share/php/openmediavault/system/systemctl.inc(86): OMV\System\Process->execute(Array, 1)#1 /usr/share/php/openmediavault/system/systemctl.inc(104): OMV\System\SystemCtl->exec('start', NULL, false)#2 /usr/share/openmediavault/engined/module/dnsmasq.inc(56): OMV\System\SystemCtl->enable(true)#3 /usr/share/openmediavault/engined/rpc/config.inc(194): OMVModuleDnsmasq->startService()#4 [internal function]: OMVRpcServiceConfig->applyChanges(Array, Array)#5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)#7 /usr/share/php/openmediavault/rpc/serviceabstract.inc(565): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatusEE...', '/tmp/bgoutputGH...')#8 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))#9 /usr/share/openmediavault/engined/rpc/config.inc(213): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)#10 [internal function]: OMVRpcServiceConfig->applyChangesBg(Array, Array)#11 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)#12 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)#13 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)#14 {main}



    Also I'm not sure if I entered this correctly:
    Domain Name:
    local.domain
    DNS Servers:
    10.0.0.228,8.8.8.8
    DHCP Boot:
    /pxelinux.0,0.0.0.0
    Extra Options :
    10.0.0.228.0 port=0
    dhcp-range=10.0.0.228.0,proxy
    pxe-service=x86PC,"PXE Boot-Server",pxelinux
    resolv-file=/etc/resolv.conf

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!