Whenever I have to use Xubuntu, it's usually because I'm refurbishing an old computer for someone to do basic web, e-mail, and maybe some word processing. Given that, I always set Xubuntu to login automatically. However, the NetworkManager app always gives fits about authenticating against the Keyring Manager when connecting to networks (especially wireless). So it might be an automatic login, but then you're immediately prompted for the SAME password when NetworkManager attempts to connect to a network.
I've Googled a lot trying to find good fixes for it, and there are plenty (some that involve installing a PAM module, which is a good plan, but convoluted). I've got my own, and it's super easy.
Assuming you've already set Xubuntu to auto login and you've rebooted your computer and are logged in, go to the Places menu and go to your Home folder. Go to View and check "Show Hidden Files." Look for a folder called .gnome2, open it, and then open a folder called keyrings. Open this and delete anything in it. Reboot. Once the computer reboots, you'll be asked for your wireless password. After you enter it, it's going to ask for a keyring/encryption password. Just leave it BLANK and choose "save." You'll get a warning that this stores your password in plaintext on your computer. Just say OK.
The ramifications of this are that wireless passwords (WEP, WPA, etc) are stored, but are easily viewable. It means that NetworkManager will work without a fuss, but someone could get on your computer and look at your wireless keys. If this isn't a problem, then this is a fix for the keyring manager problem.
Monday, February 8, 2010
Friday, August 21, 2009
File shares work better with Ubuntu
My boss finally wore out her poor ol' HP Compaq nx9010 and I needed to temporarily transfer all her files to another laptop until her new one gets ordered. I had to wait until the end of the day and take both laptops home with me to work on, so as not to interrupt her. Not having a crossover cable with me, my plan was to get both laptops connected to my home router, set up a shared folder, and copy files over.
However, strange things happen with sharing security when your computers are part of a domain...and you're not connected to the domain. What would happen is I would try to connect to the shared folder of one computer from the other and I'd get a message saying something to the effect of "no log on servers could be found" or something like that. Essentially, even when I was using the local administrator account as my sign in, the authentication would not complete and I couldn't connect. I'm sure there's some kind of fix for this, but I didn't want to fool with it - I had a better, quicker idea.
I stuck an Ubuntu LiveCD in the target laptop (the newer one) and booted it up, leaving the nx9010 still running XP. I set the nx9010 to completely share out the user profile for my boss, and then used Ubuntu to do a Samba connect to that shared folder. It still asked for a login, but logging in as the local administrator account with the workgroup set to WORKGROUP did the trick. Then I had Ubuntu mount the hard drive on the newer laptop and proceeded with copying the files. Flawless!
Again, I'm sure there's a fix or a workaround for the issue I was having, but Ubuntu saved me the trouble of researching it. That makes my day :)
However, strange things happen with sharing security when your computers are part of a domain...and you're not connected to the domain. What would happen is I would try to connect to the shared folder of one computer from the other and I'd get a message saying something to the effect of "no log on servers could be found" or something like that. Essentially, even when I was using the local administrator account as my sign in, the authentication would not complete and I couldn't connect. I'm sure there's some kind of fix for this, but I didn't want to fool with it - I had a better, quicker idea.
I stuck an Ubuntu LiveCD in the target laptop (the newer one) and booted it up, leaving the nx9010 still running XP. I set the nx9010 to completely share out the user profile for my boss, and then used Ubuntu to do a Samba connect to that shared folder. It still asked for a login, but logging in as the local administrator account with the workgroup set to WORKGROUP did the trick. Then I had Ubuntu mount the hard drive on the newer laptop and proceeded with copying the files. Flawless!
Again, I'm sure there's a fix or a workaround for the issue I was having, but Ubuntu saved me the trouble of researching it. That makes my day :)
Monday, May 11, 2009
Re-install Windows XP
When you buy a computer that isn't Apple, 99% of the time it's going to come with some version of Windows, whether it be XP, Vista, and soon, Windows 7. Sometimes your computer will come with a few CDs, one of which might be the Windows re-install disc, in case you have to re-install Windows. Truthfully, if you use Windows for long enough, sooner or later you're going to need to reinstall it. Here's the sad part - a LOT of computer manufactures like to save a small insignificant amount of money when shipping your computer and refuse to give you a Windows reinstall disc (Dell being the big exception I'm aware of). Although a lot of computer vendors will give you one if you pay extra for it. Instead of going on a rant about how that is ludicrous, I'm going to explain what your options are if you need to re-install Windows and don't have a Windows reinstallation disc.
Legalities
First, though, a caveat. Remember I said that having to pay extra for the installation disc for an operating system you already own a license for is ludicrous? It gets worse. Because Windows discs are copyrighted material, if you were to back up or make a copy of one of those discs, you're technically breaking copyright and breaking the law. I say technically, because that's what the Digital Millennium Copyright Act says. However, when you get a computer with Windows or buy a copy of Windows from the store, what you're spending money on is the license to use Windows on one computer. So although copying the Windows disc is breaking the law under the DMCA, Microsoft isn't losing money because what you purchased was the license (that little product key that is stuck on the case of your computer). With that out of the way, I'll get into the meat of things - just be aware that depending on how you interpret copyright law, you are probably breaking copyright.
Okay, so you've got a computer, but no Windows disc, and you need to re-install.
The first step is to figure out who made your computer (HP, Dell, IBM, Gateway, etc), what version of Windows you've got (should be on the same sticker as your product key), and if possible, try to find your Windows Product Key (most likely stuck to the case of your computer). For example, you may have a computer from Dell that has a copy of Windows XP Home Edition. The vendor name (in this case, Dell) is important because of a thing called a BIOS lock. A BIOS lock is when a copy of Windows XP is customized to only work on a particular brand of computer. In this example, if you have a Dell and you insert a Windows disc that was designed for a Gateway, you're going to get a message on the screen that "This software only works on a Gateway" and your computer restarts. Welcome to more ludicrous-ness.
Aside: The only justification for this is a technique that some vendors use to customize their Windows installation discs. When you install a Dell customized version of Windows on a Dell computer, for example, you won't be prompted for your Windows Product Key. This is handy, because if you've lost your product key for somehow, you should be able to complete the install anyway (although you probably won't have any way to prove you've got a legal license when the men in suits show up at your door). On top of that...it's theoretically possible to use this trick to install XP on a Dell computer (again, for example), that only has Windows 2000. You don't need a valid product key because Dell's disc doesn't ask for one. Now this is very illegal and you should not do this, because this time you're using Windows without paying for a license. This is stealing, don't do it, blahdeeblah. Just....don't. We good with that?
So you've got your brand of computer, you know which version of Windows you're using (XP Home, XP Pro, Vista, etc), and you have your product key, just in case. Now comes the tricky part. We're going to have to do some searching on the internet for torrents of the Windows disc you need. Yes, again, this is technically piracy and violating copyright, because the contents of the disc are copyrighted. So, if you do this, you ARE breaking the law. However, again, what you paid for when you bought your computer/bought a retail copy of Windows, was the license, so the disc really has no monetary value. Anyway, I'm not going to delve into how to use Bit Torrent. What I am going to tell you is what to look for. Assuming you're doing a full install and not an install-in-place (more on that later), you'll be searching for something like "Dell Windows XP Home" or "HP Windows XP Pro." You need to specify the brand of your computer and which version of Windows you need. If you're doing a full install, it doesn't really matter what service packs are bundled with the torrent (denoted as SP2, SP3, etc). If you do a full install, you can update to the latest service pack later. The important thing is to get a torrent of the Windows disc you need, burn that to a CD (or DVD, if it's for Vista) and see if it works.
OEM
As you're looking for the version you need, you will probably come across versions referred to as OEM. OEMs are discs made for computer manufacturers, but if they don't say a computer brand, then they're not the BIOS locked versions. What this means is if you have a generic computer, or you're having a hard time finding a disc for your brand of computer, it might not need a brand-specific version of Windows. For example, I've had to work on a computer that wasn't manufactured by a big-name brand, and I couldn't find a disc for it. But I downloaded the OEM version and it worked just fine. So something good to know.
Install In Place
There's another trick you can do with a Windows CD, provided you're careful. Most of the time, when you re-install XP with a disc that didn't specifically come with your computer, your only option will to perform a new, full installation. However, if you can find a Windows disc that is the same brand, same version and same service pack, you might be able to perform an install in place. Basically, an install in place takes your currently installed Windows on your computer and replaces all the original Windows files with their original "factory default" files. If all goes well, this effectively repairs your broken Windows instance and usually lets you continue to use your computer as if nothing had happened - don't need to re-install drivers, software, or files. Just make sure to perform a backup, if you can, before you proceed, just in case. I cannot stress how useful this trick can be if you're trying to repair a copy of Windows that has crashed. More on how to do an install in place here
The Installation
After you've got your Windows disc burned to a CD or a DVD, follow your computer's instructions for booting a computer using a CD. If the torrent was good, you should be presented with the Windows installation. Just proceed through the installation (more on that here). Depending on your brand of computer and the disc you're using, you might be asked for a product key during the installation and you might be asked to activate Windows once the install is done. If you try to activate Windows with the product key on your computer's case and it fails, it is most likely the wrong version of Windows for the product key. If you are sure everything's okay, you can try to contact Microsoft and get a new activation code, but double-check that you've got the correct Windows version - if you have a version other than what the product key was designed for, Microsoft isn't going to help you.
And if you're using a cracked version of Windows so you don't have to activate or have a product code, shame on you and may your computer get infected with the worst kinds of nasties.
Eventually, if all went well, the install should complete, but you'll most likely need to get drivers for everything, such as video, network, etc. Depending on where your computer came from, this could be easy (like with a big brand name) or a hassle - try the your computer manufacturer's website (and see if your computer has a service code or tag, or a serial number). Unless you did an install-in-place, you'll have a fresh computer without any programs or files, so you'll have to re-install everything you need. But you'll have a nice fresh installation of Windows. Enjoy. :)
Legalities
First, though, a caveat. Remember I said that having to pay extra for the installation disc for an operating system you already own a license for is ludicrous? It gets worse. Because Windows discs are copyrighted material, if you were to back up or make a copy of one of those discs, you're technically breaking copyright and breaking the law. I say technically, because that's what the Digital Millennium Copyright Act says. However, when you get a computer with Windows or buy a copy of Windows from the store, what you're spending money on is the license to use Windows on one computer. So although copying the Windows disc is breaking the law under the DMCA, Microsoft isn't losing money because what you purchased was the license (that little product key that is stuck on the case of your computer). With that out of the way, I'll get into the meat of things - just be aware that depending on how you interpret copyright law, you are probably breaking copyright.
Okay, so you've got a computer, but no Windows disc, and you need to re-install.
The first step is to figure out who made your computer (HP, Dell, IBM, Gateway, etc), what version of Windows you've got (should be on the same sticker as your product key), and if possible, try to find your Windows Product Key (most likely stuck to the case of your computer). For example, you may have a computer from Dell that has a copy of Windows XP Home Edition. The vendor name (in this case, Dell) is important because of a thing called a BIOS lock. A BIOS lock is when a copy of Windows XP is customized to only work on a particular brand of computer. In this example, if you have a Dell and you insert a Windows disc that was designed for a Gateway, you're going to get a message on the screen that "This software only works on a Gateway" and your computer restarts. Welcome to more ludicrous-ness.
Aside: The only justification for this is a technique that some vendors use to customize their Windows installation discs. When you install a Dell customized version of Windows on a Dell computer, for example, you won't be prompted for your Windows Product Key. This is handy, because if you've lost your product key for somehow, you should be able to complete the install anyway (although you probably won't have any way to prove you've got a legal license when the men in suits show up at your door). On top of that...it's theoretically possible to use this trick to install XP on a Dell computer (again, for example), that only has Windows 2000. You don't need a valid product key because Dell's disc doesn't ask for one. Now this is very illegal and you should not do this, because this time you're using Windows without paying for a license. This is stealing, don't do it, blahdeeblah. Just....don't. We good with that?
So you've got your brand of computer, you know which version of Windows you're using (XP Home, XP Pro, Vista, etc), and you have your product key, just in case. Now comes the tricky part. We're going to have to do some searching on the internet for torrents of the Windows disc you need. Yes, again, this is technically piracy and violating copyright, because the contents of the disc are copyrighted. So, if you do this, you ARE breaking the law. However, again, what you paid for when you bought your computer/bought a retail copy of Windows, was the license, so the disc really has no monetary value. Anyway, I'm not going to delve into how to use Bit Torrent. What I am going to tell you is what to look for. Assuming you're doing a full install and not an install-in-place (more on that later), you'll be searching for something like "Dell Windows XP Home" or "HP Windows XP Pro." You need to specify the brand of your computer and which version of Windows you need. If you're doing a full install, it doesn't really matter what service packs are bundled with the torrent (denoted as SP2, SP3, etc). If you do a full install, you can update to the latest service pack later. The important thing is to get a torrent of the Windows disc you need, burn that to a CD (or DVD, if it's for Vista) and see if it works.
OEM
As you're looking for the version you need, you will probably come across versions referred to as OEM. OEMs are discs made for computer manufacturers, but if they don't say a computer brand, then they're not the BIOS locked versions. What this means is if you have a generic computer, or you're having a hard time finding a disc for your brand of computer, it might not need a brand-specific version of Windows. For example, I've had to work on a computer that wasn't manufactured by a big-name brand, and I couldn't find a disc for it. But I downloaded the OEM version and it worked just fine. So something good to know.
Install In Place
There's another trick you can do with a Windows CD, provided you're careful. Most of the time, when you re-install XP with a disc that didn't specifically come with your computer, your only option will to perform a new, full installation. However, if you can find a Windows disc that is the same brand, same version and same service pack, you might be able to perform an install in place. Basically, an install in place takes your currently installed Windows on your computer and replaces all the original Windows files with their original "factory default" files. If all goes well, this effectively repairs your broken Windows instance and usually lets you continue to use your computer as if nothing had happened - don't need to re-install drivers, software, or files. Just make sure to perform a backup, if you can, before you proceed, just in case. I cannot stress how useful this trick can be if you're trying to repair a copy of Windows that has crashed. More on how to do an install in place here
The Installation
After you've got your Windows disc burned to a CD or a DVD, follow your computer's instructions for booting a computer using a CD. If the torrent was good, you should be presented with the Windows installation. Just proceed through the installation (more on that here). Depending on your brand of computer and the disc you're using, you might be asked for a product key during the installation and you might be asked to activate Windows once the install is done. If you try to activate Windows with the product key on your computer's case and it fails, it is most likely the wrong version of Windows for the product key. If you are sure everything's okay, you can try to contact Microsoft and get a new activation code, but double-check that you've got the correct Windows version - if you have a version other than what the product key was designed for, Microsoft isn't going to help you.
And if you're using a cracked version of Windows so you don't have to activate or have a product code, shame on you and may your computer get infected with the worst kinds of nasties.
Eventually, if all went well, the install should complete, but you'll most likely need to get drivers for everything, such as video, network, etc. Depending on where your computer came from, this could be easy (like with a big brand name) or a hassle - try the your computer manufacturer's website (and see if your computer has a service code or tag, or a serial number). Unless you did an install-in-place, you'll have a fresh computer without any programs or files, so you'll have to re-install everything you need. But you'll have a nice fresh installation of Windows. Enjoy. :)
Ubuntu LiveCD helpes with Dynamic Disk
I never know what kinds of issues I'll run across at my office. I may be the one and only tech guy, but there's still plenty of computers that have been at work here longer than I have, and some applications that still behave as "black boxes" to me. So sometimes very unusual issues arise that I cannot explain.
Today, I had to update the AT&T Global Dialer VPN software. Unfortunately, the new version must have a computer with XP or later, and alas, the computer that needed it was running Windows 2000. So while I'm not very happy about this prospect, I begin prep work to get it updated to XP.
Again, there's "black box" software on here, and by that I mean that not only do I not know how to use it (I rarely know how to use our medical software, because then I'd be a clerk or a nurse), but I also don't know how to install it. So in the interests of not breaking black boxes, I opt to do a full XP install and dual-boot with Windows 2000. This should be a cinch. I've done it before. No problem.
Problem.
For some inexplicable reason, the Windows 2000 partition was a "Dyamic Disk" rather than a normal partition, and when I installed XP on a second, unused partition, the boot.ini became unavailable, and rendered booting into Windows 2000 useless, although XP booted fine. Further, XP could not access any files on the Dynamic Disk - the XP Disk Manager saw it was there, but because it was Dynamic, it couldn't do anything with it except wipe it. Which would be bad.
Now I don't have any problem re-installing the regular programs from scratch and restoring people's backup files from the server, but there's this black box software on the computer that I didn't want to break, and now it's, in the words of Jeremy Clarkson, "broken."
Instead of reading up and trying to repair boot sectors and blahdeeblah, I skipped ahead to the last resort and booted up using an Ubuntu LiveCD. Sure enough, Ubuntu was able to mount and give access to the Dynamic Disk without any nagging. I was able to copy the black box onto the server and then copy it back to the Windows XP install and voila - working again.
Once again, Ubuntu/Linux saves the day when Windows doesn't make any sense.
Today, I had to update the AT&T Global Dialer VPN software. Unfortunately, the new version must have a computer with XP or later, and alas, the computer that needed it was running Windows 2000. So while I'm not very happy about this prospect, I begin prep work to get it updated to XP.
Again, there's "black box" software on here, and by that I mean that not only do I not know how to use it (I rarely know how to use our medical software, because then I'd be a clerk or a nurse), but I also don't know how to install it. So in the interests of not breaking black boxes, I opt to do a full XP install and dual-boot with Windows 2000. This should be a cinch. I've done it before. No problem.
Problem.
For some inexplicable reason, the Windows 2000 partition was a "Dyamic Disk" rather than a normal partition, and when I installed XP on a second, unused partition, the boot.ini became unavailable, and rendered booting into Windows 2000 useless, although XP booted fine. Further, XP could not access any files on the Dynamic Disk - the XP Disk Manager saw it was there, but because it was Dynamic, it couldn't do anything with it except wipe it. Which would be bad.
Now I don't have any problem re-installing the regular programs from scratch and restoring people's backup files from the server, but there's this black box software on the computer that I didn't want to break, and now it's, in the words of Jeremy Clarkson, "broken."
Instead of reading up and trying to repair boot sectors and blahdeeblah, I skipped ahead to the last resort and booted up using an Ubuntu LiveCD. Sure enough, Ubuntu was able to mount and give access to the Dynamic Disk without any nagging. I was able to copy the black box onto the server and then copy it back to the Windows XP install and voila - working again.
Once again, Ubuntu/Linux saves the day when Windows doesn't make any sense.
Tuesday, April 28, 2009
Ubuntu + Firefox 3.5 beta 4
After seeing lots of good things about the latest beta of the Firefox web browser, I decided to install it on my Ubuntu computer at work. Fortunately, both the current and the beta versions can be installed concurrently on the same computer, so I won't have to worry about re-installing the current working version (just don't open them both at the same time). Following the instructions here, I was able to add the launchpad repository to Synaptic (I had to change the word "intrepid" to "hardy", since that's what I'm still using at work). Searched for Firefox, and installed the 3.5 version. Aside from many of my plugins not working (to be expected), it seems pretty stable so far.
Oh, and I disabled the launchpad repository once I installed Firefox 3.5, so I didn't accidentally update other existing software with beta versions.
Oh, and I disabled the launchpad repository once I installed Firefox 3.5, so I didn't accidentally update other existing software with beta versions.
Friday, April 24, 2009
IRC for A/V Tech
Recently I've been doing a lot of work at the church related to the Dave Ramsey Town Hall for Hope which was having a live hour-and-a-half stream of Dave talking, to be broadcast to thousands of hosting locations - our church being one of them. Naturally, it's my job to do the hours of testing, and ultimately run the A/V during the live stream.
It was very clear that while the Town Hall guys have great production equipment, they've never done anything like this before. Very clear during the testing. :/ So when the live stream day came, I was grateful for some very kind soul who set up an IRC chatroom (channel) specifically for all of us tech people to sign into and keep in contact during the live stream.
You have absolutely no idea how helpful and reassuring this was. When you're doing everything you can to make sure that live stream is solid and glitch free, and then the audio goes out, the first thing you assume is that it's something on your end. But when everyone else is reporting that, yes, their sound went out as well, it's a wave of relief. It's like that commercial for Nextel, where roadies rule the world.. Except it's with many more people keeping in touch. Without that chat, that live stream event would have been much more stressful (considering that the battery in Dave Ramsey's wireless mic failed twice).
I also need to thank Buzz Out Loud and gknee for introducting me to, and showing me how to use, IRC and XChat. It couldn't have been timed better.
It was very clear that while the Town Hall guys have great production equipment, they've never done anything like this before. Very clear during the testing. :/ So when the live stream day came, I was grateful for some very kind soul who set up an IRC chatroom (channel) specifically for all of us tech people to sign into and keep in contact during the live stream.
You have absolutely no idea how helpful and reassuring this was. When you're doing everything you can to make sure that live stream is solid and glitch free, and then the audio goes out, the first thing you assume is that it's something on your end. But when everyone else is reporting that, yes, their sound went out as well, it's a wave of relief. It's like that commercial for Nextel, where roadies rule the world.. Except it's with many more people keeping in touch. Without that chat, that live stream event would have been much more stressful (considering that the battery in Dave Ramsey's wireless mic failed twice).
I also need to thank Buzz Out Loud and gknee for introducting me to, and showing me how to use, IRC and XChat. It couldn't have been timed better.
Wednesday, April 22, 2009
Ubuntu is the Universal Donor
You need an operating system to use a computer. The operating system serves as the bridge between the electronic hardware and the programs and, ultimately, the user. An OS can be as simple as your VCR menu, or as complex as Windows or Ubuntu. When you install Windows on a computer, it examines all the particulars about your processor, systemboard, and other specifications about your computer and builds a bridge between the electronics and the user. Part of this bridge is called the HAL - the Hardware Abstraction Layer. The HAL, basically, allows components of Windows to operate correctly with parts of your computer. The HAL is very important. Without the HAL, Windows has no way to communicate to the computer.
Most of the time, the HAL works fine and doesn't give any problems. But I'm going to give a scenario. Lets imagine a user who has a laptop running Windows. He's in his office and he's typing up a documentl. It's early in the morning and he's got a hard time staying awake, so he gets up, goes to the break room and gets a hot cup of java. He brings his cup back, sets it on his desk, and returns to his e-mail. A few minutes (and a spellcheck) later the document is finished. The user clicks on Print and then gets up and goes to the printer to see how it turned out. Once he gets back, he sets down at his desk, turns, and his cup of coffee is tipped over and now spilling hot caffeinated fluid into the depths of his laptop. Fortunately the user reacts quickly and powers off the laptop, unplugs it, and removes the battery. A visit from the IT guy later and he's got a hard drive that's perfectly safe, and a laptop that needs to get sent to Dell for repairs.
At this point, the IT guy can do a few things. He may have a spare laptop available, but he'll have to copy all of the users files off the hard drive on to the spare laptop, and then make sure all the programs work correctly - a long an arduous process. If he's lucky, he'll have an identical model laptop as a spare. He can put that hard drive in the replacement laptop, power it on, and everything works as normal. This works because both laptops are the same electronics, so the HAL that Windows made on the one laptop will work seamlessly on the replacement laptop. But why won't this work if the laptop is a different model from the one that took a shot of hot coffee? Because the HAL that Windows made - this bridge between the computer and the user - doesn't line up with the electronics of a different laptop. Windows will try to load but will get a nice blue screen with geeky stuff on it, basically telling you Windows is broken and can't work. So having all laptops be identical is beneficial, because if anything goes wrong, you just swap the hard drives and work doesn't get interrupted long. But unless you're a big company with a lot of money, it can be hard to have all your computers be exactly the same. Some department has some money they need to spend before the end of the year, and they want a laptop. Six months later and some other department wants a laptop. When you have singular purchases like this, it's virtually impossible to keep all your computers identical (especially if you want the latest and greatest...or even just a better computer). It's an unfortunate scenario, but there are some ways to work around it.
Without going into great detail, technologies like thin clients, virtual machines and roaming profiles can help with this problem. But even these technologies are hard for a small business to deal with, even though they're inexpensive, and sometimes free. Wouldn't it be great if Windows could re-create the HAL each time it ran? Then it wouldn't matter (for the most part) what computer you stuck that hard drive in.
Linux can do this. Ubuntu can do this.
Again, without going into great detail, there are so many ways to install Ubuntu on to a computer. You can install it like normal, you can dual-boot it with Windows (both Windows and Ubuntu live on the same computer, and you can choose which you want to use when you turn the computer on), you can install it as a program in Windows and dual boot using Wubi, you can install Ubuntu as an application using Portable Ubuntu, you can install it to an external hard drive or flash drive, or even run it off a LiveCD. But the interesting thing is that Ubuntu builds a HAL each time it boots up a computer. Ubuntu builds a bridge between you and the computer each time it turns on. Windows just builds it one time and leaves it at that. You know what this means...
Lets take the coffe spill scenario and change one small detail. The user isn't using Windows. He's using Ubuntu. Fast forward to the end where he's got a hard drive that's safe, and a drippy caffeinated laptop that is in need of a trip to Dell. The IT guy has a spare laptop, but it's not the same as the one that got soaked. Not a problem. Stick the hard drive in the spare laptop, turn it on, and voila. Everything feels like it used to. All the files and programs are still there. Aside from physical differences between the laptops, like the keyboard, screen size, etc., the user barely notices any difference. He can get right back to work, and neither he nor the IT guy have to worry about copying files and making sure all the programs work. Whether you're the user, or the IT guy, this is a big relief.
Naturally, there are some caveats. Depending on what kind of processor you have (32-bit, 64-bit, AMD), you might run into limitations switching between computers with different processors. But those limitations are rare and can often be worked around.
But there's one other nice thing that Ubuntu does. Lots of components of a computer, like scanners, printers, monitors, graphics and sound card, aren't touched by the HAL. Windows uses things called drivers to build bridges between the HAL, the user, and the components. This is because there are so many different optional pieces of hardware, that it's easy for Windows to let the manufacturers release the computer code that lets their component work. You've probably seen this before. You attach a new printer to your Windows computer. Windows says, "Hey, you've attached a printer." Sometimes Windows will churn a bit, then say "Ah, your printer is ready to use." But more often than not, it'll bring up a screen saying "I see you've attached this printer, but I don't know how to use it. Please give me some drivers." At this point, you have to find the CD that came with your printer, or visit the manufacturer's webpage to see if the drivers are there. This can be a pain in the butt. Especially if you have something like 5 or more components that all need drivers. Even if Windows could be swapped between different computers, more than likely you would need to install several drivers to get all your components working right. Again, this takes time, can be a lot of effort, and can be completely avoided if you were using Ubuntu.
Granted, Ubuntu doesn't know how to use every piece of hardware out there. But for the most part, Ubuntu can figure out your hardware and get it working without the user having to download drivers. Ubuntu either already knows how to use it, or it offers to download the drivers for you from the Ubuntu repositories. So it's perfectly feasible to continually change out the computer you're using just by sticking the hard drive in another computer. Not only can this help in the coffee scenario, but it could also be helpful when a business phases out it's old computers and gets new ones. Normally the IT department/guy would have to set up each new computer, get the applications installed, and then copy the users' files over and make sure everything works (there are tools that can make this easier, but they can be hard to use, and more trouble to set up if you don't have all that many computers you're upgrading). It's perfectly plausible to perform the same upgrade with Ubuntu, but instead of all the work, you just take the hard drives out of the old computers, put them in the new computers, and virtually nothing changes, except now you have the benefits of the new computers. Now I'm not saying that this kind of migration is not without issues, but some planning could make such a transition very painless.
In fact, remember that big list I gave of all the ways Ubuntu can be installed in a computer? I mentioned using an external hard drive, USB flash drive, or LiveCD. With these technologies, the computer comes with you. You don't have to worry so much about having your computer with your programs and your files on it. The files and the programs are on the external drive/USB stick/LiveCD. I have installed Ubuntu onto a USB flash drive. I added some extra programs I like, and I have some personal files on it. But I can take this to any computer (that supports booting from a USB drive), stick this in, turn it on, and voila! There's my computer! Any changes I make, like new files, new programs, customized settings, all get saved back to the USB drive. So when I stick it in a different computer, all those changes come with me and work on the different computer. It's not without possible issues (the processor issue I talked about earlier, the rare piece of hardware that doesn't work correctly), but for the most part, it really is as simple as that. Ubuntu really doesn't care what computer it's running on. It doesn't care if you're using a different computer today than you were yesterday.
Ubuntu is like Type O negative blood - a universal OS type.
Most of the time, the HAL works fine and doesn't give any problems. But I'm going to give a scenario. Lets imagine a user who has a laptop running Windows. He's in his office and he's typing up a documentl. It's early in the morning and he's got a hard time staying awake, so he gets up, goes to the break room and gets a hot cup of java. He brings his cup back, sets it on his desk, and returns to his e-mail. A few minutes (and a spellcheck) later the document is finished. The user clicks on Print and then gets up and goes to the printer to see how it turned out. Once he gets back, he sets down at his desk, turns, and his cup of coffee is tipped over and now spilling hot caffeinated fluid into the depths of his laptop. Fortunately the user reacts quickly and powers off the laptop, unplugs it, and removes the battery. A visit from the IT guy later and he's got a hard drive that's perfectly safe, and a laptop that needs to get sent to Dell for repairs.
At this point, the IT guy can do a few things. He may have a spare laptop available, but he'll have to copy all of the users files off the hard drive on to the spare laptop, and then make sure all the programs work correctly - a long an arduous process. If he's lucky, he'll have an identical model laptop as a spare. He can put that hard drive in the replacement laptop, power it on, and everything works as normal. This works because both laptops are the same electronics, so the HAL that Windows made on the one laptop will work seamlessly on the replacement laptop. But why won't this work if the laptop is a different model from the one that took a shot of hot coffee? Because the HAL that Windows made - this bridge between the computer and the user - doesn't line up with the electronics of a different laptop. Windows will try to load but will get a nice blue screen with geeky stuff on it, basically telling you Windows is broken and can't work. So having all laptops be identical is beneficial, because if anything goes wrong, you just swap the hard drives and work doesn't get interrupted long. But unless you're a big company with a lot of money, it can be hard to have all your computers be exactly the same. Some department has some money they need to spend before the end of the year, and they want a laptop. Six months later and some other department wants a laptop. When you have singular purchases like this, it's virtually impossible to keep all your computers identical (especially if you want the latest and greatest...or even just a better computer). It's an unfortunate scenario, but there are some ways to work around it.
Without going into great detail, technologies like thin clients, virtual machines and roaming profiles can help with this problem. But even these technologies are hard for a small business to deal with, even though they're inexpensive, and sometimes free. Wouldn't it be great if Windows could re-create the HAL each time it ran? Then it wouldn't matter (for the most part) what computer you stuck that hard drive in.
Linux can do this. Ubuntu can do this.
Again, without going into great detail, there are so many ways to install Ubuntu on to a computer. You can install it like normal, you can dual-boot it with Windows (both Windows and Ubuntu live on the same computer, and you can choose which you want to use when you turn the computer on), you can install it as a program in Windows and dual boot using Wubi, you can install Ubuntu as an application using Portable Ubuntu, you can install it to an external hard drive or flash drive, or even run it off a LiveCD. But the interesting thing is that Ubuntu builds a HAL each time it boots up a computer. Ubuntu builds a bridge between you and the computer each time it turns on. Windows just builds it one time and leaves it at that. You know what this means...
Lets take the coffe spill scenario and change one small detail. The user isn't using Windows. He's using Ubuntu. Fast forward to the end where he's got a hard drive that's safe, and a drippy caffeinated laptop that is in need of a trip to Dell. The IT guy has a spare laptop, but it's not the same as the one that got soaked. Not a problem. Stick the hard drive in the spare laptop, turn it on, and voila. Everything feels like it used to. All the files and programs are still there. Aside from physical differences between the laptops, like the keyboard, screen size, etc., the user barely notices any difference. He can get right back to work, and neither he nor the IT guy have to worry about copying files and making sure all the programs work. Whether you're the user, or the IT guy, this is a big relief.
Naturally, there are some caveats. Depending on what kind of processor you have (32-bit, 64-bit, AMD), you might run into limitations switching between computers with different processors. But those limitations are rare and can often be worked around.
But there's one other nice thing that Ubuntu does. Lots of components of a computer, like scanners, printers, monitors, graphics and sound card, aren't touched by the HAL. Windows uses things called drivers to build bridges between the HAL, the user, and the components. This is because there are so many different optional pieces of hardware, that it's easy for Windows to let the manufacturers release the computer code that lets their component work. You've probably seen this before. You attach a new printer to your Windows computer. Windows says, "Hey, you've attached a printer." Sometimes Windows will churn a bit, then say "Ah, your printer is ready to use." But more often than not, it'll bring up a screen saying "I see you've attached this printer, but I don't know how to use it. Please give me some drivers." At this point, you have to find the CD that came with your printer, or visit the manufacturer's webpage to see if the drivers are there. This can be a pain in the butt. Especially if you have something like 5 or more components that all need drivers. Even if Windows could be swapped between different computers, more than likely you would need to install several drivers to get all your components working right. Again, this takes time, can be a lot of effort, and can be completely avoided if you were using Ubuntu.
Granted, Ubuntu doesn't know how to use every piece of hardware out there. But for the most part, Ubuntu can figure out your hardware and get it working without the user having to download drivers. Ubuntu either already knows how to use it, or it offers to download the drivers for you from the Ubuntu repositories. So it's perfectly feasible to continually change out the computer you're using just by sticking the hard drive in another computer. Not only can this help in the coffee scenario, but it could also be helpful when a business phases out it's old computers and gets new ones. Normally the IT department/guy would have to set up each new computer, get the applications installed, and then copy the users' files over and make sure everything works (there are tools that can make this easier, but they can be hard to use, and more trouble to set up if you don't have all that many computers you're upgrading). It's perfectly plausible to perform the same upgrade with Ubuntu, but instead of all the work, you just take the hard drives out of the old computers, put them in the new computers, and virtually nothing changes, except now you have the benefits of the new computers. Now I'm not saying that this kind of migration is not without issues, but some planning could make such a transition very painless.
In fact, remember that big list I gave of all the ways Ubuntu can be installed in a computer? I mentioned using an external hard drive, USB flash drive, or LiveCD. With these technologies, the computer comes with you. You don't have to worry so much about having your computer with your programs and your files on it. The files and the programs are on the external drive/USB stick/LiveCD. I have installed Ubuntu onto a USB flash drive. I added some extra programs I like, and I have some personal files on it. But I can take this to any computer (that supports booting from a USB drive), stick this in, turn it on, and voila! There's my computer! Any changes I make, like new files, new programs, customized settings, all get saved back to the USB drive. So when I stick it in a different computer, all those changes come with me and work on the different computer. It's not without possible issues (the processor issue I talked about earlier, the rare piece of hardware that doesn't work correctly), but for the most part, it really is as simple as that. Ubuntu really doesn't care what computer it's running on. It doesn't care if you're using a different computer today than you were yesterday.
Ubuntu is like Type O negative blood - a universal OS type.
Subscribe to:
Posts (Atom)