<?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; Linux</title>
	<atom:link href="http://www.nerdscene.com/tag/linux/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>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>
		<item>
		<title>The current state of most Linux distributions sucks!</title>
		<link>http://www.nerdscene.com/2007/03/19/17/</link>
		<comments>http://www.nerdscene.com/2007/03/19/17/#comments</comments>
		<pubDate>Mon, 19 Mar 2007 06:33:36 +0000</pubDate>
		<dc:creator>Eli Sand</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux distribution]]></category>
		<category><![CDATA[Loonix]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Slackware]]></category>

		<guid isPermaLink="false">http://www.hoktar.com/archives/32</guid>
		<description><![CDATA[I&#8217;m sorry to say, but it&#8217;s true. The current state of most of the potentially great Linux distributions is disgusting. I don&#8217;t even know if the maintainers of the distributions are aware that they have a problem or not, but they do &#8211; and it&#8217;s a big one. I&#8217;ve been using Linux for many, many [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m sorry to say, but it&#8217;s true.  The current state of most of the potentially great Linux distributions is disgusting.  I don&#8217;t even know if the maintainers of the distributions are aware that they have a problem or not, but they do &#8211; and it&#8217;s a big one.</p>
<p>I&#8217;ve been using Linux for many, many years and I have used quite a few of the various distributions of Linux available over those years and have never been happy with any of them.  I started off using Slackware about 9 years ago and just didn&#8217;t know enough about Linux back then to be aware of how much of a mess that installation was &#8211; but it was <em>bad</em>.  After a while of upgrading the system manually (packages referred to grabbing the .tar.gz manually and reading up on how to configure and make the entire thing yourself back then), I was quickly aware of how much crap was on the system that just didn&#8217;t need to be there.<br />
<span id="more-17"></span><br />
I eventually put my brains where my mouth was and got to work making my own distribution &#8211; straight from the ground up.  I literally started with a blank drive and compiled everything I needed to boot the system.  I figured out what packages I needed to boot and worked my way up, reading the documents of <em>every</em> package completely so that I could tweak everything to exactly how I wanted them to work (within the realms of how the programs were made to work of course).  About a year and a half later, I had everything a basic web/mail/dns/ftp server needed, and every single service was <em>perfectly</em> configured &#8211; I made every configuration file by hand and made sure that each and every program was stripped down to what was needed and all the junk was pruned out &#8211; it was perfect and I was finally in heaven with a Linux distribution I could use, tolerate and be proud of using.</p>
<p>It had one massive drawback though &#8211; it had no package maintenance at all.  Everything had to be compiled by hand.  I kept my configure lines and tweaks in a file so I could look back on exactly how I installed something, and I&#8217;d spend the time to read up on any new changes a package had before upgrading which could sometimes take days to get right.  At first I didn&#8217;t know any better though, because there really weren&#8217;t any good package systems that weren&#8217;t customized to one distribution or another.  RedHat had it&#8217;s RPMs, and a few others adopted that package system but made it their own &#8211; but RPMs didn&#8217;t impress me much and I didn&#8217;t have time to see if they&#8217;d suit my needs or not, not to mention by the time I was looking for package systems, the requirement was already far too great and the distribution was seriously lagging behind in updates.</p>
<p>As it sits now, the distribution is sadly pretty much dead.  Using an old 2.4 kernel and horribly old versions of everything else, I just haven&#8217;t bothered to touch it any more.  I had been using this distribution in production for a while and my friends and I were evaluating newer distributions for replacing these older systems.  We ended up deciding on Gentoo since it was pretty lean on initial install and it&#8217;s package maintenance system (portage) was pretty sleek.  It also used source packages too, so you compiled everything on install which was good for security and stability of a server.  I figured if I were to figure out how Gentoo worked and how I could make it as tolerable as possible, I&#8217;d have to switch to using it on my own servers too &#8211; so I did.</p>
<p>However, as impressed as I was with Gentoo, I was also still sad to have to give up my shiny perfect distribution.  Gentoo is rather easy to upgrade using emerge and the various other toys that portage comes with, but the problems were easily apparent right off the bat; too many developers working on different areas and nobody really communicating between one another to set up some <em>good, solid, organized standards</em>.  You get some core stuff with might have some sense of commonality when you look at the various configuration files and methods of installation, but then you go installing other common packages and notice that their maintainers chose a different way to put things together.  What you end up with is a nasty dis-organized mess, and it&#8217;s really not fun to look at (or am I the only one who runs ls on almost every directory?).</p>
<p>Having what I call a &#8220;messy&#8221; server is an administrators worst nightmare, but I bet that 90% of the self-proclaimed &#8220;administrators&#8221; out there are completely oblivious to the mess they wade through every day (if they even touch their servers that often).  Personally, I can&#8217;t stand it.  It aggrivates me to no end having to wonder why my default install of Gentoo has an &#8220;apache&#8221; user and group, yet Apache is nowhere to be found on my system <em>because I didn&#8217;t install it</em> &#8211; and that&#8217;s just the tip of the iceberg.  I know that given enough attention, Gentoo could be an amazing server platform &#8211; but it really does need a lot of attention.  They need to come up with strict guidlines and rules for all contributors as to how packages will be installed, where their files will go, etc&#8230;  It&#8217;s no small task either, but I know that if I can do it in 1.5years for the first time, a whole team of developers should be able to do it in much less, and come up with some really cool stuff.</p>
<p>I&#8217;m sure I&#8217;m just ranting in the wind here, but who knows &#8211; maybe something will come of this.  I really hope that someone high up in Gentoo reads this and I&#8217;m given a chance to go in to more detail about all this, and I hope even more that they take my suggestions to heart and actually do something with them so that perhaps down the road some time Gentoo will look better than an LFS system from every angle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nerdscene.com/2007/03/19/17/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

