|By Mark R. Hinkle||
|June 15, 2004 12:00 AM EDT||
Many people feel that if they get something for free there is no real value in it, but that's not always the case. Free doesn't always equate to low quality or "cheap." Especially when it comes to open source and free software.
I am often fascinated by the caliber of the many open source and royalty-free applications available and useful to a variety of organizations, from business to government to education. In homage to those people who develop and donate their applications to the community, I am focusing on a collection of tools from the open source community that can be used to solve common PC problems. These solutions are not only without licensing fees, they are adaptable to different needs of various classifications of users. I chose to focus on Linux-bootable CD distributions and the utilities included with them for a range of applications from bioinformatics to rescuing PCs destined for the scrap heap or ailing due to viruses.
The best way for the new Linux user to take advantage of these tools is by virtue of a bootable Linux distribution because it won't require you to install Linux and will allow you to use an existing PC that may already have an operating system on it. Also, in many instances having a portable operating system is the key to solving your problems.
KNOPPIX: Free Operating System, Big Savings
I have mentioned on occasion the KNOPPIX Linux Distribution (www.knoppix.com), which runs from a bootable CD on a wide variety of PCs with or without all the working parts. KNOPPIX is particularly attractive because it includes a working operating system and thousands of applications, and is as easy to obtain over a broadband connection. Not only is the KNOPPIX downloadable from numerous Web sites but via the Bit Torrent (http://bitconjurer.org/BitTorrent) peer-to-peer file sharing network, an excellent and legitimate use of p2p technology. I am using for the purpose of this article the latest release, version 3.4, of KNOPPIX. (You can find out more about KNOPPIX at www.knopper.net/knoppix-info/index-en.html#description
In many businesses PCs are taken out of service as part of scheduled upgrade plans. Frequently these machines are decommissioned due to age and for purposes of standardization or because the burden of keeping them maintained is too great. What if you could turn these perfectly good though aging PCs into useful workstations for visitors or workers with relatively modest computing needs? There are many variations of how this could be useful; following are two scenarios that may be appealing.
Aging PC into a Thin-Client Machine
Imagine a company that has 20 PCs that are at the end of their useful Windows life, with the following specifications: 200MHz processor, 32MB of RAM, 2-4GB hard drives. They are constantly breaking down or needing software updates, and you're contemplating an upgrade to new hardware and the latest Windows operating system. The conventional solution is to buy 20 replacement PCs with Microsoft Windows at an average cost of $600-$800 or a total of $12,000-$16,000, and additional applications can quickly raise those figures.
An alternative Linux solution allows you to keep your existing PCs but to burn copies of the KNOPPIX CD, setting the PCs to boot from the CD. The total cost for materials for this solution is about $ .25 per PC, or $5 plus the time to complete the conversion. Then you can invest $2,000 in a file server that can save all the files and if necessary serve applications through a terminal server model, which can extend the useful life of the hardware for a number of years. This solution has limitations, but it does provide a couple of advantages. First, there are fewer moving parts at the user's desktop so there are fewer things that can break. Second, because the system is read-only users have significant protection from viruses as well as other undesirable changes that result from conventional PC configurations. Third, new applications can be pushed out to users from your central terminal server or via a Web services model that no longer requires changes on the client machine. For more information on thin-client computing, see my story in the January 2004 issue of LinuxWorld Magazine, "Desktop Linux: Think Thin" (Vol. 2, issue 1, www.linuxworld.com/story/38281.htm).
Kiosk for Web Browsing and Internet Access or Training Labs
There is an old saying, "One man's trash in another man's treasure." In the day and age when PCs are selling for less than $400, there is little incentive to keep old PCs in service and many organizations refresh their workstations often. Just because your workstations are being replaced doesn't mean you can't find new uses for your older PCs. One such use is to create kiosks for visitors to access the Web and check their e-mail when visiting your facility, or perhaps to outfit a training room that does Web-based training. These PCs, once configured to boot from CD, are impervious to most software failures. Since the file system on the PC is read-only, any problems can be fixed with a simple reboot. Because of this virtually bulletproof configuration, Linux distributions that run from a live file system CD lend themselves to a multi-user situation. Another alternative is to demonstrate this solution to a local charitable organization and donate the PCs to them - a local school will understand the value of the donation and potentially provide a tax write-off. Also, before you donate them you can use the SHRED utility mentioned later in this article to ensure that all data has been removed.
Many people today have laptops, but it's not always convenient to carry one. Often when we visit friends they have a computer that we may borrow. These computers usually have an Internet connection and some core applications, but they don't usually have the data we need. One solution is to use KNOPPIX in conjunction with a USB memory stick. The memory stick can hold all your critical data, such as your address book and documents, and maybe a calendar or other information that you want to make sure travels with you. One way to accomplish this is to use the "persistent Knoppix home directory." To do this you can allow Knoppix to boot from your USB thumb drive and make your computing environment both lightweight and highly portable. The following recipe will give you a blueprint to accomplish this type of solution:
- Boot into Knoppix and insert your USB storage drive.
- Choose "Create a persistent KNOPPIX Home directory" by going to your K Menu > Configure.
- When asked if you want to create a persistent home directory, choose "Yes."
- Now you choose to create the partition on your USB key; usually these drives will register as /dev/sda or /dev/sda1.
- Next you will be offered the choice to use the ENTIRE Partition, if you are only using your USB thumb drive for Knoppix this should be fine. If you choose the FAT32 format you can access the thumb drive from both Linux and Windows.
Now you can take this CD and thumb drive to another computer and your data and settings will travel with you. Knoppix.net has a Persistent Home How-To on their Web site (www.knoppix.net/docs/index.php/PersistentHomeHowTo); their forums offer additional information for this type of configuration.
There are tons of commercial solutions for reviving "dead" Windows PCs by numerous reputable software makers. However, the Knoppix live CD distribution includes utilities that can solve many common problems that these often-expensive solutions address.
Windows Installation Won't Boot
Sometimes Windows installations run into errors that won't boot. In these cases you have a couple of options; the first is to try your rescue disk from the operating system you have installed. If that doesn't work you can boot from your Knoppix disk to install files, edit configurations, and access your data. Sometimes it may be necessary for you to download a file and overwrite one that is corrupt so that your installation can still boot. You can use Knoppix to boot and edit your windows.sys or other system files that might prevent Windows from booting.
Rescuing Files and Moving Them to a Windows File Server
A couple of months ago a friend of mine brought me his laptop that was running Windows 98; no matter what he tried he could not get Windows to boot. After considerable time spent investigating his problem I was unable to boot Windows either. This was a huge problem for him as he had a presentation (for his son's wedding) held hostage by his laptop. I told him not to worry and pulled out my Knoppix CD. I then proceeded to successfully boot his four-year-old Gateway laptop via Knoppix. Since the presentation he needed was in PowerPoint I booted up in Windows PC and copied the files over from one PC to the other. I did this through the handy LinNeighborhood application (www.bnro.de/~schmidjo), a front end for Samba (www.samba.org) that allows Linux users to access Windows files and print services using the Server Message Block (SMB) protocol.
To solve my friend's dilemma I launched LinNeighborhood, which allowed me to browse the Windows PCs on my network. Then I entered my information for the machine I wanted to connect to (in this case it was called Hinkle-Top and I entered the IP address and the Hinkle-Top entry showed up in the LinNeighborhood window). Then I right-clicked the associated icon and chose to scan as user. The scan as user function allowed me to enter my Windows username and password. This then allowed me to see all the shared directories on that Windows PC. The next step was to right click on the share I wanted to access (in this case it was called Data) and choose mount. The directory then showed up in the lower window with the mount point (in this case /root/mnt/HINKLE-TOP/Data/); then since my friend needed to browse his drive I chose to set up Konqueror (a graphical file manager and Web browser like Windows explorer). To make sure I had full permissions to read and write to the partition I went to a command prompt and launched Konqueror by typing "su" to gain super user access, then I typed konqueror to run the graphical utility with the permissions I needed. To move the files I dragged them from one Window to another. Figure 1 shows both the local disk and the remote Windows PC. In conjunction with Konqueror file manager, this solution offers an easy way to drag and drop files from one PC to another.
Manipulating a Hard Drive (Formatting, Partitioning, Erasing)
Knoppix includes many disk utilities for manipulating hard drives, including partitioning tools and utilities to securely delete data from the hard drive before it is thrown out or repurposed. The following tools are well suited to these types of tasks.
QTParted (http://qtparted.sourceforge.net) is a graphical clone of the popular disk utility Partition Magic. It's written using the QT toolkit and the command line tool "parted," hence the name. What it I find it useful for in my Windows to Linux migration is to resize Windows partitions so that I can install Linux in a dual boot setup (see Figure 2).
Many Windows users will recognize the term fdisk, which is a menu-driven program for creation and manipulation of partition tables. Partitions are logical disks on a physical device. These logical disks can be formatted with a variety of file systems. Also, fdisk can create or delete partitions and rewrite the master boot record. To use fdisk from Knoppix just launch a command prompt and make sure to su to root, then to access your disk type fdisk /dev/hda where hda is the name of your hard drive (usually this will be /dev/hda but if you have two hard drives you may see it as /dev/hdb). For more information on how to use fdisk you can type m for help at the Command: prompt. Also, you may find it useful to read the fdisk manual by typing info fdisk at a command prompt. This will bring up extended data on the fdisk partition table manipulator (see Figure 3).
Securely Deleting Data from a PC
SHRED - (Click Here !) - When you delete files from your operating system what normally happens is that you are only deleting an entry in the index of files that tells where that data is stored. Though the data is no longer visible it still exists until new data overwrites the old data. An unscrupulous user could use utilities to recover this data since files that you thought were deleted may still exist on the hard drive. That's where a utility like SHRED comes in handy. SHRED actually overwrites that data with new data so that there is little chance of recovery. By default shred will overwrite your hard drive 25 times with data and greatly reduce the risk of old data being recovered. To "shred" a hard drive with Knoppix you would simply go to a command line and type:
shred -verbose /dev/hda
where /dev/hda is the name of the hard drive you want to shred or delete all data from. In cases where sensitive data is stored on PCs it's very important to delete this data completely before repurposing or disposing of PCs and shred would be a useful means to securely wipe this data whether this be for patient data in a doctor's office or a government office that has standards for secure destruction of computer data.
Various Bootable Linux CD Distributions
There are many customized live CD Linux distributions that are useful and specialized for different purposes. The following are a few examples of special-use live CD Linux distributions.
Damn Small Linux
Damn Small Linux (www.damnsmalllinux.org) is a bootable CD Linux distribution that can fit on a 50MB CD about the size of a business card that you can carry in your wallet. Damn Small Linux doesn't have as many applications as Knoppix but it does include some critical applications including a mail client, Web browser, spreadsheet program, PDF viewer, and more.
INSERT (INside SEcurity REscue Toolkit)
INSERT (www.inside-security.de/INSERT_en.html) is a small footprint bootable Linux system that like Damn Small Linux can fit on a business card sized CD. However, INSERT includes tools that would be most useful for repairing and diagnosing computer problems.
Morphix (www.morphix.org) is a distribution that can be "morphed" into a bootable Linux CD with your specifications. So in the likelihood that you have specific requirements for your own bootable Linux distribution you can roll your own Live CD distribution with the aid of the Morphix TROM (Total Remastering of Morphix - www.morphix.org/trom) utility.
These are a few of the specialized bootable Linux distributions that I have used in the past. For a more comprehensive list you can visit www.knoppix.net/docs/index.php/KnoppixCustomizations.
I hope you find these tips valuable in your everyday computing life. All these solutions are useful to average IT users. Users with modest knowledge of Linux can execute every one of the solutions mentioned here; with a little research and creativity you can solve these and many other inconveniences. Best of all, these applications are unencumbered by licensing fees and can be freely obtained from the Internet. The fact that they are almost all developed under an open source licenses means that it's easy for other community members to improve upon software and redistribute their improvements. It also makes it possible for unrelated parties to continue the work of the previous parties should they decide to stop developing their solution. This type of model makes a lot of sense, especially when it enables the widest possible involvement of developers and companies globally.
|Arnold L. Johnson 01/20/08 09:10:49 AM EST|
Your article is right on the money. I so much enjoy not being tethered to a Microsoft machine. Many friends have older PC's with borrowed copies of MS windows on them and can not get upgrades. I try to interest them in live-CD Linux, they fear not being compatible with MS business software. A live-CD says "don't take my word on this, but look here". I am so impressed.
You think you know what’s in your data. But do you? Most organizations are now aware of the business intelligence represented by their data. Data science stands to take this to a level you never thought of – literally. The techniques of data science, when used with the capabilities of Big Data technologies, can make connections you had not yet imagined, helping you discover new insights and ask new questions of your data. In his session at @ThingsExpo, Sarbjit Sarkaria, data science team lead ...
May. 2, 2016 11:00 PM EDT Reads: 973
In his session at @ThingsExpo, Chris Klein, CEO and Co-founder of Rachio, will discuss next generation communities that are using IoT to create more sustainable, intelligent communities. One example is Sterling Ranch, a 10,000 home development that – with the help of Siemens – will integrate IoT technology into the community to provide residents with energy and water savings as well as intelligent security. Everything from stop lights to sprinkler systems to building infrastructures will run ef...
May. 2, 2016 07:00 PM EDT Reads: 1,043
SYS-CON Events announced today that Peak 10, Inc., a national IT infrastructure and cloud services provider, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Peak 10 provides reliable, tailored data center and network services, cloud and managed services. Its solutions are designed to scale and adapt to customers’ changing business needs, enabling them to lower costs, improve performance and focus inter...
May. 2, 2016 06:30 PM EDT Reads: 1,293
Artificial Intelligence has the potential to massively disrupt IoT. In his session at 18th Cloud Expo, AJ Abdallat, CEO of Beyond AI, will discuss what the five main drivers are in Artificial Intelligence that could shape the future of the Internet of Things. AJ Abdallat is CEO of Beyond AI. He has over 20 years of management experience in the fields of artificial intelligence, sensors, instruments, devices and software for telecommunications, life sciences, environmental monitoring, process...
May. 2, 2016 05:15 PM EDT Reads: 983
Increasing IoT connectivity is forcing enterprises to find elegant solutions to organize and visualize all incoming data from these connected devices with re-configurable dashboard widgets to effectively allow rapid decision-making for everything from immediate actions in tactical situations to strategic analysis and reporting. In his session at 18th Cloud Expo, Shikhir Singh, Senior Developer Relations Manager at Sencha, will discuss how to create HTML5 dashboards that interact with IoT devic...
May. 2, 2016 05:00 PM EDT Reads: 1,092
So, you bought into the current machine learning craze and went on to collect millions/billions of records from this promising new data source. Now, what do you do with them? Too often, the abundance of data quickly turns into an abundance of problems. How do you extract that "magic essence" from your data without falling into the common pitfalls? In her session at @ThingsExpo, Natalia Ponomareva, Software Engineer at Google, will provide tips on how to be successful in large scale machine lear...
May. 2, 2016 03:45 PM EDT Reads: 1,340
The IoTs will challenge the status quo of how IT and development organizations operate. Or will it? Certainly the fog layer of IoT requires special insights about data ontology, security and transactional integrity. But the developmental challenges are the same: People, Process and Platform. In his session at @ThingsExpo, Craig Sproule, CEO of Metavine, will demonstrate how to move beyond today's coding paradigm and share the must-have mindsets for removing complexity from the development proc...
May. 2, 2016 03:00 PM EDT Reads: 351
SYS-CON Events announced today that Ericsson has been named “Gold Sponsor” of SYS-CON's @ThingsExpo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. Ericsson is a world leader in the rapidly changing environment of communications technology – providing equipment, software and services to enable transformation through mobility. Some 40 percent of global mobile traffic runs through networks we have supplied. More than 1 billion subscribers around the world re...
May. 2, 2016 02:45 PM EDT Reads: 1,083
You deployed your app with the Bluemix PaaS and it's gaining some serious traction, so it's time to make some tweaks. Did you design your application in a way that it can scale in the cloud? Were you even thinking about the cloud when you built the app? If not, chances are your app is going to break. Check out this webcast to learn various techniques for designing applications that will scale successfully in Bluemix, for the confidence you need to take your apps to the next level and beyond.
May. 2, 2016 12:00 PM EDT Reads: 1,549
There is an ever-growing explosion of new devices that are connected to the Internet using “cloud” solutions. This rapid growth is creating a massive new demand for efficient access to data. And it’s not just about connecting to that data anymore. This new demand is bringing new issues and challenges and it is important for companies to scale for the coming growth. And with that scaling comes the need for greater security, gathering and data analysis, storage, connectivity and, of course, the...
May. 2, 2016 11:45 AM EDT Reads: 959
SYS-CON Events announced today that Fusion, a leading provider of cloud services, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Fusion, a leading provider of integrated cloud solutions to small, medium and large businesses, is the industry's single source for the cloud. Fusion's advanced, proprietary cloud service platform enables the integration of leading edge solutions in the cloud, including cloud...
May. 2, 2016 10:00 AM EDT Reads: 2,632
Digital payments using wearable devices such as smart watches, fitness trackers, and payment wristbands are an increasing area of focus for industry participants, and consumer acceptance from early trials and deployments has encouraged some of the biggest names in technology and banking to continue their push to drive growth in this nascent market. Wearable payment systems may utilize near field communication (NFC), radio frequency identification (RFID), or quick response (QR) codes and barcodes...
May. 2, 2016 09:15 AM EDT Reads: 869
The increasing popularity of the Internet of Things necessitates that our physical and cognitive relationship with wearable technology will change rapidly in the near future. This advent means logging has become a thing of the past. Before, it was on us to track our own data, but now that data is automatically available. What does this mean for mHealth and the "connected" body? In her session at @ThingsExpo, Lisa Calkins, CEO and co-founder of Amadeus Consulting, will discuss the impact of wea...
May. 2, 2016 08:45 AM EDT Reads: 794
SYS-CON Events announced today that DatacenterDynamics has been named “Media Sponsor” of SYS-CON's 18th International Cloud Expo, which will take place on June 7–9, 2016, at the Javits Center in New York City, NY. DatacenterDynamics is a brand of DCD Group, a global B2B media and publishing company that develops products to help senior professionals in the world's most ICT dependent organizations make risk-based infrastructure and capacity decisions.
May. 2, 2016 06:30 AM EDT Reads: 2,543
The IoT has the potential to create a renaissance of manufacturing in the US and elsewhere. In his session at 18th Cloud Expo, Florent Solt, CTO and chief architect of Netvibes, will discuss how the expected exponential increase in the amount of data that will be processed, transported, stored, and accessed means there will be a huge demand for smart technologies to deliver it. Florent Solt is the CTO and chief architect of Netvibes. Prior to joining Netvibes in 2007, he co-founded Rift Technol...
May. 1, 2016 11:00 PM EDT Reads: 1,625
We’ve worked with dozens of early adopters across numerous industries and will debunk common misperceptions, which starts with understanding that many of the connected products we’ll use over the next 5 years are already products, they’re just not yet connected. With an IoT product, time-in-market provides much more essential feedback than ever before. Innovation comes from what you do with the data that the connected product provides in order to enhance the customer experience and optimize busi...
May. 1, 2016 05:00 PM EDT Reads: 1,085
SYS-CON Events announced today that Stratoscale, the software company developing the next generation data center operating system, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. Stratoscale is revolutionizing the data center with a zero-to-cloud-in-minutes solution. With Stratoscale’s hardware-agnostic, Software Defined Data Center (SDDC) solution to store everything, run anything and scale everywhere...
May. 1, 2016 01:30 PM EDT Reads: 1,610
Angular 2 is a complete re-write of the popular framework AngularJS. Programming in Angular 2 is greatly simplified – now it's a component-based well-performing framework. This immersive one-day workshop at 18th Cloud Expo, led by Yakov Fain, a Java Champion and a co-founder of the IT consultancy Farata Systems and the product company SuranceBay, will provide you with everything you wanted to know about Angular 2.
May. 1, 2016 01:00 PM EDT Reads: 1,784
SYS-CON Events announced today that Men & Mice, the leading global provider of DNS, DHCP and IP address management overlay solutions, will exhibit at SYS-CON's 18th International Cloud Expo®, which will take place on June 7-9, 2016, at the Javits Center in New York City, NY. The Men & Mice Suite overlay solution is already known for its powerful application in heterogeneous operating environments, enabling enterprises to scale without fuss. Building on a solid range of diverse platform support,...
May. 1, 2016 12:15 PM EDT Reads: 2,362
Whether your IoT service is connecting cars, homes, appliances, wearable, cameras or other devices, one question hangs in the balance – how do you actually make money from this service? The ability to turn your IoT service into profit requires the ability to create a monetization strategy that is flexible, scalable and working for you in real-time. It must be a transparent, smoothly implemented strategy that all stakeholders – from customers to the board – will be able to understand and comprehe...
May. 1, 2016 11:00 AM EDT Reads: 1,127