No network on LAN ports TP-Link TL-WR940N v6.1

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


Joined: 19 May 2020
Posts: 3

PostPosted: Tue May 19, 2020 10:38    Post subject: No network on LAN ports TP-Link TL-WR940N v6.1 Reply with quote
Hi Guys,
I know there are a few topics about things like this one but none of the solutions mentioned there have solved my problem. I'll try my best explaining everything.

So, I have a TP-Link TL-WR940N v6.1 router. I just installed the latest (r43171) firmware on it (coming from factory one).

My setup would be: I have a main modem router from the ISP which serves as the DHCP server. Then it's connected to a next router which is in AP mode (DHCP off). From there it goes to a few more routers that are in AP mode (DHCP off) including this one.
The setup perfectly worked with all stock firmwares (the others are still on it,) I'm not completely dumb in IT.

DD-WRT settings (also attached screenshots):
-WAN Connection Type: Disabled
-Gateway, Local DNS set to main router's IP
-DHCP off (also DNSMasq, left DHCP-Authoritative on)
-Operating mode: tried Gateway and Router too (I've read it's better to leave it Gateway)
-2nd router connected to a LAN port and also some devices (to others)

My PROBLEM is:
With the setup mentioned above, the Wireless network works perfectly, but no network available on LAN. It seems like the devices don't get the DHCP config.
I played around with the Switch Config/VLAN (that table with the tickable boxes), I've read that it should solve the problem with all ticks in VLAN 1 with Bridged to None.
In this case I have network on the LAN ports but the same on Wi-Fi as before on LAN, and also I cannot reach the router GUI from the other router's Wi-Fi.
(If I set my computer's IP on the DD-WRT's WLAN manually, I can reach the GUI.)

I also tried:
Code:
swconfig dev eth0 set enable_vlan 1
swconfig dev eth0 set apply

and the same with "switch0" but I have not noticed any change.

Any suggestion is appreciated.
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue May 19, 2020 14:44    Post subject: Reply with quote
Your AP routers should be in router mode, and you should uncheck DHCP authoritative, to begin with. Did you follow the wiki?

https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers

https://wiki.dd-wrt.com/wiki/index.php/Wireless_access_point

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


Joined: 19 May 2020
Posts: 3

PostPosted: Fri Jun 12, 2020 10:38    Post subject: Reply with quote
kernel-panic69 wrote:
Your AP routers should be in router mode, and you should uncheck DHCP authoritative, to begin with. Did you follow the wiki?

https://wiki.dd-wrt.com/wiki/index.php/Linking_Routers

https://wiki.dd-wrt.com/wiki/index.php/Wireless_access_point

Sorry for the late reply, I just had some time to play around with it.
Thank you for your suggestions!
I tried it in router mode too, (it did not make any changes I could notice) but I've read, it can cause more problems then use.
Since then I disabled DHCP authoritative but did not help either.
I did not follow the articles you sent, but my setup was close enough, either those corrections weren't enough...
veghmark97
DD-WRT Novice


Joined: 19 May 2020
Posts: 3

PostPosted: Fri Jun 12, 2020 10:44    Post subject: Reply with quote
eibgrad wrote:
When using that swconfig snippet, sometimes it's eth1, not eth0. Depends on the hardware. That's why I usually recommend the following code, which checks using brctl.

Code:
LAN_IF="$(brctl showstp br0 | grep -Eom1 "^eth[0-9]")"
swconfig dev $LAN_IF set enable_vlan 1
swconfig dev $LAN_IF set apply

Sorry for the late reply, I just had some time to play around with it.
Thank you for your suggestions!
I looked it up with "swconfig list" earlier but it also gives some error with eth1 for me.
I also tried the code you sent me but it did not help either....

One weird thing I noticed is in router model it says "TP-Link TL-WR940ND v4/v5" whereas mine is v6. ..But I installed the correct v6 firmware on it (and also the v6 updates several times).
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