{"id":630,"date":"2006-04-09T11:24:47","date_gmt":"2006-04-09T11:24:47","guid":{"rendered":"http:\/\/jasonbassford.com\/?p=630"},"modified":"2021-11-12T20:11:30","modified_gmt":"2021-11-13T01:11:30","slug":"the_road_to_hel","status":"publish","type":"post","link":"https:\/\/www.jasonbassford.com\/index.php\/2006\/04\/09\/the_road_to_hel\/","title":{"rendered":"The war is over.   Aside from frayed nerves, there were no casualties."},"content":{"rendered":"<p>Just last week, I was locked in a life and death battle with my Internet server for several days.  During that time, my connection to the outside world was cut off.  Here&#8217;s what happened.<\/p>\n<p>About week ago (it was a Friday) Michelle noticed a message on my workstation saying that &#8220;a network cable has been unplugged&#8221; and that she could no longer get on the Internet.  I came home, power-cycled the workstation, and everything seemed to be okay after that.  Then, on Sunday, it happened again.  No amount of power-cycling, or anything else, could fix it this time.  The light on the hub for the NIC simply refused to go on.  In other words &#8211; my onboard Gigabit Marvell had died.<\/p>\n<p>We went out shopping &#8211; but all of the computer stores proper were closed at that time of day.  A stop at Future Shop, and me asking if they had any Intel Gigabit NICs, resulted in some young sales guy saying, &#8220;Oh, yes, we used to &#8211; but I don&#8217;t see them here now &#8211; and, gigabit &#8211; that&#8217;s awfully fast &#8211; why do you need something that fast?&#8221;  (No doubt implying that the stock of 10\/100 Mb cards, which <i>were<\/i> on the shelves, would be fast enough for anybody.  Or &#8211; at least fast enough for him to make a sale.  We quickly left there and went to our regular store &#8211; Staples.  I&#8217;m not sure why we went to Future Shop in the first place.<\/p>\n<p>I found a Gigabit card there.  It was a D-Link DGE-530T.  At that point, I paused mentally and considered things.  There was also a 5-port Gigabit switch.  Plus, a couple more of the NICs.  Perusing the back of the box, I saw that the NIC was also supposed to work with Linux.  I decided to go ahead and upgrade my entire network to Gigabit speed.  So, I bought a second NIC  (for the Linux server) and the high speed switch.  In addition &#8211; just because I knew I was throwing down a bunch of cash I hadn&#8217;t really intended on doing prior to waking up that morning, and I was in a &#8220;What the hell?&#8221; kind of mood &#8211; I grabbed one of the new Microsoft ergonomic 4000 keyboards.  (The keyboard ended up being a wonderful purchase.  I&#8217;ve been working with the old Microsoft ergonomic keyboard for years and have always like it better.  This new version is, I feel, as much better than the old one as the old one was better than a normal keyboard.  I love it.  I&#8217;ve requested one for work and, if it&#8217;s not approved, will simply by another one for myself there.)<\/p>\n<p>I got home, swapped out my old switch for the new one, disabled my defective on-board NIC, plugged in my new one, and booted up Windows.  Everything went just fine.  It found the new NIC, installed drivers for it, and I was back on the Internet again.  (With a slight sour taste in my mouth that my onboard NIC had died in the first place &#8211; but it does happen from time to time and I just had to live with it.)<\/p>\n<p>Now I had a switch with one green light and two yellow lights.  The green indicated a Gigabit connection, the yellow a 100 Megabit connection.  The slower connections were coming from my Linux server &#8211; and also from Cogeco&#8217;s cable connection.  I couldn&#8217;t do anything about my ISP, obviously, but I still had a second D-Link in a box to put into the server.  So, I shut it down, put in the card, and then tried to compile the module for it.  That didn&#8217;t work &#8211; all I got was compile errors.  I went to the D-Link site and downloaded the source for the module directly, but this only resulted in the same thing.  Some Googling led me to believe that a newer kernel might fix this.<\/p>\n<p>So &#8211; I upgraded from the stock 2.4 kernel to the latest 2.6.  This gave me different set of errors, but it still failed to work.  I thought to myself that, perhaps, the OS itself was simply too old.  (I&#8217;d had RedHat Enterprise Linux 3 on there.)   So &#8211; I decided to upgrade it to Fedora Core 5.  The virtual machine, which has the real Internet presence and is actually running in a virtual machine on the physical box, uses Fedora Core 3 &#8211; and I&#8217;d actually planned on upgrading it to Fedora Core 5 at some point.  I also knew that GSX 3.2.1 wouldn&#8217;t properly support FC5 &#8211; either as host or guest &#8211; so I knew I had to switch over to the second beta of VMware Server.  But the first thing I had to do was upgrade the host to FC5.<\/p>\n<p>I had 7 CD-RWs and 2 DVD-RWs.  I&#8217;d already downloaded all of the CD ISOs for FC5, and the server didn&#8217;t have a DVD-ROM drive, just a regular CD-ROM drive.  I didn&#8217;t feel like having to rip my DVD-ROM drive out of my workstation and put it into my server.  (Anything involving wholesale cannibalism of parts, and multiple machines being operated on, I try to avoid if at all possible.)  So, I started to burn CDs.  The first one worked just fine &#8211; none of the others did.  I kept getting write errors.  So, I decided to go with DVD after all.  But I couldn&#8217;t get <i>that<\/i> to burn either.<\/p>\n<p>In the end, Glen convinced me to give Nero a try &#8211; thinking that the problem wasn&#8217;t the media but the burning software I&#8217;d been using (CDBurnerXP Pro).  It turned out that he was right &#8211; Nero had no problem burning at all.  I immediately deleted my old software, although with some regret since I always prefer to use freeware options where possible.  Now I could get both CDs and DVDs for FC5.  For some reason (a kind of &#8220;Well, why shouldn&#8217;t I be able to do this?&#8221; attitude) rather than just using a series of CDs, I started to investigate how I could use the DVD image without having to rip things apart.<\/p>\n<p>I started by discovering that I could put the ISO directly onto the server&#8217;s hard drive, and boot up (using the 1st CD, which I&#8217;d already burned) with &#8220;linux askmethod&#8221; to tell the install to grab the full disc image off of the hard drive.  Unfortunately, doing this required that the image <i>not<\/i> be on one of the partitions to which files would be written.  I knew I&#8217;d have to resize a partition and create a new one.  The System Rescue CD utility saw the partitions, but wouldn&#8217;t let me resize.  Partition Magic saw them and did let me resize.  I though I had things well in hand &#8211; until, at the beginning of the install, it aborted to say it couldn&#8217;t write to \/proc and that it would have to reboot the system.<\/p>\n<p>At that point in time, I had a non-functional server.  It would boot &#8211; but only into a minimal configuration without various filesystems mounted.  Further, as I attempted to &#8220;undo&#8221; my disk repartioning, I discovered that there were now errors on it.  Essentially, I&#8217;d screwed up my hard drive.  Luckily, I still have access to the data on the disc.  I booted using the System Rescue CD, mounted the partition with my data, gave it an IP address on my internal network, and copied my virtual machine (the only thing I really cared about from the server) over to my workstation.<\/p>\n<p>Once that was done, I knew I was going to have to wipe everything on the server and install from scratch.  Around this time, I discovered that, rather than installing from hard drive, I could have installed from HTTP and pointed it to my workstation&#8217;s Web server which was sharing out the FC5 files.  So &#8211; I did this.  (Rather than burning the remaining set of CDs or ripping things apart to use the physcal DVD.)  This started to work quite well &#8211; until it aborted because it couldn&#8217;t read from a file.  It turned out that my original DVD ISO download was, itself, corrupt.  (I&#8217;m thankful I <i>hadn&#8217;t<\/i> ripped things apart to get a DVD-ROM drive in the server &#8211; it wouldn&#8217;t have done me much good.)  I copied all of the files from the various CD ISOs onto my Web site.  This finally worked.  I only wish I&#8217;d realized I could have done this at the beginning of the whole process.<\/p>\n<p>I got Fedora installed on the server.  I then compiled the kernel source, compiled that resulting kernel, and got VMware Server installed and working.  I copied my virtual machine files back to the server, and was able to get everything else working.  (It wasn&#8217;t quite as simple as I make it out &#8211; I had to do several different things to make it all function properly &#8211; but, compared to everything else, it wasn&#8217;t that difficult.)<\/p>\n<p>So, I was back on the Internet &#8211; but I still didn&#8217;t have the Gigabit card activated.  The compilation of the modules still failed.  In the end, I discovered that I needed to build in support for an &#8220;skge&#8221; adapter &#8211; rather than the &#8220;sk98lin&#8221; that originally drove this device.  I had to query the kernel .config file to determine that to use &#8220;skge&#8221; I had to have  &#8220;New SysKonnect GigaEthernet&#8221; support enabled.  (You would think that there&#8217;d be better documentation for this, either in the material provided with the card, or on the D-Link Web site itself.)  Ironically, I&#8217;m sure I could have compiled this in while still using the old OS on the host &#8211; so I didn&#8217;t need to go through with the upgrade in the first place.  Of course, I hadn&#8217;t realized that at the time.<\/p>\n<p>But, in the end, this was a success, and I now have both my workstation and server operating at Gigabit speed.  I didn&#8217;t <i>have<\/i> to go through all of this grief (things would have kept working as before if all I&#8217;d done was replace my workstation NIC) but, as with most difficult processes, I learned a lot of very useful information by going through it all.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just last week, I was locked in a life and death battle with my Internet server for several days. During that time, my connection to the outside world was cut off. Here&#8217;s what happened. About week ago (it was a Friday) Michelle noticed a message on my workstation saying that &#8220;a network cable has been &#8230;<\/p>\n<p><a href=\"https:\/\/www.jasonbassford.com\/index.php\/2006\/04\/09\/the_road_to_hel\/\" class=\"more-link\">Continue reading &lsquo;The war is over.   Aside from frayed nerves, there were no casualties.&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-630","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/posts\/630"}],"collection":[{"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/comments?post=630"}],"version-history":[{"count":0,"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/posts\/630\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/media?parent=630"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/categories?post=630"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jasonbassford.com\/index.php\/wp-json\/wp\/v2\/tags?post=630"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}