<?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>www.nerdscene.com &#187; Windows Vista</title>
	<atom:link href="http://www.nerdscene.com/tag/windows-vista/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nerdscene.com</link>
	<description>bitching about everything, one post at a time...</description>
	<lastBuildDate>Tue, 06 Apr 2010 17:40:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Delete hiberfil.sys from the root of your Windows drive</title>
		<link>http://www.nerdscene.com/2010/04/02/157/</link>
		<comments>http://www.nerdscene.com/2010/04/02/157/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 19:30:56 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[hiberfil.sys]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[pagefile.sys]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=157</guid>
		<description><![CDATA[If you ever noticed the hiberfil.sys file in the root of your Windows system drive and wondered what it was and how to get rid of it, well here&#8217;s your answer! The hiberfil.sys file is used with the Windows Hibernate feature, and even if you modify your power plan and disable the hibernation features in [...]]]></description>
			<content:encoded><![CDATA[<p>If you ever noticed the hiberfil.sys file in the root of your Windows system drive and wondered what it was and how to get rid of it, well here&#8217;s your answer!</p>
<p>The hiberfil.sys file is used with the Windows Hibernate feature, and even if you modify your power plan and disable the hibernation features in there, the file will still be on your system.  The file size depends on the amount of RAM your system has, as it is used to dump some (or almost all) of the data in RAM on to your hard drive so it can enter a hibernation state.  For my system, since I have 4GB of RAM, the file was almost 4GB in size so it made sense to get rid of it if I wasn&#8217;t going to use Hibernation mode.<br />
<span id="more-157"></span><br />
To get rid of the hiberfil.sys file, open up an elevated (as in, Administrator) command prompt and simply type in:</p>
<p><code>powercfg -h off</code></p>
<p>This will turn off the Windows Hibernate features (including disabling them in your Power Options) and with it, delete the hiberfil.sys file from your system so you can reclaim some space (and it also helps with defragmentation of your drive, as it is a system file that cannot be moved; the same thing goes for pagefile.sys, which you can read about in my other article &#8220;<a href="/2010/03/31/143/">Give Windows a Swap partition with no drive letter</a>&#8220;).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/04/02/157/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows 7 GUI Design blights</title>
		<link>http://www.nerdscene.com/2010/04/02/147/</link>
		<comments>http://www.nerdscene.com/2010/04/02/147/#comments</comments>
		<pubDate>Fri, 02 Apr 2010 18:54:38 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[GUI Design]]></category>
		<category><![CDATA[Start Menu]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=147</guid>
		<description><![CDATA[I&#8217;ve been using Windows 7 Ultimate for just a few days, yet I&#8217;m already miffed by a few glaringly obvious oversights in the design of some of the most often seen parts of the GUI; the Start Menu. As you can see in this screenshot, there are two particular areas which I consider design oversights [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using Windows 7 Ultimate for just a few days, yet I&#8217;m already miffed by a few glaringly obvious oversights in the design of some of the most often seen parts of the GUI; the Start Menu.</p>
<p><img class="alignleft size-medium wp-image-148" title="Windows 7 Start Menu" src="http://www.nerdscene.com/wp-content/uploads/2010/04/win7gui-300x290.png" alt="" width="300" height="290" /></p>
<p>As you can see in this screenshot, there are two particular areas which I consider design oversights when they were apparently overhauling the GUI to make it look nicer.  First is the appearance of the &#8220;menu&#8221; displayed when I expand &#8220;Computer&#8221; (it would be the same for any folder &#8211; I just have the others set to act as links, not menus).  It appears as though they decided to use a generic Windows &#8220;context menu&#8221; container to display the file list, however you would figure that for the nice and fancy new Start Menu that they could have put a bit more &#8220;love&#8221; in there and made it look more integrated (such as you&#8217;ll get if you were to expand one of the items in the Start Menu list such as &#8220;Sticky Notes&#8221; or &#8220;Windows Virtual PC&#8221; in this particular screenshot).  I think it would have made it look <strong>much</strong> nicer, complete, and more thought out.<br />
<span id="more-147"></span><br />
The second pin in my rear is the redesigned Shutdown button and it&#8217;s corresponding context menu.  It&#8217;s just plain horrid!  Why couldn&#8217;t they have made it look the same as the other items above it like the &#8220;Computer&#8221; item for example?  Or, heck, bring back the much more pleasant-looking Vista Shutdown buttons &#8211; those were well designed and I think more intuitive at quick glance; simple red power-symbol button, or having to read &#8220;Shutdown&#8221; in an ugly, oddly-sized button &#8211; what&#8217;s your pick?</p>
<p>Perhaps I will spend a few minutes and try to mock-up what I think would look nicer, though honestly I doubt anyone from the Microsoft Windows GUI team will ever come across this post, let alone this site <img src='http://www.nerdscene.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/04/02/147/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Give Windows a Swap partition with no drive letter</title>
		<link>http://www.nerdscene.com/2010/03/31/143/</link>
		<comments>http://www.nerdscene.com/2010/03/31/143/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 18:06:47 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[hiberfil.sys]]></category>
		<category><![CDATA[Page File]]></category>
		<category><![CDATA[pagefile.sys]]></category>
		<category><![CDATA[Swap]]></category>
		<category><![CDATA[Virtual Memory]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=143</guid>
		<description><![CDATA[Are you a fan of how Linux (Unix) allows you to designate an actual hard drive partition to swap space? Ever wished that Windows would let you do something similar, instead of having to either store it on the same partition as Windows, or have to designate an actual drive letter to another partition just [...]]]></description>
			<content:encoded><![CDATA[<p>Are you a fan of how Linux (Unix) allows you to designate an actual hard drive partition to swap space?  Ever wished that Windows would let you do something similar, instead of having to either store it on the same partition as Windows, or have to designate an actual drive letter to another partition just for swap?</p>
<p>For the longest time ever, I always wished that you could do more than just move your Windows swap file (pagefile.sys) to another drive letter.  First of all, having to assign a drive letter to the partition you want purely for storing the Windows page file really sucks because then that means the drive letter shows up in explorer (sure, you can hide drive letters, but you&#8217;ve still wasted a drive letter on the partition).  Second of all, if you think you&#8217;re being smart by creating a partition at the root of your drive during Windows installation, chances are you kicked yourself after going through the install only to realize that it assigned that partition the letter &#8220;C:&#8221; and now Windows is installed on &#8220;D:&#8221; (good luck getting out of that scenario &#8211; I&#8217;d recommend just redoing the install entirely; trust me it saves you a ton of headaches).<br />
<span id="more-143"></span><br />
Well, since I just got my fancy copy of Windows 7 Ultimate, I figured I would see what I could do finally about this situation.  Upon booting up the Windows 7 DVD, I went through the installer up to picking the partition I wanted to install Windows 7 on to.  I clicked the Advanced button so I could delete all my existing partitions and set the drive up the way I wanted.  With an entirely blank drive, I began by creating a single partition on the drive (entire drive).  This let the installer create the special &#8220;System Reserved&#8221; partition that it wanted.  I then selected the other partition it made and deleted that and then created a new partition the size I wanted for my swap.  I have 4GB of ram on this system so I want at least double that, plus I may want extra space for something else eventually so I went for a 16GB partition.  Next, I created the last partition with the rest of the drive space; this is my Windows partition (C: drive).  I selected the Windows partition and clicked Format (do *not* do this for the Swap partition yet!).</p>
<p>The next step was where some of the nerd-magic came in.  I backed out of the installer at this point and got back to the main window and clicked on the Recovery link near the bottom.  From there I selected the top radio button and then on the next screen I selected the Recovery Console.  Once in the console I ran &#8220;diskpart&#8221; to let me tinker with the partitions I had just created.  Using diskpart isn&#8217;t too complicated.  You can type in &#8220;help&#8221; to get a list of the commands you can use; it&#8217;s not overly complex if you come from a Linux background and you&#8217;re used to using fdisk.  I selected the Swap partition (volume) I had made earlier and ran &#8220;ATTRIBUTES VOLUME SET NODEFAULTDRIVELETTER&#8221;.  This prevents the system from automatically assigning drive letters to any partitions on this drive &#8211; it will still assign &#8220;C:&#8221;, however the Swap partition will not get a letter.  Once that was done, I made sure to list out the volumes just to be sure it didn&#8217;t already have a drive letter (it shouldn&#8217;t since we didn&#8217;t format it yet).  I then closed the console, and closed the window with the recovery choices (this brings you back to the start &#8211; you don&#8217;t have to click Shutdown or Restart!).  I then went back through the installation process, selected my Windows partition I had created and let it install Windows 7 to the drive.</p>
<p>After finishing the Windows install and logging in, I thought about how I would actually go about using that Swap partition for the page file without giving it a drive letter.  I decided to search the registry for &#8220;pagefile.sys&#8221; to see what I could come up with and I found that the only real occurrence of it is in &#8220;HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\&#8221;.  There are two keys in there, PagingFiles and ExistingPageFiles, which reference pagefile.sys and that&#8217;s about it.  Obviously ExistingPageFiles is not a key we want to modify, however PagingFiles is.</p>
<p>So here&#8217;s where the real brains came in to help&#8230; I went in to Disk Management and selected the unformatted Swap partition I had created and formatted it as NTFS (with 32k blocks &#8211; we don&#8217;t need small blocks here&#8230; the bigger the better for performance).  Then, I opened up Explorer and decided I would have this partition mounted to &#8220;C:\Windows\Pagefile&#8221; &#8211; yup, I&#8217;m mounting it to a <em>path</em>, not a drive letter!  So, I created the directory and then went in to it&#8217;s security permissions.  I removed all the inherited permissions and set the following permissions on it: TrustedInstaller (&#8220;NT Service\TrustedInstaller&#8221; is the account name you must type in to make that work) got full access, SYSTEM got full access and Administrators got Read &#038; Execute access.  I then went and changed the Owner to TrustedInstaller as well.  Once you do this, you won&#8217;t be able to access the folder even as an Administrator &#8211; but that&#8217;s what we want since we don&#8217;t want anything having any access to pagefile.sys except the system itself.</p>
<p>I then went back in to Disk Management and again selected the Swap partition and went in to &#8220;Change Drive Letter and Paths&#8230;&#8221;, clicked Add&#8230; and set it to mount to the &#8220;C:\Windows\Pagefile&#8221; folder I had created.  I made sure to confirm that the process had worked successfully (basically just went back in to make sure it was listed in the &#8220;Change Drive Letter and Paths&#8230;&#8221; dialog box).  Now that I had my Swap partition mounted to the directory, I just had to change where pagefile.sys would be written (and erase the old pagefile.sys file).  I opened up regedit, went to &#8220;HKLM\System\CurrentControlSet\Control\Session Manager\Memory Management\&#8221; and double clicked the PagingFiles key to modify it.  This registry entry allows for multiple pagefiles to be specified, one per line.  The 3 different formats it can have are rather simple to understand after having examined it in different configurations.</p>
<ul>
<li>The first mode is having Windows manage pagefile.sys for you; the drive letter is specified with &#8220;?&#8221; to denote that it is whatever drive letter Windows is installed on and then the full path to pagefile.sys is specified (eg &#8220;?:\Windows\Pagefile\pagefile.sys&#8221;).</li>
<li>The second mode is managing the location of pagefile.sys yourself, but having Windows manage it&#8217;s size; the full path to pagefile.sys is now specified including the drive letter, and then we add two zeros separated by spaces to denote a dynamic minimum and maximum size for pagefile.sys growth (eg &#8220;C:\Windows\Pagefile\pagefile.sys 0 0&#8243;).</li>
<li>The third mode is managing pagefile.sys entirely on our own; The full path to pagefile.sys is specified, and then we specify an absolute minimum and maximum size for the file in MB (eg &#8220;C:\Windows\Pagefile\pagefile.sys 6144 10240&#8243;).</li>
</ul>
<p>I chose the third method since after some experimenting it appears as though this is the most compatible with the Virtual Memory settings in Windows.  Using the first method, Windows doesn&#8217;t <em>appear</em> to know where pagefile.sys is or that it is supposed to be managing it for us.  Using the third method, it knows that pagefile.sys is indeed located on our &#8220;C:&#8221; drive and that there are explicit minimum and maximum growth limits specified.  It may be only visual, but I didn&#8217;t want to chance it with my virtual memory (since running in to the problem when I would need my virtual memory would be a very bad thing).</p>
<p>Finally, to make sure the existing pagefile.sys was deleted (properly), I opened up &#8220;Local Security Policy&#8221; from the &#8220;Administrative Tools&#8221; control panel.  I navigated to &#8220;Local Policies\Security Options&#8221; and scrolled down near the bottom of the list to find &#8220;Shutdown: Clear virtual memory pagefile&#8221; and simply enabled the option.  This would take care of deleting the page file at shutdown for me.</p>
<p>That was about it &#8211; next was taking a leap of faith and hoping that when I rebooted, everything would still work!  So, I crossed my fingers and hit restart and watched as my hard drive light went nuts as it deleted the current pagefile.sys before rebooting.  Once my system came back up I went in to Disk Management, right clicked the Swap partition and clicked Properties.  I checked to make sure there was some space being used up just to confirm that pagefile.sys was now being stored there instead of my Windows partition &#8211; and it was!  All I had left to do was go back in to &#8220;Local Security Policy&#8221; and disable the &#8220;Shutdown: Clear virtual memory pagefile&#8221; setting.</p>
<p>I had finally done it &#8211; I had created a separate partition for Windows to store its page file without having to resort to assigning a drive letter.  So far, the only drawback seems to be that if you go in to your system settings to manage your Virtual Memory, it gets a bit confused and indicates that there is no paging file set on your &#8220;C:&#8221; drive &#8211; which I suppose is now technically correct&#8230; but I wonder what might happen if Windows tries to allocate more space than is available in the Swap partition for Virtual Memory&#8230;  I think I may have to peek at some more registry entries to see if I can set the min/max values for Virtual Memory so that can&#8217;t happen.</p>
<p>If you&#8217;re also wondering about how to deal with the hiberfil.sys file in the root of your Windows drive, you can read up on that in my other post &#8220;<a href="/2010/04/02/157/">Delete hiberfil.sys from the root of your Windows drive</a>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2010/03/31/143/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows Bluetooth driver updates</title>
		<link>http://www.nerdscene.com/2009/08/12/118/</link>
		<comments>http://www.nerdscene.com/2009/08/12/118/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:20:11 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Broadcom]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows Vista]]></category>

		<guid isPermaLink="false">http://www.nerdscene.com/?p=118</guid>
		<description><![CDATA[If you&#8217;ve ever tried to get a Bluetooth headset to work in Windows Vista, you know you&#8217;re in for a world of hurt if you want to try and make it work with the existing Microsoft Bluetooth stack. You have to steal drivers from other manufacturers or basically just give up and switch to using [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever tried to get a Bluetooth headset to work in Windows Vista, you know you&#8217;re in for a world of hurt if you want to try and make it work with the existing Microsoft Bluetooth stack.  You have to steal drivers from other manufacturers or basically just give up and switch to using the Broadcom WIDCOMM Bluetooth drivers.</p>
<p>For the longest time I refused to use the WIDCOMM drivers because their look and feel was stuck in the Windows XP days &#8211; it wasn&#8217;t horrible, but it didn&#8217;t integrate nicely in with Vista and it completely took over the Bluetooth stack which I didn&#8217;t want to do because I was afraid it would prevent my Microsoft Wireless Entertainment Desktop 7000 (Bluetooth keyboard &amp; mouse combo) from working.</p>
<p>Well, the other day I decided to replace my old Plantronics Explorer 320 headset (Bluetooth 1.2) with a new Sony Playstation 3 Bluetooth headset (cheap, Bluetooth 2.1+EDR).  I went and paired up the new headset with Vista, however the sound was just as choppy as before and it really didn&#8217;t seem to be any better; those old Bluetooth Audio drivers I hacked in to Vista needed updating&#8230;<br />
<span id="more-118"></span><br />
I did a ton of searching and came across most of the same articles I found when I was first looking for drivers to add in A2DP/HFP/HSP Bluetooth profiles to the Microsoft Bluetooth stack.  I tried grabbing newer drivers for the Dell Notebook Bluetooth drivers, but those didn&#8217;t work at all.  I went searching for more drivers but they all seemed to be based on the same drivers (ironically all made by Broadcom).  As a last ditch effort, I went to Broadcom&#8217;s website and grabbed their latest driver download just to see if maybe I could extract the driver files and manually update my drivers without installing the whole thing.</p>
<p>As it turns out however, the new Broadcom WIDCOMM Bluetooth drivers aren&#8217;t a complete overwrite of the Windows Vista drivers &#8211; they appear to finally just throw in all the extra Bluetooth profile drivers that are missing from Microsoft&#8217;s Bluetooth stack.  I was quite surprised, as I thought I was hosing my system when I ran the installer to try and just extract the files; the Bluetooth control panel and other areas of Vista all appear just as they did before but with extra features now available!</p>
<p>I paired the new headset with my system and watched as the new drivers kicked in and made everything work perfectly.  Rather than being stuck with low-quality mono in/out from my headset, I now get to enjoy stereo sound and recording which makes a ton of difference in the audio quality from a Bluetooth headset.</p>
<p>So, if you&#8217;re looking to get your Bluetooth device working with Windows Vista or Windows 7 and it just won&#8217;t work &#8211; chances are you&#8217;re missing the required Bluetooth profile drivers and you should seriously consider installing the latest <a href="http://www.broadcom.com/support/bluetooth/update.php" target="_blank">Broadcom WIDCOMM Bluetooth drivers</a> which will update the existing Microsoft Bluetooth stack on your system.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2009/08/12/118/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The most confusing network problem ever!</title>
		<link>http://www.nerdscene.com/2007/05/15/23/</link>
		<comments>http://www.nerdscene.com/2007/05/15/23/#comments</comments>
		<pubDate>Tue, 15 May 2007 01:58:16 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[ActiveX]]></category>
		<category><![CDATA[cable modem]]></category>
		<category><![CDATA[D-Link]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet access]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MTU]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[network card]]></category>
		<category><![CDATA[NIC]]></category>
		<category><![CDATA[Realtek]]></category>
		<category><![CDATA[Rogers]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Vista]]></category>
		<category><![CDATA[Windows XP]]></category>
		<category><![CDATA[wireless router]]></category>
		<category><![CDATA[workstation]]></category>

		<guid isPermaLink="false">http://www.hoktar.com/archives/38</guid>
		<description><![CDATA[I&#8217;ve spent the last week with a very very odd networking problem, and all my attempts at figuring it out and fixing it have yielded nothing but more questions than answers. I first noticed the problem after having taken my network apart because I got a new Rogers VOIP cable box (Rogers Home Phone service) [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve spent the last week with a very <em>very</em> odd networking problem, and all my attempts at figuring it out and fixing it have yielded nothing but more questions than answers.</p>
<p>I first noticed the problem after having taken my network apart because I got a new Rogers VOIP cable box (Rogers Home Phone service) added, and I opted to hook it up myself so I could do a nice wiring job.  I got that done and hooked everything back up just the way it was &#8211; powered on my firewall/server box, cable modem and router all hooked up just they were before.  Things seemed normal until I tried to go to windowsupdate.microsoft.com and my browser stalled half way trying to load it up &#8211; refreshes wouldn&#8217;t help much, sometimes it would get a bit further, but it never got to loading the ActiveX part of it.  Other sites were working fine though which was really confusing.</p>
<p>I thought maybe Windows XP was pwned or something, so I tried Vista &#8211; it worked which led me to think XP was in trouble &#8211; so I spent countless hours searching for anything &#8211; something &#8211; that I thought might be the cause.  I tried fixing *everything* from network stacks, registry, hardware, drivers, WSH reinstall &#8211; you name it.  Nothing worked.  Then I noticed file transfers were very slow for uploads through XP <em>and</em> Vista, so I got to tinkering with stuff to figure that out.<br />
<span id="more-23"></span><br />
Eventually I came to messing with cables and I thought maybe my wireless router was to blame.  I reset it to factory defaults and set it up again, but it made no difference.  So then I tried tinkering with how my network was routed.  My network <em>was</em> set up as such: Internet -&gt; cable modem -&gt; linux firewall box -&gt; router -&gt; workstations.  That configuration used to be working fine until now.  After running various different setups, the following setups work fine:  Internet -&gt; cable modem -&gt; workstation; Internet -&gt; cable modem -&gt;router -&gt; workstations; Internet -&gt; cable modem -&gt; router -&gt; linux firewall box -&gt; workstation.</p>
<p>That final configuration is what really has me boggled &#8211; if the router itself works, and the workstation to the server to the router works, why doesn&#8217;t the workstation to the router to the server work?  I thought maybe it was some upgrade I had done to the box (which is running Gentoo), so I rebuilt every program on the system, recompiled the kernel, made sure iptables (which does masquerading from one nic out the other to the cable modem normally) was set up right and even tried upgrading and downgrading iptables versions &#8211; all met with no change in the problem.  I even checked stuff like IPv4 forwarding, made sure ECN was disabled and not compiled in the kernel &#8211; I honestly don&#8217;t know what else it could be.  Yes, I *even* made new cables just in case the other ones I had started to fray a bit in the ends.</p>
<p>So, I&#8217;m sitting here now, using my wireless router to handle the cable modem DHCP and my linux server just hanging off the router along with the workstations &#8211; not the setup I want, but at least sites are working.  I just hope someone reads this and has a clue as to what the hell might be going on to cause this problem!  It&#8217;s driving me f-ing nuts and I want it figured out so I can fix it! <img src='http://www.nerdscene.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><em><strong>*UPDATE*</strong></em></p>
<p>After having just given up on the problem after a week or so of messing around, I finally went and baselined the server to get a fresh Gentoo install on it since it really did need one, and I kinda hoped that it would fix the problem as well.  Unfortunately it didn&#8217;t &#8211; it was just as bad as before&#8230; however this gave me the final piece of the puzzle to really nail down what the hell was going on (oh, and I had baselined my workstation too with a fresh install of Vista Ultimate).</p>
<p>So, I had 2 fresh OS installs, a network cable I knew worked, a router I knew worked&#8230; the thing left was the network cards in use.  I was pretty sure the one in my workstation was OK since it worked fine without the server in the way.  As for the server &#8211; when I put it all back the way I wanted, I noticed that I&#8217;d experience lag &#8220;spikes&#8221; on my SSH terminal (to/from traffic out to the net seemed to be on/off as well, and consistently *slow*).  The only odd thing was that neither network card on the server was reporting *any* errors.</p>
<p>Outbound to the Internet from the server itself seemed fine, coupled with the local lag spikes I was encountering&#8230; I figured perhaps it&#8217;s the local network card on the server despite no errors.  They were both $10 Realtek NIC&#8217;s I bought over 6 years ago and I had one die on me unexpectedly before in my workstation (and then it decided to work again months later when I forgot it was busted and swapped it in to a system).  So, since I had onboard with my workstation and Vista had drivers for it, I took out my other NIC from there and removed the local NIC on my server and replaced it with the one from my workstation.  Power everything back on, check to make sure things are running right and <em><strong>presto</strong><strong>!</strong></em></p>
<p>So, next on my shopping list are two new $23 (ooh, I&#8217;m upgrading in price!) D-Link 530&#8242;s to replace those crappy Realtek&#8217;s.  I&#8217;m wondering if I&#8217;ll notice an over-all speed increase from swapping them both out too &#8211; that&#8217;d be a nice little bonus.</p>
<p><em><strong>*2nd UPDATE*</strong></em></p>
<p>It&#8217;s been a while and things were going OK, however I started noticing that my ISP POP3 account was lagging out horribly whenever I&#8217;d check for email, and also uploads were going slow again.  I thought &#8220;crap, the damned problem is still there&#8221;, which it was &#8211; it never really went away.  I went out and got 2 replacement D-Link DGE-530T cards (gigabit nic&#8217;s) which also support VLAN and other fancy stuff.  Initially I had just the one card and replaced the outbound NIC hoping it was just that one (this is the one I didn&#8217;t replace yet).  It didn&#8217;t seem to make any difference.  I then got the other NIC, and swapped it in and even switched power supplies with a beefier one I had laying around from an old system (had to cannibalize a replacement fan for it since I had yanked the one out of the new power supply for a case fan in my desktop).  I figured two new cards and a stable power supply should do the trick&#8230; but nope, still didn&#8217;t make a difference!</p>
<p>I figured the last thing I could play with were the MTU settings &#8211; I had noticed a while back that my outbound card on the server was getting 576 from the cable modem, and my internal LAN had it&#8217;s usual 1500.  I thought that Linux would just gracefully handle the additional packet info and split it up accordingly and deal with it for me &#8211; I mean after all, this problem wasn&#8217;t apparent since I&#8217;ve first had the cable modem.  Even so, I figured what the hey &#8211; chop off 16 bits (8 for the wireless router, another 8 for the server &#8211; just to be sure) and give it a whirl.  So I set my server&#8217;s internal connection to have an MTU of 560, and the same for the router&#8217;s WAN port which goes to the server.  Give it a shot and what do you know &#8211; full upload speed!</p>
<p>So, after *all* this headache, all I had to do was tweak my MTU settings!  I figure that when they came and installed my VOIP home phone service that they changed the cable modem&#8217;s MTU setting, either that or just coincidence that on that day, the ISP lowered the MTU setting enough to cause a noticable problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2007/05/15/23/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

