<?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>errr-online.com &#187; errr</title>
	<atom:link href="http://www.errr-online.com/index.php/author/errr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.errr-online.com</link>
	<description>Be on the lookout for useless Information</description>
	<lastBuildDate>Sun, 30 May 2010 04:48:42 +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>Guruplug Server Plus &#8212; Booting from eSATA</title>
		<link>http://www.errr-online.com/index.php/2010/05/29/guruplug-server-plus-booting-from-esata/</link>
		<comments>http://www.errr-online.com/index.php/2010/05/29/guruplug-server-plus-booting-from-esata/#comments</comments>
		<pubDate>Sun, 30 May 2010 04:48:42 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[GuruPlug]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=64</guid>
		<description><![CDATA[Ive been doing a lot of testing with the guruplug plus lately. Since this thing is a loaner I dont want to make changes to the default settings if I dont have to. This has led me to do all my testing on USB thumbdrives, and on eSATA connected drives. This is a pretty simple [...]]]></description>
			<content:encoded><![CDATA[<p>Ive been doing a lot of testing with the <a href="http://www.globalscaletechnologies.com/c-4-guruplugs.aspx">guruplug plus</a> lately. Since this thing is a loaner I dont want to make changes to the default settings if I dont have to. This has led me to do all my testing on USB thumbdrives, and on eSATA connected drives. This is a pretty simple thing to setup. Below I will walk you through what you need to do in order to boot from an eSATA connected device.</p>
<p>The first thing you need to is get connected to the guruplug through the jtag connector. Instructions for connecting using the jtag connector can be found <a href="http://code.google.com/p/guruplug/downloads/list">here</a>. Once connected power up the guru plug and allow it to boot up. Log in as the root user. If you have not yet, plug in and power up your eSATA drive. When I plugged mine in I got the following:</p>
<blockquote><p>sheevaplug-debian:~# ata1: exception Emask 0&#215;10 SAct 0&#215;0 SErr 0&#215;4010000 action 0xe frozen<br />
ata1: edma_err_cause=00000010 pp_flags=00000000, dev connect<br />
ata1: SError: { PHYRdyChg DevExch }<br />
ata1: hard resetting link<br />
ata1: link is slow to respond, please be patient (ready=0)<br />
ata1: SATA link up 1.5 Gbps (SStatus 113 SControl F300)<br />
ata1.00: ATA-7: WDC WD2000JS-00MHB0, 02.01C03, max UDMA/133<br />
ata1.00: 390721968 sectors, multi 0: LBA48<br />
ata1.00: configured for UDMA/133<br />
ata1: EH complete<br />
scsi 0:0:0:0: Direct-Access     ATA      WDC WD2000JS-00M 02.0 PQ: 0 ANSI: 5<br />
sd 0:0:0:0: Attached scsi generic sg2 type 0<br />
sd 0:0:0:0: [sdc] 390721968 512-byte logical blocks: (200 GB/186 GiB)<br />
sd 0:0:0:0: [sdc] Write Protect is off<br />
sd 0:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn&#8217;t support DPO or FUA<br />
 sdc: sdc1<br />
sd 0:0:0:0: [sdc] Attached SCSI disk
</p></blockquote>
<p>Next I need to create a partition on my disk. Normally I would use fdisk for this task but when I try I get:<br />
<code>sheevaplug-debian:~# fdisk /dev/sdc</code></p>
<blockquote><p>
WARNING: GPT (GUID Partition Table) detected on &#8216;/dev/sdc&#8217;! The util fdisk doesn&#8217;t support GPT. Use GNU Parted.
</p></blockquote>
<p>This means I need to install parted.<br />
<code>apt-get install parted</code><br />
Next I can get a partition set up.<br />
<code>parted /dev/sdc</code><br />
Now I already have 1 partition on this drive. We can see that by typing print<br />
<code>parted /dev/sdc</code></p>
<blockquote><p>
GNU Parted 1.8.8<br />
Using /dev/sdc<br />
Welcome to GNU Parted! Type &#8216;help&#8217; to view a list of commands.
</p></blockquote>
<p><code>(parted) print</code></p>
<blockquote><p>Model: ATA WDC WD2000JS-00M (scsi)<br />
Disk /dev/sdc: 200GB<br />
Sector size (logical/physical): 512B/512B<br />
Partition Table: gpt</p>
<p>Number  Start   End     Size    File system  Name     Flags<br />
 1      17.4kB  10.2GB  10.2GB  ext2         primary  boot
</p></blockquote>
<p>I dont want to mess with this first partition so Im going to make a new one. The first partition was created from 0 to 10240 so I need to go from 10241 to 20481 to make another 10.2G partition.<br />
<code>(parted) mkpart primary ext2 10241 20481</code><br />
<code>(parted) print</code></p>
<blockquote><p>
Model: ATA WDC WD2000JS-00M (scsi)<br />
Disk /dev/sdc: 200GB<br />
Sector size (logical/physical): 512B/512B<br />
Partition Table: gpt</p>
<p>Number  Start   End     Size    File system  Name     Flags<br />
 1      17.4kB  10.2GB  10.2GB  ext2         primary  boot<br />
 2      10.2GB  20.5GB  10.2GB  ext3         primary
</p></blockquote>
<p>Next I want to toggle the boot flag so I type toggle and hit enter<br />
<code>(parted) toggle</code></p>
<blockquote><p>
Partition number? 2<br />
Flag to Invert?  boot/hidden/raid/lvm/hp-service/msftres/bios_grub? boot
</p></blockquote>
<p><code>(parted) print</code></p>
<blockquote><p>
Model: ATA WDC WD2000JS-00M (scsi)<br />
Disk /dev/sdc: 200GB<br />
Sector size (logical/physical): 512B/512B<br />
Partition Table: gpt</p>
<p>Number  Start   End     Size    File system  Name     Flags<br />
 1      17.4kB  10.2GB  10.2GB  ext2         primary  boot<br />
 2      10.2GB  20.5GB  10.2GB  ext3         primary  boot
</p></blockquote>
<p>OK. Now Ill type q to quit, and then make a file system on the new partition.<br />
<code>mke2fs /dev/sdc2</code></p>
<blockquote><p>&#8230; &#8230; &#8230;<br />
This filesystem will be automatically checked every 30 mounts or<br />
180 days, whichever comes first.  Use tune2fs -c or -i to override.
</p></blockquote>
<p>Now to mount this new partition.<br />
<code>mount /dev/sdc2 /media/usb1/</code><br />
Now a couple of cp commands will fill this disk with everything you need. This first cp will take a few minutes go grab a drink or something&#8230;<br />
<code>cp -avp / /media/usb1</code><br />
Now to grab dev too. If you look in /media/usb1/dev you will notice it is empty. This would cause a kernel panic if we tried to boot into it now.<br />
<code>cp -ax /dev/ /media/usb1/</code><br />
Now we are just about ready to reboot and start using our eSATA disk. All we need to do now is to give this new system a different name than the default install so its easy to tell them apart. To do this simply edit a configuration file.<br />
<code>echo "errr-esata" > /media/usb1/etc/hostname</code><br />
Now we are ready to reboot. Type reboot and wait for the Marvell count down to appear and hit any key to stop the autoboot.<br />
Now at the Marvell command prompt type<br />
<code>set x_bootargs_root root=/dev/sdc2 rootdelay=10</code><br />
Be sure to use the correct root= line for your drive. This may be sda1 or sdb1 or even sdc1.<br />
Next type boot and hit enter<br />
If you get a kernel panic like so:</p>
<blockquote><p>VFS: Cannot open root device &#8220;sdc2&#8243; or unknown-block(8,34)<br />
Please append a correct &#8220;root=&#8221; boot option; here are the available partitions:<br />
1f00            1024 mtdblock0 (driver?)<br />
1f01            4096 mtdblock1 (driver?)<br />
1f02          519168 mtdblock2 (driver?)<br />
0800       195360984 sda driver: sd<br />
  0801         9999983 sda1<br />
  0802        10000976 sda2<br />
Kernel panic &#8211; not syncing: VFS: Unable to mount root fs on unknown-block(8,34)<br />
[<c0032a34>] (unwind_backtrace+0&#215;0/0xd4) from [<c0043e04>] (panic+0&#215;48/0&#215;134)<br />
[<c0043e04>] (panic+0&#215;48/0&#215;134) from [<c0008f04>] (mount_block_root+0&#215;1c4/0&#215;20c)<br />
[<c0008f04>] (mount_block_root+0&#215;1c4/0&#215;20c) from [<c00091b8>] (prepare_namespace+0&#215;168/0&#215;1cc)<br />
[<c00091b8>] (prepare_namespace+0&#215;168/0&#215;1cc) from [<c0008750>] (kernel_init+0xd4/0&#215;108)<br />
[<c0008750>] (kernel_init+0xd4/0&#215;108) from [<c002e3d0>] (kernel_thread_exit+0&#215;0/0&#215;8)
</p></blockquote>
<p>This means that you have told Marvell to boot from the wrong partition. In this case its telling me that sdc2 is unknown but it shows me there is an sda1 and sda2 so Im going to try sda2 instead.<br />
Next you will get to this:</p>
<blockquote><p>Bluetooth: vendor=0&#215;2df, device=0&#215;9105, class=255, fn=2<br />
btmrvl_sdio mmc0:0001:2: firmware: requesting sd8688_helper.bin<br />
btmrvl_sdio_download_helper: request_firmware(helper) failed, error code = -2<br />
btmrvl_sdio_download_fw: Failed to download helper!<br />
btmrvl_sdio_probe: Downloading firmware failed!
</p></blockquote>
<p>This same thing happens every time on the default file system too it just blows past it instead of waiting.. You can hit ctrl+c here or just wait and it will go on past.<br />
Once it has finished booting we will see we are on our eSATA drive by looking at its host name:</p>
<blockquote><p>Bluetooth: SCO (Voice Link) ver 0.6<br />
Bluetooth: SCO socket layer initialized<br />
Agent registered</p>
<p>Debian GNU/Linux 5.0 errr-esata ttyS0</p>
<p>errr-esata login:
</p></blockquote>
<p>Now I can log in and do what ever to this system and when I reboot unless I intervene it will boot back up in default mode on the default internal flash drive, since what we have done here doesnt last a reboot. I hope this helps some of you out there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/05/29/guruplug-server-plus-booting-from-esata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guru Plug Server Plus &#8212; My First Look</title>
		<link>http://www.errr-online.com/index.php/2010/05/12/guru-plug-server-plus-my-first-look/</link>
		<comments>http://www.errr-online.com/index.php/2010/05/12/guru-plug-server-plus-my-first-look/#comments</comments>
		<pubDate>Thu, 13 May 2010 04:46:42 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[First Look]]></category>
		<category><![CDATA[GuruPlug]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=53</guid>
		<description><![CDATA[So my boss Robert got a Guru Plug Server Plus, and to my great surprise and joy he sent it home with me to play with. Getting connected to it was simple, once it was plugged in it showed up in my wireless access point list on windows.

Once connected to the access point I got [...]]]></description>
			<content:encoded><![CDATA[<p>So my boss <a href="http://twitter.com/robertmccallum">Robert</a> got a <a href="http://www.globalscaletechnologies.com/p-32-guruplug-server-plus.aspx">Guru Plug Server Plus</a>, and to my great surprise and joy he sent it home with me to play with. Getting connected to it was simple, once it was plugged in it showed up in my wireless access point list on windows.<br />
<a href="http://www.flickr.com/photos/mikeandsummer/4602515211/" title="guruplug-wap-win by the_real_errr, on Flickr"><img src="http://farm5.static.flickr.com/4010/4602515211_d499a07633_o.png" width="339" height="168" alt="guruplug-wap-win" /></a><br />
Once connected to the access point I got my network info and tried to ssh to the gateway. I was able to log in as root with a <a href="http://en.wikipedia.org/wiki/The_Soup_Nazi">clever</a> default root password. I was greeted with a familiar sight. <a href="http://www.flickr.com/photos/mikeandsummer/4603130006/" title="guruplug-first-boot by the_real_errr, on Flickr"><img src="http://farm2.static.flickr.com/1185/4603130006_5f36210e29.jpg" width="500" height="281" alt="guruplug-first-boot" /></a><br />
Debian GNU/Linux 5.0 I connected the device to the internet and tried to apt-get update but found that didnt work. In the /etc/apt/sources.list file there was an entry for a private internal mirror. I had to comment that out and ran dpkg &#8211;configure -a since the system suggested it. Once I did that apt-get update worked and so I did an apt-get upgrade Upgraded everything that needed it. Next I installed less, and ntp. I went through the list of pre installed packages, it was pretty long. Some of the packages that stood out were <a href="http://redmine.lighttpd.net/projects/lighttpd/wiki/">Lighttpd</a>, PERL, PHP5, Python 2.5, MySQL server and client, exim4, udhcpd, and samba 3.2.5. So for dirt you get a pretty powerful cheap ready to rock LAMP stack and File server and Wireless AP. Not so shabby. This puppy supports booting using all kinds of methods. If you are connected to it though the JTAG you will have the option to keep the system from booting. You will be given a prompt:<br />
<code>Hit any key to stop autoboot:  0<br />
Marvell>> help<br />
</code><br />
This will return a nice long list of options. You can choose between USB, TFTP, NFS, and many others. Im looking forward to the next couple of days of playing. I want to try out quagga and maybe asterisk. Check back soon for an update of what I do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/05/12/guru-plug-server-plus-my-first-look/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Red Hat Enterprise Linux 6 Beta &#8211; My First look</title>
		<link>http://www.errr-online.com/index.php/2010/04/28/red-hat-enterprise-linux-6-beta-my-first-look/</link>
		<comments>http://www.errr-online.com/index.php/2010/04/28/red-hat-enterprise-linux-6-beta-my-first-look/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 04:58:07 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Red Hat]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=50</guid>
		<description><![CDATA[
I spent a few hours tonight playing around with Red Hat Enterprise Linux 6 Beta release tonight. So far it seems really nice. I had no issues getting flash-plugin installed from Adobe. I installed irssi and setup my network to use a static IP. All tasks were very familiar feeling from past releases. I mostly [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/mikeandsummer/4561811159/" title="desktop-3-sysmon-sysinfo by the_real_errr, on Flickr"><img src="http://farm4.static.flickr.com/3386/4561811159_a0631cb4cd.jpg" width="500" height="281" alt="desktop-3-sysmon-sysinfo" /></a></p>
<p>I spent a few hours tonight playing around with Red Hat Enterprise Linux 6 Beta release tonight. So far it seems really nice. I had no issues getting flash-plugin installed from Adobe. I installed irssi and setup my network to use a static IP. All tasks were very familiar feeling from past releases. I mostly messed around with desktop stuff tonight. Tomorrow I hope to get to setup Apache PHP and MySQL, and maybe a few days later I will step through a mail server as well with Postfix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/04/28/red-hat-enterprise-linux-6-beta-my-first-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hide your Lighttpd Version and Supress the X-Powered-By info given by PHP</title>
		<link>http://www.errr-online.com/index.php/2010/02/27/hide-your-lighttpd-version-and-supress-the-x-powered-by-info-given-by-php/</link>
		<comments>http://www.errr-online.com/index.php/2010/02/27/hide-your-lighttpd-version-and-supress-the-x-powered-by-info-given-by-php/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 16:44:37 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lighttpd]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[WebServer]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=35</guid>
		<description><![CDATA[A simple first step to some basic security on your web server is to make the response headers say as little as possible. This is not going to be the end all only thing you need to do to secure your web server, but hey like I said its a basic first step. When you [...]]]></description>
			<content:encoded><![CDATA[<p>A simple first step to some basic security on your web server is to make the response headers say as little as possible. This is not going to be the end all only thing you need to do to secure your web server, but hey like I said its a basic first step. When you hit a website and are looking at the content you might find your self wondering &#8220;What OS, and what web server is this person using.. And hey I see the pages end with .php I wonder what version of that they are using too..&#8221; Well this is all (by default on most systems) just pushed out to everyone who visits the site. You can find this with out even having to have any command line skills or know how to use wget or curl. A simple <a href="https://addons.mozilla.org/en-US/firefox/addon/60">Firefox Plugin</a> can tell anyone this. The typical output will look something like this:<br />
<blockquote>X-Powered-By: PHP/5.2.6-1+lenny4<br />
Content-Type: text/html; charset=utf-8<br />
Cache-Control: no-cache, must-revalidate<br />
Pragma: no-cache<br />
Transfer-Encoding: chunked<br />
Date: Sat, 27 Feb 2010 16:18:09 GMT<br />
Server: lighttpd/1.4.25<br />
200 OK</p></blockquote>
<p>Wow thats a lot of info about this persons server&#8230; We can see here that they are running Debian Lenny, and they have php 5.2.6 with a patch set or 2 on it, and they have Lighttpd version 1.4.25.  That now lets a possible attacker know which security lists to go hit up looking for possible exploits in any of the above mentioned software.. And a simple nmap command can automate this whole process of looking for a &#8220;mark&#8221; through entire net blocks in a matter of seconds.</p>
<p>Lets start by telling less info about our web server. The default response from Lighttpd is <b>lighttpd #current-version#</b> To change this all we need to do is edit our lighttpd.conf file. Using your favorite text editor lets open up lighttpd.conf and look though it for <b>server.tag</b> Odds are its not in there but thats OK we will add it and define the value.<br />
<blockquote>server.tag = &#8220;WebServer&#8221;</p></blockquote>
<p>Now that we have done that we will need to restart the web server. Next time we check our site it will look more like this:<br />
<blockquote>X-Powered-By: PHP/5.2.6-1+lenny4<br />
Content-Type: text/html<br />
Transfer-Encoding: chunked<br />
Date: Sat, 27 Feb 2010 15:56:46 GMT<br />
Server: WebServer</p></blockquote>
<p>Ah now that is much better but that pesky PHP is still telling everyone what OS and version of PHP we have.</p>
<p>Now lets shut PHP up. Using your favorite text editor open your php.ini file and lets look through it for <b>expose_php</b> By default the value will be set to On. We need to set it to Off. Now we need to restart Lighttpd again. Now our response headers will look like:<br />
<blockquote>Content-Type: text/html<br />
Transfer-Encoding: chunked<br />
Date: Sat, 27 Feb 2010 16:02:47 GMT<br />
Server: WebServer</p></blockquote>
<p>Now again.. This is not the end all.. you still need to sercure the box with iptables or some other type of firewall because this did not make your server any more secure than it was before. All we did was HIDE the info making it harder to find out what you have. There are many other things you can do like running these services in a chroot jail, but this is not going to hurt to do.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/02/27/hide-your-lighttpd-version-and-supress-the-x-powered-by-info-given-by-php/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Troubleshooting Bind9 Queries</title>
		<link>http://www.errr-online.com/index.php/2010/02/05/troubleshooting-bind9-queries/</link>
		<comments>http://www.errr-online.com/index.php/2010/02/05/troubleshooting-bind9-queries/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 16:39:18 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[BSD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[bind9]]></category>
		<category><![CDATA[dns]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=28</guid>
		<description><![CDATA[Yesterday I was adding a new domain to our servers to slave. While looking though syslog to make sure this was all working I noticed a whole flood of requests for a site that was busted.
unexpected RCODE (REFUSED) resolving &#8216;www.examplesite.com/A/IN&#8217;: x.x.x.x#53
 This was just filling my logs like crazy. I wanted to know who on [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday I was adding a new domain to our servers to slave. While looking though syslog to make sure this was all working I noticed a whole flood of requests for a site that was busted.<br />
<blockquote>unexpected RCODE (REFUSED) resolving &#8216;www.examplesite.com/A/IN&#8217;: x.x.x.x#53</p></blockquote>
<p> This was just filling my logs like crazy. I wanted to know who on my network was making so many requests for this site.. I was really hoping I didnt have some infected PC on my LAN. To find out I turned on the query log. This is not on by default on Debian, or on Ubuntu, or CentOS which is what I use for all of my DNS. To turn on query log is pretty simple. I added the following to my named.conf.options file</p>
<blockquote><p>logging {<br />
   channel &#8220;querylog&#8221; {<br />
     file &#8220;/var/log/bind9-query.log&#8221;;<br />
     print-time yes;<br />
   };<br />
   category queries {<br />
     querylog;<br />
   };<br />
};</p></blockquote>
<p>Once added you need to make sure this directory is present. If you are in a chroot environment like a good sysadmin remember this path is relevant to your chroot so /var/log/bind9-query.log might really be /chroot/bind9/var/log/bind9-query.log Next make sure your bind user had read/write access to the file.<br />
<blockquote>chown bind:bind /chroot/bind9/var/log/bind9-query.log</p></blockquote>
<p>Next simply<br />
<blockquote>rndc reload</p></blockquote>
<p> and go watch that puppy fill up in a hurry. I do not like to keep this turned on because it fills up so fast and I only seem to need it when there is a problem. If you do decide to keep it turned on make sure you set up a logrotate for it. In my environment this log will get to be several megs in under an hour. Sure hope this will help you figure out who is querying what on your network.</p>
<p>Sample output from the log file</p>
<blockquote><p>
05-Feb-2010 09:08:25.524 client 192.168.1.142#51521: query: claimlj2.my.domain.com IN AAAA +
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/02/05/troubleshooting-bind9-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Media Center No Sound on Some Channels</title>
		<link>http://www.errr-online.com/index.php/2010/02/01/windows-media-center-no-sound-on-some-channels/</link>
		<comments>http://www.errr-online.com/index.php/2010/02/01/windows-media-center-no-sound-on-some-channels/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 04:34:43 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows media center]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=26</guid>
		<description><![CDATA[So my media center pc was having issues with sound. Some channels worked great, and others didnt work right at all. By this I mean that you could hear the laugh track perfect but couldnt hear the dialog at all. I am using an Asus P5Q SE/R motherboard, this board has a Realtech HD audio [...]]]></description>
			<content:encoded><![CDATA[<p>So my media center pc was having issues with sound. Some channels worked great, and others didnt work right at all. By this I mean that you could hear the laugh track perfect but couldnt hear the dialog at all. I am using an Asus P5Q SE/R motherboard, this board has a Realtech HD audio chipset. The sound seemed to work perfect in all the apps I tried.. VLC, Windows Media player, even the HDHomerun Quick TV app. I was stumped.. The device manager showed no unknown devices and reported all devices working correctly. As usual I went to google and tried to find a solution. I found nothing.. I decided there were not enough options in the windows control panel for my sound card so I thought I would see if Asus had a driver for this system They did&#8230; I downloaded the audio drivers from Asus here: http://support.asus.com/ you have to search for your motherboard then your OS, then go to the audio driver section. I grabbed the global file which was about 72MB worth of a zip file. Once the down load is complete you can right click the file and extract the files, browse into the directory and find the Setup file, and run through it.. Once the reboot is complete you just need to make sure the Realtech audio settings are correct for your speaker setup do the test from the audio app, and enjoy the sound not giving you problems in media center any more <img src='http://www.errr-online.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/02/01/windows-media-center-no-sound-on-some-channels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add Hulu Desktop To Windows Media Center</title>
		<link>http://www.errr-online.com/index.php/2010/01/31/add-hulu-desktop-to-windows-media-center/</link>
		<comments>http://www.errr-online.com/index.php/2010/01/31/add-hulu-desktop-to-windows-media-center/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 17:15:41 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[hulu]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows media center]]></category>
		<category><![CDATA[WMC]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=24</guid>
		<description><![CDATA[I upgraded my Vista Windows Media Center machine to Windows 7 this weekend. I was wishing I could get Hulu into media center so I went to google. I found posts where people had done it, but most of them were using some 3rd party app to edit some settings and do it, and the [...]]]></description>
			<content:encoded><![CDATA[<p>I upgraded my Vista Windows Media Center machine to Windows 7 this weekend. I was wishing I could get Hulu into media center so I went to google. I found posts where people had done it, but most of them were using some 3rd party app to edit some settings and do it, and the rest never said how they did it. Well since none of the apps were open source it made me very un-trusting of them. I decided to figure out how to add this my self. Its pretty simple. First you need to install the <a href="http://www.hulu.com/labs/hulu-desktop">Hulu Desktop</a>. Next open a windows explorer and navigate to your users WMC directory. Here is where my users info is:<br />
<blockquote>C:\Users\errr\AppData\Roaming\Media Center Programs</p></blockquote>
<p> Next simply stick a shortcut to the Hulu desktop in this folder. Windows Media Center should not be running while you do this. Name this shortcut &#8220;Hulu Desktop&#8221; or what ever you want. Once that is done simply close your explorer window and start WMC. You will need to go to the Extras section, and go into the Extras Library, select Hulu Desktop (or what ever you named it). This will minimize Windows Media Center and open Hulu Desktop. If its not full screen simply full screen it, and when you close it from full screen it will reopen that way next time. You will now be able to control Hulu desktop with your Media Center remote. The annoying thing is that when you close out of Hulu it does not restore WMC, but you can hit your Media Center button and that will reopen WMC in full screen.<br /> Pretty easy eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/01/31/add-hulu-desktop-to-windows-media-center/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>py-nag A notification script for nagios to nag you in Twitter</title>
		<link>http://www.errr-online.com/index.php/2010/01/23/py-nag-a-notification-script-for-nagios-to-nag-you-in-twitter/</link>
		<comments>http://www.errr-online.com/index.php/2010/01/23/py-nag-a-notification-script-for-nagios-to-nag-you-in-twitter/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 17:44:22 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[monitor]]></category>
		<category><![CDATA[nagios]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=20</guid>
		<description><![CDATA[So I have been trying to think of cool things I could do with Twitter. I happen to be a HUGE fan of nagios for monitoring my systems. From time to time some of the systems I monitor go down, and sometimes they are  my email servers, so getting a message from nagios about [...]]]></description>
			<content:encoded><![CDATA[<p>So I have been trying to think of cool things I could do with <a href="http://twitter.com/">Twitter</a>. I happen to be a HUGE fan of <a href="http://nagios.org">nagios</a> for monitoring my systems. From time to time some of the systems I monitor go down, and sometimes they are  my email servers, so getting a message from nagios about this is kind of out of the question unless I setup alternative email accounts that I would then have to add to the already large number accounts I have&#8230; So why not just &#8220;tweet&#8221; the notice. This way I have an easy way to get the status. This is what prompted me to write <a href="https://code.google.com/p/py-nag/">py-nag</a>. Its a pretty simple script that you can toss on your system and then define a new command in nagios and easy as pie now you get notices in twitter. Its all python and the only dep needed should be <a href="http://code.google.com/p/python-twitter/">python-twitter</a> And a simple apt-get install python-twitter took care of that for me.</p>
<p>To set this up you can simply place the nagger.py script somewhere on your system. I put it in /usr/local/bin and named it py-nag<br />
<blockquote>#wget -O /usr/local/bin/py-nag https://code.google.com/p/py-nag/source/browse/nagger.py</p></blockquote>
<p>Note the # this indicates the command needs to be run as root or you can use sudo. Next set the file to be executable<br />
<blockquote>#chmod +x /usr/local/bin/py-nag</p></blockquote>
<p>Next you need to configure nagios. On my Debian box I will edit the following file like so:<br />
<blockquote>vim /etc/nagios3/commands.cfg</p></blockquote>
<p>Next we need to add the command definition<br />
<blockquote> define command {<br />
  command_name  notify-userName-by-tweet<br />
  command_line  /usr/local/bin/py-nag &#8211;twitusr=MYTWITUSER &#8211;twitpass=&#8217;MYTWITPASS&#8217; &#8211;msg=&#8217;T: $NOTIFICATIONTYPE$ Hst: $HOSTALIAS$ dt: $LONGDATETIME$&#8217; &#8211;dmonly &#8211;user=WhoToTweet<br />
}</p></blockquote>
<p>Next you need to set your contact to use this command like so:<br />
<blockquote>service_notification_commands notify-userName-by-tweet</p></blockquote>
<p>This is done in your contact confg. service_notification_commands will accept a comma seperated list so this can be one of many commands. Next you need to reload the nagios config. Now you are all ready to get Direct messages from your nagios nagger. If you prefer to not get the notice as a DM you can use the optional &#8211;tweetit param instead of the &#8211;dmonly If you use the &#8211;tweetit param you do not need the &#8211;user flag. I sure hope some people find this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/01/23/py-nag-a-notification-script-for-nagios-to-nag-you-in-twitter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rename Files Fast from the Linux CLI</title>
		<link>http://www.errr-online.com/index.php/2010/01/14/rename-files-fast-from-the-linux-cli/</link>
		<comments>http://www.errr-online.com/index.php/2010/01/14/rename-files-fast-from-the-linux-cli/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 18:16:26 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[sysadmin]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=17</guid>
		<description><![CDATA[So today I moved our web root from this OLD system to our new server. First things first I tried to hit some of the links and I was served given the option to d/l the file&#8230; Well I could go to the Web server config file and tell it to parse these files as [...]]]></description>
			<content:encoded><![CDATA[<p>So today I moved our web root from this OLD system to our new server. First things first I tried to hit some of the links and I was served given the option to d/l the file&#8230; Well I could go to the Web server config file and tell it to parse these files as php, or how about we ditch the .php3 for something this decade&#8230; like .php So I go to our web root and look for all the files that end in .php3</p>
<blockquote><p>find . -iname &#8220;*.php3&#8243; -print</p></blockquote>
<p>Nice. Now I have a huge list of files here.. How on earth can I rename them with out this taking all day&#8230; I used <i>rename</i> like so:</p>
<blockquote><p>find . -iname &#8220;*.php3&#8243; -print |xargs rename -n &#8217;s/\.php3/\.php/&#8217;</p></blockquote>
<p>This command will NOT actually change ANYTHING on your system. The -n flag says to run through as a test and tell me what you would be doing if I wanted it done&#8230; I can see from this output that I do indeed want to run this command.</p>
<blockquote><p>find . -iname &#8220;*.php3&#8243; -print |xargs rename -v &#8217;s/\.php3/\.php/&#8217;</p></blockquote>
<p>Now this time it did go though and rename and it printed to the screen what it did (thats what the -v flag does verbose). Now I can go though and edit the index file that pointed to these php3 files and remove that 3. Simple and now I dont have that silly 3 on the file names any more.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/01/14/rename-files-fast-from-the-linux-cli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change your product key for Office 2007 with out reinstalling</title>
		<link>http://www.errr-online.com/index.php/2010/01/06/change-your-product-key-for-office-2007-with-out-reinstalling/</link>
		<comments>http://www.errr-online.com/index.php/2010/01/06/change-your-product-key-for-office-2007-with-out-reinstalling/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 22:52:32 +0000</pubDate>
		<dc:creator>errr</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[microsoft office]]></category>
		<category><![CDATA[office 2007]]></category>
		<category><![CDATA[regedit]]></category>
		<category><![CDATA[registry]]></category>

		<guid isPermaLink="false">http://www.errr-online.com/?p=14</guid>
		<description><![CDATA[So today I was setting up a new laptop for one of our employees. I went to activate his copy of Office 2007 and was told that I had already activated this copy to many times!! Oops, that is my bad for having such a messy desk that I grabbed the wrong copy of office [...]]]></description>
			<content:encoded><![CDATA[<p>So today I was setting up a new laptop for one of our employees. I went to activate his copy of Office 2007 and was told that I had already activated this copy to many times!! Oops, that is my bad for having such a messy desk that I grabbed the wrong copy of office and used the wrong key. No big deal I think to my self so I call to activate over the phone. While talking to this script reader he tells me that my copy is over activated and now I need to reinstall using this other disk (same version of office same everything..) I get a bit pissed cause I have better things to do with my time then totally reinstall Office just to change a simple key. I tell him how that is crazy and that there just HAD to be a way to do this with out a reinstall. The &#8220;tech&#8221; tells me that there is no way. I tell him he is nuts and how he is lazy and should learn more about his job. So off to regedit I went. I dug though HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\12.0\ since it was the biggest number. Mine also had an 8.0 and an 11.0. While digging though there I see &#8220;Registration&#8221;, I open it then while going though there I found something called DigitalProductID and something else called ProductID. On a whim I decided to just delete these key=>values so I right clicked on them and hit delete. Next I closed regedit and opened up Outlook. Guess what it asked me for <img src='http://www.errr-online.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  thats right!! It asked me for a product key. I gave it, then Office activated with no issues&#8230; So this is to you, jerk at M$ who tried telling me this was not possible!! <strong>IN YO FACE!!!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.errr-online.com/index.php/2010/01/06/change-your-product-key-for-office-2007-with-out-reinstalling/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
