<?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>Everyone has an opinion</title>
	<atom:link href="http://www.derekjhunt.org/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.derekjhunt.org/blog</link>
	<description>Thoughts and rants about UNIX, music, film and politics.</description>
	<lastBuildDate>Sun, 18 Jul 2010 17:21:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Settings for Philips 32PFL6704D Television</title>
		<link>http://www.derekjhunt.org/blog/2010/07/18/settings-for-philips-32pfl6704d-television/</link>
		<comments>http://www.derekjhunt.org/blog/2010/07/18/settings-for-philips-32pfl6704d-television/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 17:13:56 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[HDTV]]></category>
		<category><![CDATA[Home Theater]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[32/PFL6704D]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=79</guid>
		<description><![CDATA[Contrast: 49 Brightness: 55 Color: 38 Tint: 0 Sharpness: 2 Color temperature: Warm Dynamic contrast: Off Digital Natural Motion: Off Noise reduction: Off MPEG artifact reduction: Off Color enhancement: Off Active control: Off Picture format: Unscaled Horizontal shift: 32 Vertical shift: 16 These were from cnet and are relatively accurate. I have two of these [...]]]></description>
			<content:encoded><![CDATA[<p>Contrast: 49<br />
Brightness: 55<br />
Color: 38<br />
Tint: 0<br />
Sharpness: 2<br />
Color temperature: Warm<br />
Dynamic contrast: Off<br />
Digital Natural Motion: Off<br />
Noise reduction: Off<br />
MPEG artifact reduction: Off<br />
Color enhancement: Off<br />
Active control: Off<br />
Picture format: Unscaled<br />
Horizontal shift: 32<br />
Vertical shift: 16</p>
<p>These were from cnet and are relatively accurate.  I have two of these sets, and one of the panels is considerably darker than the other. Adjust the contrast and brightness accordingly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2010/07/18/settings-for-philips-32pfl6704d-television/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable UPNP Under FreeBSD</title>
		<link>http://www.derekjhunt.org/blog/2009/10/03/enable-upnp-under-freebsd/</link>
		<comments>http://www.derekjhunt.org/blog/2009/10/03/enable-upnp-under-freebsd/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 14:36:33 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[miniupnpd]]></category>
		<category><![CDATA[pf]]></category>
		<category><![CDATA[upnp]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=67</guid>
		<description><![CDATA[build and install from ports (/usr/ports/net/miniupnpd) Add this to your /etc/rc.conf miniupnpd_enable="YES" Next add a few things to your /etc/pf.conf rdr-anchor "miniupnpd" anchor "miniupnpd" pass out on $int_if from any to 239.0.0.0/8 keep state pass in on $int_if from any to 239.0.0.0/8 keep state Also change your NAT entry to add static-port nat on $ext_if [...]]]></description>
			<content:encoded><![CDATA[<p>build and install from ports (/usr/ports/net/miniupnpd)</p>
<p>Add this to your /etc/rc.conf<br />
<pre>miniupnpd_enable="YES"</pre><br />
Next add a few things to your /etc/pf.conf<br />
<pre>rdr-anchor "miniupnpd"
anchor "miniupnpd"</pre><br />
<pre>pass out on $int_if from any to 239.0.0.0/8 keep state
pass in on $int_if from any to 239.0.0.0/8 keep state</pre><br />
Also change your NAT entry to add static-port<br />
<pre>nat on $ext_if from $int_if:network to any -> ($ext_if) static-port</pre><br />
I tested from functionality from a couple OSX boxes with the following:<br />
<pre>dns-sd -X udp 123 456 789</pre><br />
If upnp is working, it should return an address:<br />
<pre>mifune:~ djh29$ dns-sd -X udp 123 456 789</pre><br />
<pre>Timestamp     if   External Address     Protocol        Internal Port   External Port   TTL  
10:32:20.589  0    70.90.241.189        16              123             0               0    
^C
mifune:~ djh29$</pre><br />
I fought with this thing for awhile before I realized  that the multicast address rules were necessary under FreeBSD (per the INSTALL doc for miniupnpd).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2009/10/03/enable-upnp-under-freebsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change the IR frequency for a Dish Network Remote</title>
		<link>http://www.derekjhunt.org/blog/2009/09/30/change-the-ir-frequency-for-a-dish-network-remote/</link>
		<comments>http://www.derekjhunt.org/blog/2009/09/30/change-the-ir-frequency-for-a-dish-network-remote/#comments</comments>
		<pubDate>Wed, 30 Sep 2009 16:24:29 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[HDTV]]></category>
		<category><![CDATA[Home Theater]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[32/PFL6704D]]></category>
		<category><![CDATA[Dish Network]]></category>
		<category><![CDATA[IR]]></category>
		<category><![CDATA[philips lcd]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=65</guid>
		<description><![CDATA[I have a Philips 32&#8243; LCD&#160; - Model 32/PFL6704D - as my bedroom television. It bathes the entire room with IR. This is a massive pain (My Roku refuses to work with this TV doing this). Here is a quick fix for getting a Dish Network receiver to transmit on a different frequency: 1. Display [...]]]></description>
			<content:encoded><![CDATA[<p>I have a Philips 32&#8243; LCD&nbsp; <strong>- Model 32/PFL6704D </strong>- as my bedroom television.<strong><br />
</strong></p>
<p>It bathes the entire room with IR. This is a massive pain (My Roku refuses to work with this TV doing this).  Here is a quick fix for getting a Dish Network receiver to transmit on a different frequency:<br />
1.  Display the System Information screen</p>
<p>2.  Note the Remote Address</p>
<p>3.  Hold the Sat button until all the mode buttons light up</p>
<p>4.  Enter a number between 1 and 15 that is not the number noted in step 2</p>
<p>5.  Press the # key (Sat button should blink three times upon release of the # key)</p>
<p>6.  Press the Record key</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2009/09/30/change-the-ir-frequency-for-a-dish-network-remote/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing WordPress Upgrade Errors [Table &#039;wp_terms&#039; doesn&#039;t exist]</title>
		<link>http://www.derekjhunt.org/blog/2009/07/08/fixing-wordpress-upgrade-errors-table-wp_terms-doesnt-exist/</link>
		<comments>http://www.derekjhunt.org/blog/2009/07/08/fixing-wordpress-upgrade-errors-table-wp_terms-doesnt-exist/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 20:41:03 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wp_terms]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=55</guid>
		<description><![CDATA[If you have ever seen one of these exceptionally annoying errors populating your apache logs after upgrading wordpress: WordPress database error Table 'database.wp_terms' doesn't exist for query SELECT t.*, tt.* FROM wp_ terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt. taxonomy IN ('category') AND ( t.term_id 1 ) ORDER [...]]]></description>
			<content:encoded><![CDATA[<p>If you have ever seen one of these exceptionally annoying errors populating your apache logs after upgrading wordpress: <code><br />
WordPress database error Table 'database.wp_terms' doesn't exist for query SELECT t.*, tt.* FROM wp_<br />
terms AS t INNER JOIN wp_term_taxonomy AS tt ON t.term_id = tt.term_id WHERE tt.<br />
taxonomy IN ('category')  AND ( t.term_id <> 1 ) ORDER BY t.name ASC  made by require, require_once, include, get_sidebar, locate_template, load_template, require_once, wp_list_cats, wp_list_categories, get_categories, get_terms<br />
</code><br />
There is a relatively easy fix, however, finding it was not so easy.</p>
<p>I found a pointer here:</p>
<p>http://osterman.com/wordpress/2007/10/15/wordpress-database-error-table-wp_terms-doesnt-exist</p>
<p>However, this didn&#8217;t work for me. The page always mentioned the database was already upgraded.  Digging around on the WordPress Codex, revealed <a href="http://codex.wordpress.org/FAQ_Installation#How_do_you_force_a_database_upgrade.3F" target="_blank">this handy link</a> about forcing a database upgrade.</p>
<p>Here is what I did to fix the problem</p>
<p>Open mysql and select the db: <code><br />
[root@host ~]# mysql -u dbuser -p<br />
Enter password:<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 15762<br />
Server version: 5.0.45 Source distribution</p>
<p>Type 'help;' or '\h' for help. Type '\c' to clear the buffer.</p>
<p>mysql> use wordpress;</p>
<p>Database changed<br />
</code><br />
Next change the value of the DB to a previous version or wordpress (check <a href="http://http://codex.wordpress.org/FAQ_Installation#How_do_you_force_a_database_upgrade.3F" target="_blank">here</a> for a list of values). <code><br />
mysql> update wp_options set option_value='6124' where option_name="db_version";</p>
<p>Query OK, 1 row affected (0.00 sec)<br />
Rows matched: 1  Changed: 1  Warnings: 0</p>
<p>mysql><br />
</code><br />
Next, run the upgrade script:</p>
<p>http://domain/wordpress/wp-admin/upgrade.php</p>
<p>If you receive errors, change the db_version to a different value and try again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2009/07/08/fixing-wordpress-upgrade-errors-table-wp_terms-doesnt-exist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nice way to clean out Gallery2 spam comments.</title>
		<link>http://www.derekjhunt.org/blog/2009/03/29/53/</link>
		<comments>http://www.derekjhunt.org/blog/2009/03/29/53/#comments</comments>
		<pubDate>Sun, 29 Mar 2009 21:37:36 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[Tech]]></category>
		<category><![CDATA[gallery]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=53</guid>
		<description><![CDATA[Nice way to quickly cleanout Gallery2 spam comments. > mysql> delete ce, e, co from g2_ChildEntity ce, g2_Entity e, g2_Comment co where ce.g_id=e.g_id and e.g_id=co.g_id and e.g_entityType=&#8217;GalleryComment&#8217; and (co.g_comment like &#8216;%[url=http://%&#8217;) -> ; Query OK, 930651 rows affected (1 min 5.68 sec) mysql>]]></description>
			<content:encoded><![CDATA[<p>Nice way to quickly cleanout<a title="Gallery2" href="http://gallery.sf.net" target="_blank"> Gallery2 </a>spam comments.<br />
><br />
mysql> delete ce, e, co from g2_ChildEntity ce, g2_Entity e, g2_Comment co where ce.g_id=e.g_id and e.g_id=co.g_id and e.g_entityType=&#8217;GalleryComment&#8217; and (co.g_comment like &#8216;%[url=http://%&#8217;)<br />
-> ;<br />
Query OK, 930651 rows affected (1 min 5.68 sec)</p>
<p>mysql></p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2009/03/29/53/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Horray for decent upgrades.</title>
		<link>http://www.derekjhunt.org/blog/2009/03/16/horray-for-decent-upgrades/</link>
		<comments>http://www.derekjhunt.org/blog/2009/03/16/horray-for-decent-upgrades/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 05:48:02 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/blog/?p=51</guid>
		<description><![CDATA[Upgraded to the latest wordpress. Nice to a simple, and working upgrade for once.]]></description>
			<content:encoded><![CDATA[<p>Upgraded to the latest wordpress. Nice to a simple, and working upgrade for once.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2009/03/16/horray-for-decent-upgrades/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php-mssql</title>
		<link>http://www.derekjhunt.org/blog/2006/07/26/php-mssql/</link>
		<comments>http://www.derekjhunt.org/blog/2006/07/26/php-mssql/#comments</comments>
		<pubDate>Thu, 27 Jul 2006 03:54:58 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/archives/49</guid>
		<description><![CDATA[Nice php site for rpms (under rhel or centos): http://phprpms.sourceforge.net/mssql Duing the server migration, I needed to get php-mssql working. Once again, cake under CentOS. Grab this rpm: php-mssql-4.3.9-3.9.1.x86_64.rpm Install freetds from yum, and you are ready to go.]]></description>
			<content:encoded><![CDATA[<p>Nice php site for rpms (under rhel or centos):</p>
<p>http://phprpms.sourceforge.net/mssql</p>
<p>Duing the server migration, I needed to get php-mssql working. Once again, cake under CentOS.</p>
<p>Grab this rpm:</p>
<div><a onclick="javascript:urchinTracker ('/downloads/php-mssql-4.3.9-3.9.1.x86_64.rpm'); " href="http://prdownloads.sourceforge.net/phprpms/php-mssql-4.3.9-3.9.1.x86_64.rpm?download">php-mssql-4.3.9-3.9.1.x86_64.rpm</a></div>
<p>Install freetds from yum, and you are ready to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2006/07/26/php-mssql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crossgrade from Redhat Enterprise Linux 4 (RHEL4) to Centos 4</title>
		<link>http://www.derekjhunt.org/blog/2006/07/26/crossgrade-from-redhat-enterprise-linux-4-rhel4-to-centos-4/</link>
		<comments>http://www.derekjhunt.org/blog/2006/07/26/crossgrade-from-redhat-enterprise-linux-4-rhel4-to-centos-4/#comments</comments>
		<pubDate>Thu, 27 Jul 2006 01:54:20 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/archives/48</guid>
		<description><![CDATA[Redhat Enterprise Linux 4 sucks. At least the x86_64 version. php gives gd and mysql errors. up2date is as miserable as getting kicked in the groin for an hour straight. Grab these: [root@wintermute upgrade]# ls -l total 824 -r--r--r-- 1 root root 20091 Jul 26 20:33 centos-release-4-3.2.x86_64.rpm -r--r--r-- 1 root root 3592 Jul 26 20:33 [...]]]></description>
			<content:encoded><![CDATA[<p>Redhat Enterprise Linux 4 sucks.  At least the x86_64 version. php gives gd and mysql errors.  up2date is as miserable as getting kicked in the groin for an hour straight.</p>
<p>Grab these:<br />
<pre>
[root@wintermute upgrade]# ls -l
total 824
-r--r--r--  1 root root  20091 Jul 26 20:33 centos-release-4-3.2.x86_64.rpm
-r--r--r--  1 root root   3592 Jul 26 20:33 centos-yumconf-4-4.5.noarch.rpm
-r--r--r--  1 root root  81569 Jul 26 20:33 python-elementtree-1.2.6-4.x86_64.rpm
-r--r--r--  1 root root  38989 Jul 26 20:34 python-sqlite-1.1.6-1.x86_64.rpm
-r--r--r--  1 root root  93760 Jul 26 20:34 python-urlgrabber-2.9.6-2.noarch.rpm
-r--r--r--  1 root root 189951 Jul 26 20:34 sqlite-3.2.2-1.x86_64.rpm
-r--r--r--  1 root root 392645 Jul 26 20:34 yum-2.4.2-2.centos4.noarch.rpm
[root@wintermute upgrade]#</pre><br />
Run these:</p>
<p>rpm –import RPM-GPG-KEY-centos4<br />
rpm -e -–nodeps redhat-release<br />
rpm -Uvh *.rpm</p>
<p>then</p>
<p>yum upgrade</p>
<p>Works beautifully.  yum is the far superior tool.  Courtesy to <a href="http://fixlinux.com/2006/04/11/migrate-rhel-to-centos/">Fixlinux</a> for the instructions</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2006/07/26/crossgrade-from-redhat-enterprise-linux-4-rhel4-to-centos-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firewall woes.</title>
		<link>http://www.derekjhunt.org/blog/2006/07/24/firewall-woes/</link>
		<comments>http://www.derekjhunt.org/blog/2006/07/24/firewall-woes/#comments</comments>
		<pubDate>Tue, 25 Jul 2006 00:15:53 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/archives/47</guid>
		<description><![CDATA[The heat in Connecticut is nearly unbearable; so much so, that whatever the blistering temp was outside, my basement (and server room), was 20 degrees hotter.  This is roughly the surface temp of the sun. Which was too much for my firewall.   I gave my Dual PIII 550 to Ben (to cut down on power [...]]]></description>
			<content:encoded><![CDATA[<p>The heat in Connecticut is nearly unbearable; so much so, that whatever the blistering temp was outside, my basement (and server room), was 20 degrees hotter.  This is roughly the surface temp of the sun.</p>
<p>Which was too much for my firewall.   I gave my Dual PIII 550 to Ben (to cut down on power usage), and did the server shuffle.</p>
<p>I moved the Athlon 2200 (previously a workstation), and migrate that machine to the fileserver.  The Athlon 1800 was migrated over to the firewall. and The P4 was migrated to the secondary workstation.</p>
<p>This worked great  for about 3 days.  Then both athlons melted.  The 2200&#8242;s power supply took a crap, and the athlon 1700 just stopped working altogether.   For the first time in almost 8 years, I had to use linux as a firewall.  My file server has around a terrabyte of data on it, so a quick reload with openbsd was not not an option.  I had to use iptables (for the love of God, please port PF over).  I spent the next two hours stumbling over the arcane, and deliberately confusing syntax to get my network back up and running.  At two in the morning, it is as if Rusty is trying to drive you mad.<br />
As a linux user since the early 90&#8242;s, I have a great deal of love and respect for the software, but, <strong>IP TABLES SUCKS. </strong>There are no two ways around this.  It feels kludgey, configs like something on an AS/400, and at the end of your painful relationship, it actualy punches you in the head.</p>
<p>PF lays it down, and works it over like Scott Peterson in prison.  PF has a great single config file with decent syntax, variables, and easily to remember rules.<br />
Thankfully the poor experience I had with IP Tables, helped motivate me to fix my Netra X1, and upgrade it to OpenBSD 3.9 (Sparc64).  I really wish PF ran on everything.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2006/07/24/firewall-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sniffy</title>
		<link>http://www.derekjhunt.org/blog/2006/07/10/sniffy/</link>
		<comments>http://www.derekjhunt.org/blog/2006/07/10/sniffy/#comments</comments>
		<pubDate>Mon, 10 Jul 2006 15:54:11 +0000</pubDate>
		<dc:creator>derek</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.derekjhunt.org/archives/46</guid>
		<description><![CDATA[So we are thinking of getting a pup. We have the yard, and I really believe that all kids should have animals (Dogs and Cats). The cat aspect is covered (with Xander and Angel), we just needed a dog. I started digging around petfinder, and found most rescues wanted a ridiculous amount of money ($300 [...]]]></description>
			<content:encoded><![CDATA[<p>So we are thinking of getting a pup.  We have the yard, and I really believe that all kids should have animals (Dogs and Cats).  The cat aspect is covered (with Xander and Angel), we just needed a dog.</p>
<p>I started digging around petfinder, and found most rescues wanted a ridiculous amount of money ($300 and up) to adopt a pet.  I am of the opinion that if you are trying to get rid of of animal, a decent home is all that is needed.  I read these horror stories about people adopting dogs and them selling them for medical research.   That&#8217;s sorta like the razor blade in the apple thing.  It probably happened once, or twice, and it has graduated to an urban legend.</p>
<p>Anyway, I found an ad for a wonderful little beagle.  Sniffy. Sniffy is a two year old beagle. He&#8217;s trained, neutered, AKC (although that matters little now that he is snipped), and is need of a good home.   We are going to go take a look at him sometime this week.</p>
<p>Hopefully by the end of this week, we will have family dog.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.derekjhunt.org/blog/2006/07/10/sniffy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
