Cannot connect to Guest wifi on dedicated bridge

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
cmu2808
DD-WRT Novice


Joined: 20 Apr 2019
Posts: 5

PostPosted: Sat Apr 20, 2019 23:14    Post subject: Cannot connect to Guest wifi on dedicated bridge Reply with quote
I recently downloaded DD-WRT version 37305 and installed in on my TP-Link Archer C9 V4 router.

https://dd-wrt.com/support/router-database/?model=Archer%20C9%20(AC1900)_4.x

I'm currently having issues with the guest wifi configuration.

I created the guest wifi following the steps below:

1. Created virtual interface (guest ssid) on 5G physical interface - wl1.1
2. Assigned wireless security to new guest ssid
3. Created a new bridge and configured network settings of bridge - br1 / 192.168.2.1 255.255.255.0
4. Assigned new virtual interface to new bridge - wl1.1 > br1
5. Created a new DHCP scope for the new bridge - br1
6. Added following under Additional DNSMasq option -

interface=br1
dhcp-option=br1,6,1.1.1.1,1.0.0.1

At this stage I should be able to connect to the guest wifi but every time I try the connection fails with no errors - just cannot connect.

Anyone who can help?



nvram.txt
 Description:
Config dump

Download
 Filename:  nvram.txt
 Filesize:  33.92 KB
 Downloaded:  244 Time(s)

Sponsor
cmu2808
DD-WRT Novice


Joined: 20 Apr 2019
Posts: 5

PostPosted: Sun Apr 21, 2019 12:37    Post subject: Reply with quote
Thanks for the the input.

As per your suggestion, I factory defaulted the router and started from scratch, rebooting router after every single step. Made no difference!

I've added a few screen captures detailing the config and the new nvram dump.

I've also tried adding the gateway of the guest network under DNSMasq options - again made no difference. If I'm not mistaken though, when you create a DHCPD scope it automatically adds the gateway option to the DNSMasq file under the /tmp folder - so that shouldn't matter.



Config-2.jpg
 Description:
 Filesize:  77.66 KB
 Viewed:  3768 Time(s)

Config-2.jpg



Config-1.jpg
 Description:
 Filesize:  96.47 KB
 Viewed:  3768 Time(s)

Config-1.jpg



nvram_dump.txt
 Description:

Download
 Filename:  nvram_dump.txt
 Filesize:  33.76 KB
 Downloaded:  216 Time(s)

egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Sun Apr 21, 2019 16:13    Post subject: Reply with quote
At first glance it looks OK, maybe this is the dreaded VAP issue? :

Quote:
Problems and workarounds:
When VAP is not working at boot; workaround startup command:
1) sleep 10; stopservice nas; stopservice wlconf; startservice wlconf; startservice nas;
2) sleep 4; stopservice cron; stopservice wlconf; wlconf eth1 up; wlconf eth2 up; startservice cron;
3) sleep 20; stopservice nas; wlconf eth1 down; wlconf eth2 down; wlconf eth1 up; wlconf eth2 up; startservice nas
4) Aternative way to get VAP working: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=317181

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


Joined: 20 Apr 2019
Posts: 5

PostPosted: Sun Apr 21, 2019 17:37    Post subject: Reply with quote
Wow that procedure seems like a drag Smile

Anyways, I've got it working by changing the config a little:

So instead of creating a bridge (br1) and assigning the wl1.1 virtual interface to it... I've unbridged the wl1.1 interface all together and assigned a network to it directly.

And configured the following DNSMasq options (in the order below):

listen-address=192.168.1.1
dhcp-option=br0,3,192.168.1.5
dhcp-option=br0,6,192.168.1.5

listen-address=192.168.2.1
dhcp-option=wl1.1,6,1.1.1.1,1.0.0.1

I'm not sure if its a good idea to unbridge the virtual interface and assign a network directly to it - any thoughts on that?

Otherwise config seems to work fine.



Screenshot 2019-04-21 at 18.21.02.png
 Description:
 Filesize:  57.86 KB
 Viewed:  3748 Time(s)

Screenshot 2019-04-21 at 18.21.02.png



Screenshot 2019-04-21 at 18.20.43.png
 Description:
 Filesize:  113.26 KB
 Viewed:  3748 Time(s)

Screenshot 2019-04-21 at 18.20.43.png



nvram_dump2.txt
 Description:

Download
 Filename:  nvram_dump2.txt
 Filesize:  33.29 KB
 Downloaded:  217 Time(s)

egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Sun Apr 21, 2019 18:02    Post subject: Reply with quote
What you describe is the "modern" way
I am doing that.
But creating a bridge should also work but you need the VAP workaround
Although the latest build should be better

_________________
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: 6865
Location: Romerike, Norway

PostPosted: Sun Apr 21, 2019 18:14    Post subject: Reply with quote
Get a newer build. This build have reported VAP problems.

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=317035&postdays=0&postorder=asc&start=18

ftp://ftp.dd-wrt.com/betas/2019/

The latest build is 39572.
cmu2808
DD-WRT Novice


Joined: 20 Apr 2019
Posts: 5

PostPosted: Sun Apr 21, 2019 18:25    Post subject: Reply with quote
Thanks! Yea will give that a try, but not sure if my router is compatible with 39572.

I've already found a problem with this config by the way. After a reboot, guest wifi doesn't connect until you go on to the wireless page and hit Apply Settings without changing any config.
cmu2808
DD-WRT Novice


Joined: 20 Apr 2019
Posts: 5

PostPosted: Sun Apr 21, 2019 19:05    Post subject: Reply with quote
Fyi...

Installed the new version... odd after reboot connection issue is no longer on guest wifi.

Thanks for your help.
khalfdan
DD-WRT Novice


Joined: 08 Sep 2022
Posts: 23

PostPosted: Wed Sep 28, 2022 19:41    Post subject: Reply with quote
necro thread, I know, just curious and best match on search Smile

I am running into same issue but with much newer build (44715 on Netgear R7000).

Pretty much same procedure:
create wl0.1 and wl1.1 (2.4 and 5 GHz)
create security
create br1
create DHCP instance and separate subnet

--> at this point all good: able to connect to wl0.1/wl1.1 as expected

assign wl0.1 and wl1.1 to br1

--> this breaks it, no longer able to connect

went back and forth a bit trying different things. Interestingly, the virtual wifi remains broken even though I reassign them to br0 instead of br1. Only when I finally delete their entries from the bridge assignment table entirely do things start working again.

This is v. odd and keeping me from establishing a wifi sandbox for IoT devices, so any advice would be much appreciated (rather obviously a newer build as suggested in 2019 has not solved my problems)
Thanks
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Wed Sep 28, 2022 20:09    Post subject: Reply with quote
Your build is old and outdated with known security vulnerabilities.

Updating to a current build e.g. 50274 is highly recommended.

*After* updating reset to defaults and put settings in manually never restore from a backup ( to a different 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
khalfdan
DD-WRT Novice


Joined: 08 Sep 2022
Posts: 23

PostPosted: Thu Sep 29, 2022 4:26    Post subject: Reply with quote
alright thank you for your input I will do that. Do you think updating will have any bearing on my issue? thanks
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5690

PostPosted: Thu Sep 29, 2022 4:36    Post subject: Reply with quote
Yes.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12875
Location: Netherlands

PostPosted: Thu Sep 29, 2022 6:56    Post subject: Reply with quote
see: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=332997

As this thread is in the wrong forum I will move this thread to the appropriate forum see:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087

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


Joined: 08 Sep 2022
Posts: 23

PostPosted: Tue Oct 11, 2022 16:53    Post subject: vap issues newer build Reply with quote
just following up on the above, updated to build 50357 (netgear r7000) which handily fixed most of my issues concerning vaps. However I have had to disable the virtual wireless again as having it enabled seemed to make normal wifi very unstable (or rather to make it restart every couple of minutes, dropping the connection, coming back and requesting passkey again).
I am wondering if that has to do with my router being old(ish) and resource constrained or some underlying issue in ddwrt that I still haven't addressed?
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5690

PostPosted: Tue Oct 11, 2022 16:59    Post subject: Reply with quote
Did you reconfigure manually after webUI administration factory defaults or telnet as root 'nvram erase && reboot'?

Last edited by blkt on Tue Oct 11, 2022 17:00; edited 1 time in total
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum