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
Switch settings wrong on WR902AC #10057
Comments
It is also possible that this particular swconfig driver does not support mixing tagged and untagged operation on a port. |
Additional info: The problem also exists on my other device with plain OpenWRT 19.07.9. So if it's a driver issue (how can I figure this out) - in which repo do I need to create the issue? |
This is the repo. Unfortunately, there's not much that can be done. The ethernet driver is a hacked up version originating from Mediatek. For mt7621, the upstream DSA ethernet driver is used as it is less buggy and better maintained. For mt7628, I believe there is some support upstream for mt7628 and DSA. I don't know its status completely. Maybe someone knows more. |
CPU: MediaTek MT7621AT Flash: Micron MT29F2G08ABAGAWP 128M RAM: 256 M WiFi: MT7915 2.4/5 GHz 2T2R Ethernet: 10/100/1000 Mbps x3 LED: Status (red / blue / white / green / purple / cyan) USB: 2.0 x 1 ZigBee/BlueTooth USB Audio: iec958 x 1 Button: Reset Power: DC 12V,1.5A 开启ssh方法: 打开网页:192.168.10.1,用户路由器底面标注的用户名密码完成登陆。 然后打开网页:http://192.168.10.1/cgi-bin/luci/admin/mtk/console,在命令行中输入以下命令: echo -en "root\nroot\n" | passwd 然后打开网页:http://192.168.10.1/cgi-bin/luci/pti/ssh_open 即可ssh登陆192.168.10.1,用户名root,密码root 刷入openwrt: 开启ssh后,上传breed-mt7621-xiaomi-r3g.bin到路由器/tmp目录。 然后使用下面命令刷入breed: mtd -r write /tmp/breed-mt7621-xiaomi-r3g.bin Bootloader 等待机器重启,等1分钟断开电源。 按住C-Life XG1机身正面的圆形IoT按钮(gpio 18),通电就能进入breed刷机.
Hello,
I am reposting openwrt/mt76#678 at this place since ihave read in a different issue in the mt76 that switch settings does belong in the main repo. Please let me know what the correct place is, I'll close the other issue then.
--
I'm analyzing an issue with a "freifunk" firmware based on OpenWRT 21.02. The problem is that a switch setting is not applied correctly on my WR902AC.
I can reproduce it with the following commands:
The result I expect is that VLAN 1062 is tagged on both ports and VLAN 1 is tagged in port 6 only and untagged on port 4. But the result is:
When I swap the
swconfig dev switch0 vlan
commands, the result isSo it seems that the port config of the last command is copied to all VLAN ids.
To be sure that it is not causes by the high VLAN id, I tried it with VLAN 9 instead of 1062 - results are the same.
The text was updated successfully, but these errors were encountered: