Open SirkeS opened 3 years ago
Yes, it happened to me also. In order to solve I connected via ssh and commented two lines at the end of script/system.sh referring to check_update.sh I think this maybe is related to the version of wget inside busybox?
Yes, it happened to me also. In order to solve I connected via ssh and commented two lines at the end of script/system.sh referring to check_update.sh I think this maybe is related to the version of wget inside busybox?
Thanks for the workaround, seems that it works!
Hi guys, thanks for the report!
You are right, it seems like GitHub changed its minimum TLS scheme and the current wget
on the camera doesn't have it supported.
Removing the lines you referred to along with the cronjob
that calls check_update.sh
(old version of the fw) will do the trick.
Can someone write a guide on how to do this for those who dont know how?
(for example, I can ssh to the unit, I can ls/cd around, but the rest is lost on me)
Can someone write a guide on how to do this for those who dont know how?
(for example, I can ssh to the unit, I can ls/cd around, but the rest is lost on me)
This is what I did:
Log in via SSH.
Open file system.sh under folder script: vi /home/yi-hack-v4/script/system.sh
Enter edit mode pressing key 'i'.
Scroll down and comment the lines 83 and 85:
Press 'ESC' to exit edit mode and then type ":w" and press Enter to save changes.
Reboot!
Method 2:
Login via SSH. Open file system.conf under folder script: vi /home/yi-hack-v4/etc/system.conf
Enter edit mode pressing key 'i'.
Scroll down and change value CHECK_UPDATES=no
Press 'ESC' to exit edit mode and then type ":w" and press Enter to save changes.
Reboot!
Both of you mention OPEN, but not HOW to open, probably the only thing I am missing here.
EDIT: of course, prior to those posts and with them i did try to google how to open a file over ssh, no joy there talking about 3rd party text editors and commands that did nothing
EDIT2: got system.conf open with vi, but hitting esc does nothing, was using windows ssh, switched to putty/kitty doesnt seem to do anything, it seemed like it but after typing :w in a random attempt after making the edit, couldnt get out of the edit mode.
EDIT3: ok, despite the fact that nothing shows at all when you hit esc and type, it actually did save the file edit, now to try with system.sh EDIT4: "#" is not implemented when trying to add this to line 83/85
EDIT5: re-reading both posts, I see vi is in the posts, but for whatever reason, I was not seeing it, it was invisible to me...
ID10T error
I have the same problem on my four cameras
/home/yi-hack-v4 # wget https://raw.githubusercontent.com/TheCrypt0/yi-hack-v4/master/VERSION Connecting to raw.githubusercontent.com (151.101.64.133:443) wget: note: TLS certificate validation not implemented wget: TLS error from peer (alert code 40): handshake failure wget: error getting response: Connection reset by peer