LAN Ports problems TL-WR740Nv4 DD-WRT v24-sp2 18777

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6
Author Message
kernel-panic69
DD-WRT Guru


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

PostPosted: Fri Jun 19, 2020 17:55    Post subject: Reply with quote
This is the response I was given when I inquired yesterday:
Quote:
these issues are very old and i have multiple of such routers running

That being said: Has anyone provided troubleshooting debug information via syslog, dmesg, serial console output? I provided the only information I could find that might be suspect in the public svn repository in the previously mentioned ticket. This is the last comment from the ticket, ~8 hours ago:
Quote:
the forwarding issue is fixed since many months.

Flash today's build(06-19-2020-r43471), test, report in the build thread and provide concise proof both in the build thread and on the ticket.

If nobody is participating in testing and reporting on these devices, then the issue is not an issue that will get any attention. I am pretty sure that the 4MB flash devices in this family of TP-Link routers don't support 802.11q VLAN tagging, but if they do, then whatever magic voodoo is required to get it to work has not been shared.

To be honest, complaining about an issue without offering anything other than complaining is not helpful to this situation. I don't have any of these devices in working condition in the shop at present to do anything with and I'm not going to take one out of service for this.

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


Joined: 25 Mar 2020
Posts: 26

PostPosted: Mon Jun 22, 2020 7:54    Post subject: Reply with quote
kernel-panic69 wrote:
This is the response I was given when I inquired yesterday:
Quote:
these issues are very old and i have multiple of such routers running

That being said: Has anyone provided troubleshooting debug information via syslog, dmesg, serial console output? I provided the only information I could find that might be suspect in the public svn repository in the previously mentioned ticket


Do you have any suggestions on how to provide any meaningful feedback? dmesg is empty probably due to 4MB flash, syslog doesn't mention anything besides daemons running, wireless stuff and NTP. I don't have a serial console output available.
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Jun 22, 2020 13:02    Post subject: Reply with quote
You will have to open the router and install the header for serial console access and get a USB-TTL UART adapter cable to get serial console output. I suspect part of the issue is a K3.x kernel using a K4.x driver, still need to look deeper into the older K3.x code to see if I can make sense of things. Perhaps some of the back-ported patches to the kernel caused issues, who knows.
_________________
"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
dexterv
DD-WRT Novice


Joined: 25 Mar 2020
Posts: 26

PostPosted: Tue Jun 23, 2020 10:30    Post subject: Reply with quote
Well I have investigated on a previous build the switch and I found a weird discrepency between the swconfig output and the nvram data on my WR740N v4. I will check that this is the case in the 43471 build.
The swconfig gives:
Code:
lobal attributes:
   enable_vlan: 1
Port 0:
   pvid: 1
   link: port:0 link:up speed:1000baseT full-duplex txflow rxflow
Port 1:
   pvid: 1
   link: port:1 link:up speed:100baseT full-duplex auto
Port 2:
   pvid: 1
   link: port:2 link:up speed:100baseT full-duplex auto
Port 3:
   pvid: 1
   link: port:3 link:down
Port 4:
   pvid: 1
   link: port:4 link:down
VLAN 1:
   vid: 1
   ports: 0 1 2 3 4


The nvram grep gives:
Code:

nvram show | grep port.vlans
size: 18016 bytes (47520 left)
port5vlans=1 2 16
port4vlans=1
ping_ip=nvram show | grep port.vlans
port3vlans=1
port2vlans=1
port1vlans=1
port0vlans=2

nvram show | grep vlan.*ports | sort
size: 18016 bytes (47520 left)
ping_ip=nvram show | grep vlan.ports
vlan1ports=0 5
vlan0ports=1 2 3 4 5*

nvram show | grep vlan.hwname
size: 18017 bytes (47519 left)
ping_ip=nvram show | grep vlan.hwname
vlan0hwname=et0
vlan1hwname=et0


Which at the least has a numbering issue, in the nvram the two vlans are fine, but looking at port.vlans the numbering is from 1 instead of 0. swconfig shows less ports than those in nvram and I cannot wrap my head around it.
kernel-panic69
DD-WRT Guru


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

PostPosted: Tue Jun 23, 2020 15:44    Post subject: Reply with quote
The nvram data is a carryover from Broadcom and does not apply, if I am not mistaken. That is where a lot of confusion resides.
_________________
"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
kernel-panic69
DD-WRT Guru


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

PostPosted: Fri Jun 26, 2020 0:37    Post subject: Reply with quote
This is what my startup script is on a newly-acquired TL-WR940v3 is, and disabling firewall on win10, I can ping back and forth across the switch without issue.
Code:
sleep 10
swconfig dev switch0 set reset 1
swconfig dev switch0 set enable_vlan 1
swconfig dev eth0 set enable_vlan 1
swconfig dev switch0 set apply
swconfig dev eth0 set apply

As far as multiple vlans, that is another story on how to configure, but for all intents and purposes, this issue is and has been fixed. It was actually working for me just fine with 36330, BEFORE the "fixes", and I am wondering if the "fixes" screwed up 802.1q or not.

_________________
"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
Goto page Previous  1, 2, 3, 4, 5, 6 Display posts from previous:    Page 6 of 6
Post new topic   This topic is locked: you cannot edit posts or make replies.    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