Enabling
Mass Computing
Priyadarsan
Patra (
Given
below are the specifics, in a nutshell, of what is needed for a Linux terminal server project suited for
a village/small-town setting or in a school classroom. This is derived from a
education project in
We
need a P3 or better class of computer as a server,
while old machines (dirt cheap) such as 486’s can be good thin-clients. Server needs two ethernet cards (one to control the
thin clients or ‘dumb terminals’ and the other to connect to Internet) and an
UPS. All the basic+ software on this linux machine is free. Only recurring cost
is the Internet connection charge. We
should get the old 486 or Pentiums from businesses that are discarding them,
thus creating a win-win proposition. I have recently sent the setup software
(for that I have 3 cd-roms which include RedHat Linux 9.0) to the principal of
JITM in Gajapati, Orissa. (We are also talking to
While faster is always better, a 486 computer using a Vesa local bus or PCI video adaptor offers a very good performance. Redrawing and scrolling is crisp. For example a DX/2-66 with an ATI Mach32-2meg is a cool station, running smoothly in 64k colors mode. Each terminal needs keyboard/mouse, an Ethernet card and/or a floppy drive. Floppy drive is not needed if the Ethernet card has the boot rom to boot from the network (served by the server).
Terminal
computing Motivation
|
· Lower client maintenance costs · Reduced hardware costs by either using older hardware as clients or by buying cheaper terminals instead of full PCs · Centralized administration of all clients ·
Drastically reduced overall administrative costs Terminal computing radically reduces maintenance costs. Many terminal computers have no moving parts (no fan, no hard drive, nothing -- remember, all computing is done on the server). Some will object that such terminals cost almost as much as a typical cheap PC. But those people miss the point. What you're buying is reliability and reduced maintenance costs. Other people will use old PCs as terminals. This presents a huge cost savings in not having to buy new hardware. With terminal computing, an old 486 or low-end Pentium computer is still a perfectly useful computer! You also get radically reduced administrative costs with terminal computing. To give all users an application you don't install it multiple times on every user's computer -- you install it once on the terminal server. So instead of 20 or 50 copies of a word processor that an administrator has to maintain, update, and repair, the admin only has to maintain one copy. Unix systems pioneered the idea of terminal computing and Microsoft has recently copied the idea and produced Windows Terminal Server to export Windows desktops to cheap terminals. However, the software costs of Microsoft's solution are outrageous, both in sheer dollar costs and also in the "cost" of freedom that you give up by agreeing to Microsoft's license agreement. Linux systems also offer terminal computing and all the advantages its offers. Using a Linux terminal server you can export a full GUI desktop to users with modern applications which any common computer user would feel right at home with. And you can do this for a $0 software cost. Curious about terminal computing? Read up on what the city of Largo, Florida has done and how they reduced their information technology budget by more than 1/2 over what other typical cities spend. |
Overview of a K12LTSP Open Source Lab
to setup our system:
A default K12LTSP installation uses two ethernet cards; eth0 and eth1.
One card connects the server to your school network. The other card creates a
private network for terminals (thin-clients). Your server and eth1 act as a
gateway for the terminals to the Internet and the rest of your network. eth1 is
configured to get its IP address via DHCP. A private DHCP server runs on eth0
to give IP numbers to terminals. This configuration is flexible in that you can
easily have multiple LTSP servers in your building all sharing the same default
configuration. Servers are "plug and play" with little or no
configuration required. It only takes about 20 minutes to be up and running.
K12LTSP is based on Red Hat 9.0 with a full set of familiar GUI tools for
configuring your server. You have the choice of KDE or GNOME desktops and many
applications.
Software Included in the K12LTSP/K12Linux Distribution:
|
|
OpenOffice |
|
|
We've included a host of useful applications that will make you productive right away.
|
Included is the rdesktop |
|
Detailed info on setting up from the 3 disks: Insert “disk I” into
the cdrom of your server machine to install and configure the server. Read the
following
|
Classroom Server 5+ clients |
|
|
Your server will have two ethernet cards, one to create
a private network (192.168.0.x) on a hub for terminals and one to connect to
the rest of your network. |
|
|
|
|
|
It's a
good idea to gather some information before you start installing Linux. If
you simply click "Next" and "Yes" straight through the
install after selecting "LTSP Server" you'll end up with a working
server ready to go. |
You
can skip all this if you're doing a default install. Just plug eth1 into a
port and if you have DHCP running on your network your server will be up and
running. Connect eth0 to a hub for clients and you're ready to go! |
|
|
|
|
Create user accounts later after system booting into linux and allowing you as the root to login for the first time. |
|
|
|
|
eth0 is the interface on the thin-client side of your LTSP
server. You will connect this network card to your terminal hub. The
192.168.0.x address is designated as a "private" IP address for internal
networks. IP traffic from you clients is routed to the Internet and the rest
of your network through eth1. |
|
Test for a working network connections:
Want to know how to see the IP addresses??? Try this simple command from a terminal window on the server: ifconfig . This will show you the current status of any active network cards. (Note: you'll need to be logged in as root.)
For more on Linux network management see our admin guide at: http://k12linux.org/netadmin/
Now that you know which card is which, plug eth0 into the terminal hub and eth1 into a port on your network. Your Terminal Server will automatically manage the IP addresses on the terminal side (eth0) and route all Internet traffic through the second ethernet card (eth1).
If you don't have dhcp running on your network you can assign any static IP address to eth1 via the control-panel. If you don't know how to do this see the admin guide mentioned above. ;-)
Test your network connection by using ping. Example ping www.yahoo.com . For more help on configuring your network settings see the admin guide .
To watch your terminals logging in you can run the tail command on your
server:
tail -f /var/log/messages - This will let you watch the log file
scroll by as terminals acquire IP numbers and login.
Making Boot Disks for Old PCs that will serve as thin-clients
There are two ways a client can boot.
1) bootp - Bootp is used when the ethernet card has a programmed boot rom
onboard. You can emulate an ethernet bootrom by booting from a floppy disk
created from the http://www.Rom-O-Matic.net
site. We've done much of this for you and have included floppy boot images in a
folder of your installed K12LTSP server.
Take a look in /tftpboot/lts/boot/bootroms . You'll find disk images
there for many popular cards. If you don't see your ethernet card head for the
Rom-O-Matic site and download the right image. It's easy to move the image to a
floppy. Just type cat eepro100.lzdsk > /dev/fd0 to
send the boot image to a floppy disk. (The example uses eepro100 card. replace
this with the right image for your card). You can buy ethernet cards with boot
roms all ready for K12LTSP from http://www.disklessworkstations.com/
.
Take a fast look at this detailed ZDNet article, which does an excellent job of describing its basic hardware and software ingredients.
OpenOffice
(the open-source alternative to Sun Microsystems' StarOffice)
works great as
Linux replacements for the spendy Microsoft
tools.
-
Understanding the diskless boot process: (More detailed
description from www.ltsp.org or www.etherboot.org)
There are several ways diskless workstations can connect to your server. You
can have bootp enabled boot roms on your ethernet card, bootp rom code that
loads from a floppy or you can use the PXE boot protocol from a PXE enabled
motherboard or floppy. In all of these the process is the same:
tail -f /var/log/messages
Printing:
There are two ways to add printers. Adding printers to the LTSP
server makes them available to all the clients as well. This is the easiest way
to do it. Just run the printtool utility and add printers as you would for any
other Linux box. You will need to run the spadmin
utility as root to configure printers for OpenOfice. This utility is copied to
/root/OpenOffice when root runs OpenOffice for the first time. See the Red
Hat Customization Guide for more printtool
info.
NOTE: If you are having problems printing from
OpenOffice, make sure you've set the paper size to letter.
Sound setup and other questions:
If there are any networking problems persisting, we can take care of them after
booting the server. The network settings
may be changed by the “root” from the Gnome desktop.
See http://k12ltsp.org/faq.html or, if
needed, write to me.
Alternatives
“Debian Edu” is another package
that is popular in
APPENDIX
Quote from an article in the Washington Post:
“In many ways,
The approach pioneered by Jhunjhunwala and his
colleagues here in the southern Indian state of Tamil Nadu aims to render that
debate irrelevant by turning over the job of connecting rural India to the
Internet to profit-minded entrepreneurs.
Central to the effort is Wireless Local Loop
technology, which provides cheap, relatively fast Internet connections to
fiber-optic cables as far as 18 miles away. Although many villages still lack
phone service,
He and his colleagues created an independent
company, n-Logue Communications, which identifies promising kiosk owners,
trains them and provides equipment — computer, printer, battery backup and
wireless Internet antenna — for about $1,000; n-Logue helps the owners arrange
financing, which is then paid off with revenue from the kiosks. The company
makes its money from hourly connection fees.
So far, n-Logue has set up more than 500 kiosks in
Tamil Nadu and other states, with plans for 10,000 by next June.
While most kiosks are run for profit, one of the
most well-established parts of the kiosk network is a demonstration project set
up with help from
“You have to do a huge amount of awareness
generation, and some of these guys are just not into that — they think it’s
like setting up a betel-nut shop or cigarette shop,” Thomas said. “If it’s to
become a part of the community, it needs a person who empathizes with the community.”