DHCP server does not start

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
dgarci
DD-WRT Novice


Joined: 28 May 2020
Posts: 3

PostPosted: Thu May 28, 2020 15:11    Post subject: Re: DHCP works for wireless but not LAN Reply with quote
Hi,

Its been a while since your post but I have the same issue with my DD-WRT install.

Did you ever figure out why LAN Status shows the DHCP Server disabled even though the DHCP Server is enabled in Basic Setup?

Any feedback is greatly appreciated.

Regards.

seandarcy wrote:
D-Link DIR-615-E1
Firmware Version
DD-WRT v3.0-r37139 std (10/04/1Cool

DHCP is working for wireless clients, but not LAN.

I've enabled DHCP in Setup.
Setup->Basic Setup->Network Setup

Network Address Server Settings (DHCP)
DHCP Type
DHCP Server
Enable Disable
Start IP Address
10.10.192.
Maximum DHCP Users
Client Lease Time
min
Static DNS 1
...
Static DNS 2
...
Static DNS 3
...

But Status shows it disabled:

Status->LAN

DHCP Status
DHCP Server
Disabled

Is there someplace else I need to enable it.
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Thu May 28, 2020 16:03    Post subject: Reply with quote
Welcome to the forum

Please note the forum guidelines:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

Reviving old threads is not something which is encouraged.

Always state your build number, there are some bad builds around in the wild.

If you are using a recent (from this month) and know good build you might consider just resetting the router and leave everything at its default settings and then see if it is working.

Alternatively post pictures of Setup page and Services/Services page

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6867
Location: Romerike, Norway

PostPosted: Thu May 28, 2020 18:25    Post subject: Reply with quote
Start IP Address
10.10.192.


The fourth octet of the IP address is missing.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Thu May 28, 2020 18:52    Post subject: Reply with quote
It was probably a dirty copy and paste from the webUI from the original post. The original post is here. Whatever the default DD-WRT 4th octet is would probably apply, I presume. Still no valuable information as far as router and build number to help the OP in this thread, but let's break out the magic crystal ball and start guessing, might as well...
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
dgarci
DD-WRT Novice


Joined: 28 May 2020
Posts: 3

PostPosted: Thu May 28, 2020 23:44    Post subject: Reply with quote
I apologize for reviving an old thread - I wasn't aware it is contrary to guidelines - will not repeat.

Firmware: DD-WRT v3.0-r37305 std (10/10/1Cool

Setup page attached.
Status/LAN page attached.
Services/Services page attached.

Thanks for any assistance you can provide.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Fri May 29, 2020 0:10    Post subject: Reply with quote
I'm just going to blindly venture to guess that udhcpd will not start without dnsmasq being enabled in the webUI.
You should probably consider upgrading to a more recent build, clearing nvram / resetting to defaults and configuring from scratch.

Where Do I Download Firmware?

Firmware FAQ

https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2020/

New Build - 05/27/2020 - r43266

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12884
Location: Netherlands

PostPosted: Fri May 29, 2020 9:22    Post subject: Reply with quote
Upgrading seems a good advice indeed.

I even think DNSMasq is used for DHCP in modern builds, so you probabaly will not get DHCP when you disable DNSMasq, not sure about this though

_________________
Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14221
Location: Texas, USA

PostPosted: Fri May 29, 2020 13:34    Post subject: Reply with quote
You can try disabling dnsmasq in the webUI in more recent builds, but process_monitor will restart it if you kill it, last I knew. I seem to recall that dnsmasq and udhcpd were tied together in the services and process_monitor code or something, so you cannot have one without the other. I could be mistaken, though Wink Cool
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
dgarci
DD-WRT Novice


Joined: 28 May 2020
Posts: 3

PostPosted: Mon Jun 01, 2020 1:58    Post subject: Reply with quote
Enabling dnsmasq in the webUI seem to work - see attached image - will monitor. Thank you.
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6867
Location: Romerike, Norway

PostPosted: Mon Jun 01, 2020 7:49    Post subject: Reply with quote
DNSMasq is the only DHCP server in newer bilds as udchp is removed.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum