Saturday, November 28. 2009Cheap time lapses with gphoto2![]() ![]() “Cheap” should mean here that you don’t need to spend money on extra hardware like a remote timer or on extra software like Windoze (which Canon’s EOS Utility depends on). With a GNU/Linux system, just install gphoto2—in Debian, take version 2.4.5 from ‘squeeze’. After attaching your e.g. Canon EOS camera via USB, you can issue the command $ gphoto2 --auto-detect --force-overwrite --capture-image-and-download --frames 360 --interval 10
to automatically shoot and download images for a time lapse, in this example every 10 seconds for one hour. You should keep all exposure values constant and switch to a lower resolution in advance. You can render an HD video e.g. with $ mencoder mf://*jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=1:vbitrate=7200 -mf fps=25 -o timelapse.avi
If you make it bad, it might look boring like my very first try: If you make it good, it should look like this. My hope is that I can use gphoto2 with an Android smartphone. Wednesday, October 14. 2009Or what?![]()
Posted by Stephan Paukner
in GNU/Linux
at
20:10
| Comments (0)
| Trackbacks (0)
Defined tags for this entry: fail
Friday, September 18. 2009Linux autorun FAIL![]() Tuesday, August 25. 2009exec zerowing![]()
Thursday, July 16. 2009SSH daemon in a chroot on Debian lenny![]() This official Debian manual explains how to set up an SSH server in a chroot. However, and although it was last modified in March 2009, the manual appeared incomplete to me. Here are a few additional steps to consider: The manual uses makejail (and the config /usr/share/doc/makejail/examples/sshd.py) to automatically set up /var/chroot/sshd; the script uses ldd calls to find and copy the necessary libraries and files. However, its work is incomplete: You can’t launch the chroot’s Bash. Even /bin/ls doesn’t work. Using ldd I found out that /lib64/ld-linux-x86-64.so.2 is missing in the chroot. To use an elegant /etc/init.d/ssh-chroot script to control the chroot’ed daemon from the host system, you need to make /sbin/start-stop-daemon available in the chroot. You can then use /etc/init.d/ssh as basis for your init-script. Note that the chroot-SSH takes its config from /var/chroot/sshd/etc/ssh/sshd_config; it is possible to have both the native and the chroot’ed SSH daemon listen on port 22, but on different IPs. The manual mentions that proc must be mounted in the chroot as well and that syslogd should also lay a sock in there. But it doesn’t mention that devpts must be mounted in /var/chroot/sshd/dev/pts. Add this to the host’s /etc/fstab with the options noexec,nosuid,gid=5,mode=620; make the tty group available in /var/chroot/sshd/etc/group! If you make strace work in the chroot, you can find out via CODE: ~# chroot /var/chroot/sshd
/# strace /usr/sbin/sshd -d and looking into /var/log/auth.log that the /etc/pam.d/common-* stuff is missing. Having considered this, login should finally work if you have users and groups in /var/chroot/sshd/etc/{passwd,shadow,group}. You might need the coreutils in the chroot; you can install them using the makejail config mentioned above. Saturday, July 11. 2009Windows fundies always knew it!![]() CODE: $ man timeout | grep program
This program is part of SATAN. Wednesday, June 24. 2009Gentoo Linux FAIL, II![]() Wednesday, May 6. 2009Documentation FAIL![]() From `man rkhunter`: TESTS
« previous page
(Page 5 of 7, totaling 49 entries)
» next page
|
AboutCalendar
ArchivesCategoriesShow tagged entriesandroid anti-spam apache astronomy austria automobile ballooning bash bluetooth bug career cloud collecting comic cooking crypto cw debian diy dreams education electronics event fail fashion finance flickr fuerteventura fun gentoo geography german gnu-linux google google earth guitar hardware history image processing internet kernel kids language lanzarote lhc lifestyle linkroll literature ltd machine learning making mallorca mathematics matlab microsoft migration movies munich music nautilus octave pdf perl philately philosophy phone photo gear photography podcast politics postfix private programming public transport rant religion review salzburg samsung science security shtf social web software statistics storage sustainability symbian tablet time lapse transceiver tv usenet venice video virtualization wordplay work www yahoo
Syndicate This BlogFollow meBookmarks
Powered by |