roleoroleo / yi-hack-MStar

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

[h201c] Yi 1080p Dome BFUS FTP password reset each camera restart #496

Closed majkers closed 1 year ago

majkers commented 1 year ago

Hi, each time I restart camera my FTP password resets. I have connect via SSH and use passwd command to make it work again.

roleoroleo commented 1 year ago

Is it properly saved in the sytem.conf config file?

majkers commented 1 year ago

No it is not:

FTP_USERNAME=
FTP_PASSWORD=
SSH_PASSWORD=THIS_IS_MY_PASSWORD

of cource I changed my password there

majkers commented 1 year ago

You can check https://github.com/roleoroleo/yi-hack-MStar/issues/495 Also snapshot option in not properly saved

roleoroleo commented 1 year ago

Are you using weird chars? Please, try with a stupid password. Maybe a problem in the string validation algorithm.

And as I said in the other issue, clean the cache of the browser; I changed the js code in the last update.

majkers commented 1 year ago

the only weird char might be @

roleoroleo commented 1 year ago

@ is supported. I tested with my cam and it works. Are you using version 0.4.9?

majkers commented 1 year ago

OK. I opened new incognito window

image

and set new root password to 123Test

and in system.conf only this:

image

majkers commented 1 year ago

Yes I am using 0.4.9 version

roleoroleo commented 1 year ago

There is a misunderstanding. FTP_PASSWORD field is the password used to put files to a ftp server (see Events page). If you want to login from your PC to the cam through FTP, the right field is SSH_PASSWORD Are you able to login with a ftp client to the cam with "123Test" as a password?

majkers commented 1 year ago

I don't know what is wrong with 0.4.9 firmware @roleoroleo After a few days of working average load grows a lot and I see my RTSP stream from go2rtc project do not run fluently. So I restart my camera and it won't come back online. Just like it is bricked. I had to downgrade and upgrade to make it work again. I think I will go back to 0.4.8 version and close this issue for now. Unfortunately IMHO 0.4.9 is not stable

roleoroleo commented 1 year ago

Sorry but I wasn't able to find the stability problem.

majkers commented 1 year ago

One time it even didn't start record process after restart... Maybe next version will fix those issues :) I keep my fingers crossed