roleoroleo / yi-hack-MStar

Custom firmware for Yi 1080p camera based on MStar platform
GNU General Public License v3.0
846 stars 112 forks source link

ssh login failed #448

Closed bonuzzz closed 2 years ago

bonuzzz commented 2 years ago

I can't login to camera through ssh and telnet after reset to defaults. I received incorrect password (root login) even with set password in web. I have this situation with all 5 mstar cameras, but in 2 allwinner cameras ssh works without problem 0.4.7 fw config.7z.zip

roleoroleo commented 2 years ago

In the config the password is "admin". Did you try it?

I will check the reset procedure.

bonuzzz commented 2 years ago

yes. I set it myself in webui

roleoroleo commented 2 years ago

Now it should work: https://github.com/roleoroleo/yi-hack-MStar/commit/2eb42be9d6ef52e75932295e2ab8ac3d6425f24c

Overwrite option was missing.

bonuzzz commented 2 years ago

@roleoroleo could you upload test firmware, because now I don't have any methods to edit script in cameras

roleoroleo commented 2 years ago

I don't remember your model.

bonuzzz commented 2 years ago

Sorry, I forgot to write. y203c

roleoroleo commented 2 years ago

Here it is: LINK REMOVED

bonuzzz commented 2 years ago

Unfortunately I can't test it because I can't downgrade firmware. Folder .fw_upgrade just created and that's all

roleoroleo commented 2 years ago

It's not necessary to downgrade the firmware. Simply place home_y203c in the sd card. The checksum is different from your actual version and the bootloader will process it.

bonuzzz commented 2 years ago

I flashed new fw, reset to defaults and I can't login through ssh or telnet. Incorrect password error.

roleoroleo commented 2 years ago

Sorry, an error in the packing script. Try again: y203c_0.4.7.tar.gz

bonuzzz commented 2 years ago

it works! thanks!