<?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>Philipp Schmid &#187; Linux</title>
<atom:link href="http://www.schmidp.com/category/linux/feed/" rel="self" type="application/rss+xml" />
<link>http://www.schmidp.com</link>
<description>a plain personal blog</description>
<lastBuildDate>Sun, 02 Oct 2011 09:35:11 +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>Downloading a file over an unstable connection with wget</title>
<link>http://www.schmidp.com/2009/03/03/downloading-a-file-over-an-unstable-connection-with-wget/</link>
<comments>http://www.schmidp.com/2009/03/03/downloading-a-file-over-an-unstable-connection-with-wget/#comments</comments>
<pubDate>Tue, 03 Mar 2009 18:48:08 +0000</pubDate>
<dc:creator>schmidp</dc:creator>
<category>
<![CDATA[Linux]]>
</category>
<guid isPermaLink="false">http://www.schmidp.com/?p=83</guid>
<description>
<![CDATA[I&#8217;m currently downloading a very big file (15GB) over a slow and unstable connection, so I was looking for a way to resume the download if the connection stalled or if I had to disconnect my notebook for some time. I ended up using good old wget with the following options: wget -c &#8211;tries=0 &#8211;retry-connrefused [...]]]>
</description>
<content:encoded>
<![CDATA[<p>I&#8217;m currently downloading a very big file (15GB) over a slow and unstable connection, so I was looking for a way to resume the download if the connection stalled or if I had to disconnect my notebook for some time.</p>
<p>I ended up using good old wget with the following options:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;">
<ol>
<li class="li1">
<div class="de1"><span class="kw2">wget</span> <span class="re5">-c</span> <span class="re5">&#8211;tries</span>=0 <span class="re5">&#8211;retry-connrefused</span> <span class="re5">&#8211;timeout</span>=2 <span class="re5">&#8211;wait</span>=<span class="nu0">1</span> \</div>
</li>
<li class="li1">
<div class="de1">http:<span class="sy0">//</span>www.schmidp.com<span class="sy0">/</span>bigfile</div>
</li>
</ol>
</div>
</div>
<p>-c tells wget to continue a download, so you can stop wget and restart it later without downloading the whole file again.<br />
&#8211;tries=0 means that we will try indefinitely if the connection breaks<br />
&#8211;retry-connrefused forces wget to retry even if the server is currently not listening<br />
&#8211;timeout=2 tells wget to reconnect if we don&#8217;t get any data for more than 2 seconds<br />
&#8211;wait=1 means wget will sleep 1 second before it reconnects</p>
]]>
</content:encoded>
<wfw:commentRss>http://www.schmidp.com/2009/03/03/downloading-a-file-over-an-unstable-connection-with-wget/feed/</wfw:commentRss>
<slash:comments>0</slash:comments>
</item>
<item>
<title>Mailserver Howto (Postfix, Dovecot, Amavis, MySQL)</title>
<link>http://www.schmidp.com/2009/03/02/mailserver-howto-postfix-dovecot-amavis-mysql/</link>
<comments>http://www.schmidp.com/2009/03/02/mailserver-howto-postfix-dovecot-amavis-mysql/#comments</comments>
<pubDate>Mon, 02 Mar 2009 18:05:41 +0000</pubDate>
<dc:creator>schmidp</dc:creator>
<category>
<![CDATA[Linux]]>
</category>
<guid isPermaLink="false">http://www.schmidp.com/?p=76</guid>
<description>
<![CDATA[Yesterday I had the pleasure to setup a mailserver for my private domains. Since we had a very good experience with postfix and dovecot at work, I was looking for a simple tutorial on howto setup postfix for smtp and dovecot for imap (I did some mail server setups with qmail and postfix before and [...]]]>
</description>
<content:encoded>
<![CDATA[<div>
<p>Yesterday I had the pleasure to setup a mailserver for my private domains. Since we had a very good experience with postfix and dovecot at work, I was looking for a simple tutorial on howto setup postfix for smtp and dovecot for imap (I did some mail server setups with qmail and postfix before and now really prefer postfix).</p>
<p>At first I tried a tutorial at howtoforge, which used LDAP as backend for virtual mailboxes, but it didn&#8217;t work with OpenLDAP 2.4, the version Ubuntu Intrepid ships with.</p>
<p>In the end I found the following very good tutorial: <a style="text-decoration: none;" href="http://workaround.org/articles/ispmail-etch/">Howto: ISP-style Email Server with Debian-Etch and Postfix 2.3</a></p>
<p>Although the title says it&#8217;s for Debian Etch, it worked flawlessly on my Ubuntu Intrepid VM.</p>
<p><a style="text-decoration: none;" href="http://workaround.org/articles/ispmail-etch/"> </a></div>
]]>
</content:encoded>
<wfw:commentRss>http://www.schmidp.com/2009/03/02/mailserver-howto-postfix-dovecot-amavis-mysql/feed/</wfw:commentRss>
<slash:comments>1</slash:comments>
</item>
<item>
<title>Dual-Boot Mac OS X and Ubuntu Intrepid on Macbook Pro</title>
<link>http://www.schmidp.com/2009/02/26/dual-boot-mac-os-x-and-ubuntu-intrepid-on-macbook-pro/</link>
<comments>http://www.schmidp.com/2009/02/26/dual-boot-mac-os-x-and-ubuntu-intrepid-on-macbook-pro/#comments</comments>
<pubDate>Thu, 26 Feb 2009 15:25:29 +0000</pubDate>
<dc:creator>schmidp</dc:creator>
<category>
<![CDATA[Linux]]>
</category>
<category>
<![CDATA[osx]]>
</category>
<category>
<![CDATA[ubuntu]]>
</category>
<guid isPermaLink="false">http://www.schmidp.com/?p=69</guid>
<description>
<![CDATA[Today I tried to install Ubuntu Intrepid 8.10 Desktop Edition 64bit on my Macbook Pro 4.1 next to Mac OSX 10.5.6 Leopard and had to overcome some obstacles which I want to document here. First I tried to use the Bootcamp Assistant to resize my existing Mac OSX partition, but I got an error about [...]]]>
</description>
<content:encoded>
<![CDATA[<p>Today I tried to install Ubuntu Intrepid 8.10 Desktop Edition 64bit on my Macbook Pro 4.1 next to Mac OSX 10.5.6 Leopard and had to overcome some obstacles which I want to document here.</p>
<p>First I tried to use the Bootcamp Assistant to resize my existing Mac OSX partition, but I got an error about some files that couldn&#8217;t be moved. To solve this, I first tried to free up more space and delete big files, but this didn&#8217;t help. Next thing I tried was to run iDefrag, but after 5 hours it didn&#8217;t seem to make much progress, so I stopped it and reverted to <a href="http://www.bombich.com/software/index.html">Carbon Copy Cloner</a>. After completing the following steps, Bootcamp Assistant managed to resize the partition:</p>
<ul>
<li>Backup the internal disk to an external USB disk using Carbon Copy Cloner (CCC)</li>
<li>Reboot and boot from the external USB disk (hold &#8216;option&#8217; or &#8216;alt&#8217; during boot)</li>
<li>Open Disk Utility and erase the internal hard disk</li>
<li>Restore the external USB disk to the internal disk again (don&#8217;t select the &#8216;erase destination checkbox)</li>
<li>Reboot and boot from the internal disk (hold &#8216;option&#8217; or &#8216;alt&#8217; during boot)</li>
<li>Run Bootcamp Assistant and partition your disk</li>
</ul>
<p>After finally having space available for Ubuntu, I downloaded and installed <a href="http://refit.sourceforge.net/">rEFIt</a>, an EFI boot loader. We will need this to repair the MBR after installing Ubuntu.</p>
<p>Now reboot and install Ubuntu as you usually would do, just be careful while partitioning the disk.<br />
After the Ubuntu installation has completed, reboot and select the <em>partition tool</em> in the rEFIt menu. It will prompt you to repair the MBR, answer this with yes. You have to do this step, otherwise the normal Apple boot menu, which appears when you hold down &#8216;option&#8217; during boot, won&#8217;t see the Linux partition (which it labels as Windows).</p>
<p>You should now be able to select either &#8216;rEFIt&#8217; or &#8216;Windows&#8217; in the Apple boot menu, while &#8216;Windows&#8217; really is our Ubuntu installation.<br />
You can leave it as this now, or remove rEFIt again (this is what I did) and use the normal Apple boot menu to switch between Mac OS X and Ubuntu.</p>
<p>To get the most out of my Macbook Pro, I followed the steps listed here: <a title="https://help.ubuntu.com/community/MacBookPro4-1/Intrepid" href="https://help.ubuntu.com/community/MacBookPro4-1/Intrepid">https://help.ubuntu.com/community/MacBookPro4-1/Intrepid</a></p>
<p>One thing that didn&#8217;t work after the above was the wireless network through. The trick was to add &#8216;wl&#8217; to /etc/modules and do a reboot, otherwise the wireless network card wouldn&#8217;t show up.</p>
<p>Beside those initial hassels, Intrepid seems to work really well on the Macbook Pro. Suspend and 3D acceleration seems to work great and everything es very snappy. But I haven&#8217;t tested much yet.</p>
]]>
</content:encoded>
<wfw:commentRss>http://www.schmidp.com/2009/02/26/dual-boot-mac-os-x-and-ubuntu-intrepid-on-macbook-pro/feed/</wfw:commentRss>
<slash:comments>4</slash:comments>
</item>
</channel>
</rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using apc
Page Caching using apc
Object Caching 259/289 objects using apc

Served from: www.schmidp.com @ 2012-02-04 20:29:50 -->
