<?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"
	>

<channel>
	<title>iN8sWoRld.net &#187; Linux</title>
	<atom:link href="http://www.in8sworld.net/blog/archives/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.in8sworld.net/blog</link>
	<description>There's no place like 127.0.0.1</description>
	<pubDate>Mon, 08 Sep 2008 02:36:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Wireless woes</title>
		<link>http://www.in8sworld.net/blog/archives/640</link>
		<comments>http://www.in8sworld.net/blog/archives/640#comments</comments>
		<pubDate>Fri, 29 Aug 2008 03:54:19 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/?p=640</guid>
		<description><![CDATA[
Things have changed a great deal since 1982.  These days, having a computer is almost synonymous with having access to the internet.  In truth, a computer that cannot access the internet today is almost quaint.  Sure the average Linux distribution comes with enough software to run an entire office out of the [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>Things have changed a great deal since 1982.  These days, having a computer is almost synonymous with having access to the internet.  In truth, a computer that cannot access the internet today is almost quaint.  Sure the average Linux distribution comes with enough software to run an entire office out of the box, but if you can&#8217;t communicate with your customers via email, fill in forms at online websites, or look up information on the web you&#8217;re SOL.<br />
<span id="more-640"></span> For the home user, instant messaging has become almost as much of a &#8220;critical app&#8221; as email, family members are sharing photos and videos online, and much of the younger set is blogging or otherwise keeping friends up to date on their activities at various social networking sites like Twitter, MySpace, or Facebook daily.  </p>
<p>While you can certainly buy a new PC with Linux pre-installed and configured (hopefully such that all your shiny new hardware is working properly), installing Linux on a PC that shipped with Windows will invariably require downloading drivers from a manufacturer&#8217;s FTP site or scouring tech forums for some clue about how to go about getting your hardware to work well, just work, or even be recognized at all.  While there are still many reasons to have a PC even without internet access, getting Linux installed on it at all may actually require it.</p>
<p>For laptops, and an increasing number of PCs in environments where wired ethernet isn&#8217;t possible or is just too much of a hassle to set up, folks are routinely using wireless cards to communicate with a wireless router in order to connect to the internet.  This is presenting some daunting challenges for Linux adoption at least among the home user crowd who might be looking at Linux to provide some fresh life for their older hardware.  When dealing with laptops or PCs the problem is generally the same except that on laptops the wireless card may already be built in, though its true that many older laptops didn&#8217;t come with wireless at all. Cheap wireless cards sold in consumer electronics stores everywhere seem to work right out of the box for Windows users on PCs and laptops alike, but almost always present some kind of problem for a Linux user.  While techies know that this is just a function of the fact that the companies are churning out Windows drivers for their hardware and keeping those drivers updated regularly, the average home user may not realize this until *after* they bring their shiny new wireless card home and pop it into their machine.  Once they&#8217;ve plunked down $40 to $60 on a card, they just want to pop it in and have it work.  Unfortunately, since Linux is not officially supported by nearly any manufacturer, it often does not - and for whatever reason if the user does not have another method to reach the internet, either through a wired connection to the router or another machine already connected to the internet, they will be unable to access the documentation and help forums they might be able to leverage to get this new hardware functioning.  I see this as a major stumbling block to broader Linux adoption.</p>
<p>If by now you&#8217;ve guessed that I&#8217;ve recently had some run-ins with this problem, you&#8217;re right!   Futzing around with getting a Linksys PCMCIA wireless card to operate at all in a Thinkpad (eventually succeeding with bwcutter) and a Belkin F5D7000 PCI card to even be recognized at all in an old Dell PC (also eventually succeeding with  ndiswrapper) both under Ubuntu 8.04 was enough to convince me that unless the average user is very lucky, getting to the internet wirelessly in Linux is likely to be a problem.  My eventual success was bittersweet because the only way I got these devices to work at all was to use the proprietary Windows drivers in a way that wasn&#8217;t intended by the developers.  Some users of Linux would balk at the thought of using proprietary drivers at all, preferring to be completely free of &#8220;non-open&#8221; software.  My wireless devices still don&#8217;t work natively under Linux, and as long as users can get them to work in this manner, what incentive is there for manufacturers to create a native Linux driver anyway?</p>
<p>It wasn&#8217;t my intention to explain the reasons for this problem - the constantly changing chipsets used by wireless card manufacturers, the entrenched Windows monopoly, the relative &#8220;newness&#8221; of the technology in general (as compared to ethernet), but rather to point out a weakness in Linux folks should be aware of.  Before running out to buy a wireless device, check for Linux compatibility!  Some chipsets are better supported by the two methods I mentioned.  Don&#8217;t plunk down good money on hardware that won&#8217;t work at all in Linux, even if you&#8217;re running Windows today.  If you decide to try Linux in the future you&#8217;ll wish you had.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/640/feed</wfw:commentRss>
		</item>
		<item>
		<title>First open phone</title>
		<link>http://www.in8sworld.net/blog/archives/574</link>
		<comments>http://www.in8sworld.net/blog/archives/574#comments</comments>
		<pubDate>Tue, 22 Jul 2008 12:42:44 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/?p=574</guid>
		<description><![CDATA[
The first open phone is already out (for developers) called the Neo Freerunner.  By &#8220;open&#8221; I mean that the OS is fully documented, and customizable by those with the skills to modify it.    It is using Openmoko which is the competing open mobile operating system (OS) to Google&#8217;s Android mobile OS [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>The first open phone is already out (for developers) called the Neo Freerunner.  By &#8220;open&#8221; I mean that the OS is fully documented, and customizable by those with the skills to modify it.    It is using Openmoko which is the competing open mobile operating system (OS) to Google&#8217;s Android mobile OS (still no phones with that yet as far as I know).  Both projects are leveraging the linux kernel which makes this exciting to me.  You can use the new $400 device (which is currently sold out) on the AT&#038;T network, but its mainly going to Universities for use in computer science classes right now.<br />
<span id="more-574"></span><br />
To be fair, these types of devices are really a lot more than just a &#8220;phone&#8221;, they are really true <strong>mobile computing devices</strong> with touch screen input, nice screens (relative to the little Motorola RAZR screens if not the iPhone <img src='http://www.in8sworld.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> and enough OS horsepower to actually be useful for real computing.  While I don&#8217;t expect anything as amazing as the iPhone to secretly emerge, I would be more interested in an open phone than a closed source one on principle as well as potential.  (disclaimer: I don&#8217;t currently have a cell phone).  </p>
<p>Two good websites to watch for news as the 700MHz spectrum opens up next year are:<br />
<a href="http://www.openmoko.com/">http://www.openmoko.com/</a><br />
<a href="http://code.google.com/android/documentation.html">http://code.google.com/android/documentation.html</a><br />
We will either see a whole lot of new open phones appearing next year, or a whole lot of nothing since the &#8216;open spectrum&#8217; was gobbled up by AT&#038;T and Verizon (Google didn&#8217;t get any), and neither company probably has any real interest in allowing the other&#8217;s customers to operate over their network.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/574/feed</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu on Thinkpad R32</title>
		<link>http://www.in8sworld.net/blog/archives/534</link>
		<comments>http://www.in8sworld.net/blog/archives/534#comments</comments>
		<pubDate>Wed, 07 May 2008 00:38:32 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/?p=534</guid>
		<description><![CDATA[
ThinkPad R32 2658-N3U
Original description: P4-M 2GHz, 256MB RAM, 30GB HDD, 14.1 XGA(1024&#215;768) TFT LCD, 8x-3.3x DVD-ROM, Modem(CDC), Ethernet(LOM), Li-Ion battery, WinXP Pro, Wireless upgradeable
I like to try out laptops once in a while and put Linux on them to see if how easy it would be to do everything I need to do without paying [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>ThinkPad R32 2658-N3U<br />
Original description: P4-M 2GHz, 256MB RAM, 30GB HDD, 14.1 XGA(1024&#215;768) TFT LCD, 8x-3.3x DVD-ROM, Modem(CDC), Ethernet(LOM), Li-Ion battery, WinXP Pro, Wireless upgradeable</p>
<p>I like to try out laptops once in a while and put Linux on them to see if how easy it would be to do everything I need to do without paying a Microsoft of Apple tax.  Since I &#8220;switched&#8221; to a Mac (from Linux) in 2002, I still use Linux at work, and have a family PC set up with Linux and I&#8217;ve been thinking it might be time to switch back.  I&#8217;m not a big fan of Apple&#8217;s move to Intel, and while Macs are really slick, setting up house in Linux is a lot more fun.  This is not a comprehensive report, but just my personal notes as I attempt to use the machine.</p>
<p><span id="more-534"></span><br />
I&#8217;ve taken this machine home <a href="http://www.in8sworld.net/blog/archives/304">before</a> and put FreeBSD on it (I had never played with that OS and it offered a good excuse).  A Pentium 4 mobile, it&#8217;s quick enough for what I do with a computer.  It&#8217;s missing some things I&#8217;ve grown accustomed to though.  I have firewire devices (external hard drive and lightscribe DVD burner), this machine doesn&#8217;t have a firewire port.  I like to plug my powerbook into the TV frequently to display slide shows of images, or watch Youtube videos, etc.  This machine has no TV out capabilities.  The battery may be shot as I only get an hour and a half of useage out of a charge.  It runs hot.   It has no touchpad, it just has the standard little red IBM nubbin in the middle of the keyboard (basically a strain gauge), and I think I&#8217;m the only one at work that actually likes that at all anyway. </p>
<p><strong>Video</strong><br />
There&#8217;s nothing in the xorg.conf file about what driver X is using, but the R32 has an ATI mobility M6 and it seems to be autodetected. The display only does XGA, and so can only do 1024&#215;768 which is a bit too small for most folks today (are our eyes getting any better?), but then my G4 powerbook is only XGA also, so it&#8217;s actually a treat for me since the screen is a lot bigger (14&#8243; screen as compared to 12&#8243; on the powerbook). </p>
<p><strong>Wireless</strong><br />
Since the last time I had this laptop at home it&#8217;s been sitting in a closet and because it doesn&#8217;t have the optional built in wireless card, nobody really wanted it.  I actually went so far as to start to order an internal wireless card for it, but the BIOS only accepts certain types and for whatever reason that didn&#8217;t work out through work so I eventually just brought it back in and there it sat.   Recently I had purchased a Linksys wireless adapter for another machine at work, and luckily for me and unluckily for that machine&#8217;s user, it stopped working.  I decided to bring it home to &#8220;test it&#8221; in the old Thinkpad.  It seems to work fine (with the setups described below), which indicates the problem is with the other machine.  Hopefully I can get that person another machine so I can hang onto the card, though to be honest I&#8217;d rather have an internal wireless card than the PCMCIA.</p>
<p>At first I tried to get the Linksys adapter working in Redhat Fedora 7 (before I returned it last time I wiped FreeBSD and tried out Fedora for abit) but I was stymied quickly.  After figuring out what I had to do to get the Broadcom chip in the Linksys to work, I must admit it would probably have worked just as easily in Fedora, but I ended up installing Ubuntu 8.04 from CD, with gnome desktop leaving a 4G partition for Windows 98 which I need to put on later to run some windows only programs.  There&#8217;s about 20G for Ubuntu.  A PC2700 512Mb ram chip that I had recently replaced in my G4 Powerbook fit in this machine without issue and brought it up to 768Mb.  This actually was the move that made it possible to load Ubuntu in the first place, because before I added the extra memory I was trying to boot the Ubuntu live CD and it was just reading from the CD for what seemed an eternity and I eventually just gave up.</p>
<p>The Linksys WPC54G PCMCIA card didn&#8217;t work out of the box in Ubuntu either.  Network manager in Ubuntu was nice enough to let me know that the driver wouldn&#8217;t work till I had aquired the proprietary firmware which was the key piece of info I needed.  I plugged in a regular network cable, and issued &#8220;apt-get install b43-fwcutter&#8221; which downloaded the open-wrt firmware, and cut out the files needed, and copied them into the right place.  The network-manager icon then showed my local wireless and I could join.  Connection speed is reported as 1Mb (abyssmal) though I haven&#8217;t tested it and it seems snappy enough for normal work.  Others have complained about the same thing though, so will have to keep an eye on that thread for possible solution.  There was another option (ndiswrapper) but my eyes glossed over reading up on that route.</p>
<p>[update 5/7/08: found a post in Bug#205114 that suggested<br />
<code>aptitude purge b43-fwcutter<br />
aptitude install bcm43xx-fwcutter</code><br />
Speed tests at speakeasy.net are now reporting somewhat faster download speeds, but not sure if it's just faster tonight or if something really improved.  Update2: nah, it was no faster.  Im back on b43 which gives me anywhere between 80KB/s and 120KB/s (down) where I usually routinely get 4 to 500KB/s on the Powerbook]</p>
<p><strong>Shutting Down</strong><br />
Getting the wireless working introduced a new problem shutting down.  Shutting down normally actually brought me to a black screen after the process, but didn&#8217;t shut the laptop OFF actually.  To shut off all the way I&#8217;d have to hold in the power button for 5 seconds.  I found that turning off the PCMCIA slot first allows Ubuntu to shut down completly. F Just have to add &#8220;/sbin/pccardctl eject&#8221; to the shutdown scripts:  I wrote a little bash script<br />
<code>#!/bin/bash<br />
/sbin/pccardctl eject</code><br />
and saved it in <code>/etc/init.d</code> (and chmod to 755 so its executable)<br />
Then in <code>/etc/rc0.d</code>, I made a symlink to my script named <code>S22ejectcard</code><br />
with <code>ln -s ../init.d/ejectcard S22ejectcard</code></p>
<p>I have no issues with Suspend which works just like it does in windows.  The little green Thinkpad moon lights up and it goes to sleep.  I haven&#8217;t tried just closing the lid yet (I&#8217;ve been too busy wanting to keep working on it <img src='http://www.in8sworld.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><strong>Mouse buttons</strong><br />
The R32 has three thumb buttons right below the space bar, in perfect location if you&#8217;re using the little red rocket pointer gizmo.  The middle of these three special thinkpad buttons didn&#8217;t do anything out of the box.  However, I remembered that I was able to get it to act like the middle mouse button or a scroll wheel (of sorts) in FreeBSD and I had notes from that install.    These pointed me over to the xorg.conf file.  I modified mine with the following tidbit to get the center button working.  I just rebooted after modifying /etc/X11/xorg.conf although I could probably have just restarted X windows I guess.<br />
<code>Section "InputDevice"<br />
        Identifier  "Mouse0"<br />
        Driver      "mouse"<br />
        Option      "Protocol" "Auto"<br />
        Option      "Device" "/dev/sysmouse"<br />
        Option      "Emulate3Buttons" "true"<br />
        Option      "Emulate3Timeout" "80"<br />
        Option      "EmulateWheel" "on"<br />
        Option      "EmulateWheelButton" "2"<br />
        Option      "ZAxisMapping" "4 5"<br />
        Option      "Buttons" "3"many<br />
        Option      "CorePointer"<br />
EndSectionAudio</code></p>
<p><strong>Audio</strong><br />
Ubuntu had no problem detecting the Intel audio.  Rythymbox needed gstreamer codecs installed before it could play mp3s (a non-free software requirement of mine for podcasts).  Also, I needed to install &#8220;bad&#8221; codecs for .wmv, .pls, .ra support which are obviously needed since I like listening to live streaming radio and so it&#8217;s not really &#8220;bad&#8221; that it works now.  One wierdness was that the .pls for liveireland.com while streaming the audio OK, wasn&#8217;t actually dislaying the names of the tunes for very long before it was crapping out but kept displaying the first song.  I had to keep restarti ng it so that it would edisplay the song I was listening to.</p>
<p><strong>Printing</strong><br />
My Brother HL-1440 is shared on my Apple Airport (a nice feature of the Airport), but got some strange error when attempting to connect to it.  I used Avahi (a rendezvouz browser) and found my printer was at 10.0.1.1:9100, so I just went to System-Administration-Printing and selected New Printer. I picked AppSocket/HPJet Direct. Then I entered the IP address above into the Host box; Port 9100 was automatically entered into the box for port. Clicking forward, I chose Brother and selected the driver for the HL-1250 which was the recommended driver, and clicked Forward. That was it - working good.</p>
<p><strong>Software</strong><br />
Most of what I spend time doing can be found right in a browser, so since Ubuntu came with Firefox 3, I was just a few short addons away from my normal working environment (mainly Gmail based workflows including Document creation and calendar).  Del.icio.us plugin brought in all my links.<br />
Pidgin connected me to my instant messaging systems (including work where I chatted with the guy with the broken laptop <img src='http://www.in8sworld.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  There were a number of programs that aren&#8217;t in the default Ubuntu install that I can&#8217;t live without, including qlGo, xchat, gftp, and a CVS client as good as LinCVS.  An aside: I found tkcvs, but struggled for a long time with the right CVSROOT setup till I found <code> :pserver:username:password@myserver.org:/usr/local/projects</code>.  Installed apache2, mysql-5, and php after I realized I couldn&#8217;t work on the sites I just downloaded from CVS!  phpmyadmin was just as easy to install as everything else and made setting up my database driven sites easy.  I had taken some pictures with my Canon S30 digital camera which was autodetected by F-Spot photo manager, and downloading the images and storing them away was as easy as Picasa is on Windows.</p>
<p>I&#8217;ll probably update this post again if I find some more time to play with this machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/534/feed</wfw:commentRss>
		</item>
		<item>
		<title>What to do when your secret key expires</title>
		<link>http://www.in8sworld.net/blog/archives/515</link>
		<comments>http://www.in8sworld.net/blog/archives/515#comments</comments>
		<pubDate>Sun, 16 Mar 2008 02:29:40 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/archives/515</guid>
		<description><![CDATA[
I&#8217;ve been using gnupg for years.   It&#8217;s not that I have lots of super secret spy stuff to communicate to nefarious characters around the globe, but rather that when I send something personal, I&#8217;d like to keep it that way if possible.  Like a lot of folks I have about a zillion [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>I&#8217;ve been using gnupg for years.   It&#8217;s not that I have lots of super secret spy stuff to communicate to nefarious characters around the globe, but rather that when I send something personal, I&#8217;d like to keep it that way if possible.  Like a lot of folks I have about a zillion passwords and authentication keys now to all the different websites and programs I use, online or otherwise.  Like most people I used to keep all those passwords in a list in a text file someplace (usually right on my desktop!), but I decided a few years back to start encrypting it.  I spend most of my day in a browser or in an email client, so years ago I chose to use gnupg and thunderbird with the enigmail add-on to sign and encrypt my email messages.  I admit since I started using gmail more often I haven&#8217;t been signing my emails as much as I once did.  The firefox extension firegpg allows you to use gnupg in gmail, but it&#8217;s just not as slick as enigmail is in Thunderbird so I eventually uninstalled it.  Over the years I have accumulated a hoard of emails that can only be read when I click the nifty &#8216;decrypt&#8217; button and enter my passphrase correctly.  I&#8217;ve got lots of cool stuff squirreled away there including some emails from Wil Wheaton and other less well known folks on various arcane topics.  Things worked so well for so long that I had totally forgotten that I set my key to expire in 5 years.  Then, one day last week - it did!<br />
<span id="more-515"></span><br />
I needed to shoot off a private, encrypted email and - no dice.  Your key is expired!<br />
This isn&#8217;t as earth shattering as it sounds.  You can still access all your encrypted emails fine, but you can&#8217;t create any new ones with that key ever again.  I&#8217;ve had several keys over the years for the different email addresses that I&#8217;ve had.  They&#8217;re all tied together under one &#8220;umbrella&#8221; of sorts - they may be retired now but they&#8217;re still associated with each other, the history is all there.  But when the key expires, that legacy is done.  Everybody else in the world who had your key will eventually get flagged (as I understand it) that your key is dead and will likely remove it from their keychain.  All those key-signing parties, all those trust settings!  </p>
<p>I couldn&#8217;t just change the expiry date with gpg because it complained that my secret key was expired! What&#8217;s a man to do?  </p>
<p>As it turns out, some nice person posted <a href="http://docs.indymedia.org/view/Sysadmin/GnuPG#Setting_or_extending_key_expiry">this information</a> which describes the simple solution.  LOL - setting your BIOS clock back to before your key expired allows you to operate on your key again and change the expiry date to some time later than the current date!  Now why didn&#8217;t I think of that?  (I was able to just change the OS date and time - and unplugged from the net so it wouldn&#8217;t update with ntp automatically)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/515/feed</wfw:commentRss>
		</item>
		<item>
		<title>Trinity Rescue Kit saves the day</title>
		<link>http://www.in8sworld.net/blog/archives/483</link>
		<comments>http://www.in8sworld.net/blog/archives/483#comments</comments>
		<pubDate>Tue, 15 Jan 2008 01:03:10 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[fixit]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/archives/483</guid>
		<description><![CDATA[
After I came back to work after the holiday, there were several mysterious system failures to investigate.  The solutions ranged from the ridiculously simple (it was unplugged) to the arcane (no display, no boot-up, no beep codes).  Unfortunately this last was on a fairly important machine used for software development in the engineering [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>After I came back to work after the holiday, there were several mysterious system failures to investigate.  The solutions ranged from the ridiculously simple (it was unplugged) to the arcane (no display, no boot-up, no beep codes).  Unfortunately this last was on a fairly important machine used for software development in the engineering department.  It took just a few minutes to eliminate most of the possible causes for this problem (tightening cables, unplugging USB devices, reseating memory, etc.) and I soon had the machine booting into Windows but the system process was running at 99% and it was basically unusable.  The user claimed that there had been a Windows update on the last day before holiday and I suspected that the machine had been turned off in a rush mid-update (or there was some virus at work).  I certainly couldn&#8217;t prove either yet, and it didn&#8217;t matter.  <img align="right" src='http://www.in8sworld.net/blog/wp-content/uploads/2008/01/trk.gif' alt='trk.gif' />The user notoriously forgets to check in code and it was imperative that I get all data off immediately and over to a working machine so work could continue, plenty of time for post-mortem after the user was back in business.  </p>
<p><span id="more-483"></span></p>
<p>Normally I would just dump the hard drive into another machine and copy the data over directly, but I didn&#8217;t have a machine that I could afford to bring down at the time.  Also the drive was IDE, and I would have to find a machine I could plug it into easily since most machines I have are SCSI or SATA now.  I&#8217;d have to use a CD Rom cable on those, and then I&#8217;d probably end up wasting time with cables and jumpers as well as potential problems in Windows recognizing it, or drive letters&#8230;  I just wanted to just boot up from a Live CD and copy the stuff off immediately to the laptop the user was going to use until I had the problem fixed.  </p>
<p>I&#8217;ve used Knoppix Live CDs for many years to rescue data in this manner, but for some reason I was having trouble with it this time.  I didn&#8217;t have a nice ssh program (like Filezilla) on the laptop, so I had just started the samba service in Knoppix.  I had gotten about a third way through a copy oepration and it crapped out.  Also the transfer was taking forever.  I didn&#8217;t know what was going on, I just needed the data and i wasn&#8217;t going to get into a tangent investigation.  I was considering how long it would take me to put the drive in one of the machines when I remembered a post I had read on the <a href="http://www.lilug.org/pipermail/lilug/2007-November/029654.html">LILUG&#8217;s mailing list</a> over the holiday.  I hadn&#8217;t ever tried the <a href="http://trinityhome.org/Home/blog.php?blog_cat_id=2&#038;b_node=2">Trinity Rescue Kit</a>, but a quick read about it suggested it was just the kind of thing I needed.  Whereas Knoppix is a full blown OS on a disc, TRK is a lean set of utilities to do those jobs that admins need to do - and more frequently when you have a bunch of Windows machines around.  </p>
<p>I had the machine booted up with TRK and serving up the hard drive on the network in just a few minutes.  I copied off the entire drive to the laptop and put the user back to work shortly thereafter (after a short lecture about checking in more often <img src='http://www.in8sworld.net/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  </p>
<p>PS: It&#8217;s been some time since TRK saved the day, but I&#8217;ve tried TRK&#8217;s virus scanning abilities on a machine another co-worker brought in from home which was hobbled by viruses (why do they always blame their kids?) with less success - this is probably because I didn&#8217;t know what to expect and didn&#8217;t use it properly.  The virus scanning took a *long* time, and eventually it found 90 virii on the machine.  It supposedly saved these to a tarred gzipped file, but although the instructions said I would be given a change to delete these quarantined files, I was instead dumped to a command line.  I didn&#8217;t know what to do next and shut down.  The file was never saved to the disk, so I basically wasted time since they were all there upon reboot.  TRK had helped identify the viruses, but not eliminate them.  I ended up using some specific cleaning utilites targeted for the viruses involved, and then Windows didn&#8217;t work correctly anyway.  TRK could have helped get the personal files off the machine, but these were properly backed up already anyway by the user, so that wasn&#8217;t needed.  I&#8217;d really like to figure out how to use TRK to virus scan properly, though since my company has mandated no IE or Outlook (we use Firefox and Thunderbird now) we haven&#8217;t ever had a virus problem&#8230; well, once we did - when somebody decided they *had* to use IE anyway.  That guy learned his lesson the hard way when I had to wipe the machine and he lost data <img src='http://www.in8sworld.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/483/feed</wfw:commentRss>
		</item>
		<item>
		<title>restricting the internet with ubuntu</title>
		<link>http://www.in8sworld.net/blog/archives/433</link>
		<comments>http://www.in8sworld.net/blog/archives/433#comments</comments>
		<pubDate>Mon, 24 Dec 2007 00:36:26 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/index.php/archive/restricting-the-internet-with-ubuntu/</guid>
		<description><![CDATA[
I&#8217;ve lost count of the number of times parents have asked me how to block internet use on their home PCs.  Usually it&#8217;s because their kids have been caught visiting sites they shouldn&#8217;t have been allowed to go to and the completely clueless parents had no idea what their kids were doing until it [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>I&#8217;ve lost count of the number of times parents have asked me how to block internet use on their home PCs.  Usually it&#8217;s because their kids have been caught visiting sites they shouldn&#8217;t have been allowed to go to and the completely clueless parents had no idea what their kids were doing until it was too late.  Why anyone would allow their kids totally unsupervised acess on an internet connected machine is beyond me, but it happens.  I hear some of you yelling, &#8220;Get to point Nate, what did you tell all those people who asked?!&#8221;  </p>
<p><span id="more-433"></span><br />
Usually the answer I gave varied depending on who was asking, but almost always it centered around dumping Windows entirely for the machine in question.  This is usually NOT what people want to hear because they have a comfort level with Windows - they think of themselves as competent on a computer because they can use Windows and moving away from Windows woulld be to leave that comfort zone.  But, if truth be known, it&#8217;s the best solution because it costs nothing to implement aside from a little time, allows you to repurpose an old machine (the usual desire anyway), and it offers a *far* more robust and secure platform than the old version of Windows 98 which is usually the only Windows that otherwise runs decently on the old box.  (Linux is much leaner and runs really well on old hardware).</p>
<p>By the time I&#8217;ve mentioned Linux, the askers have already tuned me out, and have decided to go seek advice from their MCSE friends and family who will certainly offer saner advice than this crackpot Linux geek, but that&#8217;s all for the good since its one less person I have to support on my day off when their computer is frozen with viruses again.  I don&#8217;t pretend to know what Windows solutions are the best choice to do your job as a parent for you and make sure your kids aren&#8217;t visiting hard core porn sites while you sip martini&#8217;s in the basement with your friends.  I *do* know that you can get an awesome solution with free software pretty easily.</p>
<p>There are several things that matter here - is the computer shared?  Is it shared between you and the kids, or do just the kids share it?  Are the kids all the same age and have the same restrictions or do they differ? Do you want to block *everything* and allow just some sites, or allow *almost* everything and block just some bad sites you know of?  Do you want to block just the web, or are you concerned about IRC, nntp, bit torrent, peer to peer sharing networks, VOIP / skype, email access&#8230; at this point most of the people I talk to are physically walking away.  Most folks don&#8217;t know there is anything more to the internet than &#8220;www&#8221;.</p>
<p>In my case the rules are pretty much the same for both kids, so I&#8217;m not worrying about granting more access to the older one (yet).  I use the machine occassionally, but largely it&#8217;s a &#8216;kids&#8217; machine, set up in the center of the house where we can all see it - NOT in a kid&#8217;s room.  The machine was bought new with Windows ME on it which was a dismal situation all told.  Since I won&#8217;t use illegal copies of Windows, I installed the free <a href="http://www.ubuntu.com/">ubuntu linux</a> on this kid&#8217;s machine (an old PIII 800MHz Dell).  They each have their own account with their own preferences and programs installed. If the machine was a laptop or had multiple interfaces (wireless + ethernet), I might have chosen another solution, but since the machine is a desktop with only one interface, I chose firestarter. <a href='http://www.in8sworld.net/blog/wp-content/uploads/2007/12/firestarter.jpg' title='Firestarter'><img align="right" src='http://www.in8sworld.net/blog/wp-content/uploads/2007/12/firestarter.thumbnail.jpg' alt='Firestarter' /></a>Easily installed using &#8216;apt-get install firestarter&#8217;, it could just as easily be installed using the synaptic install tool.  Configuring firestarter is very easy.  Once you explain to someone what an inbound connection and an outbound one is, the rest is fairly straightforward.  My kids are currently allowed to visit several internet sites including pbskids.org, noggin.com, and webkinz.com, but not much else.  Therefore, I configured firestarter to run as &#8216;restrictive&#8217; which means I must create a &#8216;whitelist&#8217; of websites that they can access.  Since the list is so short right now it&#8217;s no big deal, though I expect that this may become a hassle someday as they get older, but for now it&#8217;s perfectly acceptable from a management standpoint.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/433/feed</wfw:commentRss>
		</item>
		<item>
		<title>Who needs VNC when you have ssh?</title>
		<link>http://www.in8sworld.net/blog/archives/429</link>
		<comments>http://www.in8sworld.net/blog/archives/429#comments</comments>
		<pubDate>Thu, 20 Dec 2007 03:02:03 +0000</pubDate>
		<dc:creator>Nate</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.in8sworld.net/blog/index.php/archive/who-needs-vnc-when-you-have-ssh/</guid>
		<description><![CDATA[
I spent too much time banging my head against Ubuntu&#8217;s vncserver so I could log into a remote desktop (just like Remote Desktop on Windows with Terminal Services), until I realized that I didn&#8217;t need to load the whole stinking desktop!  That would mean sending the entire screen over anyway which is probably not [...]]]></description>
			<content:encoded><![CDATA[<img src='http://in8sworld.net/images/topics/topic_linux.gif' align='right' alt='Linux' />
<p>I spent too much time banging my head against Ubuntu&#8217;s vncserver so I could log into a remote desktop (just like Remote Desktop on Windows with Terminal Services), until I realized that I didn&#8217;t need to load the whole stinking desktop!  That would mean sending the entire screen over anyway which is probably not as fast as just sending the program I need.  Since OS X has it&#8217;s own X-Windows server, all I had to do was ssh into the Ubuntu box a little differently to &#8220;tunnel X&#8221;, and then launch the program on Ubuntu I want to run which then appears on my Mac&#8217;s desktop.  Since I am really lazy, I just ran the entire gnome-panel.</p>
<p><code>ssh -X -c blowfish my_login@my_ubuntu_box gnome-panel</code></p>
<p><img src='http://www.in8sworld.net/blog/wp-content/uploads/2007/12/tunnelx.jpg' alt='tunnelx.jpg' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.in8sworld.net/blog/archives/429/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
