Closed devoll closed 3 years ago
Some Aqara firmware binaries include dropbear compiled without ssh server. It can be used only as a client.
To fix this issue you can replace dropbearmulti
with the one from xiaomi dgnwg05lm firmware. It is already uploaded to github.
I suppose you can use the following commands under root user on your gateway:
mv /usr/sbin/dropbearmulti /usr/sbin/dropbearmulti.backup
echo -e "GET /openlumi/openlumi.github.io/master/files/dropbearmulti HTTP/1.0\nHost: raw.githubusercontent.com\n" | openssl s_client -quiet -connect raw.githubusercontent.com:443 -servername raw.githubusercontent.com 2>/dev/null | sed '1,/^\r$/d' > /usr/sbin/dropbearmulti
chmod +x /usr/sbin/dropbearmulti
Thank you so much! It's alive!
Hi! First of all, thank you for your project!
I have Aqara Gateway 2 (ZHWG11LM) and trying to get root by your instructions. I have a problem with dropper ssh. It's not start and I see the next logs:
As I understand, ssh service didn't run, because I cannot connect to it.
This is start gateway logs (with some versions of software and hardware) if it help you: