{"id":1767,"date":"2010-12-29T17:22:13","date_gmt":"2010-12-29T21:22:13","guid":{"rendered":"http:\/\/w4kaz.com\/qth\/?p=1767"},"modified":"2011-01-06T13:23:42","modified_gmt":"2011-01-06T17:23:42","slug":"linux-progress-in-the-kazshack","status":"publish","type":"post","link":"http:\/\/w4kaz.com\/qth\/?p=1767","title":{"rendered":"Linux Progress In the KazShack"},"content":{"rendered":"<p>Given the plethora of P4 boxes showing up in recycle bins as companies migrate off of WinXP, a recent reclamation opportunity made it seem like a good time to save some landfill space and cobble together a Linux file server.\u00c2\u00a0 So with a scrap Dell GX280 in hand, the file server\/testbed project saw some attention.\u00c2\u00a0 Stuffing an extra couple of memory sticks into the obsolescent GX280 brought it up to 2GB.\u00c2\u00a0 The GX280 should be a very usable Ubuntu or WinXP platform with 2gb, so its a great shack backup too.\u00c2\u00a0 The limitation was the hard drive.\u00c2\u00a0 A spare 80gb drive is set up with WinXP, and an el-cheapo 500gb drive went in for the Ubuntu install.\u00c2\u00a0 Not phenomenal, but not bad for under $75USD.\u00c2\u00a0 Hell, it would have been useful without the upgrades.<\/p>\n<p>The Dell GX280 seems to be well supported by Ubuntu &#8211; all of the peripherals are up and running after the install, no hardware\/driver hacking required.\u00c2\u00a0 Installed Ubuntu 10.04(lts).\u00c2\u00a0 The GX280 is widely available as scrap.\u00c2\u00a0 Kind of like throwing away a good pre-1974VW Beetle was back in the 1980&#8217;s.\u00c2\u00a0 Not too sexy, but still serviceable enough for generic mundane uses.\u00c2\u00a0 Wish I had grabbed more of them[VW&#8217;s and GX280&#8217;s].\u00c2\u00a0 [Aside: Both my 1968 Beetle and my wife&#8217;s 1984 Honda Civic hatchback got better mileage(48mpg and 42mpg respectively) than today&#8217;s EcoWeenie &#8220;hybrids&#8221; get in real life usage.\u00c2\u00a0 Ain&#8217;t &#8220;progress&#8221; something to behold?]<\/p>\n<p>Networking the boxes turned out to be the biggest roadblock, and it is still an incompletely resolved situation.\u00c2\u00a0 That&#8217;s not related directly to the hardware, but to the mix-match of OS&#8217;s in the network.\u00c2\u00a0 The home experimentation network consists of Win7, WinXP, and Ubuntu 10.04 boxes.\u00c2\u00a0 All of the boxes can see the others.\u00c2\u00a0 The symbolic names are mostly useless, as only the XP and win7 boxes can access each other using the symbolic names[sometimes].\u00c2\u00a0 The linux boxes can share files, but only by using their IP addresses, even with the XP boxes.\u00c2\u00a0 Obviously user error setting up Samba shares.\u00c2\u00a0 Not a major issue when the router assigns the internal IP&#8217;s, providing an alternate route, but far from perfect.\u00c2\u00a0 Windows 7 isn&#8217;t playing nice with any of the others, probably related to the user security.<\/p>\n<p>So for the present, IP address&#8217; are the ticket.\u00c2\u00a0 Kludgy at best, but mapping the drives by IP address works across the platforms.\u00c2\u00a0 Not really any more difficult to use the IP&#8217;s.\u00c2\u00a0 Since they are mapped at the router, its probably easier to remember the box numbers anyway.\u00c2\u00a0\u00c2\u00a0 <em>&#8220;x.x.x.157 is what????&#8221;<\/em><\/p>\n<p>The good news is that setting up SSH on the Ubuntu platforms was simple enough that even a linux noob can figure it out.\u00c2\u00a0\u00c2\u00a0 <a href=\"http:\/\/www.cyberciti.biz\/tips\/linux-unix-bsd-openssh-server-best-practices.html\">SSH security tips are widely available.<\/a> With an X-window client and PuTTY installed on the windows side, any of the windows boxes can be used as remote desktops for the linux machines. That more or less eliminates the need for monitor\/keyboards or the use of a KVM with the X boxes. Nice to have, but not required.\u00c2\u00a0 So the file server can be stuffed into some nook or cranny down in the dungeon\/KazShack.\u00c2\u00a0 So far I&#8217;ve set up only two boxes as control consoles, one an Ubuntu desktop(using SSH), and the other the Win7 box I use most often(using PuTTY and an X-server).<\/p>\n<p>Having the Win7 box able to remote into the server gives the best of both worlds.\u00c2\u00a0 I can now tinker with the programming stuff on the Linux side directly from the windows desktop.\u00c2\u00a0 Geek Heaven.\u00c2\u00a0 Since ARRL finally added the CSV option back to the contest results, I can continue collecting the band breakdown data for the Sweepstakes contests.<\/p>\n<p>The next area of experimentation is to try out some VM&#8217;s.\u00c2\u00a0 I&#8217;m curious as to how much access a contest logging program might have to the required hardware interfaces[USB, serial, LPT] when it sits in a winXP VM being run on top of linux.\u00c2\u00a0 Since linux has good control of those hardware interfaces, in theory it should be possible.\u00c2\u00a0 Don&#8217;t know if the VM&#8217;s available are yet up to the task, but loggers are not really doing anything too exotic.\u00c2\u00a0 Might be possible, and it seems like a better overall approach than using WINE if the hardware has the extra horsepower needed.<\/p>\n<p>Given the dearth of Linux contest specific loggers, it might be the most practical approach. Since the major contest loggers are written in Visual Basic, it may be the only way to run those particular apps under Unix.<\/p>\n<p>Or maybe not&#8230;.<\/p>\n<p>Useful Stuff:<\/p>\n<ul>\n<li><a title=\"PuTTY windows secure shell client\" href=\"http:\/\/www.chiark.greenend.org.uk\/~sgtatham\/putty\/\">PuTTY<\/a><\/li>\n<li><a title=\"Xming - x-Windows server for windows PC's\" href=\"http:\/\/www.straightrunning.com\/XmingNotes\/\">Xming<\/a><\/li>\n<li><a title=\"PCmanFM- a good lightweight graphical file manager for use on Ubuntu Linux across SSH connection\" href=\"http:\/\/pcmanfm.sourceforge.net\/\">PCmanFM<\/a><\/li>\n<li><a title=\"SciTE- programmer editor that runs on either win or X\" href=\"http:\/\/www.scintilla.org\/SciTE.html\">SciTE<\/a> although it really is time to try installing <a title=\"Notepad++ - a really good generic editor for windows\" href=\"http:\/\/notepad-plus-plus.org\/online-help\">Notepad++<\/a> under WINE<\/li>\n<\/ul>\n<p><em><strong>Updated, 2011\/1\/6:<\/strong><\/em> The Notepad++ portable app seems to work perfectly well using WINE in Ubuntu 10.04.\u00c2\u00a0 Notepad++ has a easy end-of-line conversion for text files, making it easy to switch from CRLF to LF, or vise versa.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Given the plethora of P4 boxes showing up in recycle bins as companies migrate off of WinXP, a recent reclamation opportunity made it seem like a good time to save some landfill space and cobble together a Linux file server.\u00c2 So with a scrap Dell GX280 in hand, the file server\/testbed project saw some attention.\u00c2 Stuffing an extra couple of memory sticks into the obsolescent GX280 brought it up to 2GB.\u00c2 The GX280 should be a very usable Ubuntu or WinXP platform with 2gb, so its a great shack backup too.\u00c2 The limitation was the hard drive.\u00c2 A spare 80gb drive is set up with WinXP, and an el-cheapo 500gb drive went in for the Ubuntu install.\u00c2 Not phenomenal, but not bad for under $75USD.\u00c2 Hell, it would have been useful without the upgrades.<\/p>\n<p>The Dell GX280 seems to be well supported by Ubuntu &#8211; all of the peripherals are up and running after the install, no hardware\/driver hacking required.\u00c2 Installed Ubuntu 10.04(lts).\u00c2 The GX280 is widely available as scrap.\u00c2 Kind of like throwing away a good pre-1974VW Beetle was back in the 1980&#8217;s.\u00c2 Not too sexy, but still serviceable enough for generic mundane uses.\u00c2 Wish I had grabbed more of them[VW&#8217;s and GX280&#8217;s].\u00c2 [Aside: Both my 1968 Beetle and my wife&#8217;s 1984 Honda Civic hatchback got better mileage(48mpg and 42mpg respectively) than today&#8217;s EcoWeenie &#8220;hybrids&#8221; get in real life usage.\u00c2 Ain&#8217;t &#8220;progress&#8221; something to behold?]<\/p>\n<p>Networking the boxes turned out to be the biggest roadblock, and it is still [&#8230;]<\/p>\n<p>Continue reading <a href=\"http:\/\/w4kaz.com\/qth\/?p=1767\">Linux Progress In the KazShack<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[27],"tags":[],"_links":{"self":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts\/1767"}],"collection":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1767"}],"version-history":[{"count":11,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts\/1767\/revisions"}],"predecessor-version":[{"id":1775,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=\/wp\/v2\/posts\/1767\/revisions\/1775"}],"wp:attachment":[{"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1767"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/w4kaz.com\/qth\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}