Posted: Fri Jan 21, 2022 9:10 Post subject: Wifi keeps dropping after adding secondary bridge/dhcp
Hi,
I have a Dlink DIR-878 A1 with this firmware: DD-WRT v3.0-r44715 std (11/03/20)
Ever-since i added a secondary bridge/dhcp server on it, my Wifi keeps dropping and refreshing. It's not a killer issue, but when i am watching a movie from my home server or i am working on the company laptop via VPN, reconnecting can take time which i don't hae to spare.
Watching the logs i keep seeing this:
Jan 21 10:22:42 Papoy kern.info kernel: br0: port 2(ath0) entered disabled state
Jan 21 10:22:42 Papoy kern.info kernel: device ath0.1 left promiscuous mode
Jan 21 10:22:42 Papoy kern.info kernel: br1: port 1(ath0.1) entered disabled state
Jan 21 10:22:42 Papoy kern.info kernel: device eth0 left promiscuous mode
Jan 21 10:22:42 Papoy kern.info kernel: device br0 entered promiscuous mode
Jan 21 10:22:42 Papoy kern.info kernel: br0: port 1(vlan1) entered blocking state
Jan 21 10:22:42 Papoy kern.info kernel: br0: port 1(vlan1) entered disabled state
Was something i was supposed to do and i didn't? Please let me know what other info to provide if you could help
The tutorial said to place this in the Startup script area:
# block anything that falls through (just a precaution)
iptables -I FORWARD -i br+ -o br+ -j DROP
# deny iot network access to any other networks
iptables -I FORWARD -i br1 -o br+ -j ACCEPT
# allow private network access to any other networks
iptables -I FORWARD -i br0 -o br+ -j ACCEPT
# push RELATED/ESTABLISHED rule back to top of chain
iptables -D FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -I FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
Second, please take a few moments to read the forum rules and guidelines. The router database is not updated, and shouldn't be used for more than a reference:
Wow! I know i cannot apologize for being ignorant, but i'm not going to pretend otherwise either
Thank you and i will be back after i read more and update it with the apropiate version
Joined: 08 May 2018 Posts: 14247 Location: Texas, USA
Posted: Fri Jan 21, 2022 19:14 Post subject:
Also, keep in mind that Ralink/MediaTek does not use the switch config tab to configure VLANs on the switch. You have to use the swconfig utility. Of course, you have to figure out your specific interface names, etc, but there is a sticky about vlans:
Alright, so i managed to update the firmware to latest ver and that seems to have solved the WiFi drop issue.
Thank you for all advices. It seems to be working working with VLAN settings made previously on Switch config tab...mostly, because I can see some RX packets dropped varying between 1-10% of traffic.
My problem is that even if i look at that vlan sticky page, i do not understand sufficiently to adapt it to my configuration, so i guess i will leave it like this and will add one more course on my list to start learning Linux in the future