-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.1.7 scp doesn't seem to be working #166
Comments
Did some further investigation scp is in the 0.1.7 distribution. You can run it via /mnt/mmc/sonoff-hack/bin/scp. Tried 2 temp fixes A)Created a link to this by
B)Looked at adding /mnt/mmc/sonoff-hack/bin to PATH Forgive my ignorance but I do not know how to make any of these changes permanent or how to update the distribution to include a fix. Any help? |
A bit more info. |
I think the path on ssh login is set in Dropbear https://github.com/roleoroleo/sonoff-hack/blob/master/src/dropbear/localoptions.h |
paths got messed up in this commit: |
Thanks. Yes I couldn't understand why all that yi-hack stuff was in the path when i'm running the sonoff-hack. It's beyond my skills to fix that. Hopefully someone will find the time to fix it. |
Thanks for doing this. Unfortunately I can get my head around how to do a local build. Install the toolchain? , vscode, development environment, dockers etc. etc. I think I will have to wait until the fix is incorporated into a release. |
This old brain works a bit slowly these days. Finally sorted all the dependencies, paths etc. and got he updated 0.1.7 built. Installed on a GK-200MP2-B camera and scp and filezilla are now working. The PATH now looks correct. Will test on the Sonoff 1080p slim cam and the HA integration later. Thanks for all your help. |
Tested on the Sonoff 1080p slim cam using firmware 0.1.7 all works fine, except for camera on/off as described in issue 0.1.7 camera on/off not working for some firmware |
Sorry for this regression. |
Hi back after a long absence. I have had a number of Sonoff cameras running on 0.1.5 and integrated in to HA with great success for over 12 months( thanks for all the work)(this system has been frozen version wise for this period). Now in a moment of madness I have decided to update everything (pi5 ubuntu HA etc etc). One of the changes has been to try 0.1.7 most things I have tested on a new Sonoff Cam slim using the GK-200MP2-B_0.1.7 are working well, except scp. ssh is working,
If I ssh to this camera running 0.1.5 and execute the scp command I get some stuff about usage, so the command is working. If I ssh to this camera running 0.1.7 and execute the scp command I get "command not found".
Is this a path thing?
I notice an issue raised for 0.1.6 to fix scp , is this the same issue for 0.1.7 if so how do I fix it.
The one thing I didn't want to change, if possible, is my nightly server scp copying of previous days recording from each camera on the network. SO it would be great to get scp working
The text was updated successfully, but these errors were encountered: