Win10 1909 DHCP Issues [SOLVED]

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
neil.knapp
DD-WRT Novice


Joined: 02 Dec 2015
Posts: 4

PostPosted: Fri Apr 24, 2020 11:16    Post subject: Win10 1909 DHCP Issues [SOLVED] Reply with quote
Hello all,

I ran into an issue - "The data is invalid" - with devices failing to get addresses via DHCP (dnsmasq) on my router and wasn't finding anything online to help with fixing it so i'm posting my solution in the hope it might assist others.

tl;dr - Set a Domain Name under "Setup -> Basic Setup -> Optional Settings -> Domain Name". I've used "lan" (Apparently best to not use "local" as this is a reserved domain in some scenarios)

DHCP suddenly stopped working for my Windows 10 devices but worked perfectly for everything else (Android phones, Smart TV, Printer).

I don't know whether I can put this down to updating all my Windows 10 devices to 1909 or having moved from an ADSL connection using PPPoE to a fibre connection using DHCP for the WAN, I did both at the same time so can't confirm which was the cause and i'm not rolling back my Windows boxes to find out.

If a domain isn't configured on dd-wrt Windows 10 will silently assign an APIPA address and state "Connected, No Internet". If you release and try to renew via ipconfig it will give an error of "The data is invalid" for the interface it's trying to assign.

You can assign a static IP and things will work but a domain name has to be assigned for DHCP to work properly. I don't know if this is specific to dnsmasq, I didn't try dhcpd.

My router: TP-Link TL-WR841ND v9
Build: DD-WRT v3.0-r42819 std (03/30/20)

There is another post of someone encountering this error and they suggest adding the "dhcp-broadcast" option to the dnsmasq services but that didn't solve anything for me. (https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1175942&sid=fe62802974c7acb9afcfed57a802106e)

I hope this helps someone.

Regards,
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Apr 25, 2020 2:08    Post subject: Reply with quote
Thank you for posting. Considering this, I may just take the plunge and do some backups and convert one desktop to Debian 9, and the other to Ubuntu 18.04 and toss M$ sh*t for good. Also, to note, this may have also been tied to issues in dnsmasq that may have since been patched, so if it's still an issue on more current releases, then it could be either or (but more likely it's M$ junk).

EDIT: udhcpd is no longer included in this firmware. Also, not sure how the rest of your network configurations are, but there's the possibility that it was something else of conflict causing the issues.

_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

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


Joined: 16 Nov 2015
Posts: 3957
Location: UK, London, just across the river..

PostPosted: Sat Apr 25, 2020 9:49    Post subject: Reply with quote
hmm had something similar on W10 1909, but...as it says its not connected... once i start browser its ok and than connects... had to go trough all my firewall rules to find out witch interferes, sadly non of them was doing wrong...interesting, once connection goes idle it says not connected, until there is an event like browser or app tries to connect...so far its fine but it does that shit...

KP69 if you want decent linux..try parrotOS..very compact n sequre, useful, packed with apps that you will like it... compare with Kali, Black Arch, Tails much easy to understand and use....

_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 44538 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 44715 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 44772 BS AP,NAT,AD Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 44849 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 44849 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


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

PostPosted: Sat Apr 25, 2020 17:51    Post subject: Reply with quote
Alozaros wrote:
hmm had something similar on W10 1909, but...as it says its not connected... once i start browser its ok and than connects... had to go trough all my firewall rules to find out witch interferes, sadly non of them was doing wrong...interesting, once connection goes idle it says not connected, until there is an event like browser or app tries to connect...so far its fine but it does that shit...


Tip: Turn off all power-save features on router and client, whether wired or wireless. That fixes a lot of that issue. I guess I will see if things break if 20-03 rolls out. I usually avoid the **-09 Fall releases, because usually a bunch of things break Wink


Alozaros wrote:
KP69 if you want decent linux..try parrotOS..very compact n sequre, useful, packed with apps that you will like it... compare with Kali, Black Arch, Tails much easy to understand and use....


The problem is, none of those are what I am using for development, and I forgot that I still need 16.04 LTS Ubuntu until I can transition everything to either the next LTS Ubuntu or Debian 10. I may eventually migrate this old MacBook Pro to ParrotOS, though... Cool

_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

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


Joined: 16 Nov 2015
Posts: 3957
Location: UK, London, just across the river..

PostPosted: Sun Apr 26, 2020 9:42    Post subject: Reply with quote
'Turn off all power-save features' 10x for the advice i never have those on anyway..i believe it's an Win 10 shit
i tried various solutions, no avail yet, the fact its working its ok...
interesting issue i have as well is on my Win 7 Ultimate, has the same DHCP issue with new connections, all those that are already there are fine, but for any new i have to take f-wall down to make it happen or add a static values...those happened somewhere around the of last Win Updates..mid last year...

_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 44538 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 44715 BS AP,NAT,AP Isolation,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 44772 BS AP,NAT,AD Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 44849 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 44849 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions 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 can attach files in this forum
You can download files in this forum