<?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>Ninja Blogging &#187; Unix</title>
	<atom:link href="http://www.halfzware.com/wordpress/category/unix/feed" rel="self" type="application/rss+xml" />
	<link>http://www.halfzware.com/wordpress</link>
	<description>Just Another Ninja Blog</description>
	<lastBuildDate>Sat, 29 May 2010 10:54:34 +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>Ubuntu Causing Unnecessary Drive Wear</title>
		<link>http://www.halfzware.com/wordpress/2007/10/24/ubuntu-causing-unnecessary-drive-wear</link>
		<comments>http://www.halfzware.com/wordpress/2007/10/24/ubuntu-causing-unnecessary-drive-wear#comments</comments>
		<pubDate>Thu, 25 Oct 2007 02:58:01 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.halfzware.com/wordpress/2007/10/24/ubuntu-causing-unnecessary-drive-wear/</guid>
		<description><![CDATA[I bug has been confirmed where Feisty and Gutsy versions of Ubuntu are allowing hard drives to spin down to conserve power and causing excessive wear. In short a drive has an average number of load/unload cycles before it wears out. If the drive isn&#8217;t allowed to spin down during use, then there are less ...]]></description>
			<content:encoded><![CDATA[	<p>I <a href="http://www.linux-hero.com/rant/explanation-ubuntu-hard-drive-wear-and-tear">bug</a> has been confirmed where Feisty and Gutsy versions of Ubuntu are allowing hard drives to spin down to conserve power and causing excessive wear.  In short a drive has an average number of load/unload cycles before it wears out.  If the drive isn&#8217;t allowed to spin down during use, then there are less load/unload cycles which extends it&#8217;s life.  It&#8217;s not clear whether desktops are affected or not since it&#8217;s the Advanced Power Management that is allowing the drive to spin down, and thus extending battery life.  I&#8217;m not sure why one would put trust into a &#8220;Mechanical&#8221;<br />
Hard disk Drive to archive data, so as long as you make frequent backups it shouldn&#8217;t be a huge deal. But it&#8217;s nice to be aware that your Hard disk may not last as long as one would expect.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://www.halfzware.com/wordpress/2007/10/24/ubuntu-causing-unnecessary-drive-wear/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openSuse 10.2 Server Running on PII</title>
		<link>http://www.halfzware.com/wordpress/2007/03/14/opensuse-102-server-running-on-pii</link>
		<comments>http://www.halfzware.com/wordpress/2007/03/14/opensuse-102-server-running-on-pii#comments</comments>
		<pubDate>Thu, 15 Mar 2007 03:24:49 +0000</pubDate>
		<dc:creator>Administrator</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.halfzware.com/wordpress/2007/03/14/opensuse-102-server-running-on-pii/</guid>
		<description><![CDATA[Yes you read it right, I&#8217;m installing the latest openSuse on a PII 400mhz with 196MB of Ram and a 10GB hard drive. I&#8217;m installing a text gui only, no xserver on this biatch. I have already installed Suse on another box and made it dual boot with windows. It was really simple to install ...]]></description>
			<content:encoded><![CDATA[	<p>Yes you read it right, I&#8217;m installing the latest openSuse on a <span class="caps">PII</span> 400mhz with 196MB of Ram and a 10GB hard drive.  I&#8217;m installing a text gui only, no xserver on this biatch.  I have already installed Suse on another box and made it dual boot with windows.  It was really simple to install and I didn&#8217;t have to install any extra drivers with my first install and was a little bit easier since it was a newer system.  This second experience has not been that easy.  In short it has been the eqivilent of putting a cadillac motor into a Ford Pinto.<br />
<span id="more-218"></span></p>

	<p>First let me reiterate my hardware:<br />
Compaq Deskpro<br />
<span class="caps">PII</span> 400mhz 196MB Ram 10GB Hard Drive<br />
Linksys <span class="caps">NC100 </span>Network Adapter<br />
Unknown <span class="caps">CDRW</span></p>

	<p>First off I had to create a swap partition since I did not have the required 256MB of <span class="caps">RAM</span>.  I did this by booting up in Knoppix and creating a swap partition roughly double the amount of ram I had: 196MB <span class="caps">X 2 </span>= ~400MB of Swap partition.<br />
After this I had a warning message of this nature<br />
&#8220;Error occurred while creating the catalog.<br />
cd://?devices=/dev/hdc,/dev/hdd<br />
Unknown error: unable to copy media directory<br />
to /var/tmp/TmpDir.j4jPSa/MEDIA&#8221;<br />
There are four reasons that I have found to cause this message:<br />
1.) The media or the original .iso download is corrupted. Check the .iso with <span class="caps">MD5SUM </span>(do a search).<br />
2.) The <span class="caps">IDE</span> driver in <span class="caps">SUSE</span> doesn&#8217;t like your ide controller. Try booting with the <strong>insmod=ide-generic</strong> boot option.<br />
3.) The <span class="caps">DVD</span> was burned at too high of a speed. Try 4x or slower<br />
4.) The drive is incompatible with the <span class="caps">DVD</span> media. Try a firmware update or a new drive.  I knew my disc was not corrupted since this is my second system to install Suse on so I tried using the generic <span class="caps">IDE</span> driver with the boot option <strong>insmod=ide-generic</strong> to no avail.  I then tried a different cd drive and had to end up using the boot option anyway.  After beginning the install I then used <a href='http://www.howtoforge.com/perfect_setup_opensuse_10.2'>This Custom Server Setup for OpenSuse 10.2</a>, since my goal is a server for at home.  I am looking forward to some extra hardware from my friend Dan who has a bunch of parts for this obsolete machine.  I would like to install another hard disk, and a <span class="caps">PIII</span> as well as some more ram.  I&#8217;m not sure how Suse will handle me installing newer hardware.  I hope I don&#8217;t have to do another install.  I guess we will find out.  <img src='http://www.halfzware.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Cheers</p>


 ]]></content:encoded>
			<wfw:commentRss>http://www.halfzware.com/wordpress/2007/03/14/opensuse-102-server-running-on-pii/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Desktop Eye-candy</title>
		<link>http://www.halfzware.com/wordpress/2006/04/19/desktop-eye-candy</link>
		<comments>http://www.halfzware.com/wordpress/2006/04/19/desktop-eye-candy#comments</comments>
		<pubDate>Thu, 20 Apr 2006 03:51:05 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.halfzware.com/wordpress/?p=150</guid>
		<description><![CDATA[For a long time now I&#8217;ve been obsessed with my computer desktop and whether or not it helps me work efficiently. I find desktop eye-candy fascinating yet in the end it always seems to get in my way or distract me from doing serious work. Because I&#8217;m always worried that I&#8217;m not making the most ...]]></description>
			<content:encoded><![CDATA[	<p>For a long time now I&#8217;ve been obsessed with my computer desktop and whether or not it helps me work efficiently. I find desktop eye-candy fascinating yet in the end it always seems to get in my way or distract me from doing serious work. Because I&#8217;m always worried that I&#8217;m not making the most of my desktop, I always like to ask people what their desktop looks like. In the spirit of my obsession, I thought it would be fun if everyone posted a screenshot of what their desktop looks like. Since the purpose of this idea is to see what everyone&#8217;s work environment looks like, it is only fair that you post a screenshot of your <em>everyday</em> desktop not one beefed to the max with eye-candy. Also, if you have an unusual setup or don&#8217;t check the site often, please include a description of what environment/programs you use.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://www.halfzware.com/wordpress/2006/04/19/desktop-eye-candy/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Running Azureus on a Remote Linux Box</title>
		<link>http://www.halfzware.com/wordpress/2006/04/17/running-azureus-on-a-remote-linux-box</link>
		<comments>http://www.halfzware.com/wordpress/2006/04/17/running-azureus-on-a-remote-linux-box#comments</comments>
		<pubDate>Mon, 17 Apr 2006 17:00:56 +0000</pubDate>
		<dc:creator>Druid</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.halfzware.com/wordpress/?p=135</guid>
		<description><![CDATA[This is a quick tutorial to download, install, and run azureus remotely on a Linux machine. The purpose for this is to remotely que downloads on your Linux box without having to be at your box and then be able to logout of your box and keep azureus running in the background. It&#8217;s useful to ...]]></description>
			<content:encoded><![CDATA[	<p>This is a quick tutorial to download, install, and run azureus remotely on a Linux machine. The purpose for this is to remotely que downloads on your Linux box without having to be at your box and then be able to logout of your box and keep azureus running in the background. It&#8217;s useful to be able to add/remove torrents remotely as well as check on each torrents status.</p>

	<p>To start off you&#8217;ll want to make sure you have the latest version of Java installed on your box which can be found <a target="_blank" title="Download latest version of Java" href="http://java.sun.com/j2se/1.5.0/download.jsp">here</a>, I installed the <span class="caps">JRE</span> version. You may have to compile java and put it&#8217;s location in your environment path variable. This may be located in your <strong>.{csh,bash,&#8230;}rc</strong> file depending on which shell you&#8217;ll be running azureus under.<br />
Next you&#8217;ll need to download the Java version of Azureus which can be found at <a title="Azureus Bittorrent Client" target="_blank" href="http://sourceforge.net/project/showfiles.php?group_id=84122.">SourceForge&#8217;s Azureus &#8211; Bittorrent Client</a>.  You&#8217;ll want to pick the appropriate file which will probably be <strong>Azureus_x.x.x.x_linux.tar.bz2</strong> which you&#8217;ll have to untar using the &#8220;tar -jxvf filename&#8217;  command.<br />
Next you&#8217;ll need to grab 2 more files, placing them in the root azureus directory, to get the client to run without an XWindows session (from the command line). The most current of the two files, <a target="_blank" href="http://azureus.sourceforge.net/cvs/log4j.jar">log4j.jar</a> and <a target="_blank" href="http://azureus.sourceforge.net/cvs/commons-cli.jar">commons-cli.jar</a>, can be located <a target="_blank" title="Current  'log4.jar' &#038; 'commons-cli,jar'" href="http://azureus.sourceforge.net/index_CVS.php">here</a>.</p>

	<p><span id="more-135"></span></p>

	<p>Next you&#8217;ll want to run azureus to make sure everythings working fine. You&#8217;ll do this by using the &#8220;java -jar {directory location}/Azureus2.jar&#8212;ui=console&#8221; command. Or just &#8220;java -jar Azureus2.jar&#8212;ui=console&#8221; if your in the azureus directory. I edited my <strong>.alias</strong> file to alias the name azcon to start it up.</p>

	<p>Now you have the ability to run azureus from the command line. Now all you need to do is have a means of remotely accessing Azureus. I recommend running a <span class="caps">SSH</span> server on the computer you&#8217;ll want to have Azureus running on.</p>

	<p>Once you&#8217;ve remotely connected to the box you can start up azureus with the command:</p>

	<p><em>java -jar Azureus2.jar&#8212;ui=console</em></p>

	<p>useful commands for Azureus console:</p>

	<p><em>add /path/to/file.torrent &#8212;for adding torrent  files</em></p>

	<p><em>show torrents &#8212;shows the status for all torrents being handled by azureus</em></p>

	<p><em>remove (# of torrent)&#8212;removes a torrent, requires looking at show torrents to find number</em></p>

	<p>If you want to run the job and sign out you&#8217;ll want to run azureus as a screen job.  This can be done with the command:</p>

	<p><em>screen  java -jar Azureus2.jar&#8212;ui=console</em></p>

	<p>Screen may need some tweaking to get it to work and there have been a few known issues with java and screen. You may want to start up the console session before trying to remote login so you won&#8217;t need to use screen.</p>

	<p>Adding torrents can be tricky. I&#8217;d suggest using WinSCP or <span class="caps">SCP</span> if your on a linux machine to copy your torrent files to your computer remotely. Or just run an <span class="caps">FTP</span> server on your remote machine.</p>

	<p>And there you have it. You&#8217;ll now be able to remotely login on your box from where ever you&#8217;re at and feel proud knowing that if you wanted to you could manage torrents for Azureus remotely.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://www.halfzware.com/wordpress/2006/04/17/running-azureus-on-a-remote-linux-box/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Linux Kernel</title>
		<link>http://www.halfzware.com/wordpress/2006/04/11/linux-kernel</link>
		<comments>http://www.halfzware.com/wordpress/2006/04/11/linux-kernel#comments</comments>
		<pubDate>Wed, 12 Apr 2006 03:17:24 +0000</pubDate>
		<dc:creator>Brad</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.halfzware.com/wordpress/?p=140</guid>
		<description><![CDATA[Having been a Linux user for many years I&#8217;ve come to know a great deal about my preferred operating system. I truly believe the most enjoyable way to learn to use Linux is to tinker with every little thing until you figure out how it works. A good deal of my knowledge comes from endlessly ...]]></description>
			<content:encoded><![CDATA[	<p>Having been a Linux user for many years I&#8217;ve come to know a great deal about my preferred operating system.  I truly believe the most enjoyable way to learn to use Linux is to tinker with every little thing until you figure out how it works.  A good deal of my knowledge comes from endlessly playing with new programs and poking around in configuration files until I master whatever project that occupies my mind this week.  I am driven by my determination to one day use Linux as my primary operating system, finally casting Windows off of my hard drives and banishing it to the nether-dimensions from whence it came.  In the quest to gain total mastery over Linux I have kept clear of the one task that haunts my dreams and mocks my very existence&#8230;compiling the kernel.</p>

	<p>For lots of Linux users the kernel is a dark and mysterious thing that should be worshipped as a god, lest it become angry and smite you.  So when I was forced recently to recompile my kernel in an attempt to gain <span class="caps">ACPI</span> functionality on my new laptop, I was prepared to endure ritual and torment to appease the kernel god for a successful compile.  Miraculously, after my fourth day of Googling in preparation for building my kernel, I stumbled across a wholly wonderful <a href="http://www.linuxforums.org/forum/linux-kernel/55612-mini-howto-compile-linux-kernel-2-6-a.html">post</a> on how to recompile the 2.6 kernel without the need for a blood sacrifice.</p>

	<p>I have to tip my hat to the author as this is one of the easiest to read articles on how to compile a kernel ever brought my way by the wide and wonderful internet.  After following the instructions, I made short work of my valiant task and was running my custom-compiled kernel in no time.  One thing I must note however, is after building the kernel modules I simply needed to do a <em>make install</em> before the kernel would boot properly.  I haven&#8217;t yet investigated whether this is a step exclusive to Mandriva 2006, or simply an oversight.  If anyone out there would like to share their experience with this matter, please add a comment below.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://www.halfzware.com/wordpress/2006/04/11/linux-kernel/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

