[SOLVED] WLANs unable to connect to internet. DNS problem?

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
L J
DD-WRT Novice


Joined: 11 Nov 2017
Posts: 19
Location: Canada, Vancouver Island.

PostPosted: Mon Jun 06, 2022 20:09    Post subject: [SOLVED] WLANs unable to connect to internet. DNS problem? Reply with quote
I have recently done a long overdue build upgrade on my main router from Kong 35550M to the latest builds. My routers and network setup are shown in my signature. This network is connected to my ISP’s router via ethernet cable with a static IP address assigned from the ISP router.
I used the Wikis Tutorials, Wireless_Access_Point and Multiple_WLANs to set up the network previously and reviewed them when this problem started.
After upgrading to the latest firmware everything worked well except I have a problem with Router 1, D-Link DIR-885L A1, the WLANs not being able to connect to the internet. It is only the main wireless interfaces that will not work, wl0 and wl1. The wired LAN connections do work. Two VAPs set up on wl0, as wl0.1 and wl0.2 work fine. Also, all the WAP’s WLANs, main, wl0 and wl1, and VAPs, work fine and connect well. I am also able to roam access the VAPs from one router to another and back.
I have read numerous articles in the Wiki and posts under Broadcom SOC Hardware and Advanced Networking and come to the conclusion that the problem is with the DNS setup. I have tried many combinations of settings without success. As egc has said DNS is very complex with many settings across many windows.
I have also tried various settings in the Setup-Networking GUI window. A copy of my current settings attached.
I am not running any VPNs.
I will forward logs if you tell me which /directory/file and how and where to remove any identifiying IPs and tags.
Thank you in advance for you help and support.

_________________
___________________________________________
Router 1: D-Link, DIR-885L, Firmware v3.0-r55678 std.; Gateway behind ISP router, DMZ, WireGuard Server, SmartDNS
wl0, 2.4 GHz, N only, Ch. 6, two VAPs, wl0.1 IoT on VLAN 3, wl0.2 Guest Network on VLAN 4. wl1, 5 GHz, AC/N, Ch. 48, wl1.1 Guest Network on VLAN 4.

Router 2: Linksys, E4200, Firmware v3.0-r55678 mega; WAP wired LAN<>LAN to Router 1 on tagged trunk, VLANs 1,3 and 4.
wl0, 2.4 GHz, N only, Ch. 1, two VAPs, wl0.1 IoT on VLAN 3, wl0.2 Guest Network on VLAN 4. wl1, 5 GHz, N only, Ch. 60, wl1.1 Guest Network on VLAN 4.


Last edited by L J on Wed Jun 08, 2022 21:25; edited 2 times in total
Sponsor
Alozaros
DD-WRT Guru


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

PostPosted: Mon Jun 06, 2022 23:23    Post subject: Reply with quote
just to clarify...did you do a reset and manually add all the settings ?
Coming form an old build Kong 35550M this is a must...
as well i dont see your vap and guest networks anywhere
i rather live them to default create 2 bridges and assign them to a br1 and br2 than add the DHCPd to those br1 & br2
than usually DNS is the default DNSmasq address (you can add to advanced DNSmasq rules no-resolv and server=9.9.9.9 or what ever DNS you prefer) and you don't have to add any extra DNS to those bridges you ve made...
in general i always bridge any new interfaces i create, as its more flexible...
but lets see if someone will come with another solution to your problem...

_________________
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 55819 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
L J
DD-WRT Novice


Joined: 11 Nov 2017
Posts: 19
Location: Canada, Vancouver Island.

PostPosted: Tue Jun 07, 2022 1:11    Post subject: Reply with quote
Yes I did do a manual reset and added all the settings manually.
The two VAPs are shown toward the bottom of the .png as Network Configuration wl0.1 and wl0.2 and in DHCPD, Multiple DHCP Servers at the bottom.
This configuration plus these commands added to the DNSmasq Additional Options allowed everthing to work with the Kong build.
interface=wl0.1
dhcp-option=wl0.1,3,192.168.32.1
dhcp-range=wl0.1,192.168.32.64,192.168.32.192,255.255.255.0,12h
interface=wl0.2
dhcp-option=wl0.2,3,192.168.10.1
dhcp-range=wl0.2,192.168.10.100,192.168.10.200,255.255.255.0,7h
dhcp-option=6,209.67.222.222,1.1.1.1

_________________
___________________________________________
Router 1: D-Link, DIR-885L, Firmware v3.0-r55678 std.; Gateway behind ISP router, DMZ, WireGuard Server, SmartDNS
wl0, 2.4 GHz, N only, Ch. 6, two VAPs, wl0.1 IoT on VLAN 3, wl0.2 Guest Network on VLAN 4. wl1, 5 GHz, AC/N, Ch. 48, wl1.1 Guest Network on VLAN 4.

Router 2: Linksys, E4200, Firmware v3.0-r55678 mega; WAP wired LAN<>LAN to Router 1 on tagged trunk, VLANs 1,3 and 4.
wl0, 2.4 GHz, N only, Ch. 1, two VAPs, wl0.1 IoT on VLAN 3, wl0.2 Guest Network on VLAN 4. wl1, 5 GHz, N only, Ch. 60, wl1.1 Guest Network on VLAN 4.
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jun 07, 2022 2:18    Post subject: Reply with quote
You're clobbering your configuration. You're specifying your interfaces, ranges and lease times in two separate places. Pick one.
_________________
"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: 12915
Location: Netherlands

PostPosted: Tue Jun 07, 2022 7:02    Post subject: Reply with quote
In your screenshot (labeled dir 855L ??) there is an entry under assign to bridge which is not present on any of my routers, granted I do not have your router so perhaps it should be there but I have my doubts.

As you also have put all those not really necessary settings under DNSmasq Additional Options I would consider doing a full reset and only start with a minimal configuration to see if the WLAN is working.

Minimal configuration:
On Setup page
Ignore WAN DNS: Enabled (ticked)

Change Local IP address if you want to

Static DNS 1: 9.9.9.9 (or anything else you trust/want)
Static DNS 2: 1.0.0.1 (or anything else you trust/want)

Wireless Setup
Specify fixed channel
Specify SSID
(After everything is working see: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327595 )

Wireless Security:
WPA2-PSK / CCMP-128 (AES)
Set password

Services page
Disable TTRAFF Daemon

Basically that should be it.
If you have done that reboot and see if the router is working

If it is working see my attached notes how I setup VAP's Smile

A lot has changed you cannot use the settings you had on that old build one-on-one on the new build

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


Joined: 11 Nov 2017
Posts: 19
Location: Canada, Vancouver Island.

PostPosted: Wed Jun 08, 2022 17:07    Post subject: Reply with quote
egc,
Thank you for your clear, concise instructions for dealing with my problem. Everything is now working.
You reminded me of the old troubleshooting adage, to start at the beginning and add one thing at a time until you find the problem. After fighting with Firefox, MacOS and iOS I finally was able to set everything thing up functionally the same as my old setup. It is a much simpler setup now.
Now on to setting up NAS and perhaps a router based VPN. Very Happy
Thank you again for your professional support.

_________________
___________________________________________
Router 1: D-Link, DIR-885L, Firmware v3.0-r55678 std.; Gateway behind ISP router, DMZ, WireGuard Server, SmartDNS
wl0, 2.4 GHz, N only, Ch. 6, two VAPs, wl0.1 IoT on VLAN 3, wl0.2 Guest Network on VLAN 4. wl1, 5 GHz, AC/N, Ch. 48, wl1.1 Guest Network on VLAN 4.

Router 2: Linksys, E4200, Firmware v3.0-r55678 mega; WAP wired LAN<>LAN to Router 1 on tagged trunk, VLANs 1,3 and 4.
wl0, 2.4 GHz, N only, Ch. 1, two VAPs, wl0.1 IoT on VLAN 3, wl0.2 Guest Network on VLAN 4. wl1, 5 GHz, N only, Ch. 60, wl1.1 Guest Network on VLAN 4.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12915
Location: Netherlands

PostPosted: Wed Jun 08, 2022 17:55    Post subject: Reply with quote
Glad I could help.

OpenVPN is a sticky in this forum:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398

You could also consider using Wireguard, also a sticky in this forum.

For NAS see my attached notes Very Happy

_________________
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
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking 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