<?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>Guy Rutenberg &#187; Ubuntu</title>
	<atom:link href="http://www.guyrutenberg.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.guyrutenberg.com</link>
	<description>Keeping track of what I do</description>
	<lastBuildDate>Wed, 16 Jun 2010 19:53:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Disable Touchpad Tapping in Kubuntu</title>
		<link>http://www.guyrutenberg.com/2010/01/08/disable-touchpad-tapping-in-kubuntu/</link>
		<comments>http://www.guyrutenberg.com/2010/01/08/disable-touchpad-tapping-in-kubuntu/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 21:13:50 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[TouchPad]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=611</guid>
		<description><![CDATA[In Ubuntu (gnome) there is an easy graphical way to disable tapping on the touchpad. However, KDE lacks such thing. But lacking graphical configuration doesn&#8217;t mean this should be difficult. All you need is the gsynaptics package. The package provides a small utility called synclient. Now you can disable tapping by doing

 synclient TapButton1=0

To disable [...]]]></description>
			<content:encoded><![CDATA[<p>In Ubuntu (gnome) there is an easy graphical way to disable tapping on the touchpad. However, KDE lacks such thing. But lacking graphical configuration doesn&#8217;t mean this should be difficult. All you need is the <code>gsynaptics</code> package. The package provides a small utility called <code>synclient</code>. Now you can disable tapping by doing</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"> synclient TapButton1=0</pre></div></div>

<p>To disable the tapping permanently you should use the following to run the command at the start of every KDE session.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">echo &quot;synclient TapButton1=0&quot; &gt; ~/.kde/env/disable-tapping.sh</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2010/01/08/disable-touchpad-tapping-in-kubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blocking IP Range using UFW</title>
		<link>http://www.guyrutenberg.com/2009/11/07/blocking-ip-range-using-ufw/</link>
		<comments>http://www.guyrutenberg.com/2009/11/07/blocking-ip-range-using-ufw/#comments</comments>
		<pubDate>Sat, 07 Nov 2009 19:19:15 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ufw]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=584</guid>
		<description><![CDATA[Uncomplicated Firewall (ufw) is one of the greatest frontends to IPTables I&#8217;ve encountered. It is very simple to use and I just wish it was also available for Gentoo. Up until recently everything went smoothly for me and ufw, but we hit some rough waters when I&#8217;ve tried to block an IP range.
To block an [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://launchpad.net/ufw">Uncomplicated Firewall</a> (<code>ufw</code>) is one of the greatest frontends to IPTables I&#8217;ve encountered. It is very simple to use and I just wish it was also available for Gentoo. Up until recently everything went smoothly for me and <code>ufw</code>, but we hit some rough waters when I&#8217;ve tried to block an IP range.</p>
<p>To block an ip or I&#8217;p range in ufw you should do</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sudo ufw deny from 188.162.67.197/21</pre></div></div>

<p><span id="more-584"></span></p>
<p>But here is the catch. Only the recent versions of <code>ufw</code> (which the version that comes with Ubuntu 8.04 isn&#8217;t one of them) support inserting new rules. When you add a rule it gets appended. So if you had a rule before that allows everyone to connect to your server on port 80, it also allows the IP range you&#8217;re trying to block, to connect to your machine.</p>
<p>As it&#8217;s impossible to foresee all the rules you might use, one has to resort to deleting all the rules he has to override, then re-add them so they will be after the rule that blocks the IP range. However I disliked the idea and looked for a simpler solution.</p>
<p>The easiest method I&#8217;ve found was to manully edit <code>ufw</code>&#8217;s configurations:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sudo vim /var/lib/ufw/user.rules</pre></div></div>

<p>And then move the rule I&#8217;ve added, which looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">### tuple ### deny any any 0.0.0.0/0 any 188.162.67.197/21
-A ufw-user-input -s 188.162.67.197/21 -j DROP</pre></div></div>

<p>above any other rules in the configuration file.</p>
<p>Afterward, you&#8217;ll have to restart <code>ufw</code> so it will reload its configurations.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sudo ufw disable
sudo ufw enable</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/11/07/blocking-ip-range-using-ufw/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Lighttpd-1.4.22 on Ubuntu 8.04</title>
		<link>http://www.guyrutenberg.com/2009/05/31/installing-lighttpd-1422-on-ubuntu-804/</link>
		<comments>http://www.guyrutenberg.com/2009/05/31/installing-lighttpd-1422-on-ubuntu-804/#comments</comments>
		<pubDate>Sun, 31 May 2009 19:43:19 +0000</pubDate>
		<dc:creator>Guy</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.guyrutenberg.com/?p=371</guid>
		<description><![CDATA[I had some problems with the lighttpd-1.4.19 that comes with Ubuntu 8.04, mainly it&#8217;s problems of handling the HTTP header Expect: 100-continue (which older versions of Lighttpd return error 417). The problem was fixed in Lighttpd-1.4.21, but 1.4.22 is the newest version so I&#8217;ve decided to install it.
As I mentioned before, Ubuntu doesn&#8217;t have lighttpd-1.4.22 [...]]]></description>
			<content:encoded><![CDATA[<p>I had some problems with the lighttpd-1.4.19 that comes with Ubuntu 8.04, mainly it&#8217;s problems of handling the HTTP header <code>Expect: 100-continue</code> (which older versions of Lighttpd return error 417). The problem was fixed in Lighttpd-1.4.21, but 1.4.22 is the newest version so I&#8217;ve decided to install it.</p>
<p>As I mentioned before, Ubuntu doesn&#8217;t have lighttpd-1.4.22 for 8.04, and it&#8217;s also not available in the updates or backports repositories. Fortunately, I&#8217;ve found that the package is available from Debuian Sid (unstable). Here are some instructions on how to install it.<br />
<span id="more-371"></span><br />
Start By downloading the following packages.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">wget http://ftp.de.debian.org/debian/pool/main/l/lighttpd/lighttpd_1.4.22-1_amd64.deb
wget http://ftp.de.debian.org/debian/pool/main/p/pcre3/libpcre3_7.8-2_amd64.deb</pre></div></div>

<p>You can statisfy using the offical repositories all the dependencies of lighttpd-1.4.22 except the libpcre3, which is also available from Debian Sid. So start by installing it.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sudo dpkg -i libpcre3_7.8-2_amd64.deb
sudo aptitude markauto libpcre3</pre></div></div>

<p>You statisfy the rest of the dependencies by using <code>apt-get</code> and the official repositories. In case you encounter the following problem when starting lighttpd:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">/usr/sbin/lighttpd: Symbol `FamErrlist' has different size in shared object, con
sider re-linking</pre></div></div>

<p>it can be solved easiliy by installing <code>libfam3</code>.</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">sudo apt-get install libfam3</pre></div></div>

<p>(don&#8217;t worry if it complains about needing to remove <code>libgamin0</code>). You should be done now, and you can start enjoying your shining lighttpd-1.4.22.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.guyrutenberg.com/2009/05/31/installing-lighttpd-1422-on-ubuntu-804/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.430 seconds -->
