<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3492800245188396828</id><updated>2011-11-28T01:12:06.275+01:00</updated><category term='apache passwords OTP android linux freebsd authentication'/><category term='desktop background gnome kde unity ubuntu linux bash scripting'/><category term='Pentax 540 Metz 58 flash comparison'/><category term='pentax shake reduction IS SR long lenses 400 test'/><category term='DIY flash speed grid spot drinking straws'/><title type='text'>Tom's IT and Photography</title><subtitle type='html'>IT and photography blog focusing on Pentax equipment and Open Source (mainly Linux and FreeBSD topics)</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tomtor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tomtor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>tomtor</name><uri>http://www.blogger.com/profile/13161999859940007795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-6ro_VgcaR8A/TikHd943ckI/AAAAAAAABrE/PCMk14NLs24/s220/tom-sq.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3492800245188396828.post-4923478064215558634</id><published>2011-07-22T08:58:00.007+02:00</published><updated>2011-07-22T10:12:41.435+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='apache passwords OTP android linux freebsd authentication'/><title type='text'>Adding One Time Passwords to Apache</title><content type='html'>If you have some restricted information on your website then you would want to protect access to it. The standard procedure to just add a static user/password pair is not very secure. Even when using an encrypted HTTPS site the password is not fully secure from being intercepted. The transmission over the internet is encrypted, but in many cases you are not in full control over the browser you use.&lt;br /&gt;&lt;br /&gt;When you are using a browser in an Internet cafe it may have been tampered with and it might pass information you enter to others. Even in some corporate environments the browser has been modified to use a proxy with so called Deep Packet Inspection. The IT department will install a new trusted CA certificate in the browser you use and with or without your knowledge all HTTPS traffic (including private passwords) will be decrypted and inspected for eg virus contamination or other suspicious activities.&lt;br /&gt;&lt;br /&gt;So using a static password is not very safe. A common solution for this problem is using One Time Passwords combined with Two Factor authentication.&lt;br /&gt;&lt;br /&gt;The concept is simple, allow a password to be used only once or let it have a very limited lifetime. When your password has been intercepted and an intruder wants to use it, then he'll discover that it is no longer valid.&lt;br /&gt;&lt;br /&gt;So how do we get One Time passwords?&lt;br /&gt;&lt;br /&gt;Simply use an App on your smart-phone. Each time you need to login you enter your 4 digit PIN in the App and you'll receive a one time password in return.&lt;br /&gt;&lt;br /&gt;Many OTP apps exist, you should start at &lt;a href="http://motp.sourceforge.net/"&gt;http://motp.sourceforge.net&lt;/a&gt; to find one for your device. My favorite is DroidOTP for my Android device. You can find it in the Android market.&lt;br /&gt;&lt;br /&gt;The other part of the solution is configuring your Apache for MOTP. I'll describe the procedure for an installed Apache22 on FreeBSD, but the Linux procedure would be the same.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://code.google.com/p/mod-authn-otp/"&gt;http://code.google.com/p/mod-authn-otp/&lt;/a&gt; hosts the code you need. Download the file (currently &lt;tt&gt;mod_authn_otp-1.1.4.tar.gz&lt;/tt&gt;) and extract it in a directory of your choice.&lt;br /&gt;&lt;br /&gt;Simply executing:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;make&lt;br /&gt;make install&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;installed it without any problems or warnings on my machine.&lt;br /&gt;&lt;br /&gt;The next step is to adapt the &lt;tt&gt;httpd.conf&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;Add the following line to load the module:&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;LoadModule authn_otp_module   libexec/apache22/mod_authn_otp.so&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now we need to create the OTP user configuration. Create a directory&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;/usr/local/etc/apache22/otp/users&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;and create a file &lt;tt&gt;users&lt;/tt&gt; in it. The owner should be &lt;tt&gt;www&lt;/tt&gt; and the permissions should be 600. The information in it should only be readable by the Apache server because it contains the secret information for the One Time password generation for each user.&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;cd /usr/local/etc/apache22/otp/users&lt;br /&gt;touch users&lt;br /&gt;chown www users&lt;br /&gt;chmod 600 users&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Now add a single line for each user to this file, eg:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;MOTP yourname 1234 1234abcdef567812&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;The first field specifies that we are using the MOTP implementation, the second field is the name of the user, the third a private PIN you have choosen and finally the secret which is used to configure the smart-phone App. How you get this secret depends on the App you use. Most Apps generate this secret for you when you start using them. They show it once and you should copy it to the &lt;tt&gt;users&lt;/tt&gt; file.&lt;br /&gt;&lt;br /&gt;With all this in place usage is quite simple. Just enter the following configuration in the &lt;tt&gt;.htaccess&lt;/tt&gt; file in the directory with content you want to protect:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;AuthType Basic&lt;br /&gt;AuthName "My restricted data"&lt;br /&gt;AuthBasicProvider OTP&lt;br /&gt;OTPAuthUsersFile /usr/local/etc/apache22/otp/users&lt;br /&gt;OTPAuthLogoutOnIPChange on&lt;br /&gt;OTPAuthMaxOTPFailure 4&lt;br /&gt;OTPAuthMaxLinger 1800&lt;br /&gt;Require user yourname&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When you access the content with your browser then you need to enter your username and the OTP password. Grab your phone and start your MOTP App. Enter your pin and type the 6 character string you receive from the App in the password field.&lt;br /&gt;&lt;br /&gt;Now you can browse for 1800 seconds. After this period you are asked to enter a new OTP password. If you are paranoid you can lower the 1800 interval.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3492800245188396828-4923478064215558634?l=tomtor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tomtor.blogspot.com/feeds/4923478064215558634/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://tomtor.blogspot.com/2011/07/adding-one-time-passwords-to-apache.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/4923478064215558634'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/4923478064215558634'/><link rel='alternate' type='text/html' href='http://tomtor.blogspot.com/2011/07/adding-one-time-passwords-to-apache.html' title='Adding One Time Passwords to Apache'/><author><name>tomtor</name><uri>http://www.blogger.com/profile/13161999859940007795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-6ro_VgcaR8A/TikHd943ckI/AAAAAAAABrE/PCMk14NLs24/s220/tom-sq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3492800245188396828.post-5567534649808130342</id><published>2011-07-22T07:33:00.020+02:00</published><updated>2011-10-25T19:15:34.938+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='desktop background gnome kde unity ubuntu linux bash scripting'/><title type='text'>Dynamic  Desktop Background</title><content type='html'>Some Linux distributions have the option to refresh your desktop background wallpaper with a random image from a list of images or a specified directory. Ubuntu Natty (11.04) does not offer that option, but even if it did, I have some extra requirements:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Load the image recursively from a tree of directories&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Skip portrait orientation images (these will not show nicely on you wide screen)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Skip small images (thumbnails)&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;So I wrote my own script to dust of my (bash) scripting skills: &lt;pre&gt;RandomBG&lt;/pre&gt;&lt;br /&gt;It requires the installation of ImageMagick and jhead from your distribution. These are needed for determining the orientation of the image.&lt;br /&gt;Store the script on your computer ($HOME/bin is a good place) and invoke it with two arguments, the image directory (tree) and the delay in seconds between refreshments, e.g.:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;RandomBG /data/MyImageCollection 300&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;You can start the script when you login on your desktop by adding it to the list of startup programs. On Ubuntu Natty you can find this setting as &lt;tt&gt;Startup Applications&lt;/tt&gt; under &lt;tt&gt;System Settings&lt;/tt&gt;.&lt;br /&gt;&lt;br /&gt;The default minimum size of an image is 200k. You can easily change it in the script on line 44 by adapting the &lt;tt&gt;find&lt;/tt&gt; command. &lt;br /&gt;Adapting it for KDE or XFCE would require just replacing the single gconftool command.&lt;br /&gt;&lt;br /&gt;Update for Ubuntu 11.10 Oneiric Ocelot Unity desktop:&lt;br /&gt;&lt;br /&gt;replace the gconftool line with&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;dconf write /org/gnome/desktop/background/picture-uri "'file:///$foto'"&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;hr/&gt;&lt;br /&gt;&lt;pre class="brush: csharp"&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;DIR=${1:?Need an image dir for this arg}&lt;br /&gt;SLEEP=${2:-300}&lt;br /&gt;&lt;br /&gt;function Ori()&lt;br /&gt;{&lt;br /&gt;FILE="$1"&lt;br /&gt;ORI=`jhead -v "$FILE"|grep "Orientation ="`&lt;br /&gt;set `identify -format "%w %h" "$FILE"`&lt;br /&gt;W=$1&lt;br /&gt;H=$2&lt;br /&gt;&lt;br /&gt;if [[ "$ORI" == "" || "$ORI" =~ 256 ]]&lt;br /&gt;then&lt;br /&gt;    if (( $W &gt; $H ))&lt;br /&gt;    then&lt;br /&gt;      echo "l"&lt;br /&gt;    else&lt;br /&gt;      echo "p"&lt;br /&gt;    fi&lt;br /&gt;else&lt;br /&gt;    if [[ "$ORI" =~ 1 ]]&lt;br /&gt;    then&lt;br /&gt;      if (( $W &gt; $H ))&lt;br /&gt;      then&lt;br /&gt;        echo "l"&lt;br /&gt;      else&lt;br /&gt;        echo "p"&lt;br /&gt;      fi&lt;br /&gt;    else&lt;br /&gt;      if [[ "$ORI" =~ 6 ]]&lt;br /&gt;      then&lt;br /&gt;        echo "p"&lt;br /&gt;      else&lt;br /&gt;        echo "-p"&lt;br /&gt;      fi&lt;br /&gt;    fi&lt;br /&gt;fi&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;OLDIFS=$IFS&lt;br /&gt;IFS=$'\n'&lt;br /&gt;fotos=( $(find $DIR \( -name '*.jpg' -o -name '*.JPG' \) -size +200k) )&lt;br /&gt;IFS=$OLDIFS&lt;br /&gt;&lt;br /&gt;while :&lt;br /&gt;do&lt;br /&gt;  ori="x"&lt;br /&gt;  while test $ori != "l"; &lt;br /&gt;  do&lt;br /&gt;    foto="${fotos[ $RANDOM % ${#fotos[@]} ]}"&lt;br /&gt;    ori=$(Ori "$foto"); &lt;br /&gt;  done&lt;br /&gt;  echo $foto&lt;br /&gt;  gconftool -t string -s /desktop/gnome/background/picture_filename "$foto"&lt;br /&gt;  sleep $SLEEP&lt;br /&gt;done&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3492800245188396828-5567534649808130342?l=tomtor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tomtor.blogspot.com/feeds/5567534649808130342/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://tomtor.blogspot.com/2011/07/dynamic-desktop-background.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/5567534649808130342'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/5567534649808130342'/><link rel='alternate' type='text/html' href='http://tomtor.blogspot.com/2011/07/dynamic-desktop-background.html' title='Dynamic  Desktop Background'/><author><name>tomtor</name><uri>http://www.blogger.com/profile/13161999859940007795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-6ro_VgcaR8A/TikHd943ckI/AAAAAAAABrE/PCMk14NLs24/s220/tom-sq.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3492800245188396828.post-6625712380202350735</id><published>2009-05-03T21:35:00.007+02:00</published><updated>2009-05-04T07:43:27.737+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pentax shake reduction IS SR long lenses 400 test'/><title type='text'>Pentax shake reduction with long lenses</title><content type='html'>I read a few times that the in body shake reduction is less effective for longer focal lengths. I own an old Tokina-ATX 400mm AF lens and a K10D and wondered how effective it would be. So I did a quick test, three hand held shots at 1/15s, ie 5 stops below 1/600s.&lt;br /&gt;&lt;br /&gt;Result: good, moderate, decent&lt;br /&gt;&lt;br /&gt;and with SR off: bad, bad, bad&lt;br /&gt;&lt;br /&gt;Conclusions, even with my old trusty K10D a very decent result!&lt;br /&gt;&lt;br /&gt;First the three SR images, followed by 3 without SR:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_GiN64bav4RU/Sf3yn7sT3xI/AAAAAAAABDk/QgjUMSQiIRc/s1600-h/IMGP5335rt.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://2.bp.blogspot.com/_GiN64bav4RU/Sf3yn7sT3xI/AAAAAAAABDk/QgjUMSQiIRc/s400/IMGP5335rt.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5331684301728898834" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_GiN64bav4RU/Sf3zP_dQHOI/AAAAAAAABDs/yXbt4CaxmI0/s1600-h/IMGP5336rt.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://3.bp.blogspot.com/_GiN64bav4RU/Sf3zP_dQHOI/AAAAAAAABDs/yXbt4CaxmI0/s400/IMGP5336rt.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5331684989934247138" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_GiN64bav4RU/Sf3znMtcfKI/AAAAAAAABD0/v5AD-qhp-9Y/s1600-h/IMGP5337rt.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://4.bp.blogspot.com/_GiN64bav4RU/Sf3znMtcfKI/AAAAAAAABD0/v5AD-qhp-9Y/s400/IMGP5337rt.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5331685388628819106" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_GiN64bav4RU/Sf3zoJWGr5I/AAAAAAAABEM/vJmjphP2Tr4/s1600-h/IMGP5340rt.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://2.bp.blogspot.com/_GiN64bav4RU/Sf3zoJWGr5I/AAAAAAAABEM/vJmjphP2Tr4/s400/IMGP5340rt.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5331685404905484178" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_GiN64bav4RU/Sf3znSrkjwI/AAAAAAAABEE/zG2wxf6iMhM/s1600-h/IMGP5339rt.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://1.bp.blogspot.com/_GiN64bav4RU/Sf3znSrkjwI/AAAAAAAABEE/zG2wxf6iMhM/s400/IMGP5339rt.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5331685390231572226" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_GiN64bav4RU/Sf3znfxavUI/AAAAAAAABD8/3nFa_m-zSWM/s1600-h/IMGP5338rt.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 267px;" src="http://3.bp.blogspot.com/_GiN64bav4RU/Sf3znfxavUI/AAAAAAAABD8/3nFa_m-zSWM/s400/IMGP5338rt.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5331685393745755458" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3492800245188396828-6625712380202350735?l=tomtor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tomtor.blogspot.com/feeds/6625712380202350735/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://tomtor.blogspot.com/2009/05/pentax-shake-reduction-with-long-lenses.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/6625712380202350735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/6625712380202350735'/><link rel='alternate' type='text/html' href='http://tomtor.blogspot.com/2009/05/pentax-shake-reduction-with-long-lenses.html' title='Pentax shake reduction with long lenses'/><author><name>tomtor</name><uri>http://www.blogger.com/profile/13161999859940007795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-6ro_VgcaR8A/TikHd943ckI/AAAAAAAABrE/PCMk14NLs24/s220/tom-sq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_GiN64bav4RU/Sf3yn7sT3xI/AAAAAAAABDk/QgjUMSQiIRc/s72-c/IMGP5335rt.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3492800245188396828.post-5382011832680123414</id><published>2009-03-29T11:00:00.012+02:00</published><updated>2009-06-21T11:23:39.388+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Pentax 540 Metz 58 flash comparison'/><title type='text'>Pentax 540 and Metz 58 comparison</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_GiN64bav4RU/Sc9Cbp-c_eI/AAAAAAAABDE/S5P2rsI_Z28/s1600-h/intro.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 214px;" src="http://4.bp.blogspot.com/_GiN64bav4RU/Sc9Cbp-c_eI/AAAAAAAABDE/S5P2rsI_Z28/s320/intro.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5318542727839546850" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I've had a Metz58 flash for a year and a half and received a Pentax 540FGZ a few months ago.&lt;br /&gt;&lt;br /&gt;I wanted to test various combinations of these flashes, see the effect of contrast control, etc.&lt;br /&gt;&lt;br /&gt;First some remarks not related to the flash behavior:&lt;br /&gt;&lt;br /&gt;I like both units, the bodies of both feel sturdy. I would perhaps rate the feel of the 540 flash head higher than the Metz. On the other hand the 540 has a battery cover which feels fragile, I operate it with care. Also the control sliders of the 540 feel less solid, but not in such a way that I feel that they are likely to malfunction.&lt;br /&gt;&lt;br /&gt;Completely subjective: the 540 has slightly better looks.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;You can find the complete 21 page test report in PDF form&lt;/span&gt; &lt;a href="http://www.xs4all.nl/%7Etomv/pentax/PentaxFlash.pdf"&gt;here&lt;/a&gt; (Updated June 2009).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;       &lt;span style="font-weight: bold;"&gt;  Final conclusions:&lt;br /&gt;&lt;br /&gt;Contrast mode&lt;br /&gt;&lt;/span&gt;&lt;h2 class="western"&gt;&lt;span&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&gt;&lt;/h2&gt; &lt;p&gt;Contrast mode works, but not in the way I would expect, c.q. wish it to work. The flash with contrast-on emits less light, but contrast-on does not work for the on camera master. So one cannot have the on camera master act as fill.&lt;/p&gt; &lt;p&gt;Contrast mode implementation on the Metz and 540 are not completely similar. The 540 produces slightly different results (lower ratio for the off camera slave?) than the Metz as off camera slave.&lt;/p&gt; &lt;p&gt;When using 2 slaves the contrast-on option gives inconsistent results. If the Metz has contrast-on then the option has no effect. If the 540 has the option on then the Metz does not fire.&lt;/p&gt; &lt;p&gt;In a controlled environment one should use manual for really predictable results.&lt;/p&gt; &lt;p&gt;In a dynamic environment with a master flash on the camera one should move the slave flash away/towards the subject to change the master/slave ratio or play with exposure compensation on both flashes.&lt;/p&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Which Flash?&lt;/span&gt;&lt;br /&gt;&lt;p&gt;Both the Metz-58 as the Pentax 540 are really nice flashes. I think I prefer the Metz as on camera bounce flash with the option to use the second reflector as fill. The 540 is really good as off camera flash and even has an optical slave mode.&lt;/p&gt;  &lt;p&gt;I also considered the Metz-48 and Pentax 360 flashes. They are good options as long as one is not interested in using multiple flashes. The drawback of the Metz-48 is that it cannot act as a master/controller on camera, otherwise it would be a great second flash for me. The main drawback for me of the Pentax 360 is not that it doesn't have the swivel head (I assume I could live with that), but that off camera the automatic power off option cannot be disabled. I use off camera flashes a lot with optical or radio triggers and having to turn the 360 manually on after a few minutes (and restoring all its settings) is no option for me.&lt;br /&gt;&lt;/p&gt; &lt;p&gt;See Mattdm's site: &lt;a href="http://pttl.mattdm.org/"&gt;http://pttl.mattdm.org/&lt;/a&gt;&lt;/p&gt; &lt;p&gt;for more flash options and all kinds of details about the flashes.&lt;/p&gt; &lt;p style="margin-bottom: 0cm;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3492800245188396828-5382011832680123414?l=tomtor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tomtor.blogspot.com/feeds/5382011832680123414/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://tomtor.blogspot.com/2009/03/pentax-540-and-metz-58-comparison.html#comment-form' title='0 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/5382011832680123414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/5382011832680123414'/><link rel='alternate' type='text/html' href='http://tomtor.blogspot.com/2009/03/pentax-540-and-metz-58-comparison.html' title='Pentax 540 and Metz 58 comparison'/><author><name>tomtor</name><uri>http://www.blogger.com/profile/13161999859940007795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-6ro_VgcaR8A/TikHd943ckI/AAAAAAAABrE/PCMk14NLs24/s220/tom-sq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_GiN64bav4RU/Sc9Cbp-c_eI/AAAAAAAABDE/S5P2rsI_Z28/s72-c/intro.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3492800245188396828.post-1975021316143417895</id><published>2009-03-28T18:08:00.002+01:00</published><updated>2009-03-29T20:53:50.249+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='DIY flash speed grid spot drinking straws'/><title type='text'>An Ultra Narrow Grid Spot for your flash</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_GiN64bav4RU/Sc6giX4FjFI/AAAAAAAABCc/2gAD7iEvHAQ/s1600-h/imgp4619sc.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 134px;" src="http://3.bp.blogspot.com/_GiN64bav4RU/Sc6giX4FjFI/AAAAAAAABCc/2gAD7iEvHAQ/s200/imgp4619sc.jpg" alt="" id="BLOGGER_PHOTO_ID_5318364722356390994" border="0" /&gt;&lt;/a&gt;Last week I made a grid spot from drinking straws for my flashes. You can read about these DIY devices &lt;a href="http://lightingmods.blogspot.com/2007/06/diy-black-straws-snoot-grid-part-1.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;It took me a few hours to build one with 4.5 cm straw fragments. The result was nice. The spot creates a circle of light about 20 cm wide when used from a distance of about 1.5 meters. (Note: In The Netherlands you can find these black straws at the Xenos or the Ikea)&lt;br /&gt;&lt;br /&gt;I wished however for a tighter beam of light and wondered if I could use the complete straws in a construction. I'm a bit lazy and didn't want to glue a cardboard/straw assembly together only to discover that it did not work. So I tried the following:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_GiN64bav4RU/Sc6jfzyUfmI/AAAAAAAABC0/mZNVjtx-NI8/s1600-h/imgp4633sc.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 268px;" src="http://4.bp.blogspot.com/_GiN64bav4RU/Sc6jfzyUfmI/AAAAAAAABC0/mZNVjtx-NI8/s400/imgp4633sc.jpg" alt="" id="BLOGGER_PHOTO_ID_5318367976843673186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I bundled two packs of straws with two rubber bands (a band on each end)  so that they formed a nice circle. I used an already home made snoot as container, c.q. flash mounting device. To prevent light leakage I wrapped a black cloth (a.k.a. a pair of socks) around the straws and put this in the front of the flash mounted snoot:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_GiN64bav4RU/Sc6jvvqXvQI/AAAAAAAABC8/-KrAxN_6m30/s1600-h/imgp4626sc.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 268px;" src="http://2.bp.blogspot.com/_GiN64bav4RU/Sc6jvvqXvQI/AAAAAAAABC8/-KrAxN_6m30/s400/imgp4626sc.jpg" alt="" id="BLOGGER_PHOTO_ID_5318368250614496514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;The result was great! This grid created a spot as shown on the first image. The hot spot is about 5 cm when used from a distance of about 1.5 meters. Not only was it quick to assemble, but this way the snoot can function as a snoot AND a grid spot. So the bundle of straws and the sock get a nice permanent place in my flash bag...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="file:///media/disk/dcim/100_2803/imgp4633.jpg" alt="" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3492800245188396828-1975021316143417895?l=tomtor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tomtor.blogspot.com/feeds/1975021316143417895/comments/default' title='Reacties plaatsen'/><link rel='replies' type='text/html' href='http://tomtor.blogspot.com/2009/03/ultra-speed-grid-for-your-flash.html#comment-form' title='2 reacties'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/1975021316143417895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3492800245188396828/posts/default/1975021316143417895'/><link rel='alternate' type='text/html' href='http://tomtor.blogspot.com/2009/03/ultra-speed-grid-for-your-flash.html' title='An Ultra Narrow Grid Spot for your flash'/><author><name>tomtor</name><uri>http://www.blogger.com/profile/13161999859940007795</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/-6ro_VgcaR8A/TikHd943ckI/AAAAAAAABrE/PCMk14NLs24/s220/tom-sq.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_GiN64bav4RU/Sc6giX4FjFI/AAAAAAAABCc/2gAD7iEvHAQ/s72-c/imgp4619sc.jpg' height='72' width='72'/><thr:total>2</thr:total></entry></feed>
