openlumi / openlumi.github.io

OpenWrt for Xiaomi Zigbee gateway with imx6 SoC DGNWG05LM, ZHWG11LM
https://openlumi.github.io
154 stars 26 forks source link

SSH does not work #33

Closed ralocar closed 2 years ago

ralocar commented 2 years ago

Hi, I have won root with Serial port but ssh does not work. I tried with:

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

but still does not work... Gateway connected to the network. I can pin from Windows but I cannot do the scpfor the backup created Thanks for supporting BR

devbis commented 2 years ago

What is your hardware? Post logs from console on dropbear starting?

ralocar commented 2 years ago

Hi devbis, Thanks for supporting My gateway is the DGNWG05LM When I execute the 3 lines above... no answer from the console Please let me know if you need more info

BR

devbis commented 2 years ago

And did you set up dropbear to start?

/etc/init.d/dropbear start &

Is there any response?

ralocar commented 2 years ago

f**ck!! Thanks! It works