OpenWrt for Zyxel WSM20 (Multy M1) development discussion

do not flash anything, i'm busy now .

1 Like

You guys are amazing. I am nowhere near your level but it's cool watching you work!

1 Like

Have you installed it on RAM not on flash, right?

I told you, in two or three posts ...

that was not an initram image at all, ramboot confused me.
@Annick have you try all the port on the switch, all working? wan is working as wan or lan?

for network ports

case marking -> ... ... ...

WAN -> br-lan: port 1 (lan1)
LAN 1 -> br-lan: port 2 (lan2)
LAN 2 -> br-lan: port 3 (lan3)
LAN3 -> nothing

no wifi ...

no @Annick i do not understand that. before you bridge teh wan port to lan is it working as wan?

edit ok now i get

are you sure it's not working as wan port3? lan3?

try to change the gatway from 192.168.1.1 to 192.168.2.1 and connect that port to main router

or use any other router so you make sure you do not get any address on wan

or way easy can we get the zyxel DTS?

for dts -> dtc ....

i search always login / pssword in normal mode

so you are sure that port3 lan3 is not working as wan?

I have found for u-boot


root@(none):/overlay/upper/etc# fw_printenv
bootcmd=mtkautoboot
bootmenu_0=Startup system (Default)=mtkboardboot
bootmenu_1=Upgrade firmware=mtkupgrade fw
bootmenu_2=Upgrade bootloader=mtkupgrade bl
bootmenu_3=Upgrade bootloader (advanced mode)=mtkupgrade bladv
bootmenu_4=Load image=mtkload
bootmenu_5=Upgrade mtkfirmware=mtkupgrade mtkfw
fdtcontroladdr=8ffeb890
ipaddr=10.10.10.123
serverip=10.10.10.3
stdin=serial
stdout=serial
stderr=serial
serialnum=S220Y42107175
countrycode=E1
ethaddr=D4:1A:D1:18:D0:BC
wifiwpapsk=TK9APTPEATA7A
bootmenu_delay=0

root@(none):/overlay/upper/etc# fw_setenv
root@(none):/overlay/upper/etc# fw_setenv autoboot=50
root@(none):/overlay/upper/etc# fw_setenv bootmenu_delay=50
root@(none):/overlay/upper/etc# reboot -f

wait a bit i need turn on my pc to start understand things

you can try now

A surprise for the developers inside:

sorry i cannot run dtc for generate a dts file because firmware OEM is not with opkg

for connect ssh / WinSCP

start in safe mode -> f
mount_root
ifconfig eth0 10.10.10.1
paswd -> Enter , Enter
dropbear
you can use SCP -> 10.10.10.1 -> login : root , password ENTER


tftp recovery:

key 2
ip
ip
file: firmware ( in mega.nz )

2 Likes

how we should make partitions here?
@frollic do you have an idea?

Compare with your initram file ( zyxel nwa50ax )


root@OpenWrt:/#
root@OpenWrt:/# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00080000 00020000 "u-boot"
mtd1: 00080000 00020000 "u-boot-env"
mtd2: 00080000 00020000 "factory"
mtd3: 02800000 00020000 "firmware"
mtd4: 00800000 00020000 "kernel"
mtd5: 02000000 00020000 "ubi"
mtd6: 02800000 00020000 "zy_firmware_1"
mtd7: 01400000 00020000 "zy_rootfs_data"
mtd8: 00d00000 00020000 "zy_logs"
mtd9: 00480000 00020000 "myzyxel"
mtd10: 00080000 00020000 "bootconfig"
mtd11: 00080000 00020000 "mrd"
root@OpenWrt:/#

I have received an email, supposedly this evening my ZyXEL are arriving, lets go :slight_smile:

Where have you found this? Have you downloaded it from your flash chip?

Yes

It would be nice if it was possible to generate a dts file
unfortunately there is no opkg to install a compatible dtc 17.01

@Annick looks like mtd partitions of zyxel NR7101 looks more similar, you can start from that, note that device have a 5g modem inside, so that need be cut out.

we already mapped the switch right.

i think another device to take a look is the RT1800