Hsa anyone done any digging into the hasivo switch range and getting OpenWRT on them?
I've just grabbed the S1100WP-8GT-SE since it was a great price for 2.5GbE w/ PoE.
Now that it's arrived (from AliExpress) i'm very impressed with the overall build quality. Nice robust metal housing.
It's apparently got a Realtek controller (although currently under a heatsink, and I haven't tried pulling it off). And HS104PTI PoE chips (2 off).
It looks like it has an unpopulated RS232 port on the front left (looks to be both 1x4 pins, and an RJ45 8p8c footprint), and a number of 1x4 pin sockets around the board, so I expect one of them is a TTL/CMOS serial port (although I might go the RS232 option first.. I suspect it's a CLI console however, so wouldn't expose firmware secrets).
The web page on the device lists some details as:
Loader Version HS_3.6.6.55087
Loader Date Dec 11 2021 - 18:17:40
Firmware Version HS_1.0.0.0
Firmware Date Jul 30 2022 - 16:53:57
The web interface is basic, but feels quite snappy. I'm still pretty impressed for the price of it.
I think I can now see the price drawback... it runs very hot.
With just a single 1Gbps connection, no real throughput and the underside of the case was uncomfortable to hold. Will be interesting to see how it goes.
I haven't been able to get that far. I did find a tool for the Zyxel firmware that also seemed to open up this image file, with a little lzma help (https://github.com/cmsj/gs1900fw).
That helped to extract the initramfs, so can confirm it's running Linux 3.18.24 flavour.
I haven't yet been able to find anything that might be a dtb or similar however (but perhaps I just don't know where to look, happy for guidance on this).
There is a file in the initramfs /etc/ called oem_config which starts with "!!!9301 oem", and mentions "sysname: 8-Port-10G-Managed-Switch"
Which has me wondering if it may be a Realtek 930x family controller.
I still haven't had any luck getting linux boot info however.
If I dumped out the SPI flash, is there an easy way to get some of the linux info?
My thoughts are something like QEMU might be possible to get the firmware running outside of the hardware (there's no JTAG connections I can identify on the board, and no shell serial.. just the switch admin console serial).
Small steps...
I soldered an RJ45 onto the missing console port on the front of the unit.. hooked up an RS232 Cisco style console cable and got the following on boot
When I use ESC to stop autoboot and try to get into uboot terminal, I'm prompted for a 'password'.
i've tried basic example passwords from uboot source, tried 'hasivo'... i'm open to other options.
Not sure I want to setup a brute force attempt... open to pointers on finding the password.
Hit Esc key to stop autoboot: 0
################################################################
############Login Menu ############
### You Can Use 'CTRL + Z' to reset. ###
### Please input uboot password below: ###
If I let the boot continue into linux, then the 'admin':'admin' login works, but drops me to the switch config console (not a linux shell).
I've tried (in uboot prompt) the password 'admin123' which was listed in the oem_config file. But this wasn't accepted.
Uboot password seems the best option right now, it would allow me to tftp to save the current firmware, and to tftp new firmware in. I'd also hope it might let me alter what the shell assigned to the admin user is (or even to log in as root).
Port scan only revealed HTTP out of the box.
From the HTTP interface however it was possible to enable HTTP, SSH and TELNET.
However both SSH and TELNET went to the switch config console.
I didn't see any comments around dropping to shell in the help of the config console. But I'll try throwing a few of those at it when I get home.
I tried 'Shell', 'shell', 's', 'S', 'vtysh_start_shell_cmd' in all the various modes for the switch config console.. none appeared to be recognised.
I also tried some that appear in the Zyxel / Realtek SDK versions, like 'diag' etc
The do command looked promising. But didn't seem to know about anything