<?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>madnet.ch - Rolf Klemenz</title>
	<atom:link href="http://www.madnet.ch/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.madnet.ch</link>
	<description>because technology matters</description>
	<lastBuildDate>Fri, 23 Mar 2012 19:16:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Steve Jobs has passed away</title>
		<link>http://www.madnet.ch/2011/10/06/steve-jobs-has-passed-away/</link>
		<comments>http://www.madnet.ch/2011/10/06/steve-jobs-has-passed-away/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 19:01:46 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/?p=508</guid>
		<description><![CDATA[On Wednesday, 5 October 2011, Steve Jobs has passed away. He once said: &#8220;Being the richest man in the cemetery doesn&#8217;t matter to me &#8230; Going to bed at night saying we&#8217;ve done something wonderful&#8230; that&#8217;s what matters to me.&#8221; &#8230; <a href="http://www.madnet.ch/2011/10/06/steve-jobs-has-passed-away/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On Wednesday, 5 October 2011, Steve Jobs has passed away. </p>
<p>He once said: &#8220;Being the richest man in the cemetery doesn&#8217;t matter to me &#8230; Going to bed at night saying we&#8217;ve done something wonderful&#8230; that&#8217;s what matters to me.&#8221;<br />
And I think he was just right.</p>
<p>Rest in Peace, Mr. Jobs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2011/10/06/steve-jobs-has-passed-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade your SuSE server</title>
		<link>http://www.madnet.ch/2010/11/03/upgrade-your-suse-server/</link>
		<comments>http://www.madnet.ch/2010/11/03/upgrade-your-suse-server/#comments</comments>
		<pubDate>Wed, 03 Nov 2010 21:23:11 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[MadNet]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[setup]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/?p=433</guid>
		<description><![CDATA[I run a SuSE 11 internet server providing some basic services. I recently had to upgrade to a new version of SuSE (11.3) and it took my quite some time to do so. Therefore I am listing here the necessary &#8230; <a href="http://www.madnet.ch/2010/11/03/upgrade-your-suse-server/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I run a SuSE 11 internet server providing some basic services.<br />
I recently had to upgrade to a new version of SuSE (11.3) and it took my quite some time to do so.<br />
Therefore I am listing here the necessary steps, hoping that the next time I will spend less time on such an upgrade&#8230; </p>
<p><strong>Services installed</strong></p>
<ul>
<li>dovecot IMAP/IMAPS Mail Server</li>
<li>dovecot POP3/POP3S Mail Server</li>
<li>postfix SMTP TLS MTA</li>
<li>Apache HTTP/HTTPs Webserver</li>
<li>Subversion Repository</li>
<li>WebDAV online Disk</li>
<li>BIND DNS</li>
</ul>
<p><br/></p>
<p><strong>Preparations and basic setup</strong></p>
<ol>
<li>Take the server off-line and make sure no mail arrives. The emails will be queued on the alternate MX and delivered later.</li>
<li>Do the backup (<code>rsync</code> including all deletions)</li>
<li>Dump the installed packes to an XML using <code>yast2</code> Software Management</li>
<li>Install base software from boot ISO over the network</li>
<li>Setup Networking</li>
<li>Restore <code>/etc/passwd</code></li>
<li>Restore <code>/etc/shadow</code></li>
<li>Restore <code>/home</code> in the background</li>
</ol>
<p><br/><br />
<strong>Setup Mail Server</strong></p>
<ol>
<li>Setup postfix (check possibility to restore <code>/etc/sysconfig/postfix</code> from backup), but do not start</li>
<li>Setup dovecot (restore <code>/etc/dovecot/dovecot.conf</code>), but do not start</li>
<li>Check certificate values in <code>/etc/sysconfig/postfix</code> (or restore from backup)</li>
<li>Create postfix certificates and SSL CA using <code>mkpostfixcert</code></li>
<li>Edit the config file <code>/usr/share/doc/packages/dovecot/dovecot-openssl.cnf</code> (attention, will be overwritten when upgrading dovecot)</li>
<li>Run <code>/usr/share/doc/packages/dovecot/mkcert.sh</code></li>
<li>Download and install roundcube mail in <code>/srv/www/htdocs</code></li>
</ol>
<p><br/><br />
<strong>Setup Apache Webserver</strong></p>
<ol>
<li>Setup apache2 (check possibility to restore <code>/etc/sysconfig/apache2</code>)</li>
<li>Restore <code>/etc/apache2/vhost.d</code> from backup</li>
<li>Restore <code>/etc/apache2/conf.d/subversion.conf</code> from backup</li>
<li>Generate the following certificates for apache using <code>yast2</code> (mail, svn, disk)</li>
<li>Export the PEM encoded certificates to <code>/etc/apache/ssl.crt|key/</code></li>
</ol>
<p><br/><br />
<strong>Setup BIND Name Server</strong></p>
<ol>
<li>Restore <code>/etc/named.conf</code> from backup</li>
<li>Restore <code>/etc/named.d</code> from backup</li>
<li>Restore <code>/var/lib/named/master</code> from backup</li>
</ol>
<p><br/><br />
<strong>Setup MySQL</strong></p>
<ol>
<li>Restore <code>/etc/my.cnf</code> from backup</li>
<li>Restore <code>/var/lib/mysql</code> from backup</li>
</ol>
<p><br/><br />
<strong>Setup Subversion</strong></p>
<ol>
<li>If subversion is the same version (or compatible) just restore /srv/svn from backup</li>
<li>If subversion is not compatible anymore use <code>svnadmin load</code> to load the dump from the backup</li>
</ol>
<p><br/><br />
There&#8217;s noting to do for the WebDAV disk <img src='http://www.madnet.ch/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley colorbox-433' />  </p>
<p>After all the configuration files etc. have been restored and the settings in <code>/etc/sysconfig</code> have been checked, run SuSEconfig for the last time and test the mail server.<br />
Unplug from the internet and start postfix and dovecot.<br />
Check if a locally created mail is correctly handled by postfix, amavis and successfully delivered with dovecot.<br />
Also check if the IMAP mbox is created in <code>/var/spool/mail</code>.</p>
<p>If this test succeeds we can restore <code>/var/spool/mail</code> from backup and connect to the internet again.</p>
<p>Now use <code>yast2</code> to edit the runlevel configuration and make sure all the services are started at boot-time.<br />
Also start them now.</p>
<p>Stored e-mails should no be delivered and correctly handled by the mail server. </p>
<p>Test all the virtual apache servers, webmail, subversion and WebDAV. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2010/11/03/upgrade-your-suse-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Certified ScrumMaster</title>
		<link>http://www.madnet.ch/2010/06/25/certified-scrummaster/</link>
		<comments>http://www.madnet.ch/2010/06/25/certified-scrummaster/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 16:38:39 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[scrum agile]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/?p=418</guid>
		<description><![CDATA[On 21./22.6.2010 I attended the ScrumMaster Certification Training by Jeff Sutherland. It was a great experience to get first hand information on Scrum and what it really can do for your productivity. As a strong believer in lean processes, Scrum &#8230; <a href="http://www.madnet.ch/2010/06/25/certified-scrummaster/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>On 21./22.6.2010 I attended the ScrumMaster Certification Training by Jeff Sutherland. It was a great experience to get first hand information on Scrum and what it really can do for your productivity. As a strong believer in lean processes, Scrum is a perfect fit.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2010/06/25/certified-scrummaster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup a VPN between Mac OS X 10.5 and an iPhone over a Netopia 3346 from Bluewin</title>
		<link>http://www.madnet.ch/2009/08/30/setup-a-vpn-between-mac-os-x-10-5-and-an-iphone-over-a-netopia-3346-from-bluewin/</link>
		<comments>http://www.madnet.ch/2009/08/30/setup-a-vpn-between-mac-os-x-10-5-and-an-iphone-over-a-netopia-3346-from-bluewin/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 12:38:31 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[bluewin]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mac os x]]></category>
		<category><![CDATA[netopia]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/?p=353</guid>
		<description><![CDATA[Took me quite some time but, finally I managed to get it up-and-running: My personal VPN, connecting my iPhone and my home network. This post outlines the most important things. <a href="http://www.madnet.ch/2009/08/30/setup-a-vpn-between-mac-os-x-10-5-and-an-iphone-over-a-netopia-3346-from-bluewin/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Took me quite some time but, finally I managed to get it up-and-running: My personal VPN, connecting my iPhone and my home network. This post outlines the most important things.</p>
<p>Your Mac OS X has all the capabilities built-in to setup a secure VPN:</p>
<ul>
<li>racoon (ipsec)</li>
<li>vpnd (l2tp/pptp tunnelling)</li>
<li>pppd (connection)</li>
</ul>
<p><br/><br />
The only difference to Mac OS X Server is that there&#8217;s no GUI for a simple configuration. </p>
<h3>VPN Server Set-up</h3>
<p>There&#8217;s where iVPN comes handy.<br />
It&#8217;s straight forward to use and self-explaining. iVPN maintains a valid configuration file for vpnd <code>(/Library/Preferences/SystemConfiguration/com.apple.RemoteAccessServers.plist)</code> and takes care of your <code>chap.secrets</code> and <code>user.plist</code> (both in <code>/etc/ppp</code>).<br />
<em>Versions above 2.4 cost something — but you can use the old 2.4 release (<a href="http://the.0gravity.co.uk/universe/apple/osx/leopard/vpnserver/iVPN-2.4b.zip">Download here</a>)<br />
because you only need it for the initial set-up.<br />
</em><br />
The only thing to do after you created your config with iVPN 2.4 is to <code>chmod 600 /etc/ppp/*</code> to protect the plain text passwords. </p>
<p>To start your vpn, you can use either iVPN or simply call <code>vpnd</code> from your terminal.</p>
<h3>Client Set-up</h3>
<p>Now configure your iPhone to use L2TP/IPsec and run a local test on your wireless LAN. Use the same values like before&#8230; Works? Good, then proceed.</p>
<h3>Netopia Router/Firewall/NAT Config</h3>
<p>Put your netopia to &#8216;expert mode&#8217;. Goto configuration->NAT/Games. </p>
<p>The Netopia box needs to have the following ports forwarded to your VPN server:<br />
<div id="attachment_356" class="wp-caption alignnone" style="width: 310px"><a href="http://www.madnet.ch/wp-content/uploads/Bild-2.png" rel="lightbox"><img src="http://www.madnet.ch/wp-content/uploads/Bild-2-300x173.png" alt="Netopia Port Forwards" title="Netopia config" width="300" height="173" class="size-medium wp-image-356 colorbox-353"/></a><p class="wp-caption-text">Netopia Port Forwards</p></div></p>
<p>&#8220;L2TP&#8221; is a manual UDP Port 4500 forward<br />
&#8220;L2TP Traffic&#8221; is a manual UDP Port 1701 forward </p>
<p>Now configure your iPhone to use your public IP address and try to connect. </p>
<p>On your VPN server you should see all activity in the log file <code>/var/log/ppp/vpnd.log</code></p>
<p>I&#8217;ve chosen to use L2TP/IPsec because it is more secure.<br />
PPTP is basically supported as well, but I did not get it to run and I didn&#8217;t want to spend more time on this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2009/08/30/setup-a-vpn-between-mac-os-x-10-5-and-an-iphone-over-a-netopia-3346-from-bluewin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook to support OpenId as relying party</title>
		<link>http://www.madnet.ch/2009/04/28/facebook-to-support-openid-as-relying-party/</link>
		<comments>http://www.madnet.ch/2009/04/28/facebook-to-support-openid-as-relying-party/#comments</comments>
		<pubDate>Tue, 28 Apr 2009 05:20:44 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[OpenId]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/?p=326</guid>
		<description><![CDATA[Some time ago I asked myself the question, &#8220;why does Facebook not support OpenId to log in?&#8221;. Despite the fact that facebook directly competes OpenId with it&#8217;s facebook connect product, they&#8217;re even going a step further than most of the &#8230; <a href="http://www.madnet.ch/2009/04/28/facebook-to-support-openid-as-relying-party/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some time ago I asked myself the question, &#8220;why does Facebook not support OpenId to log in?&#8221;. </p>
<p>Despite the fact that facebook directly competes OpenId with it&#8217;s facebook connect product, they&#8217;re even going a step further than most of the other sites featuring OpenId logins.<br />
Facebook seems to become not only an issuing party (make your accounts compatible with OpenId) but also a relying party (accept login credentials from other OpenId sites). </p>
<p>Hopefully this will help OpenId to increase popularity&#8230; </p>
<p>(via <a href="http://www.techcrunch.com/2009/04/27/facebook-first-big-site-to-really-embrace-openid/">TechCrunch</a>)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2009/04/28/facebook-to-support-openid-as-relying-party/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>maven and canoo webtest pitfall</title>
		<link>http://www.madnet.ch/2009/04/06/maven-and-canoo-webtest-pitfall/</link>
		<comments>http://www.madnet.ch/2009/04/06/maven-and-canoo-webtest-pitfall/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 19:47:13 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[commons]]></category>
		<category><![CDATA[httpclient]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[webDAV]]></category>
		<category><![CDATA[webtest]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/2009/04/06/maven-and-canoo-webtest-pitfall/</guid>
		<description><![CDATA[Today, I spent about 2 hours to find out why our canoo webtests didn&#8217;t run anymore after adding the webDAV wagon to our maven build. The problem was that when adding the webDAV-wagon to your build as an extension, you &#8230; <a href="http://www.madnet.ch/2009/04/06/maven-and-canoo-webtest-pitfall/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, I spent about 2 hours to find out why our canoo webtests didn&#8217;t run anymore after adding the webDAV wagon to our maven build. </p>
<p>The problem was that when adding the webDAV-wagon to your build as an extension, you also get the commons-httpclient dependency to the maven runtime classpath. This wouldn&#8217;t be too bad, but the 1.0-beta2 version of the webDAV-wagon depends on commons-httpclient version 2.0.2. That&#8217;s way too old for canoo webtest and is also deprecated for almost a year now. </p>
<p>I found out that starting with maven 2.0.9 you don&#8217;t need to have an explicit reference to the webDAV-wagon as extension anymore. </p>
<p>E voilà! Suddenly it worked. Maven 2.0.9 also seems to work with version 3.1 of commons-httpclient, the same version canoo webtest depends on. </p>
<p>So, if you get a &#8216;NoSuchMethodFound&#8217; for HttpConnectionManager.getParams() first check if you&#8217;re using the webDAV-wagon extension first. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2009/04/06/maven-and-canoo-webtest-pitfall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tuning Gigabit Ethernet on Mac OS X (10.5)</title>
		<link>http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/</link>
		<comments>http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 08:13:24 +0000</pubDate>
		<dc:creator>Rolf</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[MadNet]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[performance]]></category>

		<guid isPermaLink="false">http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/</guid>
		<description><![CDATA[I recently bought a new NAS (Netgear ReadyNAS Duo) and attached it to my gigabit ethernet network. Unfortunately I only got transfer rates at around 10 MB/s which is really poor. I enabled Jumbo Frames (MTU &#62; 1500) but this &#8230; <a href="http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently bought a new NAS (Netgear ReadyNAS Duo) and attached it to my gigabit ethernet network. Unfortunately I only got transfer rates at around 10 MB/s which is really poor. I enabled Jumbo Frames (MTU &gt; 1500) but this didn&#8217;t help much. So I did a bit more research and found out that the limiting factor was not only the MTU but the send and receive buffers.<br />
This means my CPU was not able to catch up with the speed of the gigabit ethernet. What I did then was to increase the send and receive buffers for TCP/UDP traffic. É voilà! Now I get at least 35 MB/s. Still not the max a gigabit ethernet can offer, but I&#8217;m on the right way. I&#8217;d like to see something like 80-90 MB/s. Given the Samsung Disk can do at least 175 MB/s to/from buffer this should be possible.</p>
<p>I use the following parameters in my sysctl.conf:</p>
<p><code>kern.ipc.maxsockbuf=2500000<br />
net.inet.tcp.sendspace=1000000<br />
net.inet.tcp.recvspace=1000000<br />
net.inet.tcp.mssdflt=7936<br />
net.inet.tcp.delayed_ack=0</code><br />
The buffers are probably too high, I know. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.madnet.ch/2009/02/16/tuning-gigabit-ethernet-on-mac-os-x-105/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

