Closed elig0n closed 3 years ago
I see a similar effect. I am not connected via cloud. When the camera is successfully connected the connection quality is 88/100. It has been already 4 times I soldered and desoldered the TTL connection. When the camera is out of the cage everything seems to work fine. I suspect it is something like heat.
I have an updated. I first have reflashed the camera to the original firmware, but I don't think this was actually the trick. Because I assumed that the fang-ir-control might affect the issue, I disabled this. Yes, the script was already updated to stop the coil. So I effectively enabled the script again, slightly changed it so it will only switch every 60 seconds, and my camera is now running for over 40 minutes.
After trying to enable the hack again. I notice that the same issue occur. So I did not found the golden egg.
So I redid the flashing of the firmware, and again. Everything runs now for over one hour without issues. I did not apply the hack "again" but I am able to login to the camera and manually start streaming. I am curious what happens inside the hack that makes it break.
@skinkie I have disabled the IR script but it did not help , camera keeps restarting every 30-40 seconds. Similar behavior was reported in #10 but according to @samtap the latest release should already have it fixed.
@elig0n but the latest release is still 2017 right?
@skinkie yes
@elig0n if I flash the original firmware. The dropbear ssh server is still available, including the fang-hacks scripts. Could you check if you do this, the hanging stops? I am also curious if the wifi drops, or if the entire cpu hangs. I never got it to break when I had connected it to RS232 with an open camera housing.
@skinkie I don't flash the device, I only use the supplied image on an sdcard. The device reboots every 30-40 seconds after I start watching the rtsp stream.
@elig0n so what I did to get the device "working" again. Where I describe working as: running for more than 30s without rebooting. I followed the procedure to install the latest supported firmware.
I am using the updated ir script, that disables the coil after it switches between variants.
I am starting the rtsp server manually using ssh. I get suffently more "uptime" than 30s of video. But after a while the camera hangs again. I have not yet figured out if this is a wifi issue or a cpu issue.
Perhaps your device is damaged by now?
My device boot log show:
modprobe: remove 'snx_wdt': Resource temporarily unavailable
So after rewriting latest git fanghacks, e2fsck
'ing and dosfsck
'ing sdcard partitions I also commented the if
condition block that would modprobe snx_wdt
in /etc/init.d/rcS
according to @gonzoblue post and it seems that the restarts are gone.
@elig0n very interesting approach. I'll give the new version a test run.
Did this work? I've tried commenting out the if block (including the modprobe) but still get the disconnections.
After successful boot, there is a minute or two of full capabilities accessibility (rtsp, ssh, http etc) and then the network connection drops and the camera restarts and then all this happens again.
Fanghacks is set to connect via "Cloud" to WiFI.
lines that might be relevant from
kerndebug
: