I am getting below error when doing so.
root@XiaoQiang:/etc# % scp -O openwrt-23.05.5-mediatek-filogic-xiaomi_redmi-rout
er-ax6000-stock-initramfs-factory.ubi root@192.168.31.1:/tmp
/bin/ash: %: not found
I assume you did all the dropbear steps described in the link ?
if your device have wget (I don't own one, just guessing), and is connected to internet, try directly on the AX6000:
cd /tmp
wget https://downloads.openwrt.org/releases/23.05.5/targets/mediatek/filogic/openwrt-23.05.5-mediatek-filogic-xiaomi_redmi-router-ax6000-stock-initramfs-factory.ubi
@frollic when you said the first statement, I try to check all the steps again and I did missed "cd ~". After I run that command, ssh work. But now I am getting this error.
C:\Windows\system32>scp -o HostKeyAlgorithms=+ssh-rsa C:\Temp\AX6000\openwrt-23.05.5-mediatek-filogic-xiaomi_redmi-router-ax6000-stock-initramfs-factory.ubi root@192.168.31.1:/tmp root@192.168.31.1's password:
ash: /usr/libexec/sftp-server: not found
scp: Connection closed
I am succesfully deploy stock layout on AX6000. Now I want to do uboot layout. When trying to run this command I am getting this error. Can someone assist on how to fix this error? ========================================== root@RB06:/tmp# ubiformat /dev/mtd7 -y -f /tmp/openwrt-23.05.5-mediatek-filogic-xiaomi_redmi-router-ax6000-ubootmod-initramfs-factory.ubi ubiformat: mtd7 (nand), size 31457280 bytes (30.0 MiB), 240 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes libscan: scanning eraseblock 239 -- 100 % complete ubiformat: 239 eraseblocks have valid erase counter, mean value is 2 ubiformat: 1 eraseblocks are supposedly empty ubiformat: flashing eraseblock 0 -- 0 % complete ubiformat: error!: eof reached; 131072 bytes remaining ubiformat: error!: failed to read eraseblock 0 from "/tmp/openwrt-23.05.5-mediatek-filogic-xiaomi_redmi-router-ax6000-ubootmod-initramfs-factory.ubi"
** error 0 (No error information)** root@RB06:/tmp# ========================================