<?xml version="1.0" encoding="UTF-8"?>
<!--Generated by Squarespace Site Server v5.9.2 (http://www.squarespace.com/) on Fri, 12 Mar 2010 19:41:47 GMT--><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/"><title>Journal</title><subtitle>Journal</subtitle><id>http://programphases.com/journal/</id><link rel="alternate" type="application/xhtml+xml" href="http://programphases.com/journal/"/><link rel="self" type="application/atom+xml" href="http://programphases.com/journal/atom.xml"/><updated>2010-02-10T04:25:24Z</updated><generator uri="http://www.squarespace.com/" version="Squarespace Site Server v5.9.2 (http://www.squarespace.com/)">Squarespace</generator><entry><title>Sql Outer Join Gotcha</title><id>http://programphases.com/journal/2010/1/26/sql-outer-join-gotcha.html</id><link rel="alternate" type="text/html" href="http://programphases.com/journal/2010/1/26/sql-outer-join-gotcha.html"/><author><name>Dave Mihalik</name></author><published>2010-01-26T20:24:53Z</published><updated>2010-01-26T20:24:53Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Here is a solution for filtering results from an outer join query without using a where clause.&nbsp; I needed this solution today for a project.</p>
<p>&nbsp;</p>
<p><a href="http://www.sqlteam.com/article/additional-criteria-in-the-join-clause">http://www.sqlteam.com/article/additional-criteria-in-the-join-clause</a></p>
<p>&nbsp;</p>]]></content></entry><entry><title>For the public routed subinterface only WAN IP mapping is allowed</title><id>http://programphases.com/journal/2010/1/14/for-the-public-routed-subinterface-only-wan-ip-mapping-is-al.html</id><link rel="alternate" type="text/html" href="http://programphases.com/journal/2010/1/14/for-the-public-routed-subinterface-only-wan-ip-mapping-is-al.html"/><author><name>Dave Mihalik</name></author><published>2010-01-15T03:43:15Z</published><updated>2010-01-15T03:43:15Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>This awesome error message is what you will inevitably see if you have UVERSE fiber internet service and a two wire router 3800HGV-B Gateway with a public static ip pool.&nbsp; The beauty of this device is that it automatically finds and assigns ips to devices based on mac address.&nbsp; However, problems arise when a device is no longer available on the network and the router still contains ip settings for the device.&nbsp; There is no option for deleting a device from the router configuration.&nbsp; If you try to change settings for other existing devices on the network, you may get the error "For the public routed subinterface only WAN IP mapping is allowed".&nbsp; You may also get an error related to invalid ip settings.&nbsp; When I called UVERSE tec hnical support, I was instructed to restart the gateway which improved nothing.&nbsp; I was then told that I would need to do a complete reset of the router which I did not want to do because I had quite a few settings that I did not want to reenter.</p>
<p>The fix for this is not too difficult but took some time to figure out.&nbsp; Basically, every device that has invalid settings needs to be plugged back into the router so the device can be setup to obtain an ip from the private dhcp assigned sub net.&nbsp; The problem with this solution is that the devices may not be available to be plugged back in.&nbsp; In my case, the router retained settings for a laptop that I no longer owned.&nbsp; The router keeps track of configured devices based on mac address.&nbsp; The solution then is not to plug in the actual device but rather a device that has the same mac address of the missing device.&nbsp; I was fortunate enough to have an esxi server with several virtual machines that I could use.&nbsp; The first thing that needed to be done was to determine all of the mac addresses for the devices that contained invalid settings.&nbsp; I looked for all of the devices that had an ip setting of "Static IP - No DHCP" and were no longer plugged in to the router.&nbsp;</p>
<p>First I disabled the Public Routed Subinterface in the router.&nbsp; I documented the ip settings before disabling.&nbsp; Using vSphere, I edited a Windows XP vm and assigned the network card to be on a network that is NOT on the network of the router.&nbsp; I then fired up a Windows XP virtual machine in ESXi and assigned the appropriate mac address to the network card.&nbsp; I did this in Windows XP software and not the vSphere client because vSphere has a limited range of acceptable mac addresses.&nbsp; I then shutdown the vm and used vSphere to assign the network card to be on the same network as the router.&nbsp; I started up the Windows XP vm again.&nbsp; At this point, for the particular mac address in question, I was able to assign that device to be in the "Private From Pool ..." address assignment and a Wan IP Mapping of "Router Wan IP Address Default".&nbsp; After doing this for all of the mac address in question,&nbsp; I enabled the public routed sub interface and was able to make ip configuration changes to devices without getting any errors.</p>
<p>All of this could be accomplished without using ESXi by simpling using a laptop and cycling through all of the mac address in question.</p>
<p>I was glad that I did not have to do a complete erase of the router settings.</p>]]></content></entry><entry><title>OpenFiler iSCSI Quick Setup Steps</title><id>http://programphases.com/journal/2010/1/3/openfiler-iscsi-quick-setup-steps.html</id><link rel="alternate" type="text/html" href="http://programphases.com/journal/2010/1/3/openfiler-iscsi-quick-setup-steps.html"/><author><name>Dave Mihalik</name></author><published>2010-01-03T19:16:12Z</published><updated>2010-01-03T19:16:12Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>Just so I have a quick reference:</p>
<p>1. Create Physical volume on a single disk<br />2. Create RAID volumes on multiple disks and create array<br />3. Add volumes from #1 into a Volume Group<br />4. Create an iSCSI volume in the VG from #2<br />5. Start the "iSCSI target server" service<br />6. Add a network entry for the client machine (or local subnet if private) at the bottom of "System &gt; Network Setup"</p>
<p>7. Enable Services - iSCSI Target Server<br />8. Click "iSCSI Targets" on the Volumes page<br />9. Click "Add" to create a new target.<br />10. Click "Lun Mapping"<br />11. Click "Map"<br />12. Click "Network ACL"<br />13. Change the combo box for your network to "Allow".</p>
<p>These steps were adapted from <a href="https://forums.openfiler.com/viewtopic.php?pid=8906#p8906">this</a> post by litkaj on the open filer forums.<strong><br /></strong></p>
<p>&nbsp;</p>]]></content></entry><entry><title>Untangle and MLB.COM</title><id>http://programphases.com/journal/2010/1/3/untangle-and-mlbcom.html</id><link rel="alternate" type="text/html" href="http://programphases.com/journal/2010/1/3/untangle-and-mlbcom.html"/><author><name>Dave Mihalik</name></author><published>2010-01-03T18:54:15Z</published><updated>2010-01-03T18:54:15Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>To get MLB.COM working behind my Untangle box running in router mode, I added the following to the spyware blocker pass list:</p>
<ul>
<li>2o7.net</li>
<li>ad.doubleclick.net</li>
</ul>]]></content></entry><entry><title>Untangle and DirecTV On Demand</title><id>http://programphases.com/journal/2010/1/3/untangle-and-directv-on-demand.html</id><link rel="alternate" type="text/html" href="http://programphases.com/journal/2010/1/3/untangle-and-directv-on-demand.html"/><author><name>Dave Mihalik</name></author><published>2010-01-03T18:48:55Z</published><updated>2010-01-03T18:48:55Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>To get DirecTV On Demand working behind my Untangle box in router mode with the Virus Blocker module enabled, I had to do the following:</p>
<ul>
<li>Virus Blocker - Settings</li>
<li>Web - Advanced Settings</li>
<li>Uncheck Disable HTTP Resume</li>
</ul>
<p>&nbsp;</p>
<p>I tracked down the info in a post buried here:</p>
<p><span></span><a href="http://forums.untangle.com/networking/13242-intermittent-access-web-server-8080-a.html">Untangle Forums</a></p>]]></content></entry><entry><title>Slowly Migrating Data</title><id>http://programphases.com/journal/2009/12/13/slowly-migrating-data.html</id><link rel="alternate" type="text/html" href="http://programphases.com/journal/2009/12/13/slowly-migrating-data.html"/><author><name>Dave Mihalik</name></author><published>2009-12-13T23:30:57Z</published><updated>2009-12-13T23:30:57Z</updated><content type="html" xml:lang="en-US"><![CDATA[<p>I have been slowly migrating my site from <a href="http://wordpress.org/">Wordpress</a> to <a href="http://squarespace.com">Squarespace</a>.&nbsp; I did not have time to maintain the hosting and maintenance of the old Program Phases site running on Wordpress.&nbsp; I will be updating this site slowly over the next couple of weeks.&nbsp; I just finished moving the <a href="http://programphases.com/insert-html-here-wp-plugin/">Insert HTML Here</a> Wordpress Plugin information to this site today so that is one less thing I need to think about later.</p>]]></content></entry></feed>