<?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>Flavio's blog &#187; Linux</title>
	<atom:link href="http://flavio.stanchina.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://flavio.stanchina.net</link>
	<description>challenging common wisdom since he was 3</description>
	<lastBuildDate>Wed, 23 Feb 2011 23:18:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>iproute2: Linux kernel configuration</title>
		<link>http://flavio.stanchina.net/2008/01/27/iproute2-linux-kernel-config/</link>
		<comments>http://flavio.stanchina.net/2008/01/27/iproute2-linux-kernel-config/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 19:57:37 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/2008/01/27/linux-kernel-configuration-and-iproute2/</guid>
		<description><![CDATA[Note to self: if you want to use iproute2, remember to enable CONFIG_IP_ADVANCED_ROUTER=y and related stuff in the kernel configuration. If you don&#8217;t, the ip rule add command will answer &#8220;RTNETLINK answers: Operation not supported&#8221;.]]></description>
			<content:encoded><![CDATA[<p>Note to self: if you want to use <a href="http://www.linux-foundation.org/en/Net:Iproute2" title="iproute2" target="_blank">iproute2</a>, remember to enable <code>CONFIG_IP_ADVANCED_ROUTER=y</code> and related stuff in the kernel configuration.</p>
<p>If you don&#8217;t, the <code>ip rule add</code> command will answer &#8220;RTNETLINK answers: Operation not supported&#8221;.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2008/01/27/iproute2-linux-kernel-config/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dear Apple</title>
		<link>http://flavio.stanchina.net/2007/09/17/dear-apple/</link>
		<comments>http://flavio.stanchina.net/2007/09/17/dear-apple/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 09:22:40 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iPod]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/2007/09/17/dear-apple/</guid>
		<description><![CDATA[Dear Apple, I really love my iPod nano (1st gen). I also love Linux, but I&#8217;m told you don&#8217;t like the two things to live together. Fortunately, I&#8217;m also told that some good guys already worked around the protection, but still this really makes me wonder if I should keep buying your products; I didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Dear Apple,</p>
<p>I really love my iPod nano (1st gen).  I also love Linux, but I&#8217;m told <a href="http://ipodminusitunes.blogspot.com/2007/09/apple-cuts-us-off.html" title="Apple cuts us off" target="_blank">you don&#8217;t like the two things to live together</a>. Fortunately, I&#8217;m also told that <a href="http://arstechnica.com/news.ars/post/20070916-gtkpod-coders-crack-apples-new-ipod-checksum.html" title="Apple's new iPod checksum cracked by GtkPod coders" target="_blank">some good guys already worked around the protection</a>, but still this really makes me wonder if I should keep buying your products; I didn&#8217;t know <a href="http://0pointer.de/blog/projects/apple-sucks.html" title="iLock-in: Apple locks Free Software out, but where's the news?" target="_blank">the story about DAAP and RAOP</a> either. I&#8217;m not going to sell my nano outright, but why would I buy the new one if I can get the same functionality, minus the closeness, from my <a href="http://www.nokia.com/phones/e50/" title="Nokia E50" target="_blank">Nokia phone</a>, for example? And I can also install any software I  like on it.</p>
<p>Really. Your products are good. Your policy is not. Fix that, please.</p>
<p><small>Submitted this through Apple&#8217;s iPod feedback form, let&#8217;s see if I get an answer.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2007/09/17/dear-apple/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Defeating paranoid system administrators</title>
		<link>http://flavio.stanchina.net/2007/02/24/defeating-paranoid-system-administrators/</link>
		<comments>http://flavio.stanchina.net/2007/02/24/defeating-paranoid-system-administrators/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 13:51:56 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/?p=22</guid>
		<description><![CDATA[If a paranoid system administrator has blocked ssh access from Linux hosts to your office&#8217;s network — using the OpenBSD packet filter&#8216;s fingerprinting — and you find yourself without access to the office&#8217;s mail server, you might want to make your Linux workstation&#8217;s TCP stack look like something else by changing the TTL, for example: [...]]]></description>
			<content:encoded><![CDATA[<p>If a paranoid system administrator has blocked ssh access from Linux hosts to your office&#8217;s network — using the <a target="_blank" href="http://www.openbsd.org/faq/pf/filter.html">OpenBSD packet filter</a>&#8216;s fingerprinting —  and you find yourself without access to the office&#8217;s mail server, you might want to make your Linux workstation&#8217;s TCP stack look like something else by changing the TTL, for example:</p>
<pre>echo 128 > /proc/sys/net/ipv4/ip_default_ttl</pre>
<p>The road to this hack is quite easy, anyway:</p>
<ol>
<li>install OpenBSD in a virtual machine;</li>
<li>look hard at /etc/pf.os and look for possible useful differences;</li>
<li>see that Linux uses a TTL of 64 while Windows XP uses 128;</li>
<li>profit!</li>
</ol>
<p>Item 1 was needed because I couldn&#8217;t find a copy of <a target="_blank" href="http://www.openbsd.org/cgi-bin/man.cgi?query=pf.os">/etc/pf.os</a> quickly, so I figured that it&#8217;d take less to just install an OpenBSD.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2007/02/24/defeating-paranoid-system-administrators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>git</title>
		<link>http://flavio.stanchina.net/2006/09/06/git/</link>
		<comments>http://flavio.stanchina.net/2006/09/06/git/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 08:47:46 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fglrx]]></category>
		<category><![CDATA[scm]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/?p=9</guid>
		<description><![CDATA[git is wonderful. I converted my repository from CVS to git and set up gitweb in minutes (save the time needed to read the docs thrice to make sure I was doing things correctly).]]></description>
			<content:encoded><![CDATA[<p>git is wonderful. I converted my repository from CVS to git and <a href="http://www.stanchina.net/cgi-bin/gitweb.cgi">set up gitweb</a> in minutes (save the time needed to <a href="http://www.kernel.org/pub/software/scm/git/docs/">read the docs</a> thrice to make sure I was doing things correctly).</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2006/09/06/git/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth and Nokia 6600 with Linux</title>
		<link>http://flavio.stanchina.net/2006/09/03/3/</link>
		<comments>http://flavio.stanchina.net/2006/09/03/3/#comments</comments>
		<pubDate>Sun, 03 Sep 2006 15:58:32 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/?p=3</guid>
		<description><![CDATA[Finally I bought a Bluetooth adapter to manage my Nokia 6600 mobile phone. It&#8217;s marketed as a “Hamlet Bluetooth USB Adapter”, but it really is a “Cambridge Silicon Radio, Ltd Bluetooth Dongle” according to lsusb. It works fine on Debian GNU/Linux using kernel 2.6.17, the BlueZ stack and kdebluetooth, but I had to update bluez-utils [...]]]></description>
			<content:encoded><![CDATA[<p><img align="right" alt="Hamlet Bluetooth USB adapter" title="Hamlet Bluetooth USB adapter" src="http://www.stanchina.net/~flavio/pics/XBTUS100.jpg" />Finally I bought a Bluetooth adapter to manage my Nokia 6600 mobile phone. It&#8217;s marketed as a “<a target="_blank" href="http://www.hamletcom.com/ProductDetails.aspx?sid=1fdda18736cd41479a27cfd83b0cc6d9&#038;ProductId=3455&#038;CategoryId=6">Hamlet Bluetooth USB Adapter</a>”, but it really is a “Cambridge Silicon Radio, Ltd Bluetooth Dongle” according to <code>lsusb</code>. It works fine on Debian GNU/Linux using kernel 2.6.17, the BlueZ stack and kdebluetooth, but I had to <a target="_blank" href="http://bugs.debian.org/385857">update bluez-utils and bluez-libs to version 3.4</a> otherwise the phone wouldn&#8217;t see the PC&#8230;</p>
<p>Here&#8217;s a very nice add-on called <a target="_blank" href="http://gnubox.dnsalias.org/gnubox/">GnuBox</a> for your Symbian phone: it allows you to browse the Internet on your phone through your PC&#8217;s connection when you&#8217;re at home.</p>
<p><span id="more-3"></span></p>
<p>To make GnuBox work, you&#8217;ll have to follow the instructions on the GnuBox page, then set up a few things on your Linux box:</p>
<ul>
<li>turn off kbtserialchat in the kdebluetooth configuration (or quit kdebluetooth altogether)</li>
<li>create the following file as /etc/ppp/peers/dun:<br />
<blockquote><p>460800<br />
192.168.1.1:192.168.1.2<br />
ms-dns<br />
192.168.0.1<br />
lock<br />
crtscts<br />
noauth</p></blockquote>
<p>(where 192.168.1.1 and 192.168.1.2 are the IP addresses of your computer and your phone, 192.168.0.1 is the address of your DNS server)</li>
<li>add the following lines to /etc/default/bluetooth:<br />
<blockquote><p>DUND_ENABLED=1<br />
DUND_OPTIONS=&#8221;&#8211;listen &#8211;channel 3 &#8211;encrypt call dun&#8221;</p></blockquote>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2006/09/03/3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linus and BitKeeper</title>
		<link>http://flavio.stanchina.net/2005/04/17/linus-and-bitkeeper/</link>
		<comments>http://flavio.stanchina.net/2005/04/17/linus-and-bitkeeper/#comments</comments>
		<pubDate>Sun, 17 Apr 2005 16:12:27 +0000</pubDate>
		<dc:creator>Flavio</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://flavio.stanchina.net/?p=7</guid>
		<description><![CDATA[[ I'm reproducing here a comment I left on Groklaw in response to someone claiming that BK was bad because you couldn't extract the metadata. ] I&#8217;ve been using the free (as in beer) BK client for a while, about since Linus started using it I think. Did you? Where did you (or anyone else, [...]]]></description>
			<content:encoded><![CDATA[<p>[ I'm reproducing here <a href="http://www.groklaw.net/comment.php?mode=display&#038;sid=20050416092336794&#038;title=No%20way%20of%20checking%20sources&#038;type=article&#038;order=&#038;hideanonymous=0&#038;pid=301693#c301704"> a comment I left on Groklaw</a> in response to someone claiming that BK was bad because you couldn't extract the metadata. ]</p>
<p>I&#8217;ve been using the free (as in beer) BK client for a while, about since Linus started using it I think. Did you? Where did you (or anyone else, for that matter) get the impression that you couldn&#8217;t extract all the metadata information with it? You <strong>can</strong> get diffs between any two revisions. You can export changesets as diffs, with all the comments and other data: try &#8220;bk export -tpatch -r1.2291,1.2292&#8243; on a recent linux-2.5 tree for example.</p>
<p>What <strong>is</strong> undocumented is the actual format of the BK files and the protocols between client and server, but there&#8217;s no reason to get at them since you can export everything you need in other ways. Or, if you don&#8217;t want to use BK yourself, you can ask someone who does to export what you need. In this respect, and I&#8217;m quoting Linus here, it&#8217;s exactly the same as someone not wanting to use CVS: (s)he could ask someone else to export what (s)he needs. And I bet Linus would have been glad to export just about everything if asked politely.</p>
<p>When I first saw news of this matter, I thought &#8220;Larry is a bad guy&#8221;, but after I read the points of view of those involved I completely agree with Linus. Those who did not want to use BK had absolutely no reason to feel &#8220;left out in the cold&#8221;: as Linus himself said when he started using BK (and repeated <em>ad nauseam</em>), nothing would change for the worse for them. To the contrary, it was so easy to get snapshots out of BK that the -bk tarballs were made available daily.</p>
<p>BK is head and shoulders above other SCMs. If you dont&#8217;want to use it for ethical reasons, fine; if you want someone else to stop using it, either write a better tool (or at least a tool &#8220;good enough&#8221;, as Linus often said) or shut up. Tridge was <strong>not</strong> writing a better tool, only another tool to extract data from a repository, and that was useless. When asked to stop, he refused. When asked to stop Or Else, he refused. If what he wanted was really acess to the metadata from BK, I&#8217;m sure Linus and Larry would have worked out something, like exporting <strong>all</strong> changesets in a reasonable format. By doing what he did after knowing that he would disrupt a well-working and provably useful system, he did only a disservice to the community that he has otherwise served so well with his work on Samba.</p>
]]></content:encoded>
			<wfw:commentRss>http://flavio.stanchina.net/2005/04/17/linus-and-bitkeeper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

