<?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>The DF Lab</title>
	<atom:link href="http://blog.danfego.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.danfego.net</link>
	<description>A guy like me?</description>
	<lastBuildDate>Tue, 03 Nov 2009 15:31:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fixing NVIDIA driver issues on Ubuntu Karmic</title>
		<link>http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/</link>
		<comments>http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/#comments</comments>
		<pubDate>Tue, 03 Nov 2009 15:31:40 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=290</guid>
		<description><![CDATA[So after yesterday&#8217;s completely improper upgrading of my Ubuntu box  from Jaunty to Karmic, I did an actual reinstall today (with the alternate CD), keeping my /home partition intact. It went mostly well, but there was a slight hiccup: X would freak out and render my screen all jittery when launching GDM.
The fix here [...]]]></description>
			<content:encoded><![CDATA[<p>So after yesterday&#8217;s <a href="http://blog.danfego.net/2009/11/upgrading-ubuntu-from-jaunty-to-karmic-behind-a-proxy/">completely improper upgrading</a> of my Ubuntu box  from Jaunty to Karmic, I did an actual reinstall today (with the alternate CD), keeping my /home partition intact. It went mostly well, but there was a slight hiccup: X would freak out and render my screen all jittery when launching GDM.</p>
<p>The fix here was rather easy: jockey-text, which is the text version of Jockey, the program that usually pops up about restricted drivers. Just run:</p>
<p><code>$ sudo jockey-text -l<br />
xorg:nvidia-173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
xorg:nvidia-185 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
xorg:nvidia-96 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
</code></p>
<p>As you can see, I had three options, and none of them were &#8220;in use.&#8221; So I just ran:</p>
<p><code>$ sudo jockey-text -e xorg:nvidia-185</code></p>
<p>Now, a listing shows me this:</p>
<p><code>$ sudo jockey-text -l<br />
xorg:nvidia-173 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
xorg:nvidia-185 - NVIDIA accelerated graphics driver (Proprietary, Enabled, In use)<br />
xorg:nvidia-96 - NVIDIA accelerated graphics driver (Proprietary, Disabled, Not in use)<br />
</code></p>
<p>I let it do its thing, and things were back to normal! I don&#8217;t know why, by default, my install had an unusable desktop, since I figured some other drivers would have been there, but this is a quick fix from the command line for anyone who needs it, when a GUI is completely unavailable.</p>
<p>Perhaps someday I&#8217;ll get back to posting other Linux-y, Gentoo-y things&#8230; Damn games that only run on Windows keep me locked in there far too often. <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/11/fixing-nvidia-driver-issues-on-ubuntu-karmic/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Upgrading Ubuntu from Jaunty to Karmic Behind a Proxy</title>
		<link>http://blog.danfego.net/2009/11/upgrading-ubuntu-from-jaunty-to-karmic-behind-a-proxy/</link>
		<comments>http://blog.danfego.net/2009/11/upgrading-ubuntu-from-jaunty-to-karmic-behind-a-proxy/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 20:21:02 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=285</guid>
		<description><![CDATA[Note: While this will update all of one&#8217;s packages to the latest release, as pointed out by Marcos in the comments, this method makes you miss out on all added/removed packages, among a few other things. So this is probably not the way anyone really wants to go!
This should be a quickie&#8230;
While my distro of [...]]]></description>
			<content:encoded><![CDATA[<p><em><strong>Note:</strong> While this will update all of one&#8217;s packages to the latest release, as pointed out by Marcos in the comments, this method makes you miss out on all added/removed packages, among a few other things. So this is probably not the way anyone really wants to go!</em></p>
<p>This should be a quickie&#8230;</p>
<p>While my distro of choice is Gentoo, I use Ubuntu at work ever since I was told any compiling of packages would be on my own time. <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  In any case, since version 9.10 (Karmic Koala) came out last week, I figured I&#8217;d give it a shot. Well, since I&#8217;m in a business environment behind a proxy, it wasn&#8217;t so straightforward, and the built-in &#8220;Update Manager&#8221; utility just hung forever, trying to make a connection. I was only able to figure out exactly what the problem was by <a href="http://en.wikipedia.org/wiki/Strace">strace</a> on it, and sitting on one call. Anyway, onto the fix!</p>
<p>Seems simple, because it is. Just open up your /etc/apt/sources.list, and change all instances of &#8220;jaunty&#8221; to &#8220;karmic&#8221;, or use a little sed-fu:</p>
<p><code># sed -i 's/jaunty/karmic/' /etc/apt/sources.list</code></p>
<p>Then run your usual apt-get update/upgrade.</p>
<p>I don&#8217;t think this is a recommended way of upgrading, but since the update program was broken and the CD didn&#8217;t work for me (froze when clicking any of the menu options) I didn&#8217;t have much choice. In any case, I&#8217;ve been using my system all day now with no issues, so this method worked out for me.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/11/upgrading-ubuntu-from-jaunty-to-karmic-behind-a-proxy/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Update to mod_rootme</title>
		<link>http://blog.danfego.net/2009/10/update-to-mod_rootme/</link>
		<comments>http://blog.danfego.net/2009/10/update-to-mod_rootme/#comments</comments>
		<pubDate>Fri, 09 Oct 2009 06:34:44 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=281</guid>
		<description><![CDATA[Last weekend, I took part in the Cyber Dawn exercise, as a member of the red cell. In other words, I got to sit in a room with a bunch of people for two days hacking a bunch of networks being actively defended. All in all, it was fun, awesome, and a learning experience. While [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend, I took part in the <a href="http://www.whitewolfsecurity.com/cyberdawn.php">Cyber Dawn</a> exercise, as a member of the red cell. In other words, I got to sit in a room with a bunch of people for two days hacking a bunch of networks being actively defended. All in all, it was fun, awesome, and a learning experience. While gaining access to systems wasn&#8217;t my forte, I was able to maintain access on quite a few systems with a nifty little Apache module called mod_rootme. However, the current version only supports Apache 1.3 and 2.0, seemingly updated about 5 years ago. So I took a stab at updating it to Apache 2.2, succeeded, and am posting the result here, dubbed as version 0.4:</p>
<p><a href="http://danfego.net/mod_rootme-0.4.tar.gz">mod_rootme-0.4.tar.gz</a></p>
<p>For those of you who have never heard of it before, here&#8217;s a brief description of what mod_rootme is and how it works. Essentially, it&#8217;s an Apache module that you drop onto a box and load into Apache (by putting it in the right place, changing the config, and restarting the process). Once done, you can send an appropriate request, via the given client or netcat, (essentially &#8220;GET root&#8221;), and it will drop you to a root shell on the box. Pretty nifty, right?</p>
<p>Apache normally runs one root process, which spawns several other non-root processes, to handle requests. What mod_rootme does is when it loads, it takes advantage of the fact that it&#8217;s root for a moment, and spawns a <em>second</em> root Apache process (easy enough to detect for a wary sysadmin). This second Apache process just waits for an appropriate request, and spawns the shell. There&#8217;s also a hook that listens to all incoming traffic in place, waiting for the appropriate time to activate the shell. All in all pretty cool, but as noted, it&#8217;s reasonably detectable.</p>
<p>My modifications of substance were noting that the uri field in the request_rec structure no longer seems to hold the information we&#8217;re looking for, and now seems to be in the args field. I&#8217;m not sure I would have noticed what was wrong so quickly had it not been segfaulting, but that&#8217;s what happens when you strcmp() a potentially NULL char pointer! In any case, simply putting in NULL checks and checking both these fields seems to work. I also had to change a few #defines that lets it load into Apache 2.2. Overall, pretty simple changes.</p>
<p>And if you&#8217;re curious, you can also access the previous version for reference <a href="http://packetstormsecurity.org/web/mod_rootme-0.3.tgz">here</a>.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/10/update-to-mod_rootme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disabling Annoying Middle-Mouse Click Function in Firefox</title>
		<link>http://blog.danfego.net/2009/07/disabling-annoying-middle-mouse-click-function-in-firefox/</link>
		<comments>http://blog.danfego.net/2009/07/disabling-annoying-middle-mouse-click-function-in-firefox/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 17:39:46 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=275</guid>
		<description><![CDATA[Starting today, I&#8217;ve had enough with accidentally missing my middle clicks on links and ending up having a (seemingly) random page pop. I should have looked at this a long time ago, but now is a good a time as any. By going into about:config and changing &#8220;middlemouse.contentLoadURL&#8221; from &#8220;true&#8221; to &#8220;false&#8221; I am now [...]]]></description>
			<content:encoded><![CDATA[<p>Starting today, I&#8217;ve had enough with accidentally missing my middle clicks on links and ending up having a (seemingly) random page pop. I should have looked at this a long time ago, but now is a good a time as any. By going into about:config and changing &#8220;middlemouse.contentLoadURL&#8221; from &#8220;true&#8221; to &#8220;false&#8221; I am now rid of this annoyance.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/07/disabling-annoying-middle-mouse-click-function-in-firefox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Auto-detecting a USB Headset</title>
		<link>http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/</link>
		<comments>http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 03:45:01 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=269</guid>
		<description><![CDATA[After a lot of trial and error today, I&#8217;ve still only gotten part of the way to my objective: making my new Plantronics USB headset get auto-detected in Gentoo, and make it my &#8220;primary&#8221; ALSA device. That is, when it&#8217;s plugged in, all audio goes to it, and when it&#8217;s not, all audio goes to [...]]]></description>
			<content:encoded><![CDATA[<p>After a lot of trial and error today, I&#8217;ve still only gotten part of the way to my objective: making my new Plantronics USB headset get auto-detected in Gentoo, and make it my &#8220;primary&#8221; ALSA device. That is, when it&#8217;s plugged in, all audio goes to it, and when it&#8217;s not, all audio goes to the speakers. Much, much easier said than done.</p>
<p>The first hurdle was coming to the realization that ALSA in fact sees this headset as its own sound card. Once I got that far (it took me a while, with some help on IRC), all I needed in the end was 4 additional lines in my /etc/modprobe.d/alsa file:</p>
<p><code>alias snd-card-0 snd-hda-intel<br />
alias sound-slot-0 snd-hda-intel<br />
options snd-hda-intel index=1</p>
<p><code>alias snd-card-1 snd-usb-audio<br />
alias sound-slot-1 snd-usb-audio<br />
options snd-usb-audio index=0</code></p>
<p>The first 2 lines were already there, and then I added the two lines about snd-card-1 and sound-slot-1. Easy enough. The other two lines (not counting the whitespace) are to tell the system what order they go in. 0 is primary, 1 is second, etc. So by having index=0 for snd-usb-audio, that device is my first card, and the on-board is my second. Easy enough. I kept getting fouled up in testing my various configs by not actually removing the modules; I was just restarting ALSA. Not good. Once I got that config working, I wrote a couple of bash scripts to flip those variables, update the configs, etc. Here's my "on" script:</p>
<p><code>#!/bin/bash<br />
# Script to swtich around audio devices when headset plugged in<br />
if ( grep -q "options snd-usb-audio index=0" /etc/modprobe.d/alsa )<br />
then<br />
	echo "Exiting..."<br />
	exit 1<br />
fi</code></p>
<p><code>sed -i '/options snd-hda-intel/ s/0/1/' /etc/modprobe.d/alsa<br />
sed -i '/options snd-usb-audio/ s/1/0/' /etc/modprobe.d/alsa<br />
update-modules -f<br />
/etc/init.d/alsasound stop<br />
sleep 0.5<br />
modprobe -r snd-usb-audio<br />
modprobe -r snd-hda-intel<br />
/etc/init.d/alsasound start<br />
sleep 0.5<br />
/etc/init.d/mpd start</code></p>
<p>It's simple enough, in retrospect, and it works. The "off" script is identical except it does the reverse flip at the beginning. I could have made it one script, but whatever.</p>
<p>The next step was to make this all happen automatically. That's where I'm stuck. I've been tinkering with udev for hours now, and I can't seem to write the rules <em>right</em>. My current rules look like this:</p>
<p><code>ATTRS{id}=="U0x47f0xc001", ACTION=="add", RUN+="/home/dfego/bin/udev-headset-on.sh", ENV{IS_PLANTRON}="yes"<br />
ENV{IS_PLANTRON}=="yes", ACTION=="remove", RUN+="/home/dfego/bin/udev-headset-off.sh"</code></p>
<p>I don't even remember now if this particular "add" works, but some of the ones I wrote today did. However, not one, not a single one of my "remove" lines worked. All day. None of them. It's almost depressing. For some God-forsaken reason, I can't make anything trigger on a remove event. So I tried using a single script and having it go on all events, but that fell on its face because udev insists on running it lots and lots of times every time an event happens, even when I built protections into the script that it couldn't run more than once simultaneously. So I don't know what to do. For now, I'm just going to be happy with what I've done and use the script. It's not like I plug my headset in and out all that often (except, of course, today). But I feel sad and defeated, and very much like I wasted a ton of time doing something that doesn't work for some reason beyond my comprehension. It <em>should</em> work... it just doesn't.</p>
<p>Maybe I'll try again one of these days. Maybe not.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/07/auto-detecting-a-usb-headset/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Suspend on GNOME Desktop</title>
		<link>http://blog.danfego.net/2009/06/software-suspend-on-gnome-desktop/</link>
		<comments>http://blog.danfego.net/2009/06/software-suspend-on-gnome-desktop/#comments</comments>
		<pubDate>Sun, 14 Jun 2009 13:59:30 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gentoo]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=262</guid>
		<description><![CDATA[I just wrote a short article on the above topic, and then, not long before hitting &#8220;Publish,&#8221; I find this article that has the answer in short, simple terms. So if you&#8217;re having any issues having the &#8220;Suspend&#8221; dialog work on your GNOME desktop, give the above link a try. I figure I should spare [...]]]></description>
			<content:encoded><![CDATA[<p>I just wrote a short article on the above topic, and then, not long before hitting &#8220;Publish,&#8221; I find <a href="http://howto.fronck.dk/howto:gentoo:pm-block">this article</a> that has the answer in short, simple terms. So if you&#8217;re having any issues having the &#8220;Suspend&#8221; dialog work on your GNOME desktop, give the above link a try. I figure I should spare everyone from my often verbose ramblings when someone&#8217;s already got the answer. <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/software-suspend-on-gnome-desktop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Chat Logs and &#8220;The Cloud&#8221;</title>
		<link>http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/</link>
		<comments>http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 22:13:07 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=260</guid>
		<description><![CDATA[At the end of 2007, Google did a wonderful thing and added AIM to their built-in chat in Gmail. This was an awesome convenience, since I could now chat with both my used protocols right from my email window. Not to mention I got a nice consolidation of my chat logs accessible from anywhere to [...]]]></description>
			<content:encoded><![CDATA[<p>At the end of 2007, Google did a wonderful thing and added AIM to their built-in chat in Gmail. This was an awesome convenience, since I could now chat with both my used protocols right from my email window. Not to mention I got a nice consolidation of my chat logs accessible from anywhere to boot. Of course, I was leaving all the conveniences of my desktop client behind, such as not being dependent on my browser window to chat. But it seemed all worthwhile, since I usually had a browser window open anyway, and I didn&#8217;t have a ton of spare resources (RAM, screen real estate) on my laptop, my sole machine.</p>
<p>Now I&#8217;m in the situation where I want to go back to the desktop client. I&#8217;ve got a nice new computer with lots of RAM and lots of screen real estate. But I&#8217;m now slightly dismayed, because my wonderfully accessible chat logs are now no longer going to be &#8220;all&#8221; with my mail. I say &#8220;all&#8221; because before a certain point they weren&#8217;t, but from that point on, I was golden. Now, if I switch back, I&#8217;ll have all my logs to a certain point on my computer, then a bunch in &#8220;the cloud,&#8221; and then most of them on my desktop, and some in my browser, for when I&#8217;m away from my computer. Not ideal.</p>
<p>What I really want it some &#8220;neutral&#8221; location for my logs that both the Gmail client and my desktop application (currently Pidgin) will respect and send their logs to. I&#8217;ve got web space out there, so I&#8217;ve got a location, but how to make it work? One way I could think of is to run something like a Greasemonkey script which keeps track of what it&#8217;s sent over time (so when I come back to the computer it&#8217;s installed on, it sends the new conversations) and sends new conversations off periodically. So that could be done with Greasemonkey, or with a Firefox Plugin. A modification to Pidgin sounds relatively trivial to me at this point, at least compared to writing a Firefox plugin. In any case, I&#8217;m going to ponder this&#8230; Any thoughts on the matter, technical or otherwise, are welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/chat-logs-and-the-cloud/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gnome Do Theme Issue</title>
		<link>http://blog.danfego.net/2009/06/gnome-do-theme-issue/</link>
		<comments>http://blog.danfego.net/2009/06/gnome-do-theme-issue/#comments</comments>
		<pubDate>Wed, 10 Jun 2009 06:46:58 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=256</guid>
		<description><![CDATA[This evening, with a few helpful suggestions on IRC at #gnome-do on freenode, I was able to work around (but not solve) an issue I&#8217;ve been having with Gnome Do, the Quicksilver-like launcher for GNOME.
My issue was as follows: every time the program started up on GNOME session start, it would revert to an unfashionable [...]]]></description>
			<content:encoded><![CDATA[<p>This evening, with a few helpful suggestions on IRC at #gnome-do on freenode, I was able to work around (but not solve) an issue I&#8217;ve been having with <a href="http://do.davebsd.com/">Gnome Do</a>, the <a href="http://docs.blacktree.com/quicksilver/what_is_quicksilver">Quicksilver</a>-like launcher for <a href="http://www.gnome.org/">GNOME</a>.</p>
<p>My issue was as follows: every time the program started up on GNOME session start, it would revert to an unfashionable theme that I didn&#8217;t want. The configuration showed that it was on the Glass theme, as I wanted, but it was clearly not. Every time I ran the program otherwise, it would successfully take on the appropriate theme.</p>
<p>Long story short, it turns out the issue is likely related to compiz not being fully started yet, so it defaults to its non-pretty theme. I first wrote a script that waits for compiz to start then runs, but the process &#8220;compiz&#8221; existing was not good enough. So I created a 3-line script to delay Gnome Do&#8217;s startup by 2 seconds, and it works:</p>
<p><code>#!/bin/bash<br />
sleep 2<br />
gnome-do</code></p>
<p>Heck, this could be a one-liner, but whatever. I actually tried to use GNOME&#8217;s built-in session manager to invoke the sleep, but it didn&#8217;t work out for me at first and I didn&#8217;t feel like trying again, so this works just fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/gnome-do-theme-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automounting Issues</title>
		<link>http://blog.danfego.net/2009/06/automounting-issues/</link>
		<comments>http://blog.danfego.net/2009/06/automounting-issues/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 08:46:31 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=249</guid>
		<description><![CDATA[This is just a small tidbit, in good part for my own future reference, on what I&#8217;ve been spending the last number of hours figuring out. I&#8217;ve actually done a lot of configuration of my new Gentoo install I wish I&#8217;d documented now, but alas, it&#8217;s too late.
In any case, I have two hard drives [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a small tidbit, in good part for my own future reference, on what I&#8217;ve been spending the last number of hours figuring out. I&#8217;ve actually done a lot of configuration of my new Gentoo install I wish I&#8217;d documented now, but alas, it&#8217;s too late.</p>
<p>In any case, I have two hard drives in this machine, and none of them were mounting automatically on my shiny new GNOME desktop. I thought it was a problem with NTFS, then with the gnome-volume-manager. I spent a bunch of time verifying I had the right drivers (ntfs-3g) and the latest software installed. Turns out I found my solution in an <a href="http://wiki.archlinux.org/index.php/HAL#USB_sticks_and_drives_do_not_automount_correctly">unlikely place</a>: the Arch Linux wiki. Anywho, the fix was to change around some policy setting. A one-liner fix, as so many of them seem to be in the end. *sigh*</p>
<p>In order to make this experience even more exciting, I decided I&#8217;d try and use the same file and configurations to have HAL ignore /dev/sda1, which is my Acer recovery partition. I don&#8217;t particularly want to see that from Linux, and I certainly don&#8217;t want to mount it in case I accidentally end up doing something horrible to it. I came across <a href="http://blog.cardoe.com/archives/2007/11/23/having-hal-ignore-devices/">this blog post</a>, and adapted its instructions like so (for the file /etc/hal/fdi/policy/10-ntfs3g.fdi) by adding the following section:</p>
<p><code>&lt;device&gt;<br />
&lt;match key="block.device" string="/dev/sda1"&gt;<br />
&lt;merge key="volume.ignore" type="bool"&gt;true&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;</code></p>
<p>Much to my surprise, it worked! (after I changed my bleary-eyed mistake of &#8220;/dev/hda&#8221; to &#8220;/dev/sda1&#8243; <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ).</p>
<p>I probably should make a point of posting some more of these gems, and where I found their solutions. If it takes me more than 20 minutes to find them, it can&#8217;t be all <em>that</em> easy to find. In any case, I&#8217;d say this is a job well done!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/06/automounting-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beware of Google?</title>
		<link>http://blog.danfego.net/2009/05/beware-of-google/</link>
		<comments>http://blog.danfego.net/2009/05/beware-of-google/#comments</comments>
		<pubDate>Sat, 30 May 2009 20:08:50 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[standards]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.danfego.net/?p=241</guid>
		<description><![CDATA[Earlier today, I read an interesting blog post by Dion Moult entitled &#8220;Beware of Google.&#8221; Skeptical, I gave it a full read, and have been giving it some thought. This whole idea comes somewhat counter to my normal thinking, since I&#8217;ve been drinking the Google Kool-Aid for years now. But I do think he makes [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier today, I read an interesting <a href="http://thinkmoult.com/2009/05/30/beware-of-google/">blog post</a> by <a href="http://thinkmoult.com/">Dion Moult</a> entitled &#8220;Beware of Google.&#8221; Skeptical, I gave it a full read, and have been giving it some thought. This whole idea comes somewhat counter to my normal thinking, since I&#8217;ve been drinking the Google Kool-Aid for years now. But I do think he makes a strong point in that Google has built itself a somewhat monopolistic empire (though Google <a href="http://www.businessinsider.com/googles-were-not-a-monopoly-powerpoint-presentation-2009-5">disagrees</a>). In effect, in time, he argues, that just about every useful web application will be using Google&#8217;s APIs and toolkits. He writes:</p>
<blockquote><p>It doesn’t matter if it’s open-sourced, if you have to use Google Toolkit to make anything decent, that’s &#8220;Google is here to define what can be done&#8221; for you.</p></blockquote>
<p>Given the exhaustive list of services Google provides, I&#8217;d say this is actually a rather realistic path we&#8217;re trudging down. However, I feel like there is one force for freedom that will swoop in and save the day (and no, it&#8217;s not <a href="http://xkcd.com/344/">Richard Stallman</a>). It&#8217;s open standards for data. If open formats exist and are used to the letter and the ability to export and import from Google services are provided, then things will ultimately find a balance. Sure, billions of people will still flock to their amazing services (myself included), but having that freedom to have your own data with you gives you more than just peace of mind. It gives you the ability, on a whim, to pick up and move to another service in a snap. Of course, I&#8217;m also aware that standards are often <em>not</em> followed to the letter. Just look at proprietary additions to HTML and CSS by different browsers and what Microsoft has been <a href="http://www.odfalliance.org/blog/index.php/site/microsofts_odf_support_falls_short/">doing with ODF</a>.</p>
<p>In any case, back to the ideal world where standards are followed. As an example, let&#8217;s say Google Calendar starts doing some freaky tracking of where you go and you don&#8217;t like it (clearly I&#8217;m starved for creativity). Even now, you can go in, <a href="http://www.google.com/calendar/exporticalzip">export your calendars</a>, and dump them into, say, Yahoo. Or perhaps iCal on your Mac, or some other Desktop application. The point is, that you are not one bit tied to Google&#8217;s services, except to the extent that you make yourself tied to them (with the exception of email, where addresses are particularly annoying to change).</p>
<p>And then you may say, &#8220;well what if no alternatives exist?&#8221; And I say, alternatives <em>will</em> exist. Always. Perhaps they&#8217;ll be a bit slow-coming. Perhaps they won&#8217;t be as shiny. But sure as hell they&#8217;ll exist. Because there will always be people out there, like Dion <img src='http://blog.danfego.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> , that are watching the current web Giant(s) with a watchful eye. And that&#8217;s where the &#8220;power of community&#8221; (cliche, right?) comes into play. Google may have thousands (is it thousands?) of developers, but any given project, seen as an important enough need, can garner many, many talented developers to contribute to the cause.</p>
<p>So while it&#8217;s good to keep an eye out, I won&#8217;t be stressing too much about the future of the web. I&#8217;ll just keep my data safe, accessible, and ready to move on a moment&#8217;s notice.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.danfego.net/2009/05/beware-of-google/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
