<?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>Joe Fleming dot net &#187; Linux</title>
	<atom:link href="http://joefleming.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://joefleming.net</link>
	<description>what you see is what you get</description>
	<lastBuildDate>Tue, 17 Jan 2012 16:24:55 +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>Atheros AR8131 and Linux</title>
		<link>http://joefleming.net/2010/05/26/atheros-ar8131-and-linux/</link>
		<comments>http://joefleming.net/2010/05/26/atheros-ar8131-and-linux/#comments</comments>
		<pubDate>Wed, 26 May 2010 19:25:49 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=177</guid>
		<description><![CDATA[A while back I picked up an ECS 945GCD-M motherboard to replace my dead VIA board that was running my RAID server. The board is pretty nice, sitting there completely silent, running 64-bit Ubuntu and packing far more power than the board it was replacing. But it has one glaring problem; the network card on [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I picked up an ECS 945GCD-M motherboard to replace my dead VIA board that was running my RAID server. The board is pretty nice, sitting there completely silent, running 64-bit Ubuntu and packing far more power than the board it was replacing. But it has one glaring problem; the network card on the thing didn&#8217;t work out of the box in Linux. I had been running a cheap USB network card I had laying around, but it was slow and I hated that I couldn&#8217;t get it working. So, I set out to make the onboard Atheros AR8131M chipset work.</p>
<p>Google will give you a plethora of guides for compiling the drivers (<a href="http://ubuntuforums.org/showthread.php?t=1255082">this one is probably the best</a>), but I just couldn&#8217;t get things to load. It was also never clear what version of the drivers I should be trying to run. Most tutorials made reference to 1.0.0.9, some to 1.0.0.10, but the current version (at the time of this writing) is 1.0.1.9. In the end, though, that&#8217;s the version I did manage to get working. Here&#8217;s how I did it:<br />
<span id="more-177"></span></p>
<ul>
<li>Grab the driver from the <del datetime="2011-08-09T18:42:49+00:00"><a href="http://partner.atheros.com/Drivers.aspx">Atheros site</a></del> Dead link, <a href="http://joefleming.net/files/AR81Family-Linux-v1.0.1.9.tar.gz">copy is here</a></li>
<li>Locate the file on your computer, then make a new directory (name it anything, <em>AR8131</em> will work) and move that file there
</li>
<li>Decompress the file</li>
<li>Enter the resulting <em>src</em> directory</li>
</ul>
<p>Once you&#8217;re in there, it&#8217;s time to start that terminal magic! One note; if you&#8217;ve already added another network card to your machine, the Atheros card may be eth1, not eth0. This was the case for me, and I&#8217;ll treat all the instructions here as though that&#8217;s the case for you too. If it&#8217;s not, just change eth1 to eth0.<br />
<code>make &#038;&#038; sudo make install<br />
sudo modprobe atl1e<br />
sudo ifconfig eth1 up<br />
sudo dhclient eth1<br />
</code></p>
<p>At this point, the machine will try to assign an IP address for the card. This may or may not work; for me, it did not. To get mine working, I simply restarted the networking init script. Before that though, let&#8217;s add the following to <em>/etc/network/interfaces</em><br />
<code># The secondary network interface<br />
auto eth1<br />
iface eth1 inet dhcp</code></p>
<p>And lastly, restart the network on the machine (you CAN reboot, but there&#8217;s no need).<br />
<code>sudo /etc/init.d/networking restart</code></p>
<p>At this point, you should have your network card up and running with an IP address assigned by your DHCP server or router. If not, keep hunting I guess, but you should at least be very close!</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2010/05/26/atheros-ar8131-and-linux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tweaking Gnome for Low-Resolution Displays</title>
		<link>http://joefleming.net/2010/05/13/tweaking-gnome-for-low-resolution-displays/</link>
		<comments>http://joefleming.net/2010/05/13/tweaking-gnome-for-low-resolution-displays/#comments</comments>
		<pubDate>Thu, 13 May 2010 17:23:48 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[display]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=169</guid>
		<description><![CDATA[I&#8217;m a fan of Ubuntu, and I&#8217;m kind of lazy about setting up my desktop, which means I&#8217;m using Gnome as my window manager. Over the years I&#8217;ve grown to like it&#8230; it&#8217;s not perfect, but it&#8217;s livable and works pretty well. One of the problems I&#8217;ve always had with it, though, is all of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a fan of Ubuntu, and I&#8217;m kind of lazy about setting up my desktop, which means I&#8217;m using Gnome as my window manager. Over the years I&#8217;ve grown to like it&#8230; it&#8217;s not perfect, but it&#8217;s livable and works pretty well. One of the problems I&#8217;ve always had with it, though, is all of the window elements in it are huge. This makes it look kind of childish and eats up a lot of screen real estate on the 1280&#215;800 display on my desktop. I couldn&#8217;t even imaging running it on a lower resolution!</p>
<p>I was discussing this with my friend <a href="http://jasonsidabras.com/">Jason</a> and he recommended playing with the font sizes. Sure enough, that did the trick! It seems that the reason everything is so big is that the default font sizes are 10pt. I shrank them down and MAN does it look nice now!</p>
<p>You can edit these values one ways; via gconf-editor or via gconftool-2 on the command line. I won&#8217;t post the gconf-editor direction since, if you know your way around it, you can extrapolate the parts you want to edit via the gconftool-2 commands. The following settings worked extremely well for me, but you can adjust the font faces and sizes as you see fit.</p>
<p><code>gconftool-2 --type string --set /apps/metacity/general/titlebar_font "Sans Bold 8"<br />
gconftool-2 --type string --set /desktop/gnome/interface/font_name "Sans 9"<br />
gconftool-2 --type string --set /desktop/gnome/interface/monospace_font_name "Monospace 9"</code></p>
<p>This will adjust the title bar, all normal window text and all monospace text, respectively. Again, these numbers looked the best to me, but you can make them even smaller (or bigger) to fit your needs. I did these adjustments on my 1680&#215;1050 display as well, and it looks amazing. Then again, I love small text!<br />
<span id="more-169"></span><br />
Another way to free up screen space is to auto-hide the panel(s) you have. Now, I know this is cumbersome with the default settings because it&#8217;s slow to respond and expand, but you can tweak that stuff too. Here&#8217;s what I have set:</p>
<p><code>gconftool-2 --type boolean --set /apps/panel/toplevels/top_panel_screen0/auto_hide 1<br />
gconftool-2 --type boolean --set /apps/panel/toplevels/top_panel_screen0/enable_animations 1<br />
gconftool-2 --type string --set /apps/panel/toplevels/top_panel_screen0/animation_speed fast<br />
gconftool-2 --type string --set /apps/panel/toplevels/top_panel_screen0/hide_delay 500<br />
gconftool-2 --type string --set /apps/panel/toplevels/top_panel_screen0/unhide_delay 100</code></p>
<p>Now, it opens much faster, animates much faster and goes away much faster. the hide_delay is fast enough that if I&#8217;m sloppy with the pointer, it still doesn&#8217;t disappear when I don&#8217;t want it to. Still annoying? play around with the hide and unhide delays until it works for you. Still too slow to pop in? Set enable_animations to 0 and it&#8217;ll come on the screen instantly.</p>
<p>As an added piece of advice, if your panel is over-crowded with junk, you can add another panel (or 2 or 3&#8230;) to separate out tasks. For example, I have a small, hidden, non-expanding panel I keep in the bottom left of the screen on which I have my timer-applet and my hamster-applet. Additionally, if you have something on your panel that you always want to see on your screen, add it to another panel that you don&#8217;t hide. </p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2010/05/13/tweaking-gnome-for-low-resolution-displays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Samsung X360 Backlight Control with Ubuntu</title>
		<link>http://joefleming.net/2010/03/30/samsung-x360-backlight-control-with-ubuntu/</link>
		<comments>http://joefleming.net/2010/03/30/samsung-x360-backlight-control-with-ubuntu/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 18:06:19 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[karmic koala]]></category>
		<category><![CDATA[samsung x360]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=155</guid>
		<description><![CDATA[I recently send my Samsung X360 laptop to the shop. The bearing on the fan had gone bad so I sent it in for warranty replacement. Before I sent it, I thought I would wipe out all my data since a lot of it was work-related and I didn&#8217;t need that information getting out, plus [...]]]></description>
			<content:encoded><![CDATA[<p>I recently send my Samsung X360 laptop to the shop. The bearing on the fan had gone bad so I sent it in for warranty replacement. Before I sent it, I thought I would wipe out all my data since a lot of it was work-related and I didn&#8217;t need that information getting out, plus I didn&#8217;t want to confuse the poor tech with Linux. </p>
<p>When I got it back, I immediately installed Ubuntu&#8217;s most current version, 9.10 (Karmic Koala). I was really impressed with it; even more-so than with 9.04 in fact. But I ran in to a problem when I was setting it all up; I couldn&#8217;t get the backlight adjustment to work.<br />
<span id="more-155"></span><br />
I resorted to the original <a href="http://ubuntuforums.org/showthread.php?t=1031764">Ubuntu Forums article</a> on it but I quickly found that it no longer worked. LVDS and VGA had been replaced with LVDA1 and VGA1, and changing the command still didn&#8217;t work; it complained about something which I no longer remember. But, that error (as well as replies to that thread) lead me to <a href="https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/397617/comments/30">this Launchpad comment</a> about disabling KMS.</p>
<p>Seems KMS is enabled by default for a certain chipset, specifically the Intel i915 chipset. My next questions, of course, were &#8220;what is KMS&#8221; and &#8220;how do I disable it&#8221;? Looking around, I found out that KMS, or Kernel Modesetting, could be disabled <a href="http://www.ubuntu.com/getubuntu/releasenotes/910#No%20Xv%20support%20for%20Intel%2082852/855GM%20video%20chips%20with%20KMS">like so</a>:</p>
<p><code>Edit: /etc/default/grub<br />
Change: GRUB_CMDLINE_LINUX=""<br />
To: GRUB_CMDLINE_LINUX="nomodeset"</code></p>
<p>Then run</p>
<p><code>sudo update-grub</code></p>
<p>Now, reboot and KMS will be disabled. We can now refer back to the original post <a href="http://ubuntuforums.org/showthread.php?t=1031764">here</a>, adding the following to the startup applications (or just running it from the command line each time, you&#8217;re call I guess).</p>
<p><code>xrandr --output LVDS --set BACKLIGHT 102 --set BACKLIGHT_CONTROL legacy --output VGA --auto</code></p>
<p>This still won&#8217;t make the brightness buttons on the keyboard work, but it WILL make xbacklight work. As the article points out, you can then set hotkeys for xbacklight commands.</p>
<p>So what do you lose by disabling KMS? Well, according to <a href="http://fedoraproject.org/wiki/Features/KernelModesetting#Summary">this article</a>, KMS offloads the graphics initialization from X to the kernel, which has some benefits. But, the fact remains that it doesn&#8217;t work on a lot of machines (the Samsung X360, The MacBook and possible MacBook Pro, MSI&#8217;s U90, U100, and U120 netbooks and the Asus EeePC, to name a handful), so for users with this hardware, you don&#8217;t lose anything ;). I&#8217;ve read about some people having success with KMS in newer kernels, but it didn&#8217;t work for me so I&#8217;m not going to bother posting it. I&#8217;m hopeful that this will be fixed when 10.04 (Lucid Lynx) is released, but I haven&#8217;t yet tried the beta release to see.</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2010/03/30/samsung-x360-backlight-control-with-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Living with PulseAudio via PulseAudio Device Chooser</title>
		<link>http://joefleming.net/2010/01/06/living-with-pulseaudio-via-pulseaudio-device-chooser/</link>
		<comments>http://joefleming.net/2010/01/06/living-with-pulseaudio-via-pulseaudio-device-chooser/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 15:30:25 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Usability]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=151</guid>
		<description><![CDATA[Telecommuting is a pretty sweet gig with a good number of benefits. To name a few, while I&#8217;m working I can: Toss some laundry in the machine Start my lunch and work while it cooks Sign for packages when they are delivered And that&#8217;s just the tip of the iceberg. However, to make telecommuting possible, [...]]]></description>
			<content:encoded><![CDATA[<p>Telecommuting is a pretty sweet gig with a good number of benefits. To name a few, while I&#8217;m working I can:</p>
<ul>
<li>Toss some laundry in the machine</li>
<li>Start my lunch and work while it cooks</li>
<li>Sign for packages when they are delivered</li>
</ul>
<p>And that&#8217;s just the tip of the iceberg. However, to make telecommuting possible, there are some technologies I simply MST have working. VPN is a big one, so I can get at the computers back in the office. SSH and FTP access is important to manage servers and files. And of course, I need to communicate with people; for that, we use AIM and Skype. Up until recently, it&#8217;s been enough for me to use my Nokia N800 to make my calls back to the office. It&#8217;s no good for chatting with video though, so I needed to set it up on my desktop with my camera and, preferably, my headset.</p>
<p>Simple enough task really; both my Logitech webcam and Plantronics headset work out of the box with Ubuntu (at least in 9.04) with nearly zero configuration required. I just plug them in, tweak Skype quickly and I&#8217;m up and running. However, with the addition of PulseAudio in the more recent version of Ubuntu, this became a little trickier.<br />
<span id="more-151"></span><br />
You see, in the new version of Skype, the ONLY option I have for ANY audio, input or output, is simpley PulseAudio. No control for which device to use for different tasks. Enter <a href="http://0pointer.de/lennart/projects/padevchooser/">padevchooser</a>, short for <strong>PulseAudio Device Chooser</strong>.</p>
<p><img src="http://i.imgur.com/nZASMl.png" alt="padevchooser in action" /></p>
<p>It&#8217;s a pretty sweet application, and you should have no problem installing it since it&#8217;s in the repository (note: I&#8217;ve <a href="https://help.ubuntu.com/community/Medibuntu#Adding%20the%20Repositories">added the Medibunutu repo</a>, and it&#8217;s possible it came from there). Once installed, you simply run it, from the command line, the run dialog, gnome-do or whatever method you choose, and you&#8217;ll get an icon in the notification area. Click on that, choose Volume Control, and you&#8217;re off and running. There are tabs for Playback, Recording, Output Devices, and Input Devices. Any current audio stream will show up in the list in the appropriate tab and you can move them around to different devices. </p>
<p>The easiest way to configure Skype is to place a test call. As soon as you start that call it will show up in the list. Move the &#8220;Skype: Output&#8221; stream to your headset in the Playback tab, do the same for &#8220;Skype: Input&#8221; in the Recording tab and you&#8217;re off and running. All Skype audio is now sent to your headset for easy chatting. I still haven&#8217;t figured out how to make it ring through the speakers and still use the headset for chatting, but this is good enough for now. Padevchooser made living with PulseAudio that much better!</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2010/01/06/living-with-pulseaudio-via-pulseaudio-device-chooser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 64-bit, Firefox and Flash</title>
		<link>http://joefleming.net/2009/04/23/ubuntu-64-bit-firefox-and-flash/</link>
		<comments>http://joefleming.net/2009/04/23/ubuntu-64-bit-firefox-and-flash/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 21:17:23 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=108</guid>
		<description><![CDATA[OK, so you have this sweet new computer (much like myself) running 64-bit Ubuntu like a champ. Except for one thing; Flash elements on webpages in keep flaking out. That is, from time to time, instead of seeing the Flash content, you see a grey box that doesn&#8217;t do anything. It just sits there, mocking [...]]]></description>
			<content:encoded><![CDATA[<p>OK, so you have this sweet new computer (<a href="http://joefleming.net/2009/03/11/my-sweet-new-laptop/">much like myself</a>) running 64-bit Ubuntu like a champ. Except for one thing; Flash elements on webpages in keep flaking out. That is, from time to time, instead of seeing the Flash content, you see a grey box that doesn&#8217;t do anything. It just sits there, mocking you, until you close and re-open either the tab, or in most cases, the browser itself. </p>
<p>I had this happen in both Firefox and Opera. As it turns out, the problem is related to the machine running a 32-bit version of flash with a 64-bit version of the browser. There are 2 ways to fix this: run a 32-bit browser or run 64-bit flash. But, why would you run a 32-bit browser on your sweet 64-bit machine? Well, because there isn&#8217;t a 64-bit version of flash&#8230; or at least, there wasn&#8217;t <a rel="ext" href="http://labs.adobe.com/technologies/flashplayer10/releasenotes_64bit.html">until recently</a>.</p>
<p>I was tired of this problem so I hit Google and looked for a solution. Sure enough, <a rel="ext" href="http://news.softpedia.com/news/How-to-Install-Adobe-Flash-Player-64-bit-on-Ubuntu-8-10-98076.shtml">I found one</a>! Now, I will warn you that the 64-bit Flash is still in Alpha, but i&#8217;ve been running it for a few weeks now without any problems. Here&#8217;s how you can too.<br />
<span id="more-108"></span><br />
Before we begin, <strong>CLOSE FIREFOX</strong>!! That guide will tell you the same thing. I had a friend who borked his entire Flash setup and I have a feeling this is why that happened. Grab the files, write down the instructions, close Firefox and go for it. Personally, I just opened the instructions in Opera and everything worked out just fine.</p>
<p>Start by removing the existing 32-bit version of Flash. If you haven&#8217;t yet installed it, you can skip to the next part. To uninstall it, fire up the Synaptic Package Manager, search for <em>nsplugin</em> and select <em>Mark for Complete Removal</em>. It will confirm that you also want to remove flashplugin-nonfree, click Mark and then Apply.</p>
<p>Next, download the <a rel="ext" href="http://labs.adobe.com/downloads/flashplayer10.html">alpha 64-bit Flash 10 player</a> from Adobe. One last warning: this is alpha software, and I make no guarantees that it will work, or even not ruin everything, nor does Adobe. Note the filename; in my case, it was <em>libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz</em>, so that&#8217;s what I&#8217;ll use in the console instructions below.</p>
<p>Finally, we need to extract the files and put them in the proper places. The guide will tell you to do this through the X interface, but that&#8217;s not my style. Here&#8217;s how to do it from a terminal, assuming you downloaded the flash tarball to your Desktop.</p>
<p><code>$ cd ~/Desktop<br />
$ tar zxvf libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz<br />
$ mkdir ~/.mozilla/plugins<br />
$ mv libflashplayer.so ~/.mozilla/plugins</code></p>
<p>That&#8217;s it. Now start Firefox back up and you&#8217;re good to go! As I said, this fixed my problem completely, so hopefully it&#8217;ll fix yours as well. While we&#8217;re on the topic, I also highly recommend using <a href="https://addons.mozilla.org/en-US/firefox/addon/433" rel="ext">FlashBlock</a> so cut down on flash ads, useless video loading and just generally enhance your browsing experience. And don&#8217;t worry, you can whitelist whatever sites you want so you won&#8217;t have to keep making extra clicks to watch videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2009/04/23/ubuntu-64-bit-firefox-and-flash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How NOT to Sell MP3s</title>
		<link>http://joefleming.net/2009/03/16/how-not-to-sell-mp3s/</link>
		<comments>http://joefleming.net/2009/03/16/how-not-to-sell-mp3s/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 06:43:00 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=103</guid>
		<description><![CDATA[I recently came across the band 3 on last.fm and absolutely love them. I managed to find all of their albums via torrents, but I thought I would actually buy their stuff since they aren&#8217;t on an RIAA label. Their website didn&#8217;t help at all and CDBaby didn&#8217;t have any of their stuff. I was [...]]]></description>
			<content:encoded><![CDATA[<p>I recently came across the band <a href="http://en.wikipedia.org/wiki/3_(band)" rel="ext">3</a> on last.fm and absolutely love them. I managed to find all of their albums via torrents, but I thought I would actually buy their stuff since they aren&#8217;t on an <a href="http://riaaradar.com" rel="ext">RIAA label</a>. Their website didn&#8217;t help at all and CDBaby didn&#8217;t have any of their stuff. I was about to give up when I thought I&#8217;d give Amazon a try. Turns out, it was a good idea; Amazon had all of their albums available for sale. But, that&#8217;s also where the problem came in.<br />
<span id="more-103"></span><br />
Their oldest album, Paint by Number, was only available as an mp3 download. In order to buy mp3s from Amazon, you have to download THEIR software. &#8220;Crap,&#8221; I thought, &#8220;they always do this and the software never runs in Linux!&#8221; But to my surprise, theirs did! I&#8217;d still prefer a normal download link, but whatever, I installed it just to check it out. They give you a free mp3 to try the software out, and it worked just fine. &#8220;Great, now I can buy the album I want!&#8221; </p>
<p>Of course, their webpage kept kicking me off the album I was trying to buy and I had to keep pulling it back in from my history. And the album page lacked a way to purchase the WHOLE thing, I had to hunt that down from the band&#8217;s album list page. How any normal person (ie. my parents, or, GASP, my grandparents) is supposed to buy mp3s from Amazon is beyond me!</p>
<p>Despite all these problems, I finally had a &#8220;Buy MP3 Album&#8221; link and I was ready to go. I clicked on it and it verified that I would be purchasing the album. &#8220;Awesome, here we go,&#8221; I thought, thinking I would be taken to the checkout process and be given this magical file which would download the album through the download software I just installed. I couldn&#8217;t have been more wrong. Instead, I was greeted with a page saying that the order failed and that I had to do one of the following:</p>
<ul>
<li>Verify or update your 1-click billing address in the &#8220;Payment Settings&#8221; section of Your Account. (with a link)</li>
<li>Retry with the existing credit card. (no idea what this means, I tried 3 times and got the same errors)</li>
<li>Choose a different payment method from your account. (the one useful tip, with no indication of HOW i would do that!)</li>
<li>Enter a new payment method. (Again, no link, no idea how!!!!)</li>
</ul>
<p>They did have a link to their Help pages, which had all kinds of information on the Kindle 2, tracking my shipment, etc. No indication of how I buy mp3s without 1-click billing enabled or &#8220;[c]hoose a different payment method.&#8221; Needless to say, this crap is unusable! I&#8217;ve uninstalled their software, vowed to never buy mp3s from their site (not that I could if I wanted to, which I did) and I&#8217;ll no go out of my way to buy the physical discs from some other site, whether they&#8217;re available on Amazon or not.</p>
<p>This is exactly how NOT to sell mp3s. With processes like this, it&#8217;s no wonder at all why nobody can cut in to Apple&#8217;s market, no matter how over-priced and under-featured their players are and how terrible their iTunes software is!</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2009/03/16/how-not-to-sell-mp3s/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>My Sweet New Laptop</title>
		<link>http://joefleming.net/2009/03/11/my-sweet-new-laptop/</link>
		<comments>http://joefleming.net/2009/03/11/my-sweet-new-laptop/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 01:41:16 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=76</guid>
		<description><![CDATA[I&#8217;ve been considering picking up a new laptop for a while now. My old laptop, an ageing Dell Inspiron 8500, had treated me well for a few years, but I really wanted to change to a more portable machine. The Dell weighed in at around 8 lbs., had a battery that lasted about half an [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been considering picking up a new laptop for a while now. My old laptop, an ageing Dell Inspiron 8500, had treated me well for a few years, but I really wanted to change to a more portable machine. The Dell weighed in at around 8 lbs., had a battery that lasted about half an hour at its best and ran almost too hot to touch at times. </p>
<p>Ultimately, I just wanted a machine that was light, had a long-lasting battery and had a full-size keyboard. The 10-inch netbooks looked like a good buy, but it was difficult to find one that was worth buying. I had been considering the Lenovo S10, and came close to picking one up about a month ago when I found one for just under $300. What stopped me was reading about overheating problems with the machine. I&#8217;ve wanted the MSI Wind since it was announced, but it was always over the $400 mark, which I don&#8217;t think is a reasonable price for that class of machine. All of the other offerings were either overpriced, lacked some key features or had batteries that just weren&#8217;t going to cut it. In most cases, all of these were true.<br />
<span id="more-76"></span><br />
I had also been interested in many of the 13-inch laptops but was often thrown off by their price. They were usually well over the $1,000 mark (sometimes even breaking the $2,000 mark) and I just wasn&#8217;t willing to drop that kind of cash. One fateful day last week, Monday to be exact, <a href="http://aaronstaves.com/" rel="ext">Aaron</a> tipped me off to the reduced price of the Samsung X360 on Amazon&#8217;s Gold Box. It was marked down to $1049 and included a $300 rebate. $749 was a little more than I wanted to spend, but for a laptop of this caliber, it seemed worth considering. Turns out, <a href="http://www.engadget.com/2009/03/02/samsung-x360-ultraportable-dips-below-800-mark/" rel="ext">I wasn&#8217;t alone in that thought</a>. In the end, I jumped on it, as did <a href="http://aaronstaves.com/2009/03/03/out-with-the-mac-in-with-the-samsung/" rel="ext">Aaron</a> and <a href="http://jasonsidabras.com/" rel="ext">Jason</a>.</p>
<p>The machine arrived this past Friday, but sadly, I didn&#8217;t have time to play with it until Sunday. I did have time to open it up and take some pictures though, and man was I happy I went for this deal! The machine looks great and it&#8217;s so small and light that you really have to handle it to believe it.</p>
<p><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1315.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1315-300x225.jpg" alt="img_1315" title="img_1315" width="300" height="225" class="alignnone size-medium wp-image-79" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1316.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1316-300x225.jpg" alt="img_1316" title="img_1316" width="300" height="225" class="alignnone size-medium wp-image-80" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1320.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1320-300x225.jpg" alt="img_1320" title="img_1320" width="300" height="225" class="alignnone size-medium wp-image-81" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1322.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1322-300x225.jpg" alt="img_1322" title="img_1322" width="300" height="225" class="alignnone size-medium wp-image-82" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1323.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1323-300x225.jpg" alt="img_1323" title="img_1323" width="300" height="225" class="alignnone size-medium wp-image-83" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1324.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1324-300x225.jpg" alt="img_1324" title="img_1324" width="300" height="225" class="alignnone size-medium wp-image-84" /></a> </p>
<p>The first thing I did was boot up the Xubuntu Live CD image from a USB drive and wipe out the copy of vista that came with the machine. I swore to never touch vista when it was first released, and I wasn&#8217;t about to go back on my word. So I blew away the partition the machine came with and set it up to install both XP (in the event I ever NEED windows) and Xubuntu.</p>
<p><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1336.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1336-300x225.jpg" alt="img_1336" title="img_1336" width="300" height="225" class="alignnone size-medium wp-image-88" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1344.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1344-300x225.jpg" alt="img_1344" title="img_1344" width="300" height="225" class="alignnone size-medium wp-image-89" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1349.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1349-300x225.jpg" alt="img_1349" title="img_1349" width="300" height="225" class="alignnone size-medium wp-image-90" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1356.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1356-300x225.jpg" alt="img_1356" title="img_1356" width="300" height="225" class="alignnone size-medium wp-image-92" /></a></p>
<p>The only downside was that many of the things that needed to be tweaked to run on the machine I didn&#8217;t know how to do in Xubuntu, so I tried Kubuntu since I read everything worked out of the box on it. In the end, even that turned out to be too much hassle for the moment, so I opted for Ubuntu as I wanted to be using the machine that Monday. I had also planned to install the 64-bit version of XP, but the thing didn&#8217;t want to run properly once installed so I ended opting for the 32-bit version. After all, I wasn&#8217;t really going to be using it that often (if at all) and I was running the 64-bit version of Linux, so I was OK with the decision.</p>
<p><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1397.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1397-300x225.jpg" alt="img_1397" title="img_1397" width="300" height="225" class="alignnone size-medium wp-image-94" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1400.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1400-300x225.jpg" alt="img_1400" title="img_1400" width="300" height="225" class="alignnone size-medium wp-image-95" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1404.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1404-300x225.jpg" alt="img_1404" title="img_1404" width="300" height="225" class="alignnone size-medium wp-image-98" /></a><a href="http://joefleming.net/wp-content/uploads/2009/03/img_1409.jpg"><img src="http://joefleming.net/wp-content/uploads/2009/03/img_1409-300x225.jpg" alt="img_1409" title="img_1409" width="300" height="225" class="alignnone size-medium wp-image-96" /></a></p>
<p>As you can see, I also pulled all the stickers off the front of the machine (relocating all but the vista sticker to the bottom) for a sleeker look. You can also see a size comparison of the new machine with my old 15-incher. Considerably more portable, to say the least. </p>
<p>So far, I&#8217;ve used Skype to make video calls, I&#8217;m running all kinds of flashy Compiz goodies and even with constant use I get just over 4 hours of battery life. It&#8217;s not the perfect machine, but it&#8217;s really, really close, and for the price, I&#8217;ve got no regrets. I&#8217;ll leave the post at that for now until I have some more time to tweak the machine, but so far it&#8217;s running beautifully!</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2009/03/11/my-sweet-new-laptop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remote Backups with Amazon&#8217;s S3</title>
		<link>http://joefleming.net/2009/02/09/remote-backups-with-amazons-s3/</link>
		<comments>http://joefleming.net/2009/02/09/remote-backups-with-amazons-s3/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 01:40:56 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=70</guid>
		<description><![CDATA[Recently, my SATA controller on my RAID box failed, silently corrupting my entire array. Fun stuff, I assure you. Luckily, I had backed up the array about a month before the failure and was keeping a nightly rsync running. I had a few things that weren&#8217;t included in the rsync backup, but I didn&#8217;t really [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, my SATA controller on my RAID box failed, silently corrupting my entire array. Fun stuff, I assure you. Luckily, I had backed up the array about a month before the failure and was keeping a nightly rsync running. I had a few things that weren&#8217;t included in the rsync backup, but I didn&#8217;t really lose much data. So, again, backups saved my ass!</p>
<p>But, I&#8217;ve been aware for a while that regardless of how much I back up, I still have everything in one place. If there were a fire or a robbery, I&#8217;d be completely SOL. This fact has prompted me to look for some free or very low cost online file storage services. Most of the ones I found required you to run their software for them to work. This wasn&#8217;t very desirable for several reasons, the most important being that I run Linux and most of the services didn&#8217;t have a Linux client to use. But even more than that, I wanted to be the one in change of the backups, something that would allow me to just set up a cron job that would encrypt my data and ideally use rsync (via <a rel="ext" href="http://www.ibm.com/developerworks/aix/library/au-filesync/?S_TACT=105AGY06&#038;S_CMP=HP#N1014E">this script</a>) to send that data. Unfortunately, I still haven&#8217;t found that, but I did find service that is both cheap and easy to use; <a rel="ext" href="http://aws.amazon.com/s3/">Amazon&#8217;s Simple Storage Service</a>!<br />
<span id="more-70"></span><br />
To be fair, I didn&#8217;t find it, I was tipped off to it by Jason. I had heard of it, but never even considered using it for backups. Looking at the prices though, I couldn&#8217;t resist. For just $0.15/month per GB stored and $0.10 per GB transfered, I would theoretically keep weekly incremental backups of 2GB worth of data for $0.70/month or less!</p>
<p>Jay also tipped me off to some pretty handy Firefox extensions <a rel="ext" href="https://addons.mozilla.org/en-US/firefox/addon/6955">s3://</a> and <a rel="ext" href="https://addons.mozilla.org/en-US/firefox/addon/3247">S3Fox</a>. S3Fox is much cooler than s3://, but using it on my machine was causing X to use 100% of the cpu for some reason, so it wasn&#8217;t really usable for me. s3:// suited me just fine, allowing me to create &#8220;buckets&#8221; and browse, upload and remove my files from those buckets. It also saved the login info so all I need to do is slap the full S3 path in the address bar (like s3://mybucket/) and I was off. Now that was convenient!</p>
<p>Next up, I needed a way to script my backups. I was planning to use the s3fs Fuse library but I thought that might be overkill. Plus, for whatever reason, I&#8217;m just not ready to play with Fuse; it&#8217;s super cool, but I just didn&#8217;t feel like setting it up. Plus, I found <a rel="ext" href="http://s3tools.org/s3cmd">s3cmd</a>. Like s3://, it stores your login info to ease login and access of your files, but it offers one more step that is vital (at least to me); encryption!</p>
<p><code>s3cmd -e put myfile s3://mybucket</code></p>
<p>This will upload the <em>myfile</em> to my bucket on s3 and encrypt it on the fly. s3cmd uses symetric gpg and stores the password when you configure your AWS login information. Best of all, it transparently decrypts the file(s) when you download them from your s3 account. You don&#8217;t even have to tell s3cmd that the file is encrypted, it automatically knows. Amazing!</p>
<p>So, while I wish I had rsync access to the s3 service, I can make it meet my needs with a little tar magic. Since tar has an option to only grab files that have been changed since a specific date, I can leave my huge, base archive up there and just create a weekly tar file of all of the changed files since the last weekly tar file. So, I have my backup from today (2/9) and in a week (2/16) I&#8217;ll create a backup of all files that have changed since today (2/9). A week from then (2/23), I&#8217;ll create an archive of all the files that have changed since previous week (2/16) and so on. When the incremental backups start to get too large, I&#8217;ll simply create a new base backup and start the process all over again. Should work out swimmingly!</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2009/02/09/remote-backups-with-amazons-s3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Multiple Drive Failures in RAID-5</title>
		<link>http://joefleming.net/2009/01/29/multiple-drive-failures-in-raid-5/</link>
		<comments>http://joefleming.net/2009/01/29/multiple-drive-failures-in-raid-5/#comments</comments>
		<pubDate>Thu, 29 Jan 2009 18:14:53 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=51</guid>
		<description><![CDATA[I have a server set up with a RAID-5 array that I use to back up pretty much all of the data I have. Sure I have a bunch of things burned to DVD, but at only 4.3GB a pop, that can very quickly add up to a number of DVDs, and in fact already [...]]]></description>
			<content:encoded><![CDATA[<p>I have a server set up with a RAID-5 array that I use to back up pretty much all of the data I have. Sure I have a bunch of things burned to DVD, but at only 4.3GB a pop, that can very quickly add up to a number of DVDs, and in fact already has. My server is actually an upgraded version of my old machine, running 4 500GB drives in a RAID-5 configuration. Since I&#8217;m cheap and don&#8217;t care all too much about performance, I use software RAID in Debian with mdadm running the show.</p>
<p>A short while ago, I had a drive that started clicking every time I would transfer large amounts of data to of from the box. Since all of the drives are mounted on the same bracket, it was nearly impossible to tell which drive was actually doing the clicking. I had a spare that I picked up a while back, so I figured I would wait for the drive to fail and then simply replace it. The problem was, when the drive finally did fail, another drive also failed with it, and if you know anything about RAID-5, you know it can only handle 1 drive failing at a time. Things were looking bad.<br />
<span id="more-51"></span><br />
I noticed, however, that both of the drives failed at the same time, which made me think that only the first drive was an actual failure and that either mdadm, the drive controller or something else cause the system to think that the other drive also failed. This was my only hope, so I set forth re-adding the second failed drive to the array and crossing my fingers.</p>
<p>In my case, /dev/sdc1 and /dev/sdd1 were the 2 drives that failed. /dev/sdc went first, so I suspected that /dev/sdd was still ok. After some prodding of the <a rel="ext" href="http://plug.phoenix.az.us/">PLUG</a> mailing list and a little poking around on Google, I was able to solve my problem. First, I needed to see if I could verify that /dev/sdc was really the drive that failed; I did this with mdadm&#8217;s &#8211;examine function.</p>
<p><code>sudo mdadm --examine /dev/sda1<br />
sudo mdadm --examine /dev/sdb1<br />
sudo mdadm --examine /dev/sdc1<br />
sudo mdadm --examine /dev/sdd1</code></p>
<p>Why do all of the drives? Well, I was looking for a sign of inconsistency or other problems. Sure enough, the superblock data on /dev/sdc was different from the other 3 drives, leaving me pretty confident that my plan would work. All I had to do now was replace the drive and figure out how to tell mdadm to use /dev/sdd1 even though it thought the drive was a goner.</p>
<p>Since I use 4 of the same drives and for whatever reason the /dev label don&#8217;t match up with the controller labels (ie. /dev/sda is not on port 1 of the card), I needed to find out the serial numbers of the drives. There are a couple ways to do this, but for whatever reason, only smartctl worked for me. Here&#8217;s a couple ways to look it up (where /dev/sdX is the device you are trying to find information about, like /dev/sdc in my case):</p>
<p><code>sudo hdparm -i /dev/sdX<br />
sudo smartctl -a /dev/sdX</code></p>
<p>Once I knew the serial number, I shut the box down, replaced the drive and booted back up. Now I just needed to format /dev/sdc1, add /dev/sdd1 back to the array, add /dev/sdc1 as a new device to the array.</p>
<p><code>sudo fdisk /dev/sdc (set up 100% of the drive as a Linux-raid Autodetect)<br />
sudo mdadm --assemble --force /dev/md0 /dev/sda1 /dev/sdb1 /dev/sdd1<br />
sudo mdadm --manage /dev/md0 --add /dev/sdc1<br />
cat /proc/mdstat</code></p>
<p>That last line shows the status of all mdadm arrays running. When I ran it, it told me that all 4 drives were online and that the array was rebuilding/resyncing all of the information. 9 hours later, I was up and running. </p>
<p>As an aside, I&#8217;ve had <strong>terrible</strong> experiences with 500GB drives. I the past year I&#8217;ve had 2 of them fail on me (both Seagate). I&#8217;ve also had about 3 160GB drives fail on me (2 Seagate, 1 Western Digital) within the past 3 years. In nearly every case, the drives were still under warranty. Because of the rapidly declining quality of hard drives today, I&#8217;ve been keeping my data spread across a number of sources, some even in triplicate. Since this last failure, I&#8217;ve switched from 500GB Seagate drives to 1TB Western Digital drives and I&#8217;ll have to see how that decision plays out in the long run. </p>
<p>For now, I&#8217;m backing up the entire array on to another 1TB drive and I plan to replace the array with a simple RAID-1 array made of 2 1TB drives while still keeping another backup on a 3rd, external 1TB drive. I have a daily cron job that pulls data from all of my machines and even my web server and backs them up in various locations. The moral of the story I guess is that it&#8217;s good to know how to fix your equipment, but you need to be ready for a catastrophic failure by keeping meticulous backups of your most crucial information.</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2009/01/29/multiple-drive-failures-in-raid-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Media Playback in Ubuntu</title>
		<link>http://joefleming.net/2008/08/23/media-playback-in-ubuntu/</link>
		<comments>http://joefleming.net/2008/08/23/media-playback-in-ubuntu/#comments</comments>
		<pubDate>Sat, 23 Aug 2008 18:32:57 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Computers & Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://joefleming.net/?p=33</guid>
		<description><![CDATA[So, I had some Real Media (rm) videos that I wanted to view in Linux. But, like so many other sane people out there, I didn&#8217;t want anything to do with the official Real Player for Linux. I&#8217;ve never been a fan of Real and I&#8217;ve always thought their software was a bloated mess. Plus, [...]]]></description>
			<content:encoded><![CDATA[<p>So, I had some Real Media (rm) videos that I wanted to view in Linux. But, like so many other sane people out there, I didn&#8217;t want anything to do with the official <a href="http://www.real.com/linux">Real Player for Linux</a>. I&#8217;ve never been a fan of Real and I&#8217;ve always thought their software was a bloated mess. Plus, why install yet another media player when I know I can get the job done with the mighty <a href="http://www.mplayerhq.hu">Mplayer</a>?!</p>
<p>A quick search on Ubuntu Forums yielded <a href="http://ubuntuforums.org/showpost.php?p=5643578&#038;postcount=8">this post</a>. Following the link posted, here&#8217;s how I got it working from the command line:</p>
<p><code>$ sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d medibuntu.list<br />
$ wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - &#038;&#038; sudo apt-get update<br />
$ sudo apt-get install non-free-codecs w32codecs</code></p>
<p>After that, the videos fired right up without a hitch. Brilliant! One thing to note: these codecs may be illegal in the US. I&#8217;ve read warning about them in the past anyway, though I didn&#8217;t happen to see any this time around. It&#8217;s kind of a legal gray area I guess, and while you&#8217;re not likely to get in trouble for using them, it&#8217;s something you should probably know. In any event, if you&#8217;re having problems playing videos in Linux (especially rm files), give this a shot.</p>
]]></content:encoded>
			<wfw:commentRss>http://joefleming.net/2008/08/23/media-playback-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

