|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.
“The Internet of Things transforms the way organizations leverage machine data and gain insights from it,” noted Splunk’s CTO Snehal Antani, as Splunk announced accelerated momentum in Industrial Data and the IoT. The trend is driven by Splunk’s continued investment in its products and partner ecosystem as well as the creativity of customers and the flexibility to deploy Splunk IoT solutions as software, cloud services or in a hybrid environment. Customers are using Splunk® solutions to collect and correlate data from control systems, sensors, mobile devices and IT systems for a variety of Ind...
Oct. 4, 2015 06:45 PM EDT Reads: 560
As enterprises capture more and more data of all types – structured, semi-structured, and unstructured – data discovery requirements for business intelligence (BI), Big Data, and predictive analytics initiatives grow more complex. A company’s ability to become data-driven and compete on analytics depends on the speed with which it can provision their analytics applications with all relevant information. The task of finding data has traditionally resided with IT, but now organizations increasingly turn towards data source discovery tools to find the right data, in context, for business users, d...
Oct. 4, 2015 04:00 PM EDT Reads: 363
Clearly the way forward is to move to cloud be it bare metal, VMs or containers. One aspect of the current public clouds that is slowing this cloud migration is cloud lock-in. Every cloud vendor is trying to make it very difficult to move out once a customer has chosen their cloud. In his session at 17th Cloud Expo, Naveen Nimmu, CEO of Clouber, Inc., will advocate that making the inter-cloud migration as simple as changing airlines would help the entire industry to quickly adopt the cloud without worrying about any lock-in fears. In fact by having standard APIs for IaaS would help PaaS expl...
Oct. 4, 2015 02:30 PM EDT Reads: 381
Organizations already struggle with the simple collection of data resulting from the proliferation of IoT, lacking the right infrastructure to manage it. They can't only rely on the cloud to collect and utilize this data because many applications still require dedicated infrastructure for security, redundancy, performance, etc. In his session at 17th Cloud Expo, Emil Sayegh, CEO of Codero Hosting, will discuss how in order to resolve the inherent issues, companies need to combine dedicated and cloud solutions through hybrid hosting – a sustainable solution for the data required to manage I...
Oct. 4, 2015 02:00 PM EDT Reads: 396
SYS-CON Events announced today that ProfitBricks, the provider of painless cloud infrastructure, will exhibit at SYS-CON's 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. ProfitBricks is the IaaS provider that offers a painless cloud experience for all IT users, with no learning curve. ProfitBricks boasts flexible cloud servers and networking, an integrated Data Center Designer tool for visual control over the cloud and the best price/performance value available. ProfitBricks was named one of the coolest Clo...
Oct. 4, 2015 01:00 PM EDT Reads: 704
SYS-CON Events announced today that IBM Cloud Data Services has been named “Bronze Sponsor” of SYS-CON's 17th Cloud Expo, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. IBM Cloud Data Services offers a portfolio of integrated, best-of-breed cloud data services for developers focused on mobile computing and analytics use cases.
Oct. 4, 2015 01:00 PM EDT Reads: 543
Learn how IoT, cloud, social networks and last but not least, humans, can be integrated into a seamless integration of cooperative organisms both cybernetic and biological. This has been enabled by recent advances in IoT device capabilities, messaging frameworks, presence and collaboration services, where devices can share information and make independent and human assisted decisions based upon social status from other entities. In his session at @ThingsExpo, Michael Heydt, founder of Seamless Thingies, will discuss and demonstrate how devices and humans can be integrated from a simple clust...
Oct. 4, 2015 12:00 PM EDT Reads: 611
As more and more data is generated from a variety of connected devices, the need to get insights from this data and predict future behavior and trends is increasingly essential for businesses. Real-time stream processing is needed in a variety of different industries such as Manufacturing, Oil and Gas, Automobile, Finance, Online Retail, Smart Grids, and Healthcare. Azure Stream Analytics is a fully managed distributed stream computation service that provides low latency, scalable processing of streaming data in the cloud with an enterprise grade SLA. It features built-in integration with Azur...
Oct. 4, 2015 11:00 AM EDT Reads: 715
Apps and devices shouldn't stop working when there's limited or no network connectivity. Learn how to bring data stored in a cloud database to the edge of the network (and back again) whenever an Internet connection is available. In his session at 17th Cloud Expo, Bradley Holt, Developer Advocate at IBM Cloud Data Services, will demonstrate techniques for replicating cloud databases with devices in order to build offline-first mobile or Internet of Things (IoT) apps that can provide a better, faster user experience, both offline and online. The focus of this talk will be on IBM Cloudant, Apa...
Oct. 4, 2015 11:00 AM EDT Reads: 355
You have your devices and your data, but what about the rest of your Internet of Things story? Two popular classes of technologies that nicely handle the Big Data analytics for Internet of Things are Apache Hadoop and NoSQL. Hadoop is designed for parallelizing analytical work across many servers and is ideal for the massive data volumes you create with IoT devices. NoSQL databases such as Apache HBase are ideal for storing and retrieving IoT data as “time series data.”
Oct. 4, 2015 10:45 AM EDT Reads: 362
SYS-CON Events announced today that HPM Networks will exhibit at the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. For 20 years, HPM Networks has been integrating technology solutions that solve complex business challenges. HPM Networks has designed solutions for both SMB and enterprise customers throughout the San Francisco Bay Area.
Oct. 4, 2015 09:00 AM EDT Reads: 545
Mobile messaging has been a popular communication channel for more than 20 years. Finnish engineer Matti Makkonen invented the idea for SMS (Short Message Service) in 1984, making his vision a reality on December 3, 1992 by sending the first message ("Happy Christmas") from a PC to a cell phone. Since then, the technology has evolved immensely, from both a technology standpoint, and in our everyday uses for it. Originally used for person-to-person (P2P) communication, i.e., Sally sends a text message to Betty – mobile messaging now offers tremendous value to businesses for customer and empl...
Oct. 4, 2015 08:30 AM EDT Reads: 153
SYS-CON Events announced today that MobiDev, a software development company, will exhibit at the 17th International Cloud Expo®, which will take place November 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. MobiDev is a software development company with representative offices in Atlanta (US), Sheffield (UK) and Würzburg (Germany); and development centers in Ukraine. Since 2009 it has grown from a small group of passionate engineers and business managers to a full-scale mobile software company with over 150 developers, designers, quality assurance engineers, project manage...
Oct. 4, 2015 04:00 AM EDT Reads: 663
The broad selection of hardware, the rapid evolution of operating systems and the time-to-market for mobile apps has been so rapid that new challenges for developers and engineers arise every day. Security, testing, hosting, and other metrics have to be considered through the process. In his session at Big Data Expo, Walter Maguire, Chief Field Technologist, HP Big Data Group, at Hewlett-Packard, will discuss the challenges faced by developers and a composite Big Data applications builder, focusing on how to help solve the problems that developers are continuously battling.
Oct. 4, 2015 04:00 AM EDT Reads: 327
SYS-CON Events announced today that Cloud Raxak has been named “Media & Session Sponsor” of SYS-CON's 17th Cloud Expo, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Raxak Protect automates security compliance across private and public clouds. Using the SaaS tool or managed service, developers can deploy cloud apps quickly, cost-effectively, and without error.
Oct. 3, 2015 01:15 PM EDT Reads: 576
Who are you? How do you introduce yourself? Do you use a name, or do you greet a friend by the last four digits of his social security number? Assuming you don’t, why are we content to associate our identity with 10 random digits assigned by our phone company? Identity is an issue that affects everyone, but as individuals we don’t spend a lot of time thinking about it. In his session at @ThingsExpo, Ben Klang, Founder & President of Mojo Lingo, will discuss the impact of technology on identity. Should we federate, or not? How should identity be secured? Who owns the identity? How is identity ...
Oct. 3, 2015 11:00 AM EDT Reads: 400
SYS-CON Events announced today that Solgeniakhela will exhibit at SYS-CON's 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Solgeniakhela is the global market leader in Cloud Collaboration and Cloud Infrastructure software solutions. Designed to “Bridge the Gap” between Personal and Professional Social, Mobile and Cloud user experiences, our solutions help large and medium-sized organizations dramatically improve productivity, reduce collaboration costs, and increase the overall enterprise value by bringing ...
Oct. 2, 2015 10:00 PM EDT Reads: 542
Sensors and effectors of IoT are solving problems in new ways, but small businesses have been slow to join the quantified world. They’ll need information from IoT using applications as varied as the businesses themselves. In his session at @ThingsExpo, Roger Meike, Distinguished Engineer, Director of Technology Innovation at Intuit, will show how IoT manufacturers can use open standards, public APIs and custom apps to enable the Quantified Small Business. He will use a Raspberry Pi to connect sensors to web services, and cloud integration to connect accounting and data, providing a Bluetooth...
Oct. 2, 2015 03:30 PM EDT Reads: 341
SYS-CON Events announced today that Micron Technology, Inc., a global leader in advanced semiconductor systems, will exhibit at the 17th International Cloud Expo®, which will take place on November 3–5, 2015, at the Santa Clara Convention Center in Santa Clara, CA. Micron’s broad portfolio of high-performance memory technologies – including DRAM, NAND and NOR Flash – is the basis for solid state drives, modules, multichip packages and other system solutions. Backed by more than 35 years of technology leadership, Micron's memory solutions enable the world's most innovative computing, consumer,...
Oct. 2, 2015 07:00 AM EDT Reads: 557
Nowadays, a large number of sensors and devices are connected to the network. Leading-edge IoT technologies integrate various types of sensor data to create a new value for several business decision scenarios. The transparent cloud is a model of a new IoT emergence service platform. Many service providers store and access various types of sensor data in order to create and find out new business values by integrating such data.
Oct. 1, 2015 02:30 PM EDT Reads: 398