DHCP / Wi-Fi not working

Post new topic   Reply to topic    DD-WRT Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Author Message
NoGool4g
DD-WRT Novice


Joined: 12 Nov 2021
Posts: 13

PostPosted: Mon May 15, 2023 9:18    Post subject: DHCP / Wi-Fi not working Reply with quote
Hello,

On a WRT3200 ACM with r51741 which has been installed for a while, I can't get the Wi-Fi / DHCP. My regular computer is connected with cable to the router. I can reach the router if I set a static IP, but not DHCP.

I upgraded to r52569 but this did not help.

I noticed these ones after I tried to add a new virtual AP:

Code:
[  522.122344] br0: port 6(wlan0) entered blocking state
[  522.127421] br0: port 6(wlan0) entered forwarding state
[  534.376435] br0: port 2(wlan2) entered disabled state
[  539.405942] br0: port 2(wlan2) entered blocking state
[  539.411020] br0: port 2(wlan2) entered forwarding state
[  539.419567] br0: port 7(wlan2.1) entered blocking state
[  539.424832] br0: port 7(wlan2.1) entered disabled state
[  539.430219] device wlan2.1 entered promiscuous mode
[  539.435371] br0: port 7(wlan2.1) entered blocking state
[  539.435373] br0: port 7(wlan2.1) entered forwarding state
[  539.469481] br0: port 8(wlan2.2) entered blocking state
[  539.474790] br0: port 8(wlan2.2) entered disabled state
[  539.480178] device wlan2.2 entered promiscuous mode
[  539.485317] br0: port 8(wlan2.2) entered blocking state
[  539.485320] br0: port 8(wlan2.2) entered forwarding state
[  539.527146] mwifiex_sdio mmc0:0001:1: cannot create multiple AP ifaces
[  539.550195] br0: port 8(wlan2.2) entered disabled state
[  539.555839] device wlan2.2 left promiscuous mode
[  539.560478] br0: port 8(wlan2.2) entered disabled state
[  539.609660] br0: port 7(wlan2.1) entered disabled state
[  539.615393] device wlan2.1 left promiscuous mode
[  539.621060] br0: port 7(wlan2.1) entered disabled state
[  540.492349] br0: port 2(wlan2) entered disabled state



Any clue?

Cheers Rolling Eyes
Sponsor
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1952

PostPosted: Mon May 15, 2023 9:35    Post subject: Reply with quote
The wlan2 (previously named ath2) interface is for DFS detection and should be disabled.

DD-WRT Installation, Upgrade & Basic Setup–Cliff Notes wrote:
Note: The WRT3200ACM Firmware has a third WLAN (ath2). While some have had limited success enabling it it is recommended that it be Disabled. It was intended for DFS Radar Detection.

_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
NoGool4g
DD-WRT Novice


Joined: 12 Nov 2021
Posts: 13

PostPosted: Mon May 15, 2023 15:11    Post subject: Reply with quote
Thanks a lot for your reply. I have disabled it. I have created again new Virtual APs. The connection goes fine, but here, the DHCP fails. I had a 169* address. I switched to static in the configuration of the cellphone, and it was fine.

The computer connected with cable also needs to have a static adress.

ps | grep dhc gives me the following:


Code:
 3100 root      1268 S    udhcpc -i eth0 -p /var/run/udhcpc.pid -s /tmp/dhcpc -O routes -O msstaticroutes -O staticroutes -x hostname:WRT3200ACM
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1952

PostPosted: Mon May 15, 2023 15:45    Post subject: Reply with quote
Could possibly be some settings amiss. Screenshots may help. Keep in mind that the dhcp server for LAN is dnsmasq.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Tue May 16, 2023 1:15    Post subject: Reply with quote
Rebuild WRT3200ACM configuration manually from scratch after reset, factory defaults or nvram erase && reboot.
NoGool4g
DD-WRT Novice


Joined: 12 Nov 2021
Posts: 13

PostPosted: Mon May 22, 2023 17:17    Post subject: Reply with quote
dale_gribble39 wrote:
Could possibly be some settings amiss. Screenshots may help. Keep in mind that the dhcp server for LAN is dnsmasq.


Thanks for your reply. The thing here is that I did not change anything for a while. All has been very stable.



Here is a screenshot. Are other screenshots from other pages helpful as well?
NoGool4g
DD-WRT Novice


Joined: 12 Nov 2021
Posts: 13

PostPosted: Mon May 22, 2023 17:18    Post subject: Reply with quote
blkt wrote:
Rebuild WRT3200ACM configuration manually from scratch after reset, factory defaults or nvram erase && reboot.


Thanks for your reply. This will be fun... but looks like necessary. Confused
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon May 22, 2023 17:28    Post subject: Reply with quote
Are you using a Pi-hole with a static IP address set?

Sticky: use Pi-Hole as simple DNS-Server with DD-WRT

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


Joined: 12 Nov 2021
Posts: 13

PostPosted: Thu Aug 10, 2023 19:26    Post subject: Reply with quote
kernel-panic69 wrote:
Are you using a Pi-hole with a static IP address set?

Sticky: use Pi-Hole as simple DNS-Server with DD-WRT


Sorry for the late reply. Using a static IP address.

I am about to reset the nvram. I would like to use the nvram command to set back the most important settings in place. I have many subnets that I want block as soon as possible. As there are several lines (much more than these), how should the command look like to be run in a "copy/paste" prior the commit?

Code:
rc_firewall=iptables -t filter -I FORWARD 1 --destination 8.8.4.0/24 -j DROP
iptables -t filter -I FORWARD 1 --destination 8.8.8.0/24 -j DROP
iptables -t filter -I FORWARD 1 --destination 8.34.208.0/20 -j DROP
iptables -t filter -I FORWARD 1 --destination 8.35.192.0/20 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.164.145.0/24 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.33.0/24 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.34.0/23 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.36.0/24 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.40.0/21 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.48.0/21 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.60.0/23 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.227.62.0/24 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.228.128.0/18 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.236.48.0/20 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.251.128.0/19 -j DROP
iptables -t filter -I FORWARD 1 --destination 23.255.128.0/17 -j DROP
iptables -t filter -I FORWARD 1 --destination 34.64.0.0/10 -j DROP
iptables -t filter -I FORWARD 1 --destination 34.128.0.0/10 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.184.0.0/13 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.192.0.0/14 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.196.0.0/15 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.198.0.0/16 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.199.0.0/17 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.199.128.0/18 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.200.0.0/13 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.208.0.0/12 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.224.0.0/12 -j DROP
iptables -t filter -I FORWARD 1 --destination 35.240.0.0/13 -j DROP


Thanks for your help. Smile
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12908
Location: Netherlands

PostPosted: Fri Aug 11, 2023 5:53    Post subject: Reply with quote
Copy those and save in a text file and put them back in Administration > Commands and Save as Firewall
_________________
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 -> Marvell MVEBU based Hardware (WRT1900AC etc.) 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