<?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>javier arturo rodríguez &#187; Debian</title>
	<atom:link href="http://javier.rodriguez.org.mx/index.php/category/linux/debian/feed" rel="self" type="application/rss+xml" />
	<link>http://javier.rodriguez.org.mx</link>
	<description>random musings</description>
	<lastBuildDate>Thu, 16 Apr 2009 14:00:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>uHOWTO: Speed up RAID resync</title>
		<link>http://javier.rodriguez.org.mx/index.php/2008/12/15/uhowto-speed-up-raid-resync</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2008/12/15/uhowto-speed-up-raid-resync#comments</comments>
		<pubDate>Mon, 15 Dec 2008 06:54:37 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/?p=190</guid>
		<description><![CDATA[So you&#8217;re tired of watching the grass grow while your Linux RAID2 array rebuilds itself.  Let&#8217;s take care of it:

$  echo 10000 > /proc/sys/dev/raid/speed_limit_min

This should give you a 10x speedup over the 1000kB/sec default &#8212; subject to the limitations of your actual bus bandwidth, of course.
]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;re tired of watching the grass grow while your Linux RAID2 array rebuilds itself.  Let&#8217;s take care of it:<br />
<code language="sh"><br />
$  echo 10000 > /proc/sys/dev/raid/speed_limit_min<br />
</code><br />
This should give you a 10x speedup over the 1000kB/sec default &#8212; subject to the limitations of your actual bus bandwidth, of course.</p>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2008/12/15/uhowto-speed-up-raid-resync/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A brief note about Spamhaus Policy Block List</title>
		<link>http://javier.rodriguez.org.mx/index.php/2008/12/09/a-brief-note-about-spamhaus-policy-block-list</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2008/12/09/a-brief-note-about-spamhaus-policy-block-list#comments</comments>
		<pubDate>Wed, 10 Dec 2008 01:23:59 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Rant]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/?p=177</guid>
		<description><![CDATA[After getting in closer-than-usual acquaintance with my mail server logs I thought I&#8217;d share a brief note I found in the Spamhaus PBL FAQ:

The first thing to know is: THE PBL IS NOT A BLACKLIST.

Oh, and since you&#8217;re already there you may want to linger a bit in this warning:

WARNING! Some post-delivery filters use &#8220;full [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://javier.rodriguez.org.mx/wp-content/uploads/2008/12/blackhole-150x150.gif" alt="" title="blackhole" width="150" height="150" class="alignleft size-thumbnail wp-image-183" />After getting in closer-than-usual acquaintance with my mail server logs I thought I&#8217;d share a brief note I found in the <a href="http://www.spamhaus.org/faq/answers.lasso?section=Spamhaus%20PBL#183">Spamhaus PBL FAQ</a>:</p>
<blockquote><p>
The first thing to know is: <strong>THE PBL IS NOT A BLACKLIST</strong>.
</p></blockquote>
<p>Oh, and since you&#8217;re already there you may want to linger a bit in <a href="http://www.spamhaus.org/faq/answers.lasso?section=Spamhaus%20PBL#185">this warning</a>:</p>
<blockquote><p>
WARNING! Some post-delivery filters use &#8220;full Received line traversal&#8221; or &#8220;deep parsing&#8221;, where the filter reads all the IPs in the Received lines. Legitimate users, correctly sending good mail out through their ISP&#8217;s smarthost, will have PBL-listed IPs show up in the first (lowest) Received header where their ISP picks it up. Such mail should not be blocked! So, you should tell your filters to stop comparing IPs against PBL at the IP which hands off to your mail server! That last hand-off IP is the one which PBL is designed to check. <strong>If you cannot configure your filters that way, then do not use PBL to filter your mail.</strong> Instead, you may wish to use sbl-xbl.spamhaus.org, but even that may have unacceptable &#8220;false positive&#8221; filtering, for example when a an exploited end-user machine sends legitimate mail out through the ISP smarthost, or when the dynamic assignment changes the IP to an uninfected machine. <strong>Do not use PBL or XBL if you do not understand the issues of &#8220;deep parsing&#8221;.</strong>
</p></blockquote>
<p>(Emphasis mine)<br />
So if your top-of-the-line multi-thousand-dollar antispam appliance  starts blocking all my email just because there&#8217;s a dynamic IP address somewhere in the header  <em>and there&#8217;s no freaking way to turn it off</em> please go ask for a refund. And stop bouncing my messages.<br />
Oh and by the way the default <a href="http://spamassassin.apache.org/">SpamAssassin</a> configuration in Debian assigns a 0.905 score if the last hop is in PBL. </p>
<div class="codesnip-container" >
<div class="codesnip">score RCVD_IN_PBL <span class="nu0">0</span> <span class="nu0">0</span>.<span class="nu0">509</span> <span class="nu0">0</span> <span class="nu0">0</span>.<span class="nu0">905</span><br />
&#8230;<br />
header RCVD_IN_PBL&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <a href="http://www.perldoc.com/perl5.6/pod/func/eval.html"><span class="kw3">eval</span></a>:check_rbl<span class="br0">&#40;</span><span class="st0">&#8216;zen-lastexternal&#8217;</span>, <span class="st0">&#8216;zen.spamhaus.org.&#8217;</span>, <span class="st0">&#8216;127.0.0.1[01]&#8216;</span><span class="br0">&#41;</span></div>
</div>
<p>And yes, SpamAssassin does the right thing and checks only the *last* external address &#8212; I&#8217;ve seen the code:</p>
<div class="codesnip-container" >
<div class="codesnip"><a href="http://www.perldoc.com/perl5.6/pod/func/package.html"><span class="kw3">package</span></a> Mail::<span class="me2">SpamAssassin</span>::<span class="me2">PerMsgStatus</span>;<br />
&#8230;<br />
&nbsp; &nbsp; <span class="co1"># If name is foo-lastexternal, check only the Received header just before</span><br />
&nbsp; &nbsp; <span class="co1"># it enters our internal networks; we can trust it and it&#8217;s the one that</span><br />
&nbsp; &nbsp; <span class="co1"># passed mail between networks </span><br />
&nbsp;</div>
</div>
<p>So once again kudos to Open Source &#8212; and Common Sense.</p>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2008/12/09/a-brief-note-about-spamhaus-policy-block-list/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uHOWTO: Use your N95 8G as a bluetooth modem under Linux with Telcel</title>
		<link>http://javier.rodriguez.org.mx/index.php/2008/09/30/uhowto-use-your-n95-8g-as-a-bluetooth-modem-under-linux-with-telcel</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2008/09/30/uhowto-use-your-n95-8g-as-a-bluetooth-modem-under-linux-with-telcel#comments</comments>
		<pubDate>Tue, 30 Sep 2008 15:30:28 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nokia N95 8G]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[gnu]]></category>
		<category><![CDATA[n95]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[ppp]]></category>
		<category><![CDATA[wvdial]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/?p=164</guid>
		<description><![CDATA[
For completeness, here&#8217;s a followup to my post about using a Nokia N95 as a bluetooth modem under Linux. This is a working wvdial configuration for use with Telcel in Mexico.
Remember to enter your SIM&#8217;s PIN in pin-telcel, and refer to my previous post for complete instructions.
[Dialer pin-telcel]
Modem = /dev/rfcomm0
Baud = 460800
Init1 =AT+Cpin=XXXX
[Dialer telcel]
Phone = [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://javier.rodriguez.org.mx/wp-content/uploads/2008/09/tux-n95-8g-telcel-150x150.jpg" alt="" title="tux-n95-8g-telcel" width="150" height="150" class="alignleft size-thumbnail wp-image-165" /><br />
For completeness, here&#8217;s a followup to my post about <a href="http://javier.rodriguez.org.mx/index.php/2008/09/28/howto-use-your-nokia-n95-cellphone-as-a-bluetooth-modem-for-linux">using a Nokia N95 as a bluetooth modem under Linux</a>. This is a working wvdial configuration for use with Telcel in Mexico.<br />
Remember to enter your SIM&#8217;s PIN in pin-telcel, and refer to my previous post for complete instructions.</p>
<div class="codesnip-container" >[Dialer pin-telcel]<br />
Modem = /dev/rfcomm0<br />
Baud = 460800<br />
Init1 =AT+Cpin=XXXX</p>
<p>[Dialer telcel]<br />
Phone = *99***1#<br />
Username = telcel<br />
Password = telcel<br />
Stupid Mode = 1<br />
Dial Command = ATDT<br />
Check Def Route = on<br />
Dial Attempts = 3<br />
Modem = /dev/rfcomm0<br />
Baud = 460800<br />
Init2 = ATZ<br />
Init3 = ATQ0 V1 E0 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
Init4 = AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;internet.itelcel.com&#8221;<br />
ISDN = 0<br />
Modem Type = Analog Modem</p></div>
<p>To use it, enter</p>
<div class="codesnip-container" ># wvdial vodafone-pin<br />
# wvdial vodafone</div>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2008/09/30/uhowto-use-your-n95-8g-as-a-bluetooth-modem-under-linux-with-telcel/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>HOWTO: Use your Nokia N95 Cellphone as a Bluetooth modem for Linux</title>
		<link>http://javier.rodriguez.org.mx/index.php/2008/09/28/howto-use-your-nokia-n95-cellphone-as-a-bluetooth-modem-for-linux</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2008/09/28/howto-use-your-nokia-n95-cellphone-as-a-bluetooth-modem-for-linux#comments</comments>
		<pubDate>Mon, 29 Sep 2008 02:17:45 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nokia N95 8G]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[n95]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[tethered]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/?p=156</guid>
		<description><![CDATA[Did you know that you can use your data-enabled N95 to get a thethered Internet connection from Linux? The access mode and speed will depend on your actual coberture, and as usual YMMV, but I&#8217;ve been using this setup for a few months and it works fine.
$ sudo -s
# apt-get install bluetooth bluez-pin bluez-utils kdebluetooth [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://javier.rodriguez.org.mx/wp-content/uploads/2008/09/tux-n95-8g-150x150.jpg" alt="" title="tux-n95-8g" width="150" height="150" class="alignleft size-thumbnail wp-image-158" />Did you know that you can use your data-enabled N95 to get a thethered Internet connection from Linux? The access mode and speed will depend on your actual coberture, and as usual YMMV, but I&#8217;ve been using this setup for a few months and it works fine.</p>
<div class="codesnip-container" >$ sudo -s<br />
# apt-get install bluetooth bluez-pin bluez-utils kdebluetooth wvdial</div>
<p>Now in user mode use KBlueMon to find out the Bluetooth address of your device and write it down.<br />
Then go ahead and initiate an OBEX file transfer to make sure that you can actually link to your phone and to establish a trust relationship. In your phone add the Laptop to your trusted device list, so it won&#8217;t nag you whenever you establish a link.<br />
Now edit /etc/bluetooth/rfcomm.conf :</p>
<div class="codesnip-container" >rfcomm0 {<br />
        bind yes;<br />
        device 00:21:09:XX:XX:XX;<br />
        channel 2;<br />
}</div>
<p>Replace your own device address after &#8220;device&#8221;.<br />
Now edit /etc/wvdial to add these two entries:</p>
<div class="codesnip-container" >[Dialer pin-vodafone]<br />
Modem = /dev/rfcomm0<br />
Baud = 460800<br />
Init1 =AT+Cpin=XXXX</p>
<p>[Dialer vodafone]<br />
Phone = *99***1#<br />
Username = vodafone<br />
Password = vodafone<br />
Stupid Mode = 1<br />
Dial Command = ATDT<br />
Check Def Route = on<br />
Dial Attempts = 3<br />
Modem = /dev/rfcomm0<br />
Baud = 460800<br />
Init2 = ATZ<br />
Init3 = ATQ0 V1 E0 S0=0 &#038;C1 &#038;D2 +FCLASS=0<br />
Init4 = AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;ac.vodafone.es&#8221;<br />
ISDN = 0<br />
Modem Type = Analog Modem</p></div>
<p>You can give them any name you want. I have defined several providers, to avoid confusions and to use the provider at hand. Replace the &#8220;XXXX&#8221; in Init1 with your SIM&#8217;s PIN.<br />
Now to use them restart the Bluetooth subsystem:</p>
<div class="codesnip-container" ># /etc/init.d/bluetooth restart</div>
<p>And use wvdial to dial out:</p>
<div class="codesnip-container" ># wvdial vodafone-pin<br />
# wvdial vodafone</div>
<p>You should get an Internet link, complete with an IP, a default route and a couple of DNS servers.  If it doesn&#8217;t, reboot your phone liberally.<br />
Please note that this might get expensive quite quickly unless you get a data plan from your provider. Go ahead and make their day.<br />
Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2008/09/28/howto-use-your-nokia-n95-cellphone-as-a-bluetooth-modem-for-linux/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Enable APM level on Dell Latitude D620 HD</title>
		<link>http://javier.rodriguez.org.mx/index.php/2007/10/30/enable-apm-level-on-dell-latitude-d620-hd</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2007/10/30/enable-apm-level-on-dell-latitude-d620-hd#comments</comments>
		<pubDate>Tue, 30 Oct 2007 13:57:01 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Dell D620]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2007/10/30/enable-apm-level-on-dell-latitude-d620-hd/</guid>
		<description><![CDATA[Rafael Garcia-Suarez shares a helpful tip to correctly enable APM in his D420 running Ubuntu, but I can confirm that my D620 behaves the same -ignoring APM level 255 and disabling APM completely instead- and that his fix runs equally well, just by adding
/dev/sda {
    apm = 254
}
to /etc/hdparm.conf and making sure [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://javier.rodriguez.org.mx/wp-content/uploads/2007/10/harddisk.thumbnail.jpg" align="left"><a href="http://www.blogger.com/profile/09054554021812720943">Rafael Garcia-Suarez</a> <a href="http://consttype.blogspot.com/2007/10/ubuntu-dell-laptop-and-hard-disk-power.html">shares a helpful tip</a> to correctly enable APM in his D420 running Ubuntu, but I can confirm that my D620 behaves the same -ignoring APM level 255 and disabling APM completely instead- and that his fix runs equally well, just by adding</p>
<div class="codesnip-container" >/dev/sda {<br />
    apm = 254<br />
}</div>
<p>to /etc/hdparm.conf and making sure that /etc/init.d/hdparm runs at startup (the default after apt-get installing hdparm in my case).</p>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2007/10/30/enable-apm-level-on-dell-latitude-d620-hd/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Attansic L1 Gigabit Ethernet driver for Debian</title>
		<link>http://javier.rodriguez.org.mx/index.php/2007/07/20/attansic-l1-gigabit-ethernet-driver-for-debian</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2007/07/20/attansic-l1-gigabit-ethernet-driver-for-debian#comments</comments>
		<pubDate>Fri, 20 Jul 2007 21:15:34 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2007/07/20/attansic-l1-gigabit-ethernet-driver-for-debian/</guid>
		<description><![CDATA[I just got a new ASUS M2V motherboard to replace a braindead server that would lock up on POST about 75% of the time. The new motherboard has a built-in Attansic L1 Gigabit Ethernet Adapter that is supported in Linux >= 2.6.21, but its driver is still missing from the daily Debian netinst CDs.
04:00.0 Ethernet [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://javier.rodriguez.org.mx/wp-content/uploads/2007/07/m2v.jpeg' alt='m2v.jpeg' align='left' />I just got a new ASUS M2V motherboard to replace a braindead server that would lock up on POST about 75% of the time. The new motherboard has a built-in Attansic L1 Gigabit Ethernet Adapter that is supported in Linux >= 2.6.21, but its driver is still missing from the daily Debian netinst CDs.</p>
<div class="codesnip-container" >04:00.0 Ethernet controller [0200]: Attansic Technology Corp. L1 Gigabit Ethernet Adapter [1969:1048] (rev b0)<br />
        Subsystem: ASUSTeK Computer Inc. Unknown device [1043:8226]<br />
        Flags: bus master, fast devsel, latency 0, IRQ 25<br />
        Memory at fbcc0000 (64-bit, non-prefetchable) [size=256K]<br />
        Expansion ROM at fbca0000 [disabled] [size=128K]<br />
        Capabilities: [40] Power Management version 2<br />
        Capabilities: [48] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-<br />
        Capabilities: [58] Express Endpoint IRQ 0<br />
        Capabilities: [6c] Vital Product Data</div>
<p>I tried <a href="http://www.david-web.co.uk/blog/?p=181">David Johnson&#8217;s pre-compiled driver for AMD64</a> but it didn&#8217;t work right away, so I compiled AtL1Linux_v1.0.41.0 for the stock 2.6.18-4-486 kernel in the official Debian 4.0 netinst CD and tested it. Although it was supposed to work right out of the box I kept getting &#8220;invalid module format&#8221; messages. So I stripped out the version information with </p>
<div class="codesnip-container" >$ objcopy -R .modinfo atl1.ko</div>
<p>and it worked immediately. I completed the installation and I will upgrade the server to 2.6.21-2-amd64 over the weekend. So here is a <a href="http://javier.rodriguez.org.mx/download/atl1/2.6.18-4-486/atl1.ko">atl1.ko for 2.6.18-4-486</a> that should work just fine.<br/><br />
By the way, I stripped the version information off David&#8217;s atl1.ko but I didn&#8217;t get a chance to test it because I was in a hurry. Here it is anyway in case someone finds it useful: <a href="http://javier.rodriguez.org.mx/download/atl1/2.6.18-4-amd64/atl1.ko">atl1.ko for 2.6.18-4-amd64</a>.<br />
Oh, by the way, the M2V has four PCI slots but no built-in VGA adapter, and most PCI-e video cards are so thick that the first slot becomes unusable. Since I bought this motherboard precisely to maximize the number of available PCI slots in the server&#8230; well, it just sucks.<br /><div class="simpletags">Tags: <a href="http://technorati.com/tag/asus" rel="tag">asus</a>, <a href="http://technorati.com/tag/m2v" rel="tag">m2v</a>, <a href="http://technorati.com/tag/attansic" rel="tag">attansic</a>, <a href="http://technorati.com/tag/debian" rel="tag">debian</a>, <a href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a href="http://technorati.com/tag/driver" rel="tag">driver</a>, <a href="http://technorati.com/tag/atl1" rel="tag">atl1</a>, <a href="http://technorati.com/tag/amd64" rel="tag">amd64</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2007/07/20/attansic-l1-gigabit-ethernet-driver-for-debian/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
	</channel>
</rss>
