Closed charbelsarkis closed 5 years ago
Sorry to hear it didn't work. Since you had success with the initial Bluetooth, I'd suggest you use it to enable telnetd temporarily again. Then log in with admin/"pincode" and see if you can figure out what went wrong.
My gut feeling is that the flashing procedure failed. Run
mount | grep opt
and/or
ls -l /opt
and see if there is anything there at all. Probably not....
I don't really have a quick fix for that. Trying the firmware upgrade a second time is worth a shot.It might work. If that doesn't help, then you can upload the squashfs generated as part of the fw.tar build and write it manually to the partition using for example
cat opt.squashfs >/dev/mtdblock2
Thanks, let me see what I can do....
Ok so just to confirm, I manually wrote the partition "cat opt.squashfs >/dev/mtdblock2" and now it survives the boot.
Password is set and httpd starts at boot.
Thanks again for the great work! Charbel
Hi, I also have this issue.
Thanks for your excellent code, everything works smoothly except over restart. mount | grep opt
and ls -l /opt
returns nothing (I'm assuming that means that there isn't anything in the aforementioned directory)
I'm not sure I fully understand the "quick fix". Should I first upload the squashfs file (If this is the case, where do I find this?) or is running the cat opt.squashfs >/dev/mtdblock2
command through telnet sufficient for keeping the services running?
Thanks.
Hello again, Issue solved!
For future reference:
opt.squashfs
file generated earlier in the shared directory# cd tmp
# tftp -g -r opt.squashfs *IP of server*
cat opt.squashfs >/dev/mtdblock2
command:
# cat opt.squashfs >/dev/mtdblock2
# exit
Everything persists over restart. Thanks for your excellent code! You made this camera worth using.
Hello, First of all great work!
I am using firmware v2.02.02, and followed the instructions successfully. No errors were logged during the process.
however, after building and uploading the customer firmware fw.tar, the camera restarts but lighttpd and telnetd do not start automatically.
Any hints? Thanks!