<?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; Linux</title>
	<atom:link href="http://javier.rodriguez.org.mx/index.php/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://javier.rodriguez.org.mx</link>
	<description>random musings</description>
	<lastBuildDate>Sat, 22 Oct 2011 19:23:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>uHOWTO: Recover stuck modified keys from VMware Player or Workstation</title>
		<link>http://javier.rodriguez.org.mx/index.php/2009/01/15/uhowto-recover-stuck-modified-keys-from-vmware-player-or-workstation?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uhowto-recover-stuck-modified-keys-from-vmware-player-or-workstation</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2009/01/15/uhowto-recover-stuck-modified-keys-from-vmware-player-or-workstation#comments</comments>
		<pubDate>Thu, 15 Jan 2009 14:12:53 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[sh]]></category>
		<category><![CDATA[SysAdmin]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[x11]]></category>
		<category><![CDATA[xmodmap]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/?p=193</guid>
		<description><![CDATA[If you use VMware Player or VMware workstation under Linux and you&#8217;re an alt-tab fan like me, you might end up with stuck modifier keys, so you can&#8217;t use keys like Ctrl, Alt or Shift outside of VMware. Xiao Feng has written a nice script to recover from this annoying condition without having to reboot, [...]]]></description>
			<content:encoded><![CDATA[<p>If you use VMware Player or VMware workstation under Linux and you&#8217;re an alt-tab fan like me, you might end up with stuck modifier keys, so you can&#8217;t use keys like Ctrl, Alt or Shift outside of VMware. Xiao Feng has written a <a href="http://bitubique.com/tutorials/recovering-from-stuck-modifier-keys">nice script</a> to recover from this annoying condition without having to reboot, and I tought I&#8217;d share it with everyone out there:</p>
<div class="codesnip-container" >
<div class="bash codesnip" style="font-family:monospace;"><span class="co0">#!/bin/sh</span><br />
<span class="co0"># Xiao Feng&#8217;s &quot;Recovering from stuck modifier keys caused by VMware&quot;</span><br />
<span class="co0"># http://bitubique.com/tutorials/recovering-from-stuck-modifier-keys</span><br />
<span class="sy0">/</span>usr<span class="sy0">/</span>bin<span class="sy0">/</span><span class="kw2">xmodmap</span> &#8211; <span class="co2">&lt;&lt; fixme<br />
clear shift<br />
add shift = Shift_L Shift_R<br />
clear lock<br />
add lock = Caps_Lock<br />
clear control<br />
add control = Control_L Control_R<br />
clear mod1<br />
add mod1 = Alt_L Alt_R<br />
clear mod2<br />
add mod2 = Num_Lock<br />
clear mod3<br />
clear mod4<br />
add mod4 = Super_L Super_R<br />
clear mod5<br />
add mod5 = Scroll_Lock<br />
fixme</span><br />
<span class="kw2">xset</span> r on<br />
<span class="kw2">xset</span> m 3.5 4<br />
<span class="kw2">xset</span> b off<br />
<span class="kw2">xset</span> s off</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2009/01/15/uhowto-recover-stuck-modified-keys-from-vmware-player-or-workstation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uHOWTO: Speed up RAID resync</title>
		<link>http://javier.rodriguez.org.mx/index.php/2008/12/15/uhowto-speed-up-raid-resync?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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 [...]]]></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="perl codesnip" style="font-family:monospace;">score RCVD_IN_PBL 0 0<span class="sy0">.</span>509 0 0<span class="sy0">.</span>905<br />
<span class="sy0">&#8230;</span><br />
header RCVD_IN_PBL &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a><span class="sy0">:</span>check_rbl<span class="br0">&#40;</span><span class="st_h">&#8216;zen-lastexternal&#8217;</span><span class="sy0">,</span> <span class="st_h">&#8216;zen.spamhaus.org.&#8217;</span><span class="sy0">,</span> <span class="st_h">&#8217;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="perl codesnip" style="font-family:monospace;"><a href="http://perldoc.perl.org/functions/package.html"><span class="kw3">package</span></a> Mail<span class="sy0">::</span><span class="me2">SpamAssassin</span><span class="sy0">::</span><span class="me2">PerMsgStatus</span><span class="sy0">;</span><br />
<span class="sy0">&#8230;</span><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></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?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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 = [...]]]></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?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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 [...]]]></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?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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 to /etc/hdparm.conf and making sure that /etc/init.d/hdparm runs at startup (the [...]]]></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?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=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. I [...]]]></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>
		<item>
		<title>Use the radioSHARK 2 under Linux (shark2.c)</title>
		<link>http://javier.rodriguez.org.mx/index.php/2007/05/20/use-the-radioshark-2-under-linux-shark2c?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-the-radioshark-2-under-linux-shark2c</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2007/05/20/use-the-radioshark-2-under-linux-shark2c#comments</comments>
		<pubDate>Sun, 20 May 2007 08:19:08 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2007/05/20/use-the-radioshark-2-under-linux-shark2c/</guid>
		<description><![CDATA[Hisaaki Shibata took Michael Rolig&#8217;s shark.c -which I use to control my radioSHARK from Linux- made it work with the new radioSHARK 2 and released the new shark2.c (local mirror). With this development owners of the new radioSHARK 2 can control their shiny new device under Linux to change stations and change its lighting besides [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://javier.rodriguez.org.mx/wp-content/uploads/2007/05/radioshark2-small.jpeg' alt='radioshark2-small.jpeg' align='left' />Hisaaki Shibata took Michael Rolig&#8217;s shark.c -which I use to control my radioSHARK from Linux-  <a href="http://hoop.euqset.org/archives/058605.html">made it work with the new radioSHARK 2</a> and released the new <a href="http://hoop.euqset.org/archives/files/shark2.c">shark2.c</a> (<a href="http://javier.rodriguez.org.mx/code/shark2.c">local mirror</a>).<br />
With this development owners of the new radioSHARK 2 can control their shiny new device under Linux to change stations and change its lighting besides other neat tricks like <a href="http://javier.rodriguez.org.mx/index.php/2006/06/10/griffin-radio-shark-icecast2-on-debian-gnulinux/">live Internet streaming with icecast2 and darkice</a> as I&#8217;ve written before.<br />
I haven&#8217;t been able to lay my hands on a radioSHARK 2 but I might do it soon. I hope that griffin has finally managed to solve the annoying bugs in the software that made the original radioSHARK completely unusable under Windows, but keep in mind that Michael and Hisaaki&#8217;s work has made the enclosed software completely irrelevant to Linux users, opening a new market for a fine hardware product.<br /><div class="simpletags">Tags: <a href="http://technorati.com/tag/linux" rel="tag">linux</a>, <a href="http://technorati.com/tag/radioshark" rel="tag">radioshark</a>, <a href="http://technorati.com/tag/radioshark2" rel="tag">radioshark2</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2007/05/20/use-the-radioshark-2-under-linux-shark2c/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Hello, Planeta Linux!</title>
		<link>http://javier.rodriguez.org.mx/index.php/2007/05/19/hello-planeta-linux?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hello-planeta-linux</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2007/05/19/hello-planeta-linux#comments</comments>
		<pubDate>Sat, 19 May 2007 19:12:40 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mexico]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2007/05/19/hello-planeta-linux/</guid>
		<description><![CDATA[And now for something completely different: This site is now syndicated in Planeta Linux Mexico. If you haven&#8217;t heard about Planets, they are sites that publish aggregated news feeds around certaint themes in the now all-too-familiar reverse chronologic order. Planets are a great way to feel the pulse and hear the buzz of a community [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://javier.rodriguez.org.mx/wp-content/uploads/2007/05/planetalinux-small.png' alt='planetalinux-small.png' align='left' />And now for something completely different: This site is now syndicated in Planeta Linux Mexico.<br />
If you haven&#8217;t heard about <a href="http://en.wikipedia.org/wiki/Planet_%28blog%29">Planets</a>, they are sites that publish aggregated news feeds around certaint themes in the now all-too-familiar reverse chronologic order. Planets are a great way to feel the pulse and hear the buzz of a community without having to maintain individual subscriptions manually. Throught the years I&#8217;ve become reliant in several Planet feeds, most notably <a href="http://planet.perl.org/">Planet Perl</a>, <a href="http://planet.python.org/">Planet Python</a> and <a href="http://planet.debian.org/">Planet Debian</a>.<br />
A few weeks ago <a href="http://b3co.com/">Beco</a> introduced me to Planeta Linux -now I&#8217;m an avid reader- and kindly offered to talk to <a href="http://www.damog.net/">Damog</a> and get <a href="http://javier.rodriguez.org.mx/index.php/feed/">this blog&#8217;s RSS feed</a> into the site.<br />
If you are one of my three regular readers, go visit <a href="http://mx.PlanetaLinux.org/">Planeta Linux</a>, I&#8217;m sure you&#8217;ll find it as enjoyable as I do. And if you are a Planeta Linux reader, well&#8230; Hello!<br /><div class="simpletags">Tags: <a href="http://technorati.com/tag/Planet" rel="tag">Planet</a>, <a href="http://technorati.com/tag/PlanetaLinux" rel="tag">PlanetaLinux</a>, <a href="http://technorati.com/tag/RSS" rel="tag">RSS</a>, <a href="http://technorati.com/tag/syndication" rel="tag">syndication</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2007/05/19/hello-planeta-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>μHOWTO: Beryl on Debian</title>
		<link>http://javier.rodriguez.org.mx/index.php/2007/04/21/uhowto-beryl-on-debian?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=uhowto-beryl-on-debian</link>
		<comments>http://javier.rodriguez.org.mx/index.php/2007/04/21/uhowto-beryl-on-debian#comments</comments>
		<pubDate>Sat, 21 Apr 2007 21:32:49 +0000</pubDate>
		<dc:creator>javier</dc:creator>
				<category><![CDATA[Dell D620]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://javier.rodriguez.org.mx/index.php/2007/04/21/uhowto-beryl-on-debian/</guid>
		<description><![CDATA[Last week Jordi Fernández gave me a quick hands-on tutorial for a working Beryl setup on Debian. He owns a Dell Latitude D620 running Debian GNU/Linux just like mine, so leeching his setup was even easier for me. What sold me immediately into Beryl is that you don&#8217;t need to install Xgl. Basically I edited [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://javier.rodriguez.org.mx/wp-content/uploads/2007/04/beryl-logo.png" align="left">Last week <a href="http://elblogdelfernan.blogspot.com/">Jordi Fernández</a> gave me a quick hands-on tutorial for a working <a href="http://www.beryl-project.org/">Beryl</a> setup on Debian. He owns a <a href="http://javier.rodriguez.org.mx/index.php/linux/debian-gnulinux-on-dell-d620/">Dell Latitude D620 running Debian GNU/Linux</a> just like mine, so leeching his setup was even easier for me. What sold me immediately into Beryl is that <strong>you don&#8217;t need to install Xgl</strong>.<br />
Basically I edited /etc/X11/xorg.conf and added these lines to the Device section:</p>
<div class="codesnip-container" >Option &#8220;RenderAccel&#8221; &#8220;true&#8221;<br />
Option  &#8220;backingstore&#8221; &#8220;true&#8221;<br />
Option &#8220;XAANoOffsetScreenPixmaps&#8221; &#8220;true&#8221;<br />
Option &#8220;AddRGBGLXVisuals&#8221; &#8220;On&#8221;</div>
<p>and added a new section to the very end:</p>
<div class="codesnip-container" >Section &#8220;Extensions&#8221;<br />
        Option &#8220;Composite&#8221; &#8220;Enable&#8221;<br />
EndSection</div>
<p>My <a href="http://javier.rodriguez.org.mx/download/dell/xorg.conf">updated xorg.conf is available right here</a>.<br />
After restarting X (ctrl-alt-Backspace for lazy users like me) you can type this on a terminal:</p>
<div class="codesnip-container" >$ beryl-manager &#038;<br />
$ beryl</div>
<p>I have the official nvidia drivers (1.0-8776) installed via module-assistant and a Beryl version that is kind of old (0.2.0+svn20070205-r3687+imudebian0, rather ancient in Internet Time). This worked immediately for me but Your Mileage May Vary.<br />
There you have it. A working beryl setup in a few minutes. Thanks to Jordi for this tutorial and the rather impressive demo that followed, and to the Compiz and Beryl developers for their hard work.<br /><div class="simpletags">Tags: <a href="http://technorati.com/tag/uHOWTO" rel="tag">uHOWTO</a>, <a href="http://technorati.com/tag/Dell" rel="tag"> Dell</a>, <a href="http://technorati.com/tag/D620" rel="tag"> D620</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/X" rel="tag"> X</a>, <a href="http://technorati.com/tag/Beryl" rel="tag"> Beryl</a></div>
]]></content:encoded>
			<wfw:commentRss>http://javier.rodriguez.org.mx/index.php/2007/04/21/uhowto-beryl-on-debian/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

