<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/">
<channel>
<title>Luca Gibelli</title>
<atom:link href="http://www.nervous.it/lang/it/feed/" rel="self" type="application/rss+xml" />
<link>http://www.nervous.it</link>
<description>You came here by hitting the wrong anykey.</description>
<lastBuildDate>Mon, 06 Feb 2012 22:06:15 +0000</lastBuildDate>
<language>it</language>
<sy:updatePeriod>hourly</sy:updatePeriod>
<sy:updateFrequency>1</sy:updateFrequency>
<generator>http://wordpress.org/?v=3.2.1</generator>
<item>
<title>VMWare ESXi slow network speed on guests</title>
<link>http://www.nervous.it/lang/it/2012/02/vmware-esxi-slow-network-speed-on-guests</link>
<comments>http://www.nervous.it/lang/it/2012/02/vmware-esxi-slow-network-speed-on-guests#comments</comments>
<pubDate>Mon, 06 Feb 2012 22:05:40 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[Uncategorized]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=563</guid>
<description>
<![CDATA[I recently tried building a few Linux VMs on a VMWare ESXi 5.0 host. All the virtual machines experienced very low network speed ( Configuration > Software:Advanced Settings. Select Net and scroll down slightly more than half way. Set the following parameters from 1 to 0: Net.VmxnetSwLROSL Net.Vmxnet3SwLRO Net.Vmxnet3HwLRO Net.Vmxnet2SwLRO Net.Vmxnet2HwLRO Reboot the ESXi host [...]]]>
</description>
<content:encoded>
<![CDATA[<p>I recently tried building a few Linux VMs on a VMWare ESXi 5.0 host. All the virtual machines experienced very low network speed (<2Mbit/s) without any apparent reason.</p>
<p>After some digging I found the solution on http://docwiki.cisco.com/wiki/Disable_LRO:</p>
<p>    Log into the ESXi host or its vCenter with vSphere Client.<br />
    Select the host > Configuration > Software:Advanced Settings.<br />
    Select Net and scroll down slightly more than half way.<br />
    Set the following parameters from 1 to 0:<br />
<code><br />
        Net.VmxnetSwLROSL<br />
        Net.Vmxnet3SwLRO<br />
        Net.Vmxnet3HwLRO<br />
        Net.Vmxnet2SwLRO<br />
        Net.Vmxnet2HwLRO </p>
<p></code><br />
    Reboot the ESXi host to activate these changes.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;count=horizontal&amp;text=VMWare%20ESXi%20slow%20network%20speed%20on%20guests" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;count=horizontal&amp;text=VMWare%20ESXi%20slow%20network%20speed%20on%20guests" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2012%2F02%2Fvmware-esxi-slow-network-speed-on-guests&amp;title=VMWare%20ESXi%20slow%20network%20speed%20on%20guests" id="wpa2a_2"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2012/02/vmware-esxi-slow-network-speed-on-guests/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>View wifi speed in MacOSX</title>
<link>http://www.nervous.it/lang/it/2011/12/view-wifi-speed-in-macosx</link>
<comments>http://www.nervous.it/lang/it/2011/12/view-wifi-speed-in-macosx#comments</comments>
<pubDate>Sat, 24 Dec 2011 01:43:16 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[Uncategorized]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=558</guid>
<description>
<![CDATA[The easiest way to see what is the speed of your wifi link is to click on the Airport icon in the menu bar while pushing the Option/Alt key. Here is a screenshot:]]>
</description>
<content:encoded>
<![CDATA[<p>The easiest way to see what is the speed of your wifi link is to click on the Airport icon in the menu bar while pushing the Option/Alt key.<br />
Here is a screenshot:</p>
<div id="attachment_559" class="wp-caption aligncenter" style="width: 286px"><a href="http://cdn2.nervous.it/wp-content/uploads/2011/12/airport-network-speed.png"><img src="http://cdn.nervous.it/wp-content/uploads/2011/12/airport-network-speed-276x300.png" alt="Airport network speed screenshot" title="airport-network-speed" width="276" height="300" class="size-medium wp-image-559" /></a><p class="wp-caption-text">Airport card showing network speed</p></div>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;count=horizontal&amp;text=View%20wifi%20speed%20in%20MacOSX" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;count=horizontal&amp;text=View%20wifi%20speed%20in%20MacOSX" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2011%2F12%2Fview-wifi-speed-in-macosx&amp;title=View%20wifi%20speed%20in%20MacOSX" id="wpa2a_4"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2011/12/view-wifi-speed-in-macosx/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Huawei E1750 3G USB modem on OpenWRT Kamikaze</title>
<link>http://www.nervous.it/lang/it/2010/12/huawei-e1750-and-openwrt</link>
<comments>http://www.nervous.it/lang/it/2010/12/huawei-e1750-and-openwrt#comments</comments>
<pubDate>Sat, 18 Dec 2010 19:16:40 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[howto]]>
</category>
<category>
<![CDATA[hw support]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=516</guid>
<description>
<![CDATA[I recently configured a Netgear WGT634U access point running OpenWRT Kamikaze 8.09.2 to use a HUAWEI E1750 3G modem. The HUAWEI E1750 is sold under different names, some people report it as E220 or E1752. You should check in /proc/bus/usb/devices what is the vendor and product id of your 3G modem. You should see the [...]]]>
</description>
<content:encoded>
<![CDATA[<p>I recently configured a Netgear WGT634U access point running <a href="http://www.openwrt.org">OpenWRT</a> Kamikaze 8.09.2 to use a HUAWEI E1750 3G modem.</p>
<p>The HUAWEI E1750 is sold under different names, some people report it as E220 or E1752. You should check in /proc/bus/usb/devices what is the vendor and product id of your 3G modem. You should see the following values:<br />
<code>vendor=0x12d1 product=0x1446</code></p>
<p>This howto should apply to all 3G USB modems with the same vendor and product id and any AP running OpenWRT Kamikaze 8.09.2.<br />
Here is how I got the whole thing running:</p>
<p>1. Install the required kernel modules and utilities:</p>
<p><code><br />
# opkg update<br />
# opkg install kmod-usb-acm kmod-usb-core kmod-usb-ohci kmod-usb-serial comgt \<br />
kmod-usb-serial-option kmod-usb-storage kmod-usb-uhci kmod-usb2  usb-modeswitch<br />
</code></p>
<p>2. Create or edit the file /etc/modules.d/60-usb-serial so that it only contains the following line:</p>
<p><code>usbserial vendor=0x12d1 product=0x1446</code></p>
<p>3. Create or edit the file/etc/usb_modeswitch.conf so that it looks as follows:</p>
<p><code>DefaultVendor= 0x12d1<br />
DefaultProduct=0x1446<br />
TargetVendor=  0x12d1<br />
TargetProductList="1001,1406,140c,14ac"<br />
CheckSuccess=20<br />
MessageEndpoint=0×01<br />
MessageContent="55534243123456780000000000000011060000000000000000000000000000"<br />
</code></p>
<p>4. Add the following section to /etc/config/network:</p>
<p><strong>WARNING!!! Depending on the model of your 3G modem you may need to replace ttyUSB0 with ttyUSB1, ttyUSB2, etc. Check the output of &#8220;dmesg&#8221; to know which is the correct port. If you are unsure, find out by trial-and-error.</strong><br />
<code><br />
config 'interface' 'ppp0'<br />
    option 'ifname' 'ppp0'<br />
    option 'proto' '3g'<br />
    option 'device' '/dev/ttyUSB0'<br />
    option 'apn' 'YOURAPNHERE'<br />
    option 'pincode' 'YOURPINCODEHERE'</code></p>
<p>Replace YOURAPNHERE with the name of your APN (e.g. &#8220;tre.it&#8221; for H3G Italy) and YOURPINCODEHERE with the PIN code of your SIM. </p>
<p><strong>WARNING!!! If you have disabled PIN code verification for your SIM, you can omit the pincode option but you&#8217;ll need to workaround a bug in /lib/network/3g.sh. Open /lib/network/3g.sh in your editor and comment out the following lines:</strong></p>
<p><code>#  PINCODE="$pincode" gcom -d "$device" -s /etc/gcom/setpin.gcom &#124;&#124; {<br />
#               echo "$cfg(3g): Failed to set the PIN code."<br />
#               set_3g_led 0 0 0<br />
#               return 1<br />
#       }<br />
</code></p>
<p>5. Reboot your OpenWRT device.</p>
<p>6. Manually run the following commands and after a minute verify that your 3G connection is working:</p>
<p><code>usb_modeswitch<br />
ifup ppp0<br />
</code></p>
<p>7. Add the following lines to the top of /etc/rc.local:</p>
<p><code>sleep 3<br />
/usr/sbin/usb_modeswitch<br />
sleep 3<br />
/sbin/ifup ppp0 </code></p>
<p>8. Log on the web interface of your OpenWRT device and click on Administration/Networks/Interfaces/ppp0 and add it to the WAN zone.</p>
<p>You may need to adjust the DNS settings manually. </p>
<p>Credits: <a href="http://www.it-slav.net/blogs/2010/06/12/howto-use-3g-dongle-huawei-e1750-in-openwrt/">Peter Andersson</a></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;count=horizontal&amp;text=Huawei%20E1750%203G%20USB%20modem%20on%20OpenWRT%20Kamikaze" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;count=horizontal&amp;text=Huawei%20E1750%203G%20USB%20modem%20on%20OpenWRT%20Kamikaze" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F12%2Fhuawei-e1750-and-openwrt&amp;title=Huawei%20E1750%203G%20USB%20modem%20on%20OpenWRT%20Kamikaze" id="wpa2a_6"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/12/huawei-e1750-and-openwrt/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Skype video call shortcut in MacOSX</title>
<link>http://www.nervous.it/lang/it/2010/11/skype-video-call-shortcut</link>
<comments>http://www.nervous.it/lang/it/2010/11/skype-video-call-shortcut#comments</comments>
<pubDate>Tue, 16 Nov 2010 19:30:33 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[howto]]>
</category>
<category>
<![CDATA[applescript]]>
</category>
<category>
<![CDATA[automator]]>
</category>
<category>
<![CDATA[call]]>
</category>
<category>
<![CDATA[macosx]]>
</category>
<category>
<![CDATA[skype]]>
</category>
<category>
<![CDATA[video]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=508</guid>
<description>
<![CDATA[I use Skype to make video calls mainly to a couple of contacts. I didn&#8217;t want to enable video automatically for all calls and at the same time I find it tiring to search for the contact name and place a video call. I wanted something easy to automate that. Here is a simple Automator [...]]]>
</description>
<content:encoded>
<![CDATA[<p>I use Skype to make video calls mainly to a couple of contacts. I didn&#8217;t want to enable video automatically for all calls and at the same time I find it tiring to search for the contact name and place a video call.</p>
<p>I wanted something easy to automate that. Here is a simple Automator written in AppleScript which will take care of that:<br />
<code><br />
on GetPart(s, p, d)<br />
        set theList to every text item of s<br />
        return (item p of theList)<br />
end GetPart<br />
on run {input, parameters}</p>
<p>     (* Your script goes here *)<br />
        activate application "Skype"<br />
        tell application "System Events"<br />
                delay 1<br />
                set AppleScript's text item delimiters to " "<br />
                tell application "Skype"<br />
                        set login to "luca.gibelli"<br />
                        set foo to send command "GET USER " &#038; login &#038; " ONLINESTATUS" script name "MyScript"<br />
                        set UserStatus to my GetPart(foo, 4, " ")<br />
                        if UserStatus is "ONLINE" then<br />
                                say "calling " &#038; login<br />
                                set Res to send command "CALL " &#038; login script name "MyScript"<br />
                                set CallId to my GetPart(Res, 2, " ")</p>
<p>                             copy (run script "tell application \"Finder\" to desktop's window's bounds") to bounds of window 1<br />
                                set MaxTries to 60<br />
                                set CallStatus to "unknown"<br />
                                repeat while (CallStatus is not "INPROGRESS" and CallStatus is not "REFUSED" and CallStatus is not "FAILED" and MaxTries > 0)<br />
                                        delay 1<br />
                                        set MaxTries to MaxTries - 1<br />
                                        set Res to send command "GET CALL " &#038; CallId &#038; " STATUS" script name "MyScript"<br />
                                        set CallStatus to my GetPart(Res, 4, " ")<br />
                                end repeat<br />
                                if CallStatus is "INPROGRESS" then<br />
                                        send command "ALTER CALL " &#038; CallId &#038; " START_VIDEO_SEND" script name "MyScript"<br />
                                end if<br />
                        else<br />
                                say login &#038; "offline!"<br />
                        end if<br />
                end tell<br />
        end tell</p>
<p>     return input</p>
<p>end run<br />
</code><br />
Of course I wanted to also enable video automatically when answering calls from specific contacts. Fortunately <a href="http://www.apple.com/downloads/macosx/email_chat/skypeextender.html">Skype Extender</a> does just that! </p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;count=horizontal&amp;text=Skype%20video%20call%20shortcut%20in%20MacOSX" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;count=horizontal&amp;text=Skype%20video%20call%20shortcut%20in%20MacOSX" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fskype-video-call-shortcut&amp;title=Skype%20video%20call%20shortcut%20in%20MacOSX" id="wpa2a_8"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/11/skype-video-call-shortcut/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Download automatico di Il fatto quotidiano in PDF</title>
<link>http://www.nervous.it/lang/it/2010/11/script-download-il-fatto-in-pdf</link>
<comments>http://www.nervous.it/lang/it/2010/11/script-download-il-fatto-in-pdf#comments</comments>
<pubDate>Tue, 02 Nov 2010 16:32:02 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[Uncategorized]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=497</guid>
<description>
<![CDATA[Sono un grande fan de Il fatto quotidiano e mi son abbonato ancora prima che uscisse il primo numero alla versione in pdf. Trovo però alquanto scomodo effettuare ogni mattina il login e inseguire il link per il pdf. Preferisco di gran lunga avere il pdf già pronto la mattina sul mio desktop. Per questo [...]]]>
</description>
<content:encoded>
<![CDATA[<p>Sono un grande fan de Il fatto quotidiano e mi son abbonato ancora prima che uscisse il primo numero alla versione in pdf. Trovo però alquanto scomodo effettuare ogni mattina il login e inseguire il link per il pdf. Preferisco di gran lunga avere il pdf già pronto la mattina sul mio desktop. Per questo motivo ho creato il seguente bash script, basandomi sul lavoro di<a href="https://launchpad.net/ilfattodownloader "> https://launchpad.net/ilfattodownloader</a>.<br />
Lo script è stato testato su Linux e MacOSX. Ha come unico prerequisito wget ed è di facile utilizzo anche per chi è alle prime armi. È sufficiente inserire le proprie credenziali, dargli i permessi di esecuzione (chmod 700 ilfatto.sh) ed eseguirlo con ./ilfatto.sh .<br />
Se volete che venga eseguito in automatico al mattino è sufficiente creare un cronjob del tipo:</p>
<pre>5 5 * * Tue-Sun $HOME/ilfatto.sh</pre>
<p>Buona lettura!</p>
<pre>#!/bin/sh
# la directory in cui salvare il pdf
DATADIR="$HOME/Desktop"
# il vostro account
user='lavostraemail'
password='lavostrapassword'

# start
# su Linux
DATE=$(date -d '1 day ago' +%Y%m%d)
# su MacOSX
# DATE=$(date -v -1d +%Y%m%d)
UA='Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; it; rv:1.9.1.8) Gecko/20100202 Firefox/3.5.8'
data=log=$user\&#38;pwd=$password\&#38;_wp_original_http_referer=http%3A%2F%2Fwww.ilfattoquotidiano.it%2Fabbonati%2F\&#38;wp-submit=Log+In\&#38;redirect_to=http%3A%2F%2Fwww.ilfattoquotidiano.it%2Fabbonati%2F\&#38;testcookie=1
cd $DATADIR
$WGET --user-agent "$UA" -O /dev/null --keep-session-cookies --save-cookies cookies.txt --post-data $data "http://www.ilfattoquotidiano.it/login/?action=login&#38;instance=tml-page"
$WGET --user-agent "$UA" -O ./ilfatto-$DATE.pdf --load-cookies cookies.txt -A pdf "http://www.ilfattoquotidiano.it/openpdf/?n=$DATE"
rm -f cookies.txt
</pre>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;count=horizontal&amp;text=Download%20automatico%20di%20Il%20fatto%20quotidiano%20in%20PDF" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;count=horizontal&amp;text=Download%20automatico%20di%20Il%20fatto%20quotidiano%20in%20PDF" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F11%2Fscript-download-il-fatto-in-pdf&amp;title=Download%20automatico%20di%20Il%20fatto%20quotidiano%20in%20PDF" id="wpa2a_10"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/11/script-download-il-fatto-in-pdf/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Converting Nokia Backup Files (nbf) to CSV without a Nokia phone</title>
<link>http://www.nervous.it/lang/it/2010/10/converting-nokia-nbf-file-to-csv</link>
<comments>http://www.nervous.it/lang/it/2010/10/converting-nokia-nbf-file-to-csv#comments</comments>
<pubDate>Thu, 28 Oct 2010 20:35:04 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[Uncategorized]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=492</guid>
<description>
<![CDATA[Recently I found myself in need to access an old backup of my phonebook. The backup was created using the backup function of my Nokia phone. It used the &#8220;NBF&#8221; (Nokia Backup File) extension. I struggled with Nokia PC Suite, Nokisoft, and some nfb python scripts before realizing that I was actually looking at a [...]]]>
</description>
<content:encoded>
<![CDATA[<p>Recently I found myself in need to access an old backup of my phonebook. The backup was created using the backup function of my Nokia phone. It used the &#8220;NBF&#8221; (Nokia Backup File) extension.</p>
<p>I struggled with Nokia PC Suite, Nokisoft, and some nfb python scripts before realizing that I was actually looking at a zip archive of my phone filesystem!</p>
<p>Wow, so it&#8217;s really this easy:</p>
<ul>
<li>rename the backup from backup.nbf to backup.zip</li>
<li>unpack it with: unzip backup.zip (or using winzip)</li>
<li>search for .vcf files inside the archive. In my case they were located under predefhiddenfolder/backup/WIP/32/contacts</li>
<li>YMMV</li>
</ul>
<p>Converting the .vcf files to something which vaguely resembles a .csv file is trivial.</p>
<p>I used an ugly oneliner to do it. Here it comes for your pleasure:</p>
<pre>$ cat *.vcf &#124;grep -v ^VERSION&#124;grep -v ^BEGIN&#124;grep -v ^END&#124;cut -d ':' -f 2- &#124;sed 'N;s/\r\n/,/;s/;/ /'</pre>
<p>HTH</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;count=horizontal&amp;text=Converting%20Nokia%20Backup%20Files%20%28nbf%29%20to%20CSV%20without%20a%20Nokia%20phone" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;count=horizontal&amp;text=Converting%20Nokia%20Backup%20Files%20%28nbf%29%20to%20CSV%20without%20a%20Nokia%20phone" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F10%2Fconverting-nokia-nbf-file-to-csv&amp;title=Converting%20Nokia%20Backup%20Files%20%28nbf%29%20to%20CSV%20without%20a%20Nokia%20phone" id="wpa2a_12"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/10/converting-nokia-nbf-file-to-csv/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>DNAT and IP source routing woes</title>
<link>http://www.nervous.it/lang/it/2010/09/dnat-and-ip-source-routing-woes</link>
<comments>http://www.nervous.it/lang/it/2010/09/dnat-and-ip-source-routing-woes#comments</comments>
<pubDate>Thu, 23 Sep 2010 19:51:25 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[howto]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=481</guid>
<description>
<![CDATA[I recently came across a nasty problem. I have a Linux box (let&#8217;s call it LinuxFW) with three ethernet ports: LAN: 192.168.0.1 connected to eth0 ADSL1: $IP1 connected to eth1 ADSL2: $IP2 connected to eth2 $IP1 and $IP2 are my public IP addresses. Their respective default gateways are $GW1 and $GW2. I use IP source [...]]]>
</description>
<content:encoded>
<![CDATA[<p>I recently came across a nasty problem.<br />
I have a Linux box (let&#8217;s call it LinuxFW) with three ethernet ports:</p>
<ul>
<li>LAN: 192.168.0.1 connected to eth0</li>
<li>ADSL1: $IP1 connected to eth1</li>
<li>ADSL2: $IP2 connected to eth2</li>
</ul>
<p>$IP1 and $IP2 are my public  IP addresses.<br />
Their respective default gateways are $GW1 and $GW2.</p>
<p>I use IP source routing to accept incoming connections from $IP1 and $IP2.<br />
This is the easy part: there is a lot of documentation (see <a href="http://www.lartc.org/howto/lartc.rpdb.html#LARTC.RPDB.SIMPLE">LARTC website</a> for the details) on how to do this, I&#8217;ll just sum it up here for completeness.</p>
<p><code><br />
ip route add default via $GW1 table adsl1<br />
ip rule add from $IP1 table adsl1<br />
ip route add default via $GW2 table adsl2<br />
ip rule add from $IP2 table adsl2<br />
ip route add default via $GW1</code><br />
<code><br />
echo 200        adsl1 &#62;&#62;/etc/iproute2/rt_tables<br />
echo 201        adsl2 &#62;&#62;/etc/iproute2/rt_tables</code></p>
<p>If somebody connects to $IP1 on port 22, LinuxFW receives packets on eth1 and outgoing packets are sent through eth1, thanks to the iproute2 rules mentioned above.<br />
Similarly, if somebody connects to $IP2 on port 22, packets enter from eth2 and exit from eth2.</p>
<p>So far so good. Now comes the hard part:</p>
<p>I added a new Linux box behind the old one, let&#8217;s call it LinuxMail. The new box has IP address 192.168.0.2 and is running Postfix. It&#8217;s connected to the same LAN switch that LinuxFW has on &#8220;eth0&#8243;.<br />
Obviously I could install a smtp proxy on LinuxFW and redirect all emails from LinuxFW to LinuxMail, but this poses some tread-offs, i.e.:</p>
<ul>
<li>LinuxMail won&#8217;t be able to see the IP addresses of incoming connections directly</li>
<li>LinuxMail won&#8217;t be able to do connection throttling</li>
<li>LinuxMail won&#8217;t be able to reject messages for non-existant accounts</li>
</ul>
<p>All these problems can be solved to some degree by introducing more logic on the smtp proxy of course, but let&#8217;s assume that we don&#8217;t want to do that, either because LinuxFW doesn&#8217;t have enough resources or because we want to keep things simple.<br />
There are three solutions to this problem.</p>
<span id="CTSTATE_DNAT"><h3>1 &#8211; CTSTATE DNAT</h3></span>
<pre>iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 25 -j DNAT --to 192.168.0.2:25
iptables -t nat -I PREROUTING -i eth2 -p tcp --dport 25 -j DNAT --to 192.168.0.2:25
iptables -t nat -A PREROUTING -i eth1 -m conntrack --ctstate DNAT --ctorigdst $IP1 -j MARK --set-mark 0x6
iptables -t nat -A PREROUTING -i eth2 -m conntrack --ctstate DNAT --ctorigdst $IP2 -j MARK --set-mark 0x7</pre>
<p>All incoming packets with destination port 25 coming from either eth1 or eth2 will be redirected to 192.168.0.2 and marked respectively with &#8220;0&#215;6&#8243; and &#8220;0&#215;7&#8243;. These iproute2 rules will take care of routing the reply packets to the appropriate interface:</p>
<pre>ip rule add fwmark 6 table adsl1
ip rule add fwmark 7 table adsl2</pre>
<span id="CONNMARK"><h3>2 &#8211; CONNMARK</h3></span>
<p>Here is a simple way to open port 25 on both $IP1 and $IP2 and redirect incoming connections to LinuxMail using CONNMARK:</p>
<pre>iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 25 -j DNAT --to 192.168.0.2:25
iptables -t nat -I PREROUTING -i eth2 -p tcp --dport 25 -j DNAT --to 192.168.0.2:25
iptables -t mangle -A PREROUTING -i eth1 -m state --state NEW,RELATED,ESTABLISHED -d $IP1 -p tcp --dport 25 -j CONNMARK --set-mark 6
iptables -t mangle -A PREROUTING -i eth0 -m connmark --mark 0x6 -j CONNMARK --restore-mark
iptables -t mangle -A PREROUTING -i eth2 -m state --state NEW,RELATED,ESTABLISHED -d $IP2 -p tcp --dport 25 -j CONNMARK --set-mark 7
iptables -t mangle -A PREROUTING -i eth0 -m connmark --mark 0x7 -j CONNMARK --restore-mark</pre>
<p>Of course you will still need the usual:</p>
<pre>ip rule add fwmark 6 table adsl1
ip rule add fwmark 7 table adsl2</pre>
<span id="Double_IP_addresses"><h3>3 &#8211; Double IP addresses</h3></span>
<p>Another DIY solution is to assign a second private IP address to LinuxMail. In this scenario LinuxMail has the following IP addresses:</p>
<p>192.168.0.2</p>
<p>192.168.0.3</p>
<p>and LinuxFW redirects incoming connections from $IP1 to 192.168.0.2 and from $IP2 to 192.168.0.3:</p>
<pre>iptables -t nat -I PREROUTING -i eth1 -p tcp --dport 25 -j DNAT  --to 192.168.0.2:25
iptables -t nat -I PREROUTING -i eth2 -p tcp --dport 25 -j DNAT  --to 192.168.0.3:25
iptables -t mangle -I PREROUTING -i  eth0 -s 192.168.0.2 -p tcp -j MARK --set-mark 0x6
iptables -t mangle -I PREROUTING -i eth0 -s 192.168.0.3 -p tcp -j MARK --set-mark 0x7
</pre>
<p>Of course you will still need the usual:</p>
<pre>ip rule add fwmark 6 table adsl1
ip rule add fwmark 7 table adsl2</pre>
<p>Credits:</p>
<p>LARTC: <a href="http://lartc.org/howto/lartc.rpdb.html#LARTC.RPDB.SIMPLE">http://lartc.org/howto/lartc.rpdb.html#LARTC.RPDB.SIMPLE</a><br />
Pascal Hambourg: <a href="http://www.gossamer-threads.com/lists/iptables/user/68743#68743">http://www.gossamer-threads.com/lists/iptables/user/68743#68743</a><br />
Rodrigo Campos: <a href="http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg16307.html">http://www.mail-archive.com/lartc@mailman.ds9a.nl/msg16307.html</a></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;count=horizontal&amp;text=DNAT%20and%20IP%20source%20routing%20woes" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;count=horizontal&amp;text=DNAT%20and%20IP%20source%20routing%20woes" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fdnat-and-ip-source-routing-woes&amp;title=DNAT%20and%20IP%20source%20routing%20woes" id="wpa2a_14"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/09/dnat-and-ip-source-routing-woes/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Usare opkg sulla Fonera</title>
<link>http://www.nervous.it/lang/it/2010/09/usare-opkg-sulla-fonera</link>
<comments>http://www.nervous.it/lang/it/2010/09/usare-opkg-sulla-fonera#comments</comments>
<pubDate>Wed, 15 Sep 2010 13:29:48 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[Uncategorized]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=478</guid>
<description>
<![CDATA[Utilizzando il firmware 2.3.6.0 sulla Fonera 2.0N, il gestore dei pacchetti opkg non funziona di default. Occorre eseguire due operazioni: Creare la directory /usr/lib/opkg: mkdir /usr/lib/opkg Modificare il file /etc/opkg.conf come segue: src snapshots2 http://downloads.openwrt.org/kamikaze/8.09.2/rb532/packages/ dest root / dest ram /tmp lists_dir ext /var/opkg-lists option force_space Fate attenzione però! L&#8217;opzione force_space fa sì che non [...]]]>
</description>
<content:encoded>
<![CDATA[<p>Utilizzando il firmware 2.3.6.0 sulla Fonera 2.0N, il gestore dei pacchetti opkg non funziona di default. Occorre eseguire due operazioni:</p>
<ul>
<li>Creare la directory /usr/lib/opkg: mkdir /usr/lib/opkg</li>
<li>Modificare il file /etc/opkg.conf come segue:<br />
<code>src snapshots2 http://downloads.openwrt.org/kamikaze/8.09.2/rb532/packages/<br />
dest root /<br />
dest ram /tmp<br />
lists_dir ext /var/opkg-lists<br />
option force_space<br />
</code>
</li>
</ul>
<p>Fate attenzione però! L&#8217;opzione force_space fa sì che non vengano ignorati controlli sullo spazio libero effettivamente disponibile prima dell&#8217;installazione dei pacchetti. Dovrà essere vostra cura verificare di avere spazio disponibile a sufficienza in /jffs2 prima di procedere con l&#8217;installazione di nuovo software.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;count=horizontal&amp;text=Usare%20opkg%20sulla%20Fonera" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;count=horizontal&amp;text=Usare%20opkg%20sulla%20Fonera" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Fusare-opkg-sulla-fonera&amp;title=Usare%20opkg%20sulla%20Fonera" id="wpa2a_16"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/09/usare-opkg-sulla-fonera/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Find subtitles under MacOSX/Linux</title>
<link>http://www.nervous.it/lang/it/2010/09/find-subtitles-perl</link>
<comments>http://www.nervous.it/lang/it/2010/09/find-subtitles-perl#comments</comments>
<pubDate>Wed, 15 Sep 2010 11:47:18 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[Uncategorized]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=471</guid>
<description>
<![CDATA[There are a plethora of subtitle finders for Windows but only a few for MacOSX and Linux. Most of them often don&#8217;t work. Searching for the right subtitle for a specific avi file can be frustrating. It&#8217;s not enough to match the filename. It&#8217;s always better to rely on the hash of the movie to [...]]]>
</description>
<content:encoded>
<![CDATA[<p>There are a plethora of subtitle finders for Windows but only a few for MacOSX and Linux. Most of them often don&#8217;t work.</p>
<p>Searching for the right subtitle for a specific avi file can be frustrating. It&#8217;s not enough to match the filename. It&#8217;s always better to rely on the hash of the movie to find a properly sync&#8217;ed subtitle.</p>
<p>Fortunately, OpenSubtitles.org started offering a nice and easy interface to search their subtitle database. Here is a simple script I found on opensubtitles.org site and modified for my needs. It will help you to find the subtitles for your favourite movies and tv series:</p>
<p><code><br />
#!/usr/bin/perl<br />
# http://trac.opensubtitles.org/projects/opensubtitles/wiki/HashSourceCodes<br />
use strict;<br />
use warnings;<br />
my $file = $ARGV[0];<br />
unless (defined($file) and -r $file) { print "Syntax: $0 /path/file.avi\n"; }<br />
my $hash = OpenSubtitlesHash($file);<br />
print "<br />
Now visit:<br />
        ALL: http://www.opensubtitles.org/search/sublanguageid-all/moviehash-$hash<br />
        English: http://www.opensubtitles.org/search/sublanguageid-eng/moviehash-$hash<br />
        Polish: http://www.opensubtitles.org/search/sublanguageid-pol/moviehash-$hash<br />
        Italian: http://www.opensubtitles.org/search/sublanguageid-ita/moviehash-$hash<br />
        ";<br />
sub OpenSubtitlesHash {<br />
        my $filename = shift or die("Need video filename");<br />
        open my $handle, "<", $filename or die $!;<br />
        binmode $handle;<br />
        my $fsize = -s $filename;<br />
        my $hash = [$fsize &#038; 0xFFFF, ($fsize >> 16) &#038; 0xFFFF, 0, 0];<br />
        $hash = AddUINT64($hash, ReadUINT64($handle)) for (1..8192);<br />
    my $offset = $fsize - 65536;<br />
    seek($handle, $offset > 0 ? $offset : 0, 0) or die $!;<br />
    $hash = AddUINT64($hash, ReadUINT64($handle)) for (1..8192);<br />
    close $handle or die $!;<br />
    return UINT64FormatHex($hash);<br />
}<br />
sub ReadUINT64 {<br />
        read($_[0], my $u, 8);<br />
        return [unpack("vvvv", $u)];<br />
}<br />
sub AddUINT64 {<br />
    my $o = [0,0,0,0];<br />
    my $carry = 0;<br />
    for my $i (0..3) {<br />
        if (($_[0]->[$i] + $_[1]->[$i] + $carry) > 0xffff ) {<br />
                        $o->[$i] += ($_[0]->[$i] + $_[1]->[$i] + $carry) &#038; 0xffff;<br />
                        $carry = 1;<br />
                } else {<br />
                        $o->[$i] += ($_[0]->[$i] + $_[1]->[$i] + $carry);<br />
                        $carry = 0;<br />
                }<br />
        }<br />
    return $o;<br />
}<br />
sub UINT64FormatHex {<br />
    return sprintf("%04x%04x%04x%04x", $_[0]->[3], $_[0]->[2], $_[0]->[1], $_[0]->[0]);<br />
}<br />
</code></p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;count=horizontal&amp;text=Find%20subtitles%20under%20MacOSX%2FLinux" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;count=horizontal&amp;text=Find%20subtitles%20under%20MacOSX%2FLinux" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F09%2Ffind-subtitles-perl&amp;title=Find%20subtitles%20under%20MacOSX%2FLinux" id="wpa2a_18"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/09/find-subtitles-perl/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>How to fix: Duplicity error 22: Invalid argument</title>
<link>http://www.nervous.it/lang/it/2010/08/duplicity-error-22-invalid-argument</link>
<comments>http://www.nervous.it/lang/it/2010/08/duplicity-error-22-invalid-argument#comments</comments>
<pubDate>Sat, 21 Aug 2010 10:26:03 +0000</pubDate>
<dc:creator>admin</dc:creator>
<category>
<![CDATA[howto]]>
</category>
<guid isPermaLink="false">http://www.nervous.it/?p=461</guid>
<description>
<![CDATA[The latest version of duplicity which can run on RHEL 5 without too many dependency problems (available from Dag&#8217;s repository at http://packages.sw.be/duplicity/) has a nasty bug which results in the following error message: IOError: [Errno 22] Invalid argument Traceback (most recent call last): File "/usr/bin/duplicity", line 463, in ? with_tempdir(main) File "/usr/bin/duplicity", line 458, in [...]]]>
</description>
<content:encoded>
<![CDATA[<p>The latest version of duplicity which can run on RHEL 5 without too many dependency problems (available from Dag&#8217;s repository at <a href="http://packages.sw.be/duplicity/">http://packages.sw.be/duplicity/</a>) has a nasty bug which results in the following error message:</p>
<p>IOError: [Errno 22] Invalid argument</p>
<p><code><br />
Traceback (most recent call last):<br />
  File "/usr/bin/duplicity", line 463, in ?<br />
    with_tempdir(main)<br />
  File "/usr/bin/duplicity", line 458, in with_tempdir<br />
    fn()<br />
  File "/usr/bin/duplicity", line 444, in main<br />
    full_backup(col_stats)<br />
  File "/usr/bin/duplicity", line 155, in full_backup<br />
    bytes_written = write_multivol("full", tarblock_iter, globals.backend)<br />
  File "/usr/bin/duplicity", line 87, in write_multivol<br />
    globals.gpg_profile,globals.volsize)<br />
  File "/usr/lib64/python2.4/site-packages/duplicity/gpg.py", line 213, in GPGWriteFile<br />
    data = block_iter.next(bytes_to_go).data<br />
  File "/usr/lib64/python2.4/site-packages/duplicity/diffdir.py", line 407, in next<br />
    result = self.process(self.input_iter.next(), size)<br />
  File "/usr/lib64/python2.4/site-packages/duplicity/diffdir.py", line 487, in process<br />
    data, last_block = self.get_data_block(fp, size - 512)<br />
  File "/usr/lib64/python2.4/site-packages/duplicity/diffdir.py", line 508, in get_data_block<br />
    buf = fp.read(read_size)<br />
  File "/usr/lib64/python2.4/site-packages/duplicity/diffdir.py", line 338, in read<br />
    buf = self.infile.read(length)<br />
IOError: [Errno 22] Invalid argument<br />
</code></p>
<p>The problem can be easily fixed by changing line no. 507 from:</p>
<p><code>read_size = min(64*1024, max_size)</code></p>
<p>to:</p>
<p><code>read_size = min(64*1024, max(max_size, 512))</code></p>
<p>The problem also occurs if you forget to pass &#8220;&#8211;exclude /selinux&#8221; to duplicity.</p>
<p>More info <a href="http://www.mail-archive.com/duplicity-tracker@nongnu.org/msg00580.html">about the bug</a>.</p>
<p><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service facebook_like" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;layout=button_count&amp;show_faces=false&amp;width=75&amp;action=like&amp;colorscheme=light&amp;height=20&amp;ref=addtoany" scrolling="no" style="border:none;overflow:hidden;width:90px;height:21px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;count=horizontal&amp;text=How%20to%20fix%3A%20Duplicity%20error%2022%3A%20Invalid%20argument" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service twitter_tweet" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;counturl=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;count=horizontal&amp;text=How%20to%20fix%3A%20Duplicity%20error%2022%3A%20Invalid%20argument" scrolling="no" style="border:none;overflow:hidden;width:130px;height:20px"></iframe><!--<![endif]--><!--[if IE]><iframe frameborder="0" allowTransparency="true" class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><![endif]--><!--[if !IE]><!--><iframe class="addtoany_special_service google_plusone" src="https://plusone.google.com/u/0/_/%2B1/fastbutton?url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;size=medium&amp;count=true" scrolling="no" style="border:none;overflow:hidden;width:90px;height:20px"></iframe><!--<![endif]--><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.nervous.it%2Flang%2Fit%2F2010%2F08%2Fduplicity-error-22-invalid-argument&amp;title=How%20to%20fix%3A%20Duplicity%20error%2022%3A%20Invalid%20argument" id="wpa2a_20"><img src="http://www.nervous.it/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]>
</content:encoded>
<wfw:commentRss>http://www.nervous.it/lang/it/2010/08/duplicity-error-22-invalid-argument/feed</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
</channel>
</rss>

<!-- W3 Total Cache: Minify debug info:
Engine:             disk: basic
Theme:              a53cd
Template:           index
-->
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 13/57 queries in 0.024 seconds using disk: basic
Object Caching 1236/1339 objects using disk: basic
Content Delivery Network via cdn.nervous.it

Served from: www.nervous.it @ 2012-05-18 11:27:41 -->
