This old friend of mine having way to small partitions, so to update sing-box (30+mb!) I tried to move some heavy libs from /usr/lib over to my usb drive.
Appears, I’ve moved some crypto libs which is a must for proper OpenWRT work, so I ruined my current openwrt and after reboot it went to safe mode (with 192.168.1.1 ip)
I was able to change boot partition to second one where I have a bit outdated Openwrt. So far so good, dual-boot rocks!
I was trying to mount my secondary partition to “fix” removed libs with following commads:
ubiattach -p /dev/mtd6 and then mount it with mount -t ubifs ubi3:rootfs_data /mnt/extroot/ubi
appears, I’ve re-mounted all mtd blocks and that was my mistake… everything on /overlay disappears so I wanted to start over and… reboot my device.
Now it’s totally bricked. Appears, I even broke uboot block, since now device show nothing on LAN1 port. I’ve run wireshark and see no any packets from MAC address not from my PC’s NIC.
I.e. device didn’t send any packet. For sure its didn’t reply to arp broadcast when I try to ping 192.168.1.1
So, appears de-bricking with TFTP is not an option and the only way I have now is USB-TTL cable?
I still want to recover some config files I’ve working on (no backup on local :()
But it’s OKay if I loose it.
I’ve tried “safe mode” but it didn’t work. Pressed WPS right after power-on, no luck.
Same with “reset” button. 30-30-30 is not an option since for ages this device was on *WRT.
I want to rescue my old friend, please help!
I have some old “profilic” USB TTL device, but appears it’s a problem to get drivers (I am windows guy, but linux is my second love).
Perhaps I missing something and I still can get into safe mode?
How I was able to broke all my MTD UBI blocks with those two commands?
Maybe i’ve mistakenly did ubiattach -p /dev/mtd1 and this was the bad move?