New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS#843 - Switch port order reversed on TL-WR740N (v2.5) #5812
Comments
jow-: Please list which internal swconfig port corrsponds to which port on the enclosure, something like: 0 => 4 But please do not guess but test the ports by plugging a cable and observing the link state. |
mikabak: swconfig maps correctly to the ports on the enclosure like this: 0=>cpu The switch is at eth0 and the WAN port (eth1) is not part of the switch. In LuCI however the port order is reversed like this: cpu(eth0)=>cpu |
pepe2k: Hello @mikabak, I have a fix in my staging tree: Images (built is based on my staging tree, with LuCi included) are available here: Could you please test and confirm that the mapping is now correct? Thanks! |
mikabak: Hi Piotr, Thanks for taking the time to fix this. When I go to Switch menu in LuCi I get this message on the top of the page: The port labeling in LuCi is still wrong but different from before: Port1 -> cpu Seem to me that this firmware image believes that this switch has more ports than it actually has. Please note that the WAN port on this device is not part of the switch. The output from swconfig is the same as before and seems ok to me: swconfig dev eth0 showGlobal attributes: |
pepe2k: Hello @mikabak, Please, try snapshot image as the fix was already pushed to master branch. Just make sure to use "sysupgrade -n" (without configuration preserved) and install LuCi manually after flash (snapshot images don't include LuCi). Cheers, |
mikabak: Hi Piotr, I installed the latest snapshot from 10th July and I did reset the configuration to defaut in the process as you told me to. Unfortunately I was not able to install LuCi. I got error message "No space left on device". "swconfig dev eth0 show" output is still correct. Seems I need to compile an image by myself or wait for a release in order to test LuCi on this device. |
mikabak: Piotr, I managed to make an image with LuCi on it with the image builder from snapshot. For the record this is how I built it: I copied the sysupgrade image to /tmp on the device then I ran: It was successful and I could login with ssh and browser. On this image the port mappings are correct (swconfig and LuCi). Thank you very much! |
pepe2k: Hello @mikabak, Thanks for feedback, I will backport the fix to 17.01 branch. Cheers, |
mikabak:
After upgrading from OpenWrt Chaos Calmer 15.05.1 to LEDE i noticed that the switch port order has been reversed. In OpenWrt the switch port order was correct on this device.
Device problem occurs on
TP-Link TL-WR740N hardware version 2.5
Software versions of LEDE release, packages, etc.
LEDE Reboot 17.01.2 r3435-65eec8bd5f
Firmware for model: TP-Link TL-WR740N/ND v1
Steps to reproduce
Go to menu Switch and the error is obvious
The text was updated successfully, but these errors were encountered: