Xiaomi AX3600 Help

Completely new to OpenWrt although I have looked at it for quite a while.

I have an Xiaomi AX3600 which id like to install it on, I have tried my best to follow the guide but I'm struggling getting the file into tmp file. SSH has been enabled (I'm fairly sure) but I just cannot get the firmware into the tmp... I get this message.

I enter (file is on my Mac desktop)
scp Desktop/openwrt-23.05.0-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi root@192.168.31.1:/tmp

Get this back

Unable to negotiate with 192.168.31.1 port 22: no matching host key type found. Their offer: ssh-rsa

scp: Connection closed

Any help is greatly appreciated !

search for this at the forum

I have tried but not having much luck. I need to get the firmware into the tmp file then I'm hoping I should be able to install from there

Really struggling, getting no such file when trying to SCP firmware to /tmp

post the command, and the output / errror message, we're no mind readers.

sorry yes that would help....

root@XiaoQiang:~# scp desktop/openwrt-23.05.0-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi root@192.168.
31.1:/tmp
/usr/bin/dbclient: Warning: failed creating /root/.ssh: Read-only file system

Host '192.168.31.1' is not in the trusted hosts file.
(ssh-rsa fingerprint sha1!! 99:c2:25:db:3a:29:6e:73:c8:e5:de:ba:cc:90:2b:e8:77:b0:bd:93)
Do you want to continue connecting? (y/n) y
root@192.168.31.1's password:
desktop/openwrt-23.05.0-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi: No such file or directory
root@XiaoQiang:~#

1 Like

error's kind of self explanatory, isn't it ?

clearly yes if you know what you're doing. You've obviously got nothing better to do than be a keyboard basher. If you can't help then don't comment?
Everyone has to start somewhere right?

it's saying the file isn't where you tell scp it's supposed to be, or the file name's incorrect.

where it is, we don't know, if your computer.

That is my issue, it’s on my desktop. Which I’ve put, still not working

does the file name on your desktop match the file name in the scp command ?

and does ls -l desktop/openwrt-23.05.0-ipq807x-generic-xiaomi_ax3600-initramfs-factory.ubi work ?

That suggests you're running the scp command over your ssh session on your router, but you want to copy the image from your computer to your router, e.g. via winscp xor ssh -O wherever/image.bin root@192.168.31.1:/tmp/.

2 Likes

@slh's theory would also explain why you're not seeing the no matching host key type found. Their offer: ssh-rsa error anymore.

Thankyou, I was in the router yes. When I do it from the local machine I get ‘unable to negotiate with 192.168.31.1 port 22: no matching host key type found.Their offer: ssh-rsa

that's been solved and posted here at the forum, as I already told you.

(ignore the fact they say ssh and not scp in those posts)

FFS who put 20p in you, yes it may have been. I’ve searched, I’ve tired so many things people have said hence now I’m here asking for help

same person who put 20p in you.

post a link to one of the threads you've found.

ok, what's wrong with the solution ?
did you try it (replacing ssh with scp and using the syntax of scp) ?

I’m sure nothing wrong but I still cannot get it to work.

Getting ash: /usr/libexec/sftp-server: not found