<?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>Pascal&#039;s Blog - A brain backup</title>
	<atom:link href="http://pascal.nextrem.ch/feed/" rel="self" type="application/rss+xml" />
	<link>http://pascal.nextrem.ch</link>
	<description>Solutions to all problems</description>
	<lastBuildDate>Sun, 17 Apr 2011 14:07:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Using Cygwin SSH with Putty Pageant</title>
		<link>http://pascal.nextrem.ch/2011/03/11/using-cygwin-ssh-with-putty-pageant/</link>
		<comments>http://pascal.nextrem.ch/2011/03/11/using-cygwin-ssh-with-putty-pageant/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 10:31:30 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[HowTo's]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=467</guid>
		<description><![CDATA[<p>On windows I mostly use Putty as my SSH client. But in some cases for example when I use unison or rsync I use the ssh client from cygwin.</p> <p>Following good practice I use public key authentication and Putty's Pageant to manage my password protected keys. This works great with Putty and Plink. I [...]]]></description>
			<content:encoded><![CDATA[<p>On windows I mostly use Putty as my SSH client. But in some cases for example when I use unison or rsync I use the ssh client from cygwin.</p>
<p>Following good practice I use public key authentication and Putty's Pageant to manage my password protected keys. This works great with Putty and Plink. I thought this would be great if I could use the same agent for cygwin too. As often the solution already existed in the form of <a href="https://github.com/cuviper/ssh-pageant">ssh-pageant</a>.</p>
<p>Here is a small tutorial how to set it up:</p>
<ol>
<li>Download the prebuilt version of<a href="https://github.com/cuviper/ssh-pageant"> ssh-pageant</a> from <a href="https://github.com/cuviper/ssh-pageant">github</a> (<a href="https://github.com/cuviper/ssh-pageant/zipball/v1.0-prebuilt">direct link</a>).</li>
<li>Upack it and copy the <em>ssh-pageant.exe</em> to your cygwin's <em>/usr/local/bin</em> directory</li>
<li>You need to edit your <em>.bash_profile</em> file in order to start the ssh-pageant on opening a shell<br />
The method I use is different form the one described in ssh-pageant's readme as it only starts one instance of ssh-pageant and reuses this in subsequent sessions. It is based on the <a href="http://help.github.com/working-with-key-passphrases/">Github Help</a> about ssh keys.</li>
</ol>
<p>Add this at the end of your<em> .bash_profile</em></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Setup SSH Agent</span>
&nbsp;
<span style="color: #007800;">SSH_ENV</span>=<span style="color: #ff0000;">&quot;<span style="color: #007800;">$HOME</span>/.ssh/environment&quot;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> start_agent <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Initializing new SSH agent...&quot;</span>
  <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>ssh-pageant <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/^echo/#echo/'</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SSH_ENV}</span>&quot;</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;succeded&quot;</span>
  <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #000000;">600</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SSH_ENV}</span>&quot;</span>
  . <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SSH_ENV}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
  <span style="color: #666666; font-style: italic;">#/usr/bin/ssh-add;</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-f</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SSH_ENV}</span>&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#93;</span>; <span style="color: #000000; font-weight: bold;">then</span>
  . <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SSH_ENV}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null
  <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-ef</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #007800;">$SSH_PAGEANT_PID</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> ssh-pageant$ <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
    start_agent;
  <span style="color: #7a0874; font-weight: bold;">&#125;</span>
<span style="color: #000000; font-weight: bold;">else</span>
  start_agent;
<span style="color: #000000; font-weight: bold;">fi</span></pre></div></div>

<p>Now you should be able to login using cygwin's ssh.exe with the same comfort of putty.</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2011/03/11/using-cygwin-ssh-with-putty-pageant/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Zentyal Zarafa z-push with an N900</title>
		<link>http://pascal.nextrem.ch/2010/10/19/use-zentyal-zarafe-z-push-with-an-n900/</link>
		<comments>http://pascal.nextrem.ch/2010/10/19/use-zentyal-zarafe-z-push-with-an-n900/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 21:46:49 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[Experience]]></category>
		<category><![CDATA[activesync]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[z-push]]></category>
		<category><![CDATA[zarafa]]></category>
		<category><![CDATA[zentyal]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=432</guid>
		<description><![CDATA[<p>Today I had the problem that my Nokia N900 Mail for Exchange could not sync with my Zentyal server via Active Sync. After some research I found a solution in the Zarafa forum.</p> <p>It consists of activating LOOSE_PROVISIONING in your z-push config.php. If you are using Zentyal 2.0 this is located at /usr/share/z-push/config.php and [...]]]></description>
			<content:encoded><![CDATA[<p>Today I had the problem that my Nokia N900 Mail for Exchange could not sync with my Zentyal server via Active Sync. After some research I found a solution in the Zarafa forum.</p>
<p>It consists of activating <em>LOOSE_PROVISIONING</em> in your z-push <strong>config.php</strong>.<br />
If you are using Zentyal 2.0 this is located at <strong>/usr/share/z-push/config.php</strong> and you have to change the line:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'LOOSE_PROVISIONING'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>to</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">define</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'LOOSE_PROVISIONING'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>now it should work.<br />
Unfortunately I'm not sure if this gets overwritten during the next update!</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2010/10/19/use-zentyal-zarafe-z-push-with-an-n900/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Build Ubuntu/Debian packages from source (and apply a patch)</title>
		<link>http://pascal.nextrem.ch/2010/05/06/build-ubuntudebian-packages-from-source-and-apply-a-patch/</link>
		<comments>http://pascal.nextrem.ch/2010/05/06/build-ubuntudebian-packages-from-source-and-apply-a-patch/#comments</comments>
		<pubDate>Thu, 06 May 2010 17:01:58 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[HowTo's]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=407</guid>
		<description><![CDATA[<p>Sometimes there is a bug in a package from ubuntu that is not yet fixed, or you just want to modify something in the source of a software. Here is an easy way to build your own package from the ubuntu sources.</p> <p>First you need to install the required tools for building software from [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes there is a bug in a package from ubuntu that is not yet fixed, or you just want to modify something in the source of a software. Here is an easy way to build your own package from the ubuntu sources.</p>
<p>First you need to install the required tools for building software from source</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential</pre></div></div>

<p>Let's assume you want to build a package called <strong><em>foo</em></strong> and apply a patch <em><strong>bar.patch</strong></em> to it.</p>
<p>First you have to download the necessary build dependencies for <strong><em>foo</em></strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> build-dep foo</pre></div></div>

<p>Now you are ready to download the actual sources of the package (<span style="text-decoration: underline;">Don't use sudo here!!</span>)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #7a0874; font-weight: bold;">source</span> foo</pre></div></div>

<p>This gives you a directory called <strong><em>foo-&lt;version&gt;</em></strong> you can now cd into it apply the patch and build the package</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> foo-<span style="color: #000000; font-weight: bold;">&lt;</span>version<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">patch</span> <span style="color: #660033;">-p1</span> <span style="color: #000000; font-weight: bold;">&lt;</span> bar.patch
dpkg-buildpackage</pre></div></div>

<p>Now you have a package called <strong><em>foo-&lt;version&gt;.deb</em></strong> in the same directory where you have run apt-get source. You can install it using dpkg.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">dpkg</span> <span style="color: #660033;">-i</span> foo-<span style="color: #000000; font-weight: bold;">&lt;</span>version<span style="color: #000000; font-weight: bold;">&gt;</span>.deb</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2010/05/06/build-ubuntudebian-packages-from-source-and-apply-a-patch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically start SCREEN on SSH login</title>
		<link>http://pascal.nextrem.ch/2010/04/30/automatically-start-screen-on-ssh-login/</link>
		<comments>http://pascal.nextrem.ch/2010/04/30/automatically-start-screen-on-ssh-login/#comments</comments>
		<pubDate>Fri, 30 Apr 2010 20:52:48 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[HowTo's]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=394</guid>
		<description><![CDATA[<p>I just found a nice method to invoke screen automatically if after login via SSH. So you don't have to manually start it first.</p> <p>Put the following at the end of your ~/.bashrc</p> # Auto-screen invocation. see: http://taint.org/wk/RemoteLoginAutoScreen # if we're coming from a remote SSH connection, in an interactive session # then automatically [...]]]></description>
			<content:encoded><![CDATA[<p>I just found a nice method to invoke screen automatically if after login via SSH. So you don't have to manually start it first.</p>
<p>Put the following at the end of your <code>~/.bashrc</code></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># Auto-screen invocation. see: http://taint.org/wk/RemoteLoginAutoScreen</span>
<span style="color: #666666; font-style: italic;"># if we're coming from a remote SSH connection, in an interactive session</span>
<span style="color: #666666; font-style: italic;"># then automatically put us into a screen(1) session.   Only try once</span>
<span style="color: #666666; font-style: italic;"># -- if $STARTED_SCREEN is set, don't try it again, to avoid looping</span>
<span style="color: #666666; font-style: italic;"># if screen fails for some reason.</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$PS1</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= <span style="color: #ff0000;">&quot;&quot;</span> <span style="color: #660033;">-a</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${STARTED_SCREEN:-x}</span>&quot;</span> = x <span style="color: #660033;">-a</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${SSH_TTY:-x}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">!</span>= x <span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #000000; font-weight: bold;">then</span>
  <span style="color: #007800;">STARTED_SCREEN</span>=<span style="color: #000000;">1</span> ; <span style="color: #7a0874; font-weight: bold;">export</span> STARTED_SCREEN
  <span style="color: #7a0874; font-weight: bold;">&#91;</span> <span style="color: #660033;">-d</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>screen-logs <span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #007800;">$HOME</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>screen-logs
  <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
  <span style="color: #c20cb9; font-weight: bold;">screen</span> <span style="color: #660033;">-RR</span> <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span>
  <span style="color: #666666; font-style: italic;"># normally, execution of this rc script ends here...</span>
  <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Screen failed! continuing with normal bash startup&quot;</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #666666; font-style: italic;"># [end of auto-screen snippet]</span></pre></div></div>

<p>If you want more details and some additional tricks just go to <a href="http://taint.org/wk/RemoteLoginAutoScreen">http://taint.org/wk/RemoteLoginAutoScreen</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2010/04/30/automatically-start-screen-on-ssh-login/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Bazaar Pro Engineer Helpers 0.3.0 Released</title>
		<link>http://pascal.nextrem.ch/2010/01/21/bazaar-pro-engineer-helpers-0-3-0-released/</link>
		<comments>http://pascal.nextrem.ch/2010/01/21/bazaar-pro-engineer-helpers-0-3-0-released/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 20:40:02 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[bzr]]></category>
		<category><![CDATA[proe]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=379</guid>
		<description><![CDATA[<p>Yesterday I released Bazaar Pro Engineer Helpers 0.3.0 it supports recognizes more file types and does some more cleaning if you use the --purge option.</p> <p>You can download it on Launchpad or directly form my site.</p> <p>Installation instructions can be found here.</p> <p>Additionally is now listed at Softpedia.</p> ]]></description>
			<content:encoded><![CDATA[<p>Yesterday I released <a href="https://edge.launchpad.net/bzr-proe">Bazaar Pro Engineer Helpers 0.3.0</a> it supports recognizes more file types and does some more cleaning if you use the <em>--purge</em> option.</p>
<p>You can download it on <a href="https://edge.launchpad.net/bzr-proe">Launchpad</a> or directly form <a href="http://pascal.nextrem.ch/files/bzr-proe-0.3.0.zip">my site</a>.</p>
<p>Installation instructions can be found <a href="http://pascal.nextrem.ch/bzr-proe/">here</a>.</p>
<p>Additionally is now listed at <a href="http://mac.softpedia.com/get/Developer-Tools/Bazaar-Pro-Engineer-Helper.shtml">Softpedia</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2010/01/21/bazaar-pro-engineer-helpers-0-3-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wuala rc.d Script for Archlinux</title>
		<link>http://pascal.nextrem.ch/2010/01/12/wuala-rc-d-script-for-archlinux/</link>
		<comments>http://pascal.nextrem.ch/2010/01/12/wuala-rc-d-script-for-archlinux/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 00:16:47 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[archlinux]]></category>
		<category><![CDATA[wuala]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=360</guid>
		<description><![CDATA[<p>Recently I published an init.d script for debian/ubuntu to start wuala in headless mode. Since some time now I have a mediacenter running on Archlinux so the debian init.d script needed some change to run properly. I'm currently putting together a package to install wuala on archlinux with via pacman. In the meantime I [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I published an <a href="http://pascal.nextrem.ch/2009/10/20/wuala-init-d-script/">init.d script for debian/ubuntu</a> to start wuala in headless mode. Since some time now I have a mediacenter running on <a href="http://www.archlinux.org/" target="_blank">Archlinux</a> so the debian init.d script needed some change to run properly. I'm currently putting together a package to install wuala on archlinux with via pacman. In the meantime I will publish the rc.d script  in case someone wants to install wuala manually following the instructions found <a href="http://www.wuala.com/blog/2009/03/effective-usage-running-wuala-on-debian.html" target="_blank">here</a>.</p>
<p><a href="http://pascal.nextrem.ch/files/archlinux/wuala" target="_blank">/etc/rc.d/wuala</a> (<a href="http://pascal.nextrem.ch/files/archlinux/wuala" target="_blank">download</a>)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">!/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">bash</span>
&nbsp;
<span style="color: #007800;">WUALADIR</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>wuala<span style="color: #000000; font-weight: bold;">/</span>wuala
<span style="color: #007800;">WUALAUSR</span>=wuala
<span style="color: #007800;">BACKPWD</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #7a0874; font-weight: bold;">pwd</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">USECOLOR</span>=<span style="color: #ff0000;">&quot;YES&quot;</span>
. <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>functions
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;$1&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
        start<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #007800;">rc</span>=<span style="color: #000000;">0</span>
                stat_busy <span style="color: #ff0000;">&quot;Starting Wuala&quot;</span>
                <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$WUALADIR</span>
                <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;screen -d -m <span style="color: #007800;">$WUALADIR</span>/wualacmd&quot;</span>
&nbsp;
                add_daemon wuala
                stat_done
&nbsp;
        <span style="color: #000000; font-weight: bold;">;;</span>
        stop<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #007800;">rc</span>=<span style="color: #000000;">0</span>
                stat_busy <span style="color: #ff0000;">&quot;Stopping Wuala&quot;</span>
                <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$WUALADIR</span>
                <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$WUALADIR</span>/wualacmd exit &gt; /dev/null&quot;</span>
&nbsp;
                rm_daemon wuala
                stat_done
        <span style="color: #000000; font-weight: bold;">;;</span>
        restart<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #007800;">$0</span> stop
                <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
                <span style="color: #007800;">$0</span> start
        <span style="color: #000000; font-weight: bold;">;;</span>
        status<span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$WUALADIR</span>
                <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$WUALADIR</span>/wualacmd showStatus&quot;</span>
        <span style="color: #000000; font-weight: bold;">;;</span>
        <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
                <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;usage: $0 {start|stop|restart|status}&quot;</span>
<span style="color: #000000; font-weight: bold;">esac</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #007800;">$BACKPWD</span>
&nbsp;
<span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">0</span></pre></div></div>

<p><span style="color: #ff0000;">Upadte: Use wualacmd instead of  wuala. (Thanks to http://www.synergeek.fr/2010/06/wuala-sous-linux/  for the hint)</span></p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2010/01/12/wuala-rc-d-script-for-archlinux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP Printer drivers (hpijs) for Mac OS X</title>
		<link>http://pascal.nextrem.ch/2009/12/24/hp-printer-drivers-hpijs-for-mac-os-x/</link>
		<comments>http://pascal.nextrem.ch/2009/12/24/hp-printer-drivers-hpijs-for-mac-os-x/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 10:54:48 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[HowTo's]]></category>
		<category><![CDATA[cups]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[macosx]]></category>
		<category><![CDATA[printer]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=345</guid>
		<description><![CDATA[<p>Since I switched to Snow Leopard I was not satisfied with the printing drivers for my old HP OfficeJet 95. I used the included Gutenprint drivers. For text they worked ok, but images looked terrible.</p> <p>Today I decided to do something about it. From Linux I know that HPLIP has some pretty good driver [...]]]></description>
			<content:encoded><![CDATA[<p>Since I switched to Snow Leopard I was not satisfied with the printing drivers for my old HP OfficeJet 95. I used the included Gutenprint drivers. For text they worked ok, but images looked terrible.</p>
<p>Today I decided to do something about it. From Linux I know that <a href="http://hplipopensource.com/hplip-web/index.html">HPLIP</a> has some pretty good driver (hpijs) for most HP Devices. Fortunately I can use the same drivers for Mac OS X to. You need three packages to do this. More information can be found on the website of the <a href="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs">Linux Foundation</a>.</p>
<p><a href="http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs">http://www.linuxfoundation.org/collaborate/workgroups/openprinting/macosx/hpijs</a></p>
<p>This should help you get your old HP Printer working.</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2009/12/24/hp-printer-drivers-hpijs-for-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to enable ALSA Analog 5.1 Sound on Nvidia ION</title>
		<link>http://pascal.nextrem.ch/2009/10/31/how-to-enable-alsa-analog-5-1-sound-on-nvidia-ion/</link>
		<comments>http://pascal.nextrem.ch/2009/10/31/how-to-enable-alsa-analog-5-1-sound-on-nvidia-ion/#comments</comments>
		<pubDate>Sat, 31 Oct 2009 14:04:36 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[HowTo's]]></category>
		<category><![CDATA[ION]]></category>
		<category><![CDATA[mediacenter]]></category>
		<category><![CDATA[xbmc]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=339</guid>
		<description><![CDATA[<p>I recently had the problem to enable 5.1 Sound with 3 click outputs on an Nvidia ION board. By default Linux configures it with only one plug configured as output. After some research I found a solution in the OpenSUSE Wiki you have to set during module loading to get it working. Basically you [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had the problem to enable 5.1 Sound with 3 click outputs on an Nvidia ION board. By default Linux configures it with only one plug configured as output. After some research I found a<a href="http://de.opensuse.org/SDB:Intel-hda"> solution in the OpenSUSE Wiki</a> you have to set during module loading to get it working.<br />
Basically you have to add</p>
<pre>options snd-hda-intel <strong>model=3stack-6ch</strong> enable=1 index=0</pre>
<p>to your modeprobe.conf to tell the driver to use all its 3 plugs as output. After you loaded the modules like this, alsamixer will show you all the 6 channels, so you can unmute them.</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2009/10/31/how-to-enable-alsa-analog-5-1-sound-on-nvidia-ion/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wuala init.d Script for Debian/Ubuntu (Improved)</title>
		<link>http://pascal.nextrem.ch/2009/10/20/wuala-init-d-script/</link>
		<comments>http://pascal.nextrem.ch/2009/10/20/wuala-init-d-script/#comments</comments>
		<pubDate>Tue, 20 Oct 2009 19:09:52 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wuala]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/?p=330</guid>
		<description><![CDATA[<p>I recently wanted to install Wuala on my brand new media center PC running Ubuntu on it. It was not that hard because there is an excellent tutorial on how to setup wuala on a headless machine.</p> <p>Unfortunately there was no script to start and stop Wuala on system start-up and shutdown. So I [...]]]></description>
			<content:encoded><![CDATA[<p>I recently wanted to install <a href="http://wuala.com">Wuala</a> on my brand new media center PC running Ubuntu on it. It was not that hard because there is an excellent tutorial on how to <a href="http://www.wuala.com/blog/2009/03/effective-usage-running-wuala-on-debian.html">setup wuala on a headless machine</a>.</p>
<p>Unfortunately there was no script to start and stop Wuala on system start-up and shutdown. So I decided to create one.</p>
<p><a href="http://pascal.nextrem.ch/files/debian/wuala" target="_blank">/etc/init.d/wuala</a> (<a href="http://pascal.nextrem.ch/files/debian/wuala" target="_blank">download</a>)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
<span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;">### BEGIN INIT INFO</span>
<span style="color: #666666; font-style: italic;"># Provides:          wuala</span>
<span style="color: #666666; font-style: italic;"># Required-Start:    $network $local_fs $remote_fs</span>
<span style="color: #666666; font-style: italic;"># Required-Stop:     $network $local_fs $remote_fs</span>
<span style="color: #666666; font-style: italic;"># Default-Start:     2 3 4 5</span>
<span style="color: #666666; font-style: italic;"># Default-Stop:      0 1 6</span>
<span style="color: #666666; font-style: italic;"># Short-Description: start Wuala headless (wuala)</span>
<span style="color: #666666; font-style: italic;">### END INIT INFO</span>
&nbsp;
<span style="color: #007800;">WUALADIR</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>wuala
<span style="color: #007800;">WUALAUSR</span>=wuala
&nbsp;
<span style="color: #007800;">WUALALOG</span>=<span style="color: #007800;">$WUALADIR</span><span style="color: #000000; font-weight: bold;">/</span>out.log
<span style="color: #007800;">WUALAERR</span>=<span style="color: #007800;">$WUALADIR</span><span style="color: #000000; font-weight: bold;">/</span>error.log
&nbsp;
uptest<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>
<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #c20cb9; font-weight: bold;">ps</span> <span style="color: #660033;">-u</span> <span style="color: #007800;">$WUALAUSR</span> u<span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #660033;">-v</span> <span style="color: #c20cb9; font-weight: bold;">grep</span><span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">grep</span> loader3.jar <span style="color: #000000; font-weight: bold;">&gt;/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null;<span style="color: #000000; font-weight: bold;">then</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Wuala is running&quot;</span>
<span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">0</span>
<span style="color: #000000; font-weight: bold;">else</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Wuala is not running&quot;</span>
<span style="color: #7a0874; font-weight: bold;">return</span> <span style="color: #000000;">1</span>
<span style="color: #000000; font-weight: bold;">fi</span>
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">case</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">${1:-''}</span>&quot;</span> <span style="color: #000000; font-weight: bold;">in</span>
  <span style="color: #ff0000;">'start'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #666666; font-style: italic;"># start commands here</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Starting Wuala...&quot;</span>
        uptest <span style="color: #000000; font-weight: bold;">||</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;wualacmd &gt; <span style="color: #007800;">$WUALALOG</span> 2&gt; <span style="color: #007800;">$WUALAERR</span> &amp;&quot;</span>
    <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  <span style="color: #ff0000;">'stop'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #666666; font-style: italic;"># stop commands here</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Stopping Wuala...&quot;</span>
        uptest <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;wualacmd exit &gt; <span style="color: #007800;">$WUALALOG</span> 2&gt; <span style="color: #007800;">$WUALAERR</span>&quot;</span>
    <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  <span style="color: #ff0000;">'restart'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #666666; font-style: italic;"># restart commands here</span>
        <span style="color: #007800;">$0</span> stop
        <span style="color: #c20cb9; font-weight: bold;">sleep</span> <span style="color: #000000;">1</span>
        <span style="color: #007800;">$0</span> start
    <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  <span style="color: #ff0000;">'status'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
        <span style="color: #666666; font-style: italic;"># status commands here</span>
        uptest <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;wualacmd showStatus&quot;</span>
        uptest <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;wualacmd connectionInfo&quot;</span>
        uptest <span style="color: #000000; font-weight: bold;">&amp;&amp;</span> <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #007800;">$WUALAUSR</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">&quot;wualacmd showSettings&quot;</span>
    <span style="color: #000000; font-weight: bold;">;;</span>
&nbsp;
  <span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>    
        <span style="color: #666666; font-style: italic;"># no parameter specified</span>
        <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;Usage: <span style="color: #007800;">$SELF</span> start|stop|restart|status&quot;</span>
        <span style="color: #7a0874; font-weight: bold;">exit</span> <span style="color: #000000;">1</span>
    <span style="color: #000000; font-weight: bold;">;;</span>
<span style="color: #000000; font-weight: bold;">esac</span></pre></div></div>

<p>It is a very early version with not much error checking, so use it at your own risk. I just posted it in case somebody might find it useful.</p>
<p>To use it just save the content to <code>/etc/init.d/wuala</code> and run</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> update-rc.d wuala defaults</pre></div></div>

<p><span style="color: #ff0000;">Update: Added the necessary LSB informations</span><br />
<span style="color: #ff0000;">Update 2: The file can now be downloaded: <a href="http://pascal.nextrem.ch/files/debian/wuala" target="_blank">/etc/init.d/wuala</a></span>.<br />
<span style="color: #ff0000;">Upadte 3: Use wualacmd instead of wuala.</span> (Thanks to http://www.synergeek.fr/2010/06/wuala-sous-linux/ for the hint)<br />
<span style="color: #ff0000;">Upadte 4: The new version checks if wuala is already running for the given user.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2009/10/20/wuala-init-d-script/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Activate VT Virtalization support on a Sony Vaio VGN-Z11WN</title>
		<link>http://pascal.nextrem.ch/2009/08/05/activate-vt-virtalization-support-on-a-sony-vaio-vgn-z11wn/</link>
		<comments>http://pascal.nextrem.ch/2009/08/05/activate-vt-virtalization-support-on-a-sony-vaio-vgn-z11wn/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 11:43:32 +0000</pubDate>
		<dc:creator>Pascal Bach</dc:creator>
				<category><![CDATA[HowTo's]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://pascal.nextrem.ch/2009/08/05/activate-vt-virtalization-support-on-a-sony-vaio-vgn-z11wn/</guid>
		<description><![CDATA[<p>Update: Sony released a new version of their BIOS which allows the activation via menu.</p> <p>I found a nice tutorial how to enable the Support for Intel VT on a Sony Vaio, with Firmware. Just follow the tutorial on this site.</p> ]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;">Update: Sony released a new version of their BIOS which allows the activation via menu.</span></p>
<p>I found a nice tutorial how to enable the Support for Intel VT on a Sony Vaio, with Firmware.<br />
Just follow the tutorial on <a href="http://blog.durdle.com/archives/2009/07/30/enable-vt-on-sony-vaio-z11/">this site</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://pascal.nextrem.ch/2009/08/05/activate-vt-virtalization-support-on-a-sony-vaio-vgn-z11wn/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

