<?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>Jeff's Blog</title>
	<atom:link href="http://jeffeske.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://jeffeske.com/blog</link>
	<description>Various stuff that I'll forget if I don't document it someplace...  USE IT AT YOUR OWN RISK</description>
	<lastBuildDate>Fri, 03 Sep 2010 15:46:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Resetting Winsock LSP on Win Vista and Win 7</title>
		<link>http://jeffeske.com/blog/?p=96</link>
		<comments>http://jeffeske.com/blog/?p=96#comments</comments>
		<pubDate>Fri, 03 Sep 2010 15:46:41 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=96</guid>
		<description><![CDATA[1. Type in cmd, then CTRL+SHIFT+ENTER, to open the command prompt with elevated privileges 2. At the command prompt, type: netsh winsock reset.  This resets Windows&#8217; Winsock to the default settings. 3. Restart to complete the reset.]]></description>
			<content:encoded><![CDATA[<p>1. Type in cmd, then CTRL+SHIFT+ENTER, to open the command prompt with elevated privileges</p>
<p>2. At the command prompt, type: netsh winsock reset.  This resets Windows&#8217; Winsock to the default settings.</p>
<p>3. Restart to complete the reset.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=96</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding 32-bit Print Drivers to a 64-bit Windows 2008 R2 Server</title>
		<link>http://jeffeske.com/blog/?p=92</link>
		<comments>http://jeffeske.com/blog/?p=92#comments</comments>
		<pubDate>Fri, 03 Sep 2010 13:29:42 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=92</guid>
		<description><![CDATA[I have a new server that&#8217;s serving as a quasi-printer server and it&#8217;s running Windows 2008 R2.  The problem is that the server is 64-bit, so when I setup the printers on there and share them, it only has the 64-bit drivers to offer to the client machines.  I need it to be able to [...]]]></description>
			<content:encoded><![CDATA[<p>I have a new server that&#8217;s serving as a quasi-printer server and it&#8217;s running Windows 2008 R2.  The problem is that the server is 64-bit, so when I setup the printers on there and share them, it only has the 64-bit drivers to offer to the client machines.  I need it to be able to have the 32-bit drivers available for the client machines.   I did some searching and found a few different methods for adding the 32-bit drivers, but what&#8217;s described below worked for me.  The most important thing to realize, no matter what method you use, <em>the driver names need to match exactly or it won&#8217;t work. </em>Did you catch that?<em> The names have to match exactly. </em> I tried a couple of times, without success, before I realized that the names weren&#8217;t EXACT.  The 32-bit name had an extra space in it.  Anyway, to add the drivers:</p>
<p>1. Download and extract the 32-bit drivers on your local desktop machine.  Mine were HP printers, so I went out to HP and found the appropriate drivers and downloaded them.</p>
<p>2. Connect to the Printers and Faxes share on the server, using admin-level credentials.  I&#8217;m on XP, so I used the RUN command and typed in: <span style="color: #0000ff;">\\servername</span> to bring up the server&#8217;s shares, then double-clicked on the Printers and Faxes folder.</p>
<p>3. Look through the list of shared printers and note the <em><strong>exact</strong></em> name that it shows for the 64-bit printer drivers that it&#8217;s using.  You&#8217;ll need to double-check your 32-bit drivers to make sure that they end up with the <em><strong>exact</strong></em> same name.</p>
<p>4. On your local machine, go in to the individual .inf files for each driver and verify that the driver name listed in the file matches exactly with the 64-bit name on the server.  On mine, both were off slightly.  The 64-bit version was &#8220;HP LaserJet 4250 PCL6&#8243; and the 32-bit was &#8220;HP LaserJet 4250 PCL 6&#8243;.  They&#8217;re the same, except for the space between the L and the 6.  The first couple of times I tried using it, it didn&#8217;t work.  It still said that the driver wasn&#8217;t available.  After I looked closer and saw that space and removed it, it worked perfectly.</p>
<p>5.  After you&#8217;ve ensured that your 32-bit printer driver names are correct in the .inf files, go back to your server&#8217;s Printer and Faxes share window.</p>
<p>6. While on that window, click on File &gt; Server Properties.  This should bring up a popup.   Click on the third tab, the Drivers tab.  This should give you a list of the currently installed drivers, along with a row of buttons below that.</p>
<p>7.  Click on the Add button, and it will start the Add Printer Wizard.  Since you&#8217;ve already modified the .inf files to be correct, you should be good-to-go.  After you walk through the wizard, you should have the 32-bit drivers listed, along with the 64-bit drivers.  <em>They should have exactly the same name</em>.</p>
<p>8. To test it, try adding one of the shared printers to a client machine.  If it errors out and says that the driver isn&#8217;t available, then the names probably aren&#8217;t an exact match.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=92</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle VirtualBox from the Commandline</title>
		<link>http://jeffeske.com/blog/?p=89</link>
		<comments>http://jeffeske.com/blog/?p=89#comments</comments>
		<pubDate>Tue, 31 Aug 2010 19:37:01 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=89</guid>
		<description><![CDATA[To start a virtual machine &#8220;in the background&#8221; - VBoxManage startvm &#8220;name_of_vm&#8221; &#8211;type vrdp To shutdown a virtual machine - VBoxManage controlvm &#8220;name_of_vm&#8221; poweroff]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste">To start a virtual machine &#8220;in the background&#8221; -<br />
<span style="color: #0000ff;">VBoxManage startvm &#8220;name_of_vm&#8221; &#8211;type vrdp</span></div>
<div id="_mcePaste"></div>
<div>To shutdown a virtual machine -<br />
<span style="color: #0000ff;">VBoxManage controlvm &#8220;name_of_vm&#8221; poweroff</span></div>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=89</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Running Apache and PHP on OS X 10.6.4</title>
		<link>http://jeffeske.com/blog/?p=84</link>
		<comments>http://jeffeske.com/blog/?p=84#comments</comments>
		<pubDate>Tue, 31 Aug 2010 19:19:17 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=84</guid>
		<description><![CDATA[Apache and PHP are there, but not started.   To enable it: 1&#62; Fire up terminal.app and cd /etc/apache2 2&#62; sudo pico httpd.conf 3&#62; Within httpd.conf, use ctrl-w and find LoadModule php 4&#62; Uncomment LoadModule php5_module and LoadModule fastcgi_module lines 5&#62; Right below that, add the following 2 lines: AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps [...]]]></description>
			<content:encoded><![CDATA[<p>Apache and PHP are there, but not started.   To enable it:</p>
<p>1&gt; Fire up terminal.app and <span style="color: #0000ff;">cd /etc/apache2<br />
<span style="color: #000000;">2&gt;</span> sudo pico httpd.conf<br />
<span style="color: #000000;">3&gt; Within httpd.conf, use ctrl-w and find LoadModule php<br />
4&gt; Uncomment LoadModule php5_module and LoadModule fastcgi_module lines<br />
5&gt; Right below that, add the following 2 lines:</span></span></p>
<p><span style="color: #0000ff;">AddType application/x-httpd-php .php<br />
</span><span style="color: #0000ff;">AddType application/x-httpd-php-source .phps</span></p>
<p>6&gt; Save httpd.conf and close pico.</p>
<p>7&gt; Goto System Preferences &gt; Sharing and check the box for &#8220;Web Sharing&#8221;.</p>
<p>8&gt; At this point, there should be a main machine website (http://localhost) and user(s) sites (http://localhost/~user)</p>
<p>9&gt; Create a simple php file, containing the phpinfo() function, to see what is available within php.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=84</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>All your post are belong to us</title>
		<link>http://jeffeske.com/blog/?p=82</link>
		<comments>http://jeffeske.com/blog/?p=82#comments</comments>
		<pubDate>Wed, 06 Jan 2010 18:43:46 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=82</guid>
		<description><![CDATA[A test post from my new DROID phone]]></description>
			<content:encoded><![CDATA[<p>A test post from my new DROID phone</p>
<div align="left"></div>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=82</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Overcoming Terminal Server &#8220;Terminal server has exceeded maximum number of allowed connection&#8221; problem</title>
		<link>http://jeffeske.com/blog/?p=77</link>
		<comments>http://jeffeske.com/blog/?p=77#comments</comments>
		<pubDate>Fri, 26 Jun 2009 14:43:12 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=77</guid>
		<description><![CDATA[Since Windows server only gives you 2 remote connections, it&#8217;s easy to end up &#8220;locked out&#8221; of the server.  To overcome that, you can actually use a third remote connection that allows you to get in and kill the other offending connections. On Linux type: rdesktop -0 1.2.3.4 where 1.2.3.4 is the ip address of [...]]]></description>
			<content:encoded><![CDATA[<p>Since Windows server only gives you 2 remote connections, it&#8217;s easy to end up &#8220;locked out&#8221; of the server.  To overcome that, you can actually use a third remote connection that allows you to get in and kill the other offending connections.</p>
<p>On Linux type:</p>
<p>rdesktop -0 1.2.3.4</p>
<p>where 1.2.3.4 is the ip address of the server that you want to connect to.  Obviously, you need to have rdesktop installed and it should be a fairly recent version.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=77</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting an external USB drive from the command line</title>
		<link>http://jeffeske.com/blog/?p=75</link>
		<comments>http://jeffeske.com/blog/?p=75#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:27:26 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=75</guid>
		<description><![CDATA[The easiest way to mount an external USB drive from the commandline is: sudo mount -t ntfs-3g /dev/sdc1 /media/red -o umask=0000 This actually sets it up so that&#8217;s completely readable/writeable by anyone.]]></description>
			<content:encoded><![CDATA[<p>The easiest way to mount an external USB drive from the commandline is:</p>
<p><em>sudo mount -t ntfs-3g /dev/sdc1 /media/red -o umask=0000</em></p>
<p>This actually sets it up so that&#8217;s completely readable/writeable by anyone.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=75</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Manually Update Time Via ntpdate</title>
		<link>http://jeffeske.com/blog/?p=73</link>
		<comments>http://jeffeske.com/blog/?p=73#comments</comments>
		<pubDate>Wed, 24 Jun 2009 16:22:09 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=73</guid>
		<description><![CDATA[To update the server time, type: sudo ntpdate -b pool.ntp.org]]></description>
			<content:encoded><![CDATA[<p>To update the server time, type:</p>
<p>sudo ntpdate -b pool.ntp.org</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=73</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fixing Adding New User to OpenDocMan</title>
		<link>http://jeffeske.com/blog/?p=68</link>
		<comments>http://jeffeske.com/blog/?p=68#comments</comments>
		<pubDate>Fri, 12 Jun 2009 17:10:35 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=68</guid>
		<description><![CDATA[For me, OpenDocMan wouldn&#8217;t allow me to add new users.  It turns out that the SQL query was wrong.  Since the first field, id,  is set as &#8216;autoincrement&#8217;, it&#8217;s handled by the database directly, so there should be no reference to it in the query.  It may just be my installation that it doesn&#8217;t work [...]]]></description>
			<content:encoded><![CDATA[<p>For me, <a href="http://www.opendocman.com">OpenDocMan</a> wouldn&#8217;t allow me to add new users.  It turns out that the SQL query was wrong.  Since the first field, id,  is set as &#8216;autoincrement&#8217;, it&#8217;s handled by the database directly, so there should be no reference to it in the query.  It may just be my installation that it doesn&#8217;t work on, I don&#8217;t know.  Anyway, here&#8217;s what I did to get it to work.  You need to remove a couple of things from one of the pages &#8211; commitchange.php</p>
<p>Firstly, change $query = &#8220;INSERT INTO user (<em><strong>id,</strong></em> username, password,etc.<br />
to read</p>
<p>$query = &#8220;INSERT INTO user (username, password,etc.</p>
<p>Notice that id and the comma are removed.</p>
<p>Secondly, change VALUES(<strong>&#8221;,</strong> &#8216;&#8221;. addslashes($_POST[</p>
<p>to read</p>
<p>VALUES( &#8216;&#8221;. addslashes($_POST[</p>
<p>Notice that the single quotes and comma are removed, just after the parentheses.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=68</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To Manually Reset the Admin Password in WordPress</title>
		<link>http://jeffeske.com/blog/?p=66</link>
		<comments>http://jeffeske.com/blog/?p=66#comments</comments>
		<pubDate>Fri, 12 Jun 2009 16:27:04 +0000</pubDate>
		<dc:creator>Jeff Eske</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeffeske.com/blog/?p=66</guid>
		<description><![CDATA[In case of Brain-fart, use the instructions below to reset the admin password in WordPress.  It needs to be done through phpMyAdmin, MySQL query browser, or some such place that allows you to run SQL commands. update wordpress.wp_users set user_pass = MD5(&#8216;new_password&#8217;) where user_login = &#8216;admin&#8217;]]></description>
			<content:encoded><![CDATA[<p>In case of Brain-fart, use the instructions below to reset the admin password in WordPress.  It needs to be done through phpMyAdmin, MySQL query browser, or some such place that allows you to run SQL commands.</p>
<p>update wordpress.wp_users<br />
set user_pass = MD5(&#8216;new_password&#8217;)<br />
where user_login = &#8216;admin&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://jeffeske.com/blog/?feed=rss2&amp;p=66</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
