[SOLVED] R7800 LAN works not Wifi

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
Jay461
DD-WRT Novice


Joined: 18 Jul 2018
Posts: 49

PostPosted: Tue Aug 02, 2022 4:57    Post subject: [SOLVED] R7800 LAN works not Wifi Reply with quote
It was working till a couple of hours ago.

Dnsmasq is enabled and everything else is disabled

Dnsmasq>Additional Options:
domain-needed
log-async=5
dhcp-option=br0,6,192.168.X.XXX
no-negcache
server=192.168.X.XXX
expand-hosts

The log shows this

Aug 1 23:36:00 R7800 user.info : [dnsmasq] : maybe died, we need to re-exec it
Aug 1 23:36:00 R7800 daemon.crit dnsmasq[6010]: bad DHCP host name at line 42 of /tmp/dnsmasq.conf
Aug 1 23:36:00 R7800 daemon.crit dnsmasq[6010]: FAILED to start up
Aug 1 23:36:00 R7800 user.info : [dnsmasq] : daemon successfully started
Aug 1 23:38:00 R7800 user.info : [dnsmasq] : maybe died, we need to re-exec it
Aug 1 23:38:00 R7800 daemon.crit dnsmasq[6118]: bad DHCP host name at line 42 of /tmp/dnsmasq.conf
Aug 1 23:38:00 R7800 daemon.crit dnsmasq[6118]: FAILED to start up
Aug 1 23:38:00 R7800 user.info : [dnsmasq] : daemon successfully started
Aug 1 23:40:00 R7800 user.info : [dnsmasq] : maybe died, we need to re-exec it
Aug 1 23:40:00 R7800 daemon.crit dnsmasq[6196]: bad DHCP host name at line 42 of /tmp/dnsmasq.conf
Aug 1 23:40:00 R7800 daemon.crit dnsmasq[6196]: FAILED to start up
Aug 1 23:40:00 R7800 user.info : [dnsmasq] : daemon successfully started
Aug 1 23:40:28 R7800 daemon.info hostapd: wlan1: STA aa:9d:e6:42:fb:eb IEEE 802.11: disassociated
Aug 1 23:40:29 R7800 daemon.info hostapd: wlan1: STA aa:9d:e6:42:fb:eb IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

How do I resolve this?
Sponsor
Alozaros
DD-WRT Guru


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

PostPosted: Tue Aug 02, 2022 6:08    Post subject: Reply with quote
bad DHCP host name at line 42

your client has a bad host name, containing either space or unhallowed character/symbol

that's how i name my clients

iPhone-Xs
Andorid-SamsungX9
PC-RoG

_________________
Atheros
TP-Link WR740Nv1 ---DD-WRT 55630 WAP
TP-Link WR1043NDv2 -DD-WRT 55723 Gateway/DoT,Forced DNS,Ad-Block,Firewall,x4VLAN,VPN
TP-Link WR1043NDv2 -Gargoyle OS 1.15.x AP,DNS,QoS,Quotas
Qualcomm-Atheros
Netgear XR500 --DD-WRT 55779 Gateway/DoH,Forced DNS,AP Isolation,4VLAN,Ad-Block,Firewall,Vanilla
Netgear R7800 --DD-WRT 55779 Gateway/DoT,AD-Block,Forced DNS,AP&Net Isolation,x3VLAN,Firewall,Vanilla
Netgear R9000 --DD-WRT 55779 Gateway/DoT,AD-Block,AP Isolation,Firewall,Forced DNS,x2VLAN,Vanilla
Broadcom
Netgear R7000 --DD-WRT 55460 Gateway/SmartDNS/DoH,AD-Block,Firewall,Forced DNS,x3VLAN,VPN
NOT USING 5Ghz ANYWHERE
------------------------------------------------------
Stubby DNS over TLS I DNSCrypt v2 by mac913
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12877
Location: Netherlands

PostPosted: Tue Aug 02, 2022 6:41    Post subject: Reply with quote
What build are you running?

Which change did it stop from working?

_________________
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
Jay461
DD-WRT Novice


Joined: 18 Jul 2018
Posts: 49

PostPosted: Tue Aug 02, 2022 13:17    Post subject: Reply with quote
I associated incorrect static IP to MAC under the Services tab. I opened the dnsmasq.conf file (mentioned in the sys log: bad DHCP host name at line 42 of /tmp/dnsmasq.conf) via WinSCP and scrolled to line 42 and found the IP & MAC address in question. I'm using r49081. I hope this helps others. Thanks for your response's.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware 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