Hi, can someone recommend a realtek-based 24 or 48-port switch with PoE, with working openwrt support in master branch, where price isn't especially an object, 2.5Gbps+ and SFP+ sockets are desirable. This is to recommend for a grant.
Plasmacloud PSX28 has 24x2.5G with 4x SFP+, apart from that there are some others like Linksys LGS328MPC/LGS352MPC (latter not officially supported, but easily doable) but they just have 1G ports then.
The Ubiquiti UniFi USW Pro Max 24 PoE I merged yesterday has 8x 1G PoE+, 8x 1G PoE++, 8x 2.5G PoE++ and 2x SFP+. The Pro Max 48 PoE might be the bigger variant of this with double that, but I'm not sure whether this uses 931x then or two cascaded 930x (never really looked into that cascaded setup yet).
I gave it a try and replaced bootcmd = 'rtk network on;boota' with bootcmd = 'boota'
After rebooting the switches, they are still accessible through the trunk - but all of the other connections are dead: untagged ports, tagged ports with one VLAN as well as other trunk ports with multiple VLANs.
Ports are up, but no traffic - including traffic to the switch itself.
I did a "reset to defaults" ending up with all ports untagged in VLAN 1.
This was even worse, because no network connectivity at all.
Then I did a fw_setenv 'rtk network on;boota' via serial connection and the switch is back as it should.
# strings uboot-ecs-2100.bin
...
passwd
sethwinfo
saveenv
format
sf write
sf erase
sf updatenand
abcdefghijklmnopqrstuvwxyz1234567890
acctonruntime
Permission denied.
Operation is not allowed.
New password:
Illegal password.
Retype New password:
Password does not match.
Password is changed successfully.
Password :
melzui5r
Incorrect Password.
Privileged mode is enabled.
boardmodel
RTL8382M_8218B_INTPHY_8218B_8214FC_DEMO
setenv boardmodel 'RTL8382M_8218B_INTPHY_8218B_8214FC_DEMO
RTL8380M_INTPHY_2FIB_1G_DEMO
setenv boardmodel 'RTL8380M_INTPHY_2FIB_1G_DEMO
reset
mtdparts
Just did a test on my XGS1210-12 and 1250-12, A1 though. From the PCS side everything should be fine. At least the 8 1G ports should work, otherwise it would be broken for me too. Same for fiber modules on the SFP ports.
I repeated the test with the unmodified sysupgrade image from todays devel snapshot.
After poking around, the results are like this:
with bootcmd rtk network on;boota the network of the switch is working as expected
with bootcmd boota the ports are up, but no connection is possible on each of the 1G ports.
the 10G ports connect perfectly well (this is why my switches were reachable after I tried the first time without rtk network on. I thought, the reason for this was because they are configured as trunks),
I think each model has is own password. They might have modified U-Boot to have two levels of privileges. The normal password might be an unsalted sha256 while the enable could be that plaintext melzui5r. Just the code can tell.
I checked the repo you mentioned but I couldn't find one with U-Boot to extract `uboot-ecs-2100.bin`. BTW, I opened an issue in that project last year (I didn't remember) to inform the magic key to stop U-Boot Is ctrl+u, or \x15.
Anyway, I'll check the firmware I have for the newer version to find out how they autenticate. It night be the same.
The flash dump of the ECS2100 (-10P and -28P) has the password: passwd=melzlntn
Unfortunately running screen -S edge -X stuff $'\x0b\x15' does not stop the boot timer countdown.
Edit: must be something wrong with the command, because ctrl+u in Minicom does stop the boot countdown. Unfortunately though, the password melzlntn does not work and the device resets.