<?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>World Gone Web &#187; Système</title>
	<atom:link href="http://www.samanthahalfon.net/worldgoneweb/category/systeme/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.samanthahalfon.net/worldgoneweb</link>
	<description></description>
	<lastBuildDate>Sat, 17 Apr 2010 22:51:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Debian Lenny: updating to SVN 1.6.4</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/debian-lenny-updating-to-svn-1-6-4/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/debian-lenny-updating-to-svn-1-6-4/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 21:46:16 +0000</pubDate>
		<dc:creator>samo</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[devian]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=173</guid>
		<description><![CDATA[
Working with Windwos users on my SVN repository, I needed to upgrade SVN to match with their Tortoise version. Here are the steps to do so:

add the line below to /etc/apt/sources.list
1deb http://www.backports.org/debian lenny-backports main contrib non-free

get the public key from lenny-backports running the following command
1wget -O - http://backports.org/debian/archive.key &#124; apt-key add -

run aptitude update
install subversion [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/debian-lenny-updating-to-svn-1-6-4/&amp;title=Debian+Lenny%3A+updating+to+SVN+1.6.4&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>Working with Windwos users on my SVN repository, I needed to upgrade SVN to match with their Tortoise version. Here are the steps to do so:</p>
<ul>
<li>add the line below to <em>/etc/apt/sources.list</em>
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">deb http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//www.backports.org/debian lenny-backports main contrib non-free</span></div></td></tr></tbody></table></div>
</li>
<li>get the public key from lenny-backports running the following command
<div class="codecolorer-container php dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">wget <span style="color: #339933;">-</span>O <span style="color: #339933;">-</span> http<span style="color: #339933;">:</span><span style="color: #666666; font-style: italic;">//backports.org/debian/archive.key | apt-key add -</span></div></td></tr></tbody></table></div>
</li>
<li>run <em>aptitude update</em></li>
<li>install subversion <em>aptitude -t lenny-backports install subversion</em></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/debian-lenny-updating-to-svn-1-6-4/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Debian: Naming USB devices with uDev</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/debian-naming-usb-devices-with-udev/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/debian-naming-usb-devices-with-udev/#comments</comments>
		<pubDate>Sun, 07 Jun 2009 16:49:16 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[udev]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=149</guid>
		<description><![CDATA[
I use three different small backup drives as three backup volumes. I turn them on on sunday, the backup scripts runs overnight, and I turn them off on monday morning. I&#8217;ve shared the backup script in a previous post.
The problem is that the backup script  starts by mounting the backup drives. It expects them to [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/debian-naming-usb-devices-with-udev/&amp;title=Debian%3A+Naming+USB+devices+with+uDev&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>I use three different small backup drives as three backup volumes. I turn them on on sunday, the backup scripts runs overnight, and I turn them off on monday morning. I&#8217;ve shared the <a title="Backup system" href="http://www.samanthahalfon.net/worldgoneweb/2008/backup-system/" target="_self">backup script in a previous post</a>.</p>
<p>The problem is that the backup script  starts by mounting the backup drives. It expects them to have the same device name in /dev everytime. For example, it expects backup1 to be /dev/sde1. It turns out that these assigned device names can randomly change. Sometimes, backup1 appears as /dev/sdh1. The solution, in this case, is to assign a persistent name to each device. That is what udev is for.  Udev will be called when a drive is plugged. If the plugged drive match a udev rule, it will be assigned the name defined in the rule.</p>
<p>The first step is to find criterias that will allow to identify a single drive and then create a rule for it.</p>
<p>Run the following command for the drives you need to name (replace sde1 by what you need):</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">udevinfo -a -p $(udevinfo -q path -n /dev/sde1)</div></td></tr></tbody></table></div>
<p>In my case, I get the following result:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;height:300px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;looking at device '/block/sde/sde1':<br />
KERNEL==&quot;sde1&quot;<br />
&lt;strong&gt; SUBSYSTEM==&quot;block&quot;&lt;/strong&gt;<br />
DRIVER==&quot;&quot;<br />
ATTR{start}==&quot;63&quot;<br />
ATTR{size}==&quot;2930272002&quot;<br />
ATTR{stat}==&quot; &nbsp; &nbsp; &nbsp;48 &nbsp; &nbsp; 1558 &nbsp; &nbsp; 3506 &nbsp; &nbsp; &nbsp;228 &nbsp; &nbsp; &nbsp; 19 &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; 38 &nbsp; &nbsp; &nbsp;248 &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;156 &nbsp; &nbsp; &nbsp;476&quot;looking at parent device '/block/sde':<br />
KERNELS==&quot;sde&quot;<br />
&lt;strong&gt; SUBSYSTEMS==&quot;block&quot;&lt;/strong&gt;<br />
DRIVERS==&quot;&quot;<br />
ATTRS{range}==&quot;16&quot;<br />
ATTRS{removable}==&quot;0&quot;<br />
ATTRS{size}==&quot;2930277168&quot;<br />
ATTRS{capability}==&quot;12&quot;<br />
ATTRS{stat}==&quot; &nbsp; &nbsp; &nbsp;60 &nbsp; &nbsp; 1573 &nbsp; &nbsp; 3722 &nbsp; &nbsp; &nbsp;504 &nbsp; &nbsp; &nbsp; 19 &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; 38 &nbsp; &nbsp; &nbsp;248 &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;348 &nbsp; &nbsp; &nbsp;752&quot;looking at parent device '/devices/pci0000:00/0000:00:02.1/usb2/2-4/2-4:1.0/host4/target4:0:0/4:0:0:1':<br />
KERNELS==&quot;4:0:0:1&quot;<br />
&lt;strong&gt; SUBSYSTEMS==&quot;scsi&quot;&lt;/strong&gt;<br />
DRIVERS==&quot;sd&quot;<br />
ATTRS{device_blocked}==&quot;0&quot;<br />
ATTRS{type}==&quot;0&quot;<br />
ATTRS{scsi_level}==&quot;3&quot;<br />
&lt;strong&gt;&lt;code&gt; ATTRS{vendor}==&quot;ST315003&quot;<br />
ATTRS{model}==&quot;41AS &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&quot;</div></td></tr></tbody></table></div>
<p></strong></p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">ATTRS{rev}==&quot; &nbsp; &nbsp;&quot;<br />
ATTRS{state}==&quot;running&quot;<br />
ATTRS{timeout}==&quot;30&quot;<br />
ATTRS{iocounterbits}==&quot;32&quot;<br />
ATTRS{iorequest_cnt}==&quot;0x57&quot;<br />
ATTRS{iodone_cnt}==&quot;0x57&quot;<br />
ATTRS{ioerr_cnt}==&quot;0x0&quot;<br />
ATTRS{modalias}==&quot;scsi:t-0x00&quot;<br />
ATTRS{evt_media_change}==&quot;0&quot;<br />
ATTRS{queue_depth}==&quot;1&quot;<br />
ATTRS{queue_type}==&quot;none&quot;<br />
ATTRS{max_sectors}==&quot;240&quot;<br />
...</div></td></tr></tbody></table></div>
<p></code></p>
<p>I have outlined the unique values and criterias that will allow me to identify backup1. I also outlined the subsystem lines that will be used in the udev rule.</p>
<p>The rule that will match this drive is:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">SUBSYSTEM==&quot;block&quot;, SUBSYSTEMS==&quot;block&quot;, SUBSYSTEMS==&quot;scsi&quot;, ATTRS{vendor}==&quot;ST315003&quot;, ATTRS{model}==&quot;41AaS&quot;, NAME=&quot;backup1&quot;</div></td></tr></tbody></table></div>
<p>More information about <a title="writing udev rules" href="http://reactivated.net/writing_udev_rules.html" target="_blank">udev rules</a> can be found online.</p>
<p>That done, you can test our rule by launching the following command:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">udevadm test $(udevinfo -q path -n /dev/sde1) --force</div></td></tr></tbody></table></div>
<p>If the rule matched the drive, you can <em>ls /dev/disk/by-label</em> and find backup1 in the list.</p>
<p>You can now edit the backup script and replace mount /dev/sde1 by mount /dev/disk/by-label/backup1. The latter should always refer to the right drive.</p>
<p>Thanks to the authors of the following two guides that lead me to this solution:</p>
<ul>
<li><a title="Detect USB Hard Drives Attributes" href="http://www.linuxconfig.org/Override_/_rename_your_usb_hard_drive's_device_name_with_udev_rules" target="_blank">Detect USB Hard Drives Attributes</a></li>
<li><a title="udev on debian wiki" href="http://wiki.debian.org/udev" target="_blank">uDev on Debian Wiki</a></li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/debian-naming-usb-devices-with-udev/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian: remove unused packages</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/debian-remove-unused-packages/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/debian-remove-unused-packages/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 21:58:46 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[hard drive]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[space]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=146</guid>
		<description><![CDATA[
Two days ago, I ran into a strange problem with my email server which refused to send any more emails. It turned out my hard drive was full&#8230; I started by emptying the tmp directory and running aptitude clean and aptitude autoclean but that wasn&#8217;t enough to free enough space to allow me to breathe [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/debian-remove-unused-packages/&amp;title=Debian%3A+remove+unused+packages&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>Two days ago, I ran into a strange problem with my email server which refused to send any more emails. It turned out my hard drive was full&#8230; I started by emptying the tmp directory and running aptitude clean and aptitude autoclean but that wasn&#8217;t enough to free enough space to allow me to breathe for long. Some Googling lead me to deborphan, a package that will list packages installed because they were once a dependancy but that are now useless to the system. Those packages identified, I just had to remove them all.</p>
<p>A few commands to do the same thing:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">aptitude install deborphan</div></td></tr></tbody></table></div>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">deborphan</div></td></tr></tbody></table></div>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;</div></td></tr></tbody></table></div>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">aptitude purge &amp;lt;packages listed by deborphan&amp;gt;</div></td></tr></tbody></table></div>
<p>Now my server can breathe and so can I.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/debian-remove-unused-packages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Debian, read the bootup messages</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/debian-read-the-bootup-messages/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/debian-read-the-bootup-messages/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 21:09:11 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=143</guid>
		<description><![CDATA[
While Debian boots, several warning, error or information messages appear and quickly disappear from the screen. If you wish to log these messages in order to consult them later on, you need to enable the bootlog by editing a single configuration file.
1vi /etc/default/bootlogd
The file should say something like
1BOOTLOGD_ENABLE=No
Simply ,change it to
1BOOTLOGD_ENABLE=Yes
You should now have these [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/debian-read-the-bootup-messages/&amp;title=Debian%2C+read+the+bootup+messages&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>While Debian boots, several warning, error or information messages appear and quickly disappear from the screen. If you wish to log these messages in order to consult them later on, you need to enable the bootlog by editing a single configuration file.</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">vi /etc/default/bootlogd</div></td></tr></tbody></table></div>
<p>The file should say something like</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BOOTLOGD_ENABLE=No</div></td></tr></tbody></table></div>
<p>Simply ,change it to</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">BOOTLOGD_ENABLE=Yes</div></td></tr></tbody></table></div>
<p>You should now have these messages logged in <em>/var/log/boot</em>.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/debian-read-the-bootup-messages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Access Subsonic via Apache</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/access-subsonic-via-apache/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/access-subsonic-via-apache/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 18:03:45 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[subsonic]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=133</guid>
		<description><![CDATA[
I have setup Subsonic on my server last week as a standalone applicaiton. That means that Subsonic runs its own webserver. The only drawback of this method of deployment is that, to access the application, I had to type http://&#60;subsonic server&#62;:8080.
To access Subsonic while using port 80, I enabled the mod_proxy and added a VirtualHost [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/access-subsonic-via-apache/&amp;title=Access+Subsonic+via+Apache&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>I have setup <a title="World Gone Web - Subsonic" href="http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/">Subsonic on my server last week</a> as a standalone applicaiton. That means that Subsonic runs its own webserver. The only drawback of this method of deployment is that, to access the application, I had to type http://&lt;subsonic server&gt;:8080.</p>
<p>To access Subsonic while using port 80, I enabled the mod_proxy and added a VirtualHost as follow.</p>
<p>To enable the proxy module, run :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;a2enmod proxy_http</div></td></tr></tbody></table></div>
<p>To access Subsonic via Apache, create a Virtual Host similar to the one below :</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&amp;lt;VirtualHost *:80&amp;gt;<br />
ServerAdmin &amp;lt;email&amp;gt;<br />
ServerName subsonic.&amp;lt;subsonicserver&amp;gt;.com<br />
ServerAlias subsonic<br />
ServerSignature Off<br />
&amp;lt;Proxy http://127.0.0.1:8080&amp;gt;<br />
Allow from all<br />
&amp;lt;/Proxy&amp;gt;<br />
ProxyPreserveHost on<br />
ProxyPass / http://127.0.0.1:8080/<br />
ProxyPassReverse / http://127.0.0.1:8080/<br />
&amp;lt;/VirtualHost&amp;gt;</div></td></tr></tbody></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/access-subsonic-via-apache/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Subsonic on Debian Etch</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 12:06:19 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[music]]></category>
		<category><![CDATA[streaming]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=123</guid>
		<description><![CDATA[
Subsonic is a web application allowing you to stream or download your music collection over the Internet. It is the newest application of the kind after the famous Ampache and Jinzora. I have recently tried Ampache but was disapointed by the user experience so when Framasoft added a notice about Subsonic, I was immediatly interested.
The installation is [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/&amp;title=Install+Subsonic+on+Debian+Etch&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p><a title="Subsonic" href="http://subsonic.sourceforge.net/">Subsonic </a>is a web application allowing you to stream or download your music collection over the Internet. It is the newest application of the kind after the famous <a title="Ampache" href="http://ampache.org/">Ampache </a>and <a title="Jinzora" href="http://en.jinzora.com/">Jinzora</a>. I have recently tried Ampache but was disapointed by the user experience so when <a title="Subsonic on Framasoft" href="http://www.framasoft.net/article4838.html">Framasoft </a>added a notice about Subsonic, I was immediatly interested.</p>
<p>The installation is pretty simple:</p>
<ol>
<li>Download the standalone version</li>
<li>Untar the downloaded archive in the directory of your choice for example /var/subsonic</li>
<li>Edit subsonic.sh if you feel you need to change the default settings (port or memory allowed)</li>
</ol>
<p>You are now ready to launch subsonic by running <strong>subsonic.sh</strong></p>
<p>To use Subsonic, connect to http://&lt;your_server&gt;:8080</p>
<p>Connect using the admin:admin account and you should now see the Subsonic main page.</p>
<p>To add music to your collection, browse to Music Folder and add your music collection, for example</p>
<p>Rock    /mnt/data/music/rock</p>
<p>You can now log out, sign in using your user and enjoy your music from anywhere</p>
<div id="attachment_124" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-124" title="subsonic" src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2009/04/subsonic-300x187.jpg" alt="Subsonic Main page" width="300" height="187" /><p class="wp-caption-text">Subsonic Main page</p></div>
<p>One nice feature offered by Subsonic is to reencode your music to a lower bitrate to limit the bandwidth usage, to do so, you need Lame. Download the lame archive from the official site, untar it, and rename the generated folder to &#8220;lame&#8221;. Then, copy this folder to /var/subsonic/transcode. You&#8217;re all done. Enjoy <img src='http://www.samanthahalfon.net/worldgoneweb/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Browse to the settings and immediately change the admin password. You can then create a new user for yourself.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2009/install-subsonic-on-debian-etch/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Scanning for virus</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/scanning-for-virus/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/scanning-for-virus/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 18:56:00 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=73</guid>
		<description><![CDATA[
So now we have a backup system archiving our valuable data weekly. The problem is, these data come from different computers running different OS, some of them also come from friend&#8217;s computers or even the World Wide Web. The problem is that we can not guarantee that these files are virus free. But at least, [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/scanning-for-virus/&amp;title=Scanning+for+virus&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p><a href="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2008/10/avast4linux.gif"><img class="alignleft size-medium wp-image-77" title="avast4linux" src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2008/10/avast4linux.gif" alt="" width="200" height="200" /></a>So now we have a <a href="http://www.samanthahalfon.net/worldgoneweb/?p=61">backup system</a> archiving our valuable data weekly. The problem is, these data come from different computers running different OS, some of them also come from friend&#8217;s computers or even the World Wide Web. The problem is that we can not guarantee that these files are virus free. But at least, we can scan them before we back them up. That&#8217;s why I created a script launching a virus scan every thursdays before we run the sunday backup. Not knowing which antivirus to use to detect windows-aiming virus I decided to go with Avast that I used when running Windows. Avast provides an Avast 4 Linux edition, free for home use.</p>
<p>The installation is straighforward: <a href="http://www.avast.com/fre/download-avast-for-linux-edition.html">download the package</a> from avast site then run:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dpkg -i avast....zip</div></td></tr></tbody></table></div>
<p>The script is pretty simple too (feel free to help me improve it as well):</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">#!/bin/sh<br />
export now=$(date +&quot;%Y-%m-%d&quot;)<br />
export logPath=/var/log/avast/avastlogs-${now}.log<br />
echo &quot;########## Starting Antivirus Script #########&quot; &amp;gt; ${logPath}<br />
date &amp;gt;&amp;gt; ${logPath}<br />
avast-update<br />
avast /mnt/media/ --report ${logPath}<br />
echo &quot;########## End of Antivirus Script ##########&quot;&amp;gt;&amp;gt; ${logPath}<br />
export content=$(cat ${logPath})<br />
mail -s &quot;weekly antivirus scan  completed&quot; &amp;lt;email1&amp;gt;,&amp;lt;email2&amp;gt; &amp;lt;&amp;lt;  EOF<br />
${content}<br />
EOF</div></td></tr></tbody></table></div>
<p>Then I added the task in cron:</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">0       1       *       *       4       sh /root/config/cron/virusscan.sh &amp;gt; /dev/null</div></td></tr></tbody></table></div>
<p>Hopefully that will save us some troubles&#8230;</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/scanning-for-virus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Etch and the Realtek ALC888 sounds chipset</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/debian-etch-et-le-chipset-son-realtek-alc888/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/debian-etch-et-le-chipset-son-realtek-alc888/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 18:58:05 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[sound card]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=48</guid>
		<description><![CDATA[
Until recently, my Etch based server was running without any sound driver. But I&#8217;ve heard about MPD and since that server also stores my music collection, I wanted to give it a try. Sound output then became necessary.
The mainboard is an Asrock ALIveNF6G-VSTA and, like the user manual and the Internet will tell you, the [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/debian-etch-et-le-chipset-son-realtek-alc888/&amp;title=Debian+Etch+and+the+Realtek+ALC888+sounds+chipset&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>Until recently, my Etch based server was running without any sound driver. But I&#8217;ve heard about MPD and since that server also stores my music collection, I wanted to give it a try. Sound output then became necessary.</p>
<p>The mainboard is an Asrock ALIveNF6G-VSTA and, like the user manual and the Internet will tell you, the sound chip on that card is Realtek ALC 888. This chip is not recognized by default by Etch and requires a manual setup using a newer version of the alsa driver package. Here is the step by step installation procedure:</p>
<ul>
<li>Download the <a href="http://www.alsa-project.org/main/index.php/Main_Page">latest alsa driver</a> package.</li>
<li>Install the linux headers for your kernel</li>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">apt-get install linux-headers-$(uname -r)</div></td></tr></tbody></table></div>
<li>Extract the alsa driver and cd into the directory, then run :</li>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">./configure --with-kernel=/usr/src/linux-headers-$(uname -r)</div></td></tr></tbody></table></div>
<li>Run make (and be patient) then run make install</li>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">make<br />
make install</div></td></tr></tbody></table></div>
<li>Run alsaconf and select your card (hda-intel) and follow the instructions on screen.</li>
<p><a href='http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2008/06/alsaconf.png'><img src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2008/06/alsaconf.png" alt="" title="alsaconf.png" width="400" height="319" class="aligncenter size-full wp-image-49" /></a></p>
<li>Now, launching the volume mixer of your choice, you should be able to set the sound and enjoy your speakers. You might also want to reboot to be on the safe side</li>
</ul>
<p>I found this procedure on the <a href="http://forums.debian.net/viewtopic.php?t=26835">Debian forum</a>, so thanks to farrell2k who posted this solution on may 17.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/debian-etch-et-le-chipset-son-realtek-alc888/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CloneZilla: clone your hard drive</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/clonezilla-clone-your-hard-drive/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/clonezilla-clone-your-hard-drive/#comments</comments>
		<pubDate>Wed, 28 May 2008 21:28:53 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Système]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=47</guid>
		<description><![CDATA[

About a year ago, when it was time for me to upgrade from Sarge to Etch, I decided to backup my whole Debian system before trying the risky aptitude dist-upgrade. I used g4u to clone my hard drive on another drive of the same size and even tested that, replacing the current drive with the [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/clonezilla-clone-your-hard-drive/&amp;title=CloneZilla%3A+clone+your+hard+drive&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><div>
<p>About <a href="http://www.samanthahalfon.net/worldgoneweb/?p=18">a year ago</a>, when it was time for me to upgrade from Sarge to Etch, I decided to backup my whole <a href="http://www.us.debian.org/">Debian</a> system before trying the risky aptitude dist-upgrade. I used <a href="http://www.feyrer.de/g4u/">g4u</a> to clone my hard drive on another drive of the same size and even tested that, replacing the current drive with the clone, everything worked just as if nothing happened. It did and it also turned out I didn&#8217;t need that clone, the upgrade went fine.</p>
<p>Anyway, recently, I had to do the same manipulation for a neighbor&#8217;s (I fix the neighbors machines, I&#8217;m that way). The hard drive gave signs of weakness and I decided to just make the neighbor get a new drive and clone it. Somehow, on that machine, g4u didn&#8217;t work since I was not able to get a display going. Doing some research I found <a href="http://www.clonezilla.org/">cloneZilla</a> which provides the same cloning feature and is also a bootable CD.</p>
<p>The process is very simple and doesn&#8217;t require to read and type any command. One follows the GUI steps. First, decide whether you want to create an image of the drive or actually copy one drive or one partition to another. Then you select the source and the destination drives or partitions and press &#8211; it takes some courage &#8211; enter. The cloning took about 5 minutes for a 250Gb drive, and, again, replacing the aging drive with the newly cloned one, everything boot up and worked just like before. No data transfer, no windows setup, nothing&#8230;</p>
<div><img style="max-width: 800px;" src="http://www.samanthahalfon.net/worldgoneweb/wp-content/uploads/2008/05/clonezilla.png" alt="" /></div>
<p>To use cloneZilla, the simpliest way is to download the zipped iso, unzip it and burn it. It will create a bootable CD and you&#8217;re ready to go. It&#8217;s that easy so don&#8217;t hesitate cloning your drive if it starts to act funny.</p>
</div>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/clonezilla-clone-your-hard-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Lenny: install nvidia drivers</title>
		<link>http://www.samanthahalfon.net/worldgoneweb/2008/debian-lenny-install-nvidia-drivers/</link>
		<comments>http://www.samanthahalfon.net/worldgoneweb/2008/debian-lenny-install-nvidia-drivers/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 23:02:14 +0000</pubDate>
		<dc:creator>shalfon</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Système]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[nvidia]]></category>

		<guid isPermaLink="false">http://www.samanthahalfon.net/worldgoneweb/?p=39</guid>
		<description><![CDATA[
Because my motherboard (ASUS P5K) and its SATA hard disk were not recognized by the Sarge installer I decided to install Debian testing aka Lenny. The installation was smooth (thanks to all the work done by the installer team) and most of my hardware was identified automatically (including for example the volume up/down buttons on [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em;"><script type="text/javascript" src="http://button.topsy.com/widget/retweet-big?url=http://www.samanthahalfon.net/worldgoneweb/2008/debian-lenny-install-nvidia-drivers/&amp;title=Debian+Lenny%3A+install+nvidia+drivers&amp;theme=blue&amp;nick=samo9789&amp;order=count,retweet,badge&amp;txt_tweet=tweet&amp;txt_retweet=retweet"></script></div><p>Because my motherboard (ASUS P5K) and its SATA hard disk were not recognized by the Sarge installer I decided to install Debian testing aka Lenny. The installation was smooth (thanks to all the work done by the installer team) and most of my hardware was identified automatically (including for example the volume up/down buttons on my logitech keyboard). Unfortunately, at this point, I was using the nv driver and had no 3D support. </p>
<p>The installation of the nvidia driver should be pretty straight forward : </p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">apt-get install module-assistant gcc nvidia-kernel-common&lt;br /&gt;m-a update&lt;br /&gt;m-a prepare&lt;br /&gt;m-a auto-install nvidia</div></td></tr></tbody></table></div>
<p>This will only work after adding main and non-free to the sources.list for Aptitude&#8230;</p>
<p>Unfortunately, the installation is not always that simple and that&#8217;s why a <a href="http://wiki.debian.org/NvidiaGraphicsDrivers#Libraries">debian wiki page</a> lists no less than four methods to install the driver.</p>
<p>In my case, the problem was that I was using Lenny and that, at the moment, the package nvidia-kernel-source is ot available for testing. So I had to use a backport. Thanks to the help from the folks at on the debian irc channel, I found out how to do just that :</p>
<ul>
<li>Add the following to sources.list and update the package list</li>
</ul>
<p>deb-src http://ftp.debian.org/debian sid</p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">main contrib non-free&lt;br /&gt;apt-get update</div></td></tr></tbody></table></div>
<ul>
<li>Build the missing package</li>
</ul>
<p></p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">apt-get build-dep nvidia; apt-get -b source nvidia</div></td></tr></tbody></table></div>
<ul>
<li>Install the resultant deb packages</li>
</ul>
<p></p>
<div class="codecolorer-container text dawn" style="overflow:auto;white-space:nowrap;border: 1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">dpkg -i &amp;amp;amp;lt;packageName.deb&amp;amp;amp;gt;</div></td></tr></tbody></table></div>
<p>That done, the command m-a a-i nvidia finally worked. After restarting gdm, everything worked fine. Next step, test Beryl&#8230;</p>

]]></content:encoded>
			<wfw:commentRss>http://www.samanthahalfon.net/worldgoneweb/2008/debian-lenny-install-nvidia-drivers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
