Can't Enable DHCP Server
-
I am unable to enable the DHCP server. When I attempt to enable the service, I get the following error:
DHCP Relay is currently enabled. Cannot enable the DHCP Server service while the DHCP Relay is enabled on any interface.
The DHCP relay is not enabled. Under Status/Services, it shows dhcrelay as stopped. I did have it on at one point, but not any longer. Am on 2.01 full. TIA.
-
It has to be 'DISABLED', or (un)checked on the DHCP Relay page. Stopped is not enough.
Other than that, may be a bug. May not remove OPT1 correctly. Back up config, remove it manually. The should be OK.
-
Awesome! Just as you suspect, it looks like a bug that does not remove the OPT1 correctly. I did a backup, modified the xml, and restored. Fixed. Thank you so much for your help.
-
Another little snippet from the Forum, use Firefox browser. People have most problems with other browsers. I think Chrome is OK too.
-
When you disable an interface, it doesn't delete all of its configuration by design as people enable/disable or reassign connections under a number of circumstances and don't want the config blown away, it's not a bug. If you leave it disabled and want it truly gone, either manually clean up the config, or make sure you remove all of its config before deleting the interface.
-
But I didn't disable an interface. I had dhcp relay enabled at one point, but it didn't work the way I was hoping that it would. So I tried to disable it and use the dhcp server built into pfsense instead. But although I disabled dhcp relay in the gui, it would not let me enable the dhcp server in pfsense. It said that I couldn't enable the dhcp server since dhcp relay was enabled. But according to the gui, it was not enabled.
By the way, I use Chrome if that matters.
-
@cmb:
When you disable an interface, it doesn't delete all of its configuration by design as people enable/disable or reassign connections under a number of circumstances and don't want the config blown away, it's not a bug. If you leave it disabled and want it truly gone, either manually clean up the config, or make sure you remove all of its config before deleting the interface.
I'm having the same issue (and am very much a newbie). I've figured out how to download the backup XML file, found the section to edit:
<dhcrelay><server><lan><enable></enable></lan>
<interface></interface></server></dhcrelay>but I am unsure what is the correct edit to disable DHCP relay for the LAN. Do I just delete everything from <lan>through</lan> ?
Thanks!
-
I fixed this up on 2.1 last week