Cannot start DHCP Server with the default configuration

I use the following default configuration:
{
“default_lease”: 86400,
“max_lease”: 172800,
“domain”: null,
“dns”: [
“8.8.8.8”,
“8.8.4.4”
],
“networks”: [
{
“subnet”: “192.168.1.0”,
“netmask”: “255.255.255.0”,
“range_start”: “192.168.1.100”,
“range_end”: “192.168.1.200”,
“broadcast”: “192.168.1.255”,
“gateway”: “192.168.1.1”,
“interface”: “wlan0”
}
],
“hosts”: []
}

but when I try to save I get the following:

not a valid value for dictionary value @ data[‘options’]. Got {‘default_lease’: 86400, ‘max_lease’: 172800, ‘domain’: None, ‘dns’: [‘8.8.8.8’, ‘8.8.4.4’], ‘networks’: [{‘subnet’: ‘192.168.1.0’, ‘netmask’: ‘255.255.255.0’, ‘range_start’: ‘192.168.1.100’, ‘range_end’: ‘192.168.1.200’, ‘broadcast’: ‘192.168.1.255’, ‘gateway’: ‘192.168.1.1’, ‘interface’: ‘eth0’}], ‘hosts’: []}

Thus DHCP server never starts.

any ideas? what logs should I check to figure out the problem?

I’m not using the dhcp addon, but the docs say that a value for ‘domain’ is required.
Maybe that’s the problem.

1 Like

It was the domain missing after all thanks a lot