Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
General Contacts
General Enquiries
Fax
01625 855169
01625 855071
www.linux-magazine.co.uk
CURRENT ISSUES
THE QUIET
Subscriptions subs@linux-magazine.co.uk
Email Enquiries edit@linux-magazine.co.uk
Letters letters@linux-magazine.co.uk
REVOLUTION
CD Editor Richard Smedley
rsmedley@linux-magazine.co.uk
ISSN 14715678
Toshiba
chooses Hard Hat
Toshiba has chosen to use MontaVista’s Hard Hat
Lineo and ADS announce handy Linux in the development of embedded products
for the printer, set top box and digital
partnership television markets.
Toshiba and MontaVista have already begun
Embedded systems, real-time and high availability solutions provider Lineo is working together and will mark the launch of their
collaborating with RISC-based systems developer Applied Data Systems (ADS) to deliver partnership by porting MontaVista’s Hard Hat
a development platform for smart handheld devices. Linux to Toshiba’s TX39 and TX49 embedded
The Lineo Embedix Plus for SHDs platform has been developed for manufacturers processor families. Toshiba will also name Hard Hat
who require a solution to enable rapid production of SHDs, PDAs and other information Linux as one of the standard operating systems for
appliances. It offers an open standards platform based on Linux and Java and uses Lineo its TX39 and TX49 processors. Toshiba plans to
Embedix SDK to integrate SHD solutions including Insignia’s Jeode Java Virtual Machine release Hard Hat Linux-supported TX39 and TX49
technologies, Trolltech’s Qt/Embedded GUI and Opera Software’s Operal 5 for Linux processors from September 2001.
Web browser. Masafumi Watanabe, Deputy General
The ADS Graphics Client Plus system is the first hardware to run Embedix Plus for Manager, of Toshiba Corporation said, ”We are
SHDs. Addressing the needs of graphics intensive applications with onboard I/O working with MontaVista to provide more
requirements, Graphics Client Plus is based on the StrongARM SA1110 processor, with comprehensive support for our current and future
up to three serial ports, onboard Ethernet, CAN and IrDA, SCMCIA, USB slave, ‘smart’ customers, not only in Japan but throughout Asia
real-time I/O and integrated flat panel and touch screen support. ■ and the world.” ■
Virus-free
Data security software developer Kaspersky Labs
has released the latest version of its KasperskyT
Anti-Virus for UNIX/Linux operating system.
Registered users of Kaspersky Anti-Virus
Business Optimal and Corporate Suite can
install the latest version for
UNIX/Linux free of charge.
The new version adds
multithreaded
object-scanning
technology that
enables the
antivirus scanner Solaris in the Izodia loop
to simultaneously check Business to business e-commerce solution provider
any number of files, with sessions limited only by Izodia has added support for Sun Solaris 8TM to its
the server’s capabilities. The number of active InTrade 5 ecommerce software platform.
sessions can be defined in the start-up command InTrade 5, a unified application for business-to-
line or in the Kaspersky Anti-Virus configuration file. business e-commerce chain management, also
The new version also features support for OpenBSD supports Windows NT, Windows 2000, and UNIX.
2.8 and Solaris 8 operating systems, as well as for The Solaris release for InTrade 5 will also add
the exim email gateway for UNIX and Linux. support for Oracle 8iTM databases, and any
As a time saving benefit for administrators, the standards-based Web Server.
solution now enables remote control of the With more than 1,600 documented XML API
program for use with a Web interface using a calls, the system’s functions can be called by, and
secure HTTPS connection. Other modifications to exchange information with external applications.
the solution include faster email scanning speeds The InTrade 5 solution is designed to address the
and improvements to the antivirus monitor, which needs of businesses trading internationally and
can now intercept file operations and transfer provides them with support for multiple language,
objects in real time for scanning without the need currency, tax systems, date formatting and
for a buffer directory with delayed scanning. ■ international trade principles. ■
Berkeley squared
Sleepycat Software has announced that its operational twenty-four hours a day, seven days a
Berkeley DB version 3.3, together with its week, it’s possible to have brief periods of time
complete source code, is now available for when there’s no spare disk space available. It’s
download from the Sleepycat website. important for key system services, like the
Version 3.3 includes offers features for high database, to continue operating in those cases.
availability, along with performance Release 3.3 of Berkeley DB can survive these kinds
enhancements, and support for Lineo’s Embedix of failures. We’ve also added some new
embedded Linux operating system. Once performance enhancements, like support for
embedded in the application, Berkeley DB needs lower isolation levels and faster data retrieval, that
no separate database server or administration. our customers have asked for.”
Features include concurrency, transactions, Berkeley DB runs on most UNIX and Linux
disaster recovery, hot backup, and other systems, as well as Wind River’s VxWorks, QNX’s
critical services. RTOS, and Windows 95/98/NT/2000.
Michael Olson, vice president of marketing for
Sleepycat Software, said that new features of the
system were added in response to customer Info
requests. ”Our customers have been asking for http://www.sleepycat.com
high availability features for some time now. For
example, in complex systems that must be up and ■
A kind of magic
Linux customers looking for an Internet-based purchase requisition tracking, insurance policy
service desk solution may be interested in a new tracking, online employment application and
offering developed by Magic Solutions in software defect logging.
partnership with National Computer Chuck Clements, president of NCE,
Enterprises (NCE). commented, ”Now that Magic is running on both
The browser based Magic Total Service Desk Linux and UNIX, enterprises using these platforms
(TSD) solution is designed for rapid deployment will benefit from the improved business efficiency
and aimed at users running the Oracle database on and lowered costs that Magic provides. This is a
a Linux platform. great advantage to companies that were
Magic TSD features remote control capabilities previously unable to merge their solution desk
and enterprise-level support management with their platform.”
integrated with desktop, network and event
management tools. The solution’s functionality
covers business automation, purchasing and Info
customisation tools. The software is geared to www.magicsolutions.com
enabling users to manage their service desk from http://www.nai.com
any location while serving as a platform for the
development of such Web-based applications as ■
Family support
Business application development solution
provider Acucorp has announced that it is
providing support for Linux on IBM’s eServer z900
and S/390 on its Acucorp extend 5 solution.
The extend 5 family of solutions enables
software developers to convert their COBOL
applications for use by modern systems. extend 5
is available for a variety of platforms including
Windows 9x/NT/2000, AIX, Solaris, HP/UX,
DG/UX. Features include products and services for Service included
enabling Internet deployment, graphical COBOL
development, data access, distributed computing Caldera has released two new server products designed for enabling the deployment of
and increased programmer productivity. Linux applications on both the Linux and UNIX platforms.
The new Acucorp solution will enable Caldera OpenLinux Server and Caldera Open UNIX 8 are geared towards business
software developers to move their ACUCOBOL-GT needs ranging from those of the low-end server to the high-end data centre.
to Linux for eServer z900 and S/390 without the Open UNIX 8 is a deployment platform for industry standard Intel processor systems.
need for costly recompilation. Evolved from Caldera’s acquisition SCO UNIXware, it incorporates the Linux Kernel
Dr. Pamela Coker, chief executive of Acucorp Personality (LKP) technology, enabling users to run Linux applications and UNIX
said, ”Acucorp has been supporting Linux for applications simultaneously.
years, so there was no question that we would Aimed at users engaged in building Internet-enabled business solutions, OpenLinux
support Linux for z900 and S/390We know that server is based on the Linux 2.4 kernel has an integrated Linux operating system. The
our worldwide customers, including more than software comes with default configurations for secure Web, file and print and network
1,000 ISVs, as well as z900 and S/390 customers infrastructure servers. Management tools include the Webmin secure browser-based
requiring a robust COBOL solution for Linux, will management capability, Caldera’s Volution agent for simplified configuration and
find substantial value in combining the strength of management of Linux systems, and the Volution Online browser-based decision tool and
Acucorp’s proven technology with the Linux for update service for the deployment and analysis of software updates.
S/390 operating system. This unique combination Caldera chief executive Ransom Love said, ”Caldera’s release of these products
will provide customers with powerful Linux-based demonstrates our desire to lift the strengths of Linux and incorporate them with the
COBOL applications and data access solutions that many well-known strengths of UNIX. With Open UNIX 8 and OpenLinux Server, Caldera
are unparalleled in the industry today.” provides the best in UNIX and Linux deployment. The result is cost savings, stability and
an extremely scalable application environment.”
Info
http://www.acucorp.com/Services/evalform.html Info
http://www.caldera.com/
■
■
Info
www.openone.com
RAD tool
■ Cape Clear Software has announced that the beta
version of its CapeStudio Web Services Rapid
Application Development (RAD) tool is now
available for download from its website.
The CapeStudio Web services development
environment works with Web Services platform
based on XML, SOAP, WSDL, and Universal
Description, Discovery and Integration (UDDI)
industry standards. It can be used to generate
code sutomatically for Java or Visual Basic from
RidgeRunning Texas support Web Services Description Language (WSDL) files,
which describe the interfaces to Web services. The
Embedded Linux software and tools developer RidgeRun has released its Board Support solution works with Cape Clear’s CapeConnect
Package (BSP) for the Texas Instruments TMS320DSC21 digital signal processor. Web Services platform to form Cape’s end-to-end
The new solution aims to speed up development cycles by enabling embedded design-to-deployment solution for Web services.
system developers to build an embedded product quickly, start writing applications John Maughan, CapeStudio product manager at
before hardware is available, access royalty-free Open Source code, and use DSPs Cape Clear Software commented, ”CapeStudio
without the need for expertise in DSP algorithm development. brings a new level of ease-of-use to Web Services,
RidgeRun DSC21 BSP offers a compiler, assembler, debugger, linker, Standard C automating much of the code generation and
library and utility programs for software development. In addition to providing the Open opening Web Services to a whole new range of
Source Linux Kernel optimised for the TI TMS320DSC21 processor, the BSP provides developers and business analysts. Web Services
drivers for system-on-chip peripherals including on-screen display, UART, compact flash have succeeded in delivering cross-platform
and USB. An Appliance Simulator enables developers to build, implement and test integration across the Internet, but unless the
products for hardware which may not be readily available, by enabling them to run their development and deployment of Web Services is
software on a simulation of the required hardware using the same cross-compile tools made widely accessible its success will be
as they would use on the real target. hampered – CapeStudio provides that access.”
Info Info
www.ridgerun.com http://www.capeclear.com
■ ■
SECURITY
MIRRORING PATRICIA JUNG
install /mnt/backup;
ensures that the respective data lands under Listing 1: Example of an rdist distfile
/mnt/backup on the destination system. If there isn't private: ( ~/private ~/letters ) -> trish@192.168.1.249
one, rdist (to be precise, the rdistd called up by it on install /mnt/backup/private;
the destination computer) also makes this directory. except_pat tmp;
What matters here is the semicolon at the
command end. thesis: /home/trish/thesis -> lillegroenn.trish.de
install ~/backup;
There are a few commands such as install,
except_pat ( \\.tgz\$ [Tt][mM][pP] );
which modify the action of rdist; we shall pick out
notify pjung@linux-magazine.co.uk;
two more at this point, which are of general interest
with respect to backups: except_pat excludes files # Copy the Netscape bookmarks on the spot
and directories from the backup which corresponds bookmarks: ~/.netscape/bookmarks.html -> lillegroenn.trish.de
to the pattern specified. install ~/.netscape/bookmarks.html;
except_pat tmp;
APPLIED
ALCHEMY
PATRICIA JUNG, THOMAS DRILLING, ULRICH WOLF, MIRKO DÖLLE, JAN KLEINERT
Linux-Mandrake 8.0
http://www.linux-mandrake.com
Power Pack
£56
Pro Suite Edition
£136
This is the right moment for a distribution test; on commercial development by the founder
the one hand the 2.4 kernel is still nice and fresh, of Debian, Ian Murdock.
but on the other hand, it has been hanging around The concept of the test follows
long enough to be suitable for productive systems. the idea that when choosing a
Also, Xfree86 4.0 and KDE 2.1 have made their suitable distribution, every user
names as standards. has different preferences.
In February SuSE had already presented its Linux Hence the test is broken down
7.1, based on kernel 2.4.0. But the reviews were into sections called
somewhat mixed (Linux Magazine Issue 9). Now the Installation, Hardware,
German developers have souped up version 7.2. Desktop Compatibility,
The competition is not sleeping. Red Hat Linux Server Compatibility,
7.1, Linux-Mandrake 8.0 and Caldera Open Linux Security and Support, and
have also just come out. The testers did a top-to-toe Documentation. This
examination of all four distributions for each makes it easier to find
Standard and Professional variant. The test field is your own personal
completed by the Debian-derivative Progeny, a requirements. ■
1/3
ad
INSTALLATION Linux has managed to score a good One collection of software intended for the mass
market is now no more complicated to put onto
few points against Windows disk than Windows 2000. But sometimes the devil is
recently because the installation in the detail.
Installation
- SuSE Linux 7.2 SuSE Linux 7.2 Red Hat Linux 7.1 Red Hat Linux 7.1
Personal Professional Deluxe Edition Professional Edition
Language English yes yes yes yes
Clarity very good very good usable usable
Automatic Partitioning yes, result relatively usable, yes, result relatively usable, yes / result relatively usable yes / result relatively usable
FAT32 resizing possible 1) FAT32 resizing possible 1) (see text) (see text)
Other FS offered FAT32 ReiserFS LVM, FAT32, ReiserFS,-LVM, FAT with restriction, FAT with restriction,
encryption possible encryption possible Soft-RAID with Ext2 Soft-RAID with Ext2
Number of standard 5/7 5/7 4 / 3 to 8 4 / 3 to 8
profiles / packet groups
Package manager organised hierarchically, organised hierarchically, organised hierarchically, organised hierarchically,
searchby packet name search by packet name search by packet name does search by packet name does
possible possible not work, only for CD 1+2 not work, only for CD 1+2
Hard disk capacity (MB) 1500 1500 1200 1200
Graphics card correctly yes, but 3D-acceleration yes, but 3D-acceleration yes yes
recognised cannot be activated cannot be activated
Large Monitor DB yes yes yes yes
Image Refresh optimal optimal optimal optimal
Image geometry optimal optimal optimal 2) optimal 2)
Boot manager installation automatic and manual, automatic and manual, Win fully automatic, can be fully automatic, can be
Win98 partition recognised 98 partition not recognised adapted to user-defined inst. adapted to user-defined inst.
Boot manager Lilo 21.6 Lilo 21.6 Lilo 21.4 Lilo 21.4
Dial-up Installation Modem, ISDN, ADSL Modem, ISDN, ADSL no no
Provider-DB yes yes no no
Mouse/wheel recognised yes / no yes / no yes / no yes / no
Printer database yes, printer autom. recognised, yes, printer autom. recognised, add-on only, then driver add-on only, then driver
test image printout test image printout DB in Linuxconf DB in Linuxconf
Navigation in wizard serial and forwards / serial and forwards / serial and forwards / serial and forwards /
backwards backwards backwards backwards
Overall impression Consistent, easy to Consistent, easy to Usable, but a few bugs Usable, but a few bugs
of installation understand, clearly described. understand, clearly and language confusion, and language confusion,
Apart from the LVM described. difficult to install additional difficult to install additional
configuration, exemplary. CDs. CDs. (DVD: see Text)
Assessment ++ ++ - -
1) Bug: With automatic partitioning an existing Windows partition must be reduced, although there are deletable partitions.
functions perfectly, unlike the SuSE-7.1 YaST2. unclear user help and error messages such as "The
The bugs which have not been removed entry is invalid. You must enter a value between 1M
included an insistence on wanting to reduce an and 0MB. e.g. 40M 1 G...".
existing Windows partition even when other
partitions have to be deleted to make space. Red Hat Linux 7.1
SuSE offers to encrypt file systems of any kind
whatsoever on installation. You then need a Installation of Red Hat 7.1 Deluxe and Professional
password for mounting. Logic volumes can also be edition are the same, because the first eight CDs of
defined at the time of installation. A Yast module both variants are identical. The installation program
for run-time configuration should soon be issued as has hardly changed at all compared to
an online update. earlier versions.
Gnome fans will not get their money's worth Automatic partitioning is somewhat misleading.
with a standard installation, but they will from the Contrary to the description "Automatic partitioning
extended packet selection. Missing the checkbox and DELETION OF DATA" only Linux partitions are
means you will have to install the individual packets removed – except in the case of server installation.
later in YaST2 manually. Only YaST1 offers easy But the help text on the left margin does explain
retro-installation of the Gnome group. this peculiarity.
Since version 2.4.1 Reiser-FS has had official
SuSE Linux 7.2 Personal entry to the Linux kernel – but this has not
prompted Red Hat to support this file system. In the
SuSE Linux in the reduced Personal version offers partition program Disk Druid one still has to settle
the same installation routine as its big sister. LVM for the Ext2 or DOS file system, although you can
can also be installed, but the target group of the make a software RAID system. LVM on the other
mass market product will be overtaxed by the hand is not offered by Red Hat.
Mandrake Linux 8.0 Mandrake Linux 8.0 Caldera Open Linux Caldera Open Linux Progeny Debian 1.0
Power Pack Pro Suite Workstation 3.1 Server 3.1
yes yes yes yes yes
good good good good usable
yes, result usable, FAT32 yes, result usable, FAT32 no no no
resizing possible resizing possible
no no ReiserFS ReiserFS no
++ ++ + + -
2) Bug: The selected resolution/colour depth cannot be tested. Instead the first setting appears.
DESKTOP
COMPATIBILITY
Success on the desktop depends on
the delivery of a well-crafted product.
Mandrake and SuSE lead the field –
but Caldera is catching up fast.
Workstation suitability
SuSE Linux 7.2 SuSE Linux 7.2 Red Hat Linux 7.1 Red Hat Linux 7.1
Personal Professional Deluxe Edition Professional Edition
Integration of the Integration very good, but Integration very good, but unusable (1) unusable (1)
config-tools faulty in operation faulty in operation
X-Server Standard tool SaX2 SaX2 Xf86xfg, Xconfigurator Xf86xfg, Xconfigurator
Menu/Desktop layout KDE: good, Gnome: usable KDE: good, Gnome: usable Gnome: poor (fonts too Gnome: poor (fonts too
small) / KDE: good small) / KDE: good
Language support (system) usable usable poor poor
Antialiasing (X11) no no no no
Antialiasing (KDE) yes yes no no
Euro symbol support Console, Xterm, KDE, Terminal and Office no no
SOffice, Netscape
Sound Alsa and OSS Alsa and OSS neither RPM package neither RPM package
alsa nor oss found alsa nor oss found
Assessment + + - -
Mandrake Linux 8.0 Mandrake Linux 8.0 Caldera Open Linux Caldera Open Linux Progeny Debian 1.0
Power Pack Pro Suite Workstation 3.1 Server 3.1
complete for workstation, complete for workstation, useful for initial useful for initial incomplete
network separate network separate configuration configuration
Hard Drake Hard Drake Kxconfig Kxconfig Configlet for Gnome
Control Center
usable usable good good usable for a network card
yes / yes yes/yes very good very good with DHCP
yes, with icons yes, with icons yes, with icons yes, with icons yes, only on Gnome
desktop
yes yes no no no
yes yes KDE only not applicable Change possible, but no
integration of the Gnome
menus into the K menu
good good good good usable
++ ++ o o - +
[right]
SuSE running the Gnome 1.4 desktop
[below]
Red Hat screen colour correction is
easily handled in Gnome with lmlib
the run level we got stuck in a closed loop. The themselves with Debian, Progeny Debian is ideally
cause was an empty string in the driver entry in the suited as a desktop computer. Since the Progeny CD
/etc/X11/XF86Config-4. The only way out was to images can be downloaded free at
edit the file manually. http://archive.progeny.com/progeny/iso/, one or
The normal user doesn’t stand a chance with two Debian users will definitely fall back on Progeny
problems like this. In network operation a for their new installations, because despite all the
dcopserver, which was not running prevented this inaccessibilities, the Progeny installer speeds up a
as NIS-user under KDE. But with Caldera, anyone Debian installation enormously. Those migrating
for whom the aged version numbers doesn’t matter, from Windows might find the distribution a rather
will get a comparatively cleanly configured Linux, frustrating first experience of Linux. Newbies would
despite the occasional problems. be better starting off with other products.
KDE lovers must be easily satisfied. In the K-
Caldera Open Linux 3.1: menu there are no entries for the configuration
capplets accommodated in the Gnome control
Conclusion centre, and not without reason – outside Gnome
Caldera Open Linux 3.1, like its predecessor, is aimed they do not run at all, even when gnomecc is
at companies. You will not find the distribution on started manually. Without Star Office, the only
retail sale. Workstation and server variants do not choice for office tasks is Tex/ Latex,
glitter with opulent software packages and Abiword/Gnumeric or KOffice. Games are
innovations, but apart from a few bugs, they are also rare.
solidly built. The strength of Caldera has always lain On the other hand there is no shortage of Web
in network operations, in fact Open Linux, of all the browsers (Netscape, Konqueror, Mozilla), even if
products tested, made the strongest showing. Mozilla could no longer be persuaded to run after
the online update. But anyone who does not
Progeny 1.0 connect direct via Ethernet to the Net, will have
some work to do installing modem/ISDN/ADSL,
For advanced users, who have Gnome down as a which sometimes fails without additional software
desktop environment and would like to familiarise off the Net (warning, recursion). ■
1/2
Anzeige
128 x185 mm
SERVER
COMPATIBILITY
Undoubtedly the most important domains of Linux at present lie in the
server field. But is it possible in this day and age to build a Web, mail or
Intranet server with any distribution, without headaches?
SuSE Linux 7.2 load off the administrators, because the method using
YaST2 is not suitable for script-controlled updates.
In the software pool of the SuSE Professional release
you will find everything necessary to construct Red Hat 7.1 Professional
servers of all shapes and sizes. And less common
functions such as fax servers, virus protection for What SuSE and other distributions include in the
email gateways and routers can also be realised. If package price, comes at a high tarrif from Red Hat.
you use the distribution to construct servers, then a After 90 days of free online updates for 10
lot depends, not so much on the equipment, but computers via the Red Hat Network, this service
more on the personal preferences of the costs almost 20 dollars per computer per month –
administrators, because non-SuSE users must first for smaller and non-commercial server installations
get used to YaST, the central configuration file a KO criterion. Nevertheless Red Hat Professional
rc.config and SuSEConfig. provides a few interesting features especially for
On the other hand, server planners should keep server installations. So the server services can be
their hands off SuSE’s Personal Edition – unless selected even during the installation. X11 is, unlike
downloads are free. Apart from a mail server, the workstations, only installed on request. For
trimmed-down distribution version provides next to nameservers, Apache and Wu-FTP there are
no applications for this purpose. separate configuration tools, xinetd and the utilities
In the SuSE online update integrated in YaST2, to be started are installed via linuxconf.
with SuSE 7.2 there’s also an option of updating
packages via the Net. This is possible automatically or Mandrake 8.0 Power Pack/Pro
manually. Unfortunately this only takes part of the
Suite Edition
Current server services can be Even if there aren’t any help texts available for all
installed in Red Hat 7.1 simply with
subdomains, with Mandrake there are special
their own configuration programs
configuration tools to facilitate the initial
[right] configuration of server services. So a tool for
SuSE making the editing configuring the Apache server can be called up
of rc files easy
easily from the K menu under
[left] Settings/Network/ Netconf.
Current server services can be
installed simply in Red Hat 7.1 with It has a modular structure and offers a wide
their own configuration programs variety of options, such as speed, which can be
optimised or the security settings configured for
HTTP-SSL. Furthermore, the K menu offers a menu
on NFS, in which only the directory permissions can
be defined. For more extensive settings Webmin
may be more suitable.
To install the FTP server, the administrator can
fall back on ftpconfig. This manages users and
groups, gives directory permissions or performs
security and protocol settings.
Anyone wanting to use Mandrake and set up an
individual Linux-based server, must keep well away
from a standard installation, because there the
installer makes use of the first hard disk found and
merely makes reference to the presence of
Despite all criticism, we can attest to the fact that the latest SuSE distribution beats the
other candidates in terms of compatibility and tidy structure. The fact that diverse design
decisions are a matter of taste is old hat and will continue to ensure that the distribution
will be the subject of controversial discussion among Linux connoisseurs.
Both the tasks of the distribution are clearly oriented towards target groups. Anyone who
only needs Linux for their desktop, can do very well without diverse servers and is best
served with the Personal Edition.
The Professional release on the other hand is aimed at experienced Linuxers and
administrators. The justifiable price differential for the Personal Edition may pain home
users, but with a few extra downloads even the latter can be built up into a server for
special purposes.
packages available on the Net and adjust them here Spoilt for choice
and there by hand.
System administrators who have to look after With the diversification of the range of distributions
computer pools will value the automatic installation available the would-be administrator can’t rely on
of several computers, based on a Progeny system. current server software being an integral part of
Here it makes even less work to equip the desktops every Linux distribution. Even in those distribution
with KDE, since in this case users will have to do variants intended more for the mass market the
without the Progeny configuration tools anyway. accoutrements differ. Experienced administrators
Server suitability
- SuSE Linux 7.2 SuSE Linux 7.2 Red Hat Linux 7.1 Red Hat Linux 7.1
Personal Professional Deluxe Edition Professional Edition
Basic equipment with current servers
SecureShell OpenSSH 2.9 OpenSSH 2.9 OpenSSH 2.5.2 OpenSSH 2.5.2
Configuration during the installation? Yes Yes Yes Yes
Automatically started after installation? Yes Yes Yes Yes
Configuration front-end - - - -
Nameserver - bind 9.1.2 bind 9.1.0 bind 9.1.0
Configuration during the installation? - Not installed No No
Automatically started after installation? - - No No
Configuration front-end - - bindconf bindconf
Webserver Apache 1.3.19 Apache 1.3.19 Apache 1.3.19 Apache 1.3.19
Configuration during the installation? Not installed Not installed No No
Automatically started after installation? - - No No
Configuration front-end - - apacheconf apacheconf
Mailserver Sendmail 8.11.3 Sendmail 8.11.3 Sendmail 8.11.2 Sendmail 8.11.2
Configuration during the installation? No Yes Automatic Automatic
Automatically started after installation? No No Yes
Configuration front-end YaST2 YaST2 - -
FTP server - BSD-ftpd 0.3.2 wu-ftpd 2.6.1 wu-ftpd 2.6.1
Configuration during the installation? - No No No
Automatically started after installation? - No (inetd not started) No No
Configuration front-end - - linuxconf linuxconf
Database - MySQL 3.23.37, MySQL 3.23.36, MySQL 3.23.36,
PostgreSQL 7.0.3 PostgreSQL 7.0.3 PostgreSQL 7.0.3
Configuration during the installation? - Not installed Not installed Not installed
Automatically started after installation? - - - -
Configuration front-end - - - -
Dhcpd - dhcp 3.0rc4 dhcp 1.3.18pl18 dhcp 1.3.18pl18
Configuration during the installation? - Not installed Not installed Not installed
Automatically started after installation? - - - -
Configuration front-end - - - -
Samba - Samba 2.2.0 Samba 2.0.7 Samba 2.0.7
Configuration during the installation? - Not installed Automatic Automatic
Automatically started after installation? - - No No
Configuration front-end - - - -
Printserver Lprold 3.0.48 Lprold 3.0.48 LPRng 3.7.4 LPRng 3.7.4
Configuration during the installation? Yes Yes No No
Automatically started after installation? Yes Yes No No
Configuration front-end YaST2 YaST2 printer-config printer-config
Inetd inetd 1.2 inetd 1.2 xinetd 2.1.8.9pre14 xinetd 2.1.8.9pre14
Configuration during the installation? No No Yes Yes
Automatically started after installation? No No Yes Yes
Configuration front-end YaST2 YaST2 linuxconf linuxconf
Also automatically started, - nscd - -
fairly unusual servers
RunlevelConfigurator - - Control-Panel Control-Panel
Inittyp SysV SysV SysV SysV
Configuration of several network interf. YaST2 YaST2 Control panel Control panel
LVM support Yes Yes No No
Monitoring tools tcpdump, traceroute mrtg, tcpdump, traceroute etc. traceroute, tcpdump traceroute, tcpdump
will find the small Mandrake release sufficient, but installations is explicitly included in the
not the SuSE Personal. package price.
Newbies in the field of Linux system Software updates by Cronjob continue to be the
administration will appreciate it when they can domain of Debian and Co., but apart from that, the
make basic adjustments to current servers as in the decision for or against a distribution always
case of Red Hat and Mandrake in graphical depends on the personal preferences of the system
configuration tools. This is where Mandrake sets an administrator. For this reason the table does not
example, too, as in the Pro Suite, support for server include any rating. ■
Mandrake Linux 8.0 Mandrake Linux 8.0 Caldera Open Linux Caldera Open Linux Progeny Debian 1.0
Power Pack Pro Suite Workstation 3.1 Server 3.1
OpenSSH 2.5.2 OpenSSH 2.5.2 OpenSSH 2.5.2 OpenSSH 2.5.2 OpenSSH 2.5.1
Yes Yes Yes Yes Yes
Yes Yes Yes Yes No
- - - - -
bind 9.1.1 bind 9.1.1 bind 8.2.3 bind 8.2.3 bind 8.2.3
No No No No Incomplete
No No No No On request
linuxconf, netconf linuxconf, netconf No No -
Apache 1.3.19 Apache 1.3.19 Apache 1.3.19 Apache 1.3.19 Apache 1.3.9
Yes Yes No No Yes
Yes Yes No No Yes
linuxconf, netconf linuxconf, netconf webmin webmin -
Postfix 20010228 Postfix 20010228 Sendmail 8.11.1 Sendmail 8.11.1 Postfix 2000531
No No No No Yes (simple config.)
Yes Yes Yes No No Yes
linuxconf, netconf linuxconf, netconf - - Capplet in the Gnome-CC
ProFTPD 1.2.2 ProFTPD 1.2.2 - wu-ftpd BSD-ftpd 0.3.2
No No - - Yes
Yes Yes - - On request
linuxconf, netconf linuxconf, netconf - - Gnome-dpkg-reconf
MySQL 3.23.36 MySQL 3.23.36 MySQL 3.23 MySQL 3.23 -
No No No No -
Yes Yes No No -
linuxconf, netconf linuxconf, netconf kmysql, webmin kmysql, webmin -
dhcp 2.0 dhcp 2.0 - dhcp-server 3.0b2pl9 dhcpd 2.0pl5
No No - No No
Yes Yes - - No
linuxconf, netconf linuxconf, netconf - - -
Samba 2.0.7 Samba 2.0.7 Samba 2.08 Samba 2.08 Samba 2.0.7
No No No No No
No No No No No
linuxconf, netconf linuxconf, netconf webmin webmin gnosamba
CUPS 1.1.6 CUPS 1.1.6 CUPS 1.1.6 CUPS 1.1.6 LPRng 3.6.26
Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes
kups, kprint (Qt-cups) kups, kprint (Qt-cups) kups kups Capplet i. Gnome-CC
xinetd 2.1.8.9 xinetd 2.1.8.9 Netkit-inetd 0.17 Netkit-inetd 0.17 Netkit-inetd 0.10
Yes Yes No No Yes
Yes Yes Yes Yes Yes
linuxconf, netconf linuxconf, netconf webmin webmin -
Cups, qt-print, linuxconf, Cups, qt-print, linuxconf, calserver, slpd calserver, slpd ntpd
webmin, kuduzu webmin, kuduzu
Mandrake-CC Mandrake-CC - - -
SysV SysV SysV SysV SysV
linuxconf, netconf linuxconf, netconf K-Centre/kcmshell K-Centre/kcmshell -
Yes Yes No No No
traceroute etc. traceroute etc. traceroute, tcpdump traceroute, tcpdump traceroute
SECURITY
If you acquire a current Linux
distribution, you will rightly expect
it to have the latest software. We’ve
taken a look at the versions of a few
selected packages.
Security
- SuSE Linux 7.2 SuSE Linux 7.2 Red Hat Linux 7.1 Red Hat Linux 7.1
Personal Professional Deluxe Edition Professional Edition
Up-to-dateness
Auto-update? yes, automatic or manual yes, manual and automatic for a charge, choice of scope for a charge, choice of scope
selection selection
Base: Kernel 2.4.4 2.4.4 2.4.2 2.4.2
SuSE Linux 7.2 Personal default. Otherwise the trimmed down version is on Gnome only executes the Autorun
file from the CD on Red Hat after a
a par with the Professional version. confirmation – but in Red Hat’s KDE
The ultimate security measure is to have no services installation this prompt is missing
running and SuSE Linux 7.2 Personal achieves this and thus opens a security loophole
SuSE Linux 7.2 Professional
with aplomb; because no services are running it is
perfectly secure. It does come equipped with The test SuSE Linux 7.2 Professional also passed our
Sendmail and Apache but these are switched off by checklist of current security loopholes with flying
Mandrake Linux 8.0 Mandrake Linux 8.0 Caldera Open Linux Caldera Open Linux Progeny Debian 1.0
Power Pack Pro Suite Workstation 3.1 Server 3.1
2.4.3 / 2.2.19 2.4.3 / 2.2.19 2.4.2-11 2.4.2-11 2.2.18 default, 2.4.2 can be
installed later
2.2.2 2.2.2 2.2.1 2.2.1 2.2.1
4.0.3 4.0.3 4.0.2 4.0.2 3.3.6/4.0.2
2.1.1 2.1.1 2.1 2.1 2.0
1.2 1.2 - - 1.2.4
2.96 2.96 2.95.2 2.95.2 2.95.2
5.6 5.6 5.6.0 5.6.0 5.005_03
2.0-9 2.0-9 1.5.2 1.5.2 1.5.2
1.3 1.3 1.3 1.3 -
1.3.19 1.3.19 1.3.19 1.3.19 1.3.9
2.6.1 2.6.1 - 2.6.1 Bsd-ftpd 0.3.2
8.11.3 8.11.3 8.11.1 8.11.1 postfix 2000531
2.0.7 2.0.7 2.0.8 2.0.8 2.0.7
9.1.1 9.1.1 - 8.2.3 8.2.3
No / - No / - yes / - yes / - No / -
yes / 25.04. yes / 25.04. yes / - yes / - - / 27.04.
yes / 21.05. yes / 21.05. No / 18.05. No / 18.05. yes / 09.05.
No / - No / - No / 06.04. No / 06.04. No / 09.04.
No / - No / - No / 03.04. No / 03.04. yes / 16.04.
No / 29.01. yes / 29.01. yes / 29.01. No / 29.01. No / 29.01.
6 6 No Server profiles No
Gui-Tool Gui-Tool Webmin Webmin No
No No No No No
- - none none none
Portsentry Portsentry none Tripwire, Portsentry none
FreeSWAN FreeSWAN No No No
- - supports Volution supports Volution -
++ ++ 0 0 +
colours. The online update makes it easier to play in Red Hat installs an auto-mounter for the local
security updates as soon as they appear. In SuSE’s X11 user. This monitors the CD or DVD drive and
software fund, security-conscious users can also mounts the media if they are in the drive when you
find cryptographic solutions as well as monitoring log in or if they are inserted later. After that,
and security tools, while the network manual offers autorun is searched for and prompted under
an introduction to problems. Gnome as to whether it is to be executed. Under
KDE there is no such prompt with Red Hat, and
Red Hat 7.1 Professional autorun is executed with user rights.
This opens up a security loophole: The fact that
and Deluxe CD burners and self-burned CDs are so common
Apart from the Samba version 2.0.7, all other means a Trojan Horse or a worm could easily be
system utilities are sufficiently current, so only one introduced. The user doesn’t even have the option
of our test loopholes actually exists. It is also very of checking a suspect CD safely. The problem can
easy to keep the system up to date using the online be corrected by removing the entry for autorun
update via the Red Hat Network, but at just under from the autostart group of KDE.
20 dollars per month, this is very expensive. The
firewall configuration gave a positive impression Mandrake 8.0 Power Pack/Pro
during the installation. Here the user can choose
between three profiles or manually open individual Suite Edition
utilities or ports. In Mandrake the kernel is installed in version 2.4.3;
Anyone who uses Debian will soon learn what goes on behind the scenes of a Linux system.
And Progeny does not change this much. Even if the installation routine, with the
appropriate hardware, ensures that one can achieve a working system considerably quicker
than with dpkg, one should not expect the comfort and looks of the graphical installers
from other distributors. On the other hand, when it comes to the updates for Debian
packages, apt-get is still unrivalled as a command line tool.
The new Progeny configuration tools embedded in the Gnome Control Center ensure that
even Debian newbies can soon deal with a range of standard configuration tasks, but here
again other distributors are ahead in many respects.
Since Progeny is a distribution tailored for the American market, installers should be
familiar with the American keyboard layout.
but there is also the option of a kernel 2.2.19. The named ~x, which points to /home/B/target. User B
main new functions and modules of the 2.4.4 then opens the file /tmp/x with nedit and changes a
kernel, though, are already integrated in Mandrake large amount of text, without backing up the file.
in kernel 2.4.3. Nedit now tries to create an incremental backup -
Samba is only installed in version 2.0.7, but unfortunately this lands in /home/B/target. The
although for some time now a corrected version old content of target is thereby overwritten.
2.0.9 together with the current 2.2.0 would have Caldera delivers version 2.0.8 of Samba, but this
been available. And there is also room for does not correct the ”Samba TMP file Symbolic Link”
improvement with the installed Apache version bug. In this case there is in fact an advisory, but it did
1.3.19, as version 1.3.20 has come out. not come out until after the Creation Date of the
Mandrake is a bit negligent in the fact that an RPM archive. We can only hope for an update soon.
installed utility is basically activated automatically. Calling up lsof -i shows that Caldera is very
There is only a brief warning message and to cautious with the services started. The only unusual
compliance with the security updates. things are the slpd (SLP Service Agent) and the
calserver, part of the Cameleo package from
Caldera Open Linux 3.1 Caldera. The server variant is equipped with
additional security programs such as Tripwire.
Workstation/Server
Of the six security bugs tested, three slipped into Progeny Debian 1.0
the latest version of Caldera. By the time we closed
for press there had been no advisory from Caldera Since Progeny is based on Debian 2.2, not all the
on the ”Man -S Heap Overflow” for any of their packages out of the box are quite dew-fresh. At
Linux versions. http://archive.progeny.com/progeny/updates/newto
But Caldera is using version man-1.5h1, which n/ or at the nearest Debian mirror there are always
has the aforementioned bug. The test command updated packages available (including for Gnome
then also leads to a segmentation fault: 1.4). Debian is also famous for providing security
updates extremely quickly. Anyone using the
$ man -S `perl -e ‘print ”:” x 100’` ls
graphical package manager front-end, only has the
option of updating all the packages at a
Segmentation fault
single stroke.
It’s a similar picture with the ”NEdit Temporary File An update to the 2.4 kernel, also supplied, boils
Creation” – no advisory, but the shaky version down to manual work. Progeny supplies neither a
5.1.1. A little test shows how simple it is to exploit selection option during the installation, nor an
the loophole. User A makes a symlink in /tmp explicit introduction in the manual. ■
free space
maybe for an ad???
SUPPORT AND
DOCUMENTATION
A competent and easy-to-contact
support department, together with
up-to-date and comprehensive
manuals is what makes a
distribution actually usable. We
evaluate each distro in terms of
accessibility.
in the documentation work shows that within the Both manuals fail to make a good impression.
company a high value is placed on the The topics dealt with are certainly clearly illustrated,
documentation. And the online documentation, like but there is a marked lack of substance. And it is the
the support via the Web, is among the best the test system administrator who really wants more
field has to offer. information. The lack of a keyword index is
annoying. There is a great deal of room for
Red Hat 7.1 Deluxe and improvement in the documentation (both printed
and electronic).
Professional Edition
Red Hat only offers support for the Deluxe variant Caldera Open Linux Workstation
(around £71) over the Internet. Those buying the
more expensive Professional Edition get 90 days and Server
installation support via a free 0800 telephone Caldera sells its new Linux distributions for an extra
number, but the support is limited to four telephone charge with 60 days installation support via email
enquiries. By way of comparison, SuSE offers and a telephone hotline. The documentation
unlimited telephone support for all variants. available on the system could just about be called
The manual for configuring the Professional adequate. Many Linux basics can be found in the
Edition also contains a few inaccuracies. Time and Developer Guide, the Administration Guide explains
again non-existent menus, or entries with the fundamentals of Webmin and the configuration
inconsistent names or which have not been of various servers. Manual and online documentation
translated, are described. were not available at the time of going to press.
The American company is bringing a highly stable system into the shops, even the DRI
modules of the kernel are extraordinarily robust.
Seen like this, the Deluxe Edition is definitely worth considering, especially since the games
CD is good fun. But whether the overall performance of the Professional Edition justifies
the price of over £177 is something the customer must decide for themselves.
Mandrake Linux 8.0 Mandrake Linux 8.0 Caldera Open Linux Caldera Open Linux Progeny Debian 1.0
Power Pack Pro Suite Workstation 3.1 Server 3.1
yes yes - - nothing special
average average - - -
yes yes yes yes no
yes yes yes yes no
0700 number 0700 number not yet available not yet available overseas call
30 days 60 days 60 days 60 days 30 days for registered users
AT THE
DEVELOPERS
CONFERENCE RICHARD IBBOTSON
Professor Sumner David McAllister, a director of Strategic Technologies, Nick Davis delivered a speech about commercial
with early photos
was the first of the speakers. He gave a talk on Linux applications, which IBM is very interested in
of the UK computer
industry Clusters in the XSP environment. That's big iron to developing. Davis asserted that IBM are doing their
you and me. In spite suffering jet lag, McAllister utmost to support GNU/Linux and educate their
delivered a sound appraisal of the commercial uses own employees to work with free and open source
of clusters with XSP. He covered the increased software – all of which thoroughly convinced the
commercial use of the Internet and the greater Conference of IBM's commitment to Linux.
reliance of business on the Net. He advocated a new Davis believes that the open-source movement
approach to deal with this in the shape of integrated is no longer driven by one company; it's now an
hardware and software and networking. industry wide phenomenon, with big companies
Rob Gautier came along next to chat on brute ordering large Linux networks from IBM. Linux is
force clusters. His talk was about Grendel – a now a well-established part of the world of e-
Beowulf cluster used at the University of Wales by commerce. IBM is presently investing a "complete
the Bioinformatics Research Group. Most of the government budget" in Linux.
work consists of large database searches. The Bo Thorsen's talk about the porting of Linux to
design and management of the cluster is fairly 64-bit systems might have been the highlight of the
labour intensive. whole three days. Bo works at the SuSE labs and so
should be regarded as an authoritative voice. He Manchester. This was the kind of thing that would Chris Benson
taking questions
asked those present not to "underestimate what's easily make a complete TV series. It was quite an
going to happen with 64-bit Linux in the next five amazing talk – rewarded by deafening applause.
years". His excellent presentation was well received Continuing with the shock 'em dead approach
by the crowd. to Saturday morning, Werner Heuser gave us his
Andrea Arcangeli came along next and gave us first presentation of the day, which was about the
his stuff on vsyscalls. Andrea also works at the SuSE use of Linux on a laptop. There are quite a few
labs and his main thing is kernel developing. Having people out there who haven't discovered that Linux
made a conscious decision to port Linux over to the can be used on a desktop, so Werner's presentation
X86 64-bit architecture, the task in hand just now is drew a lot of interest from the crowd.
to get it to work. His talk also gave practical insight Luke Leighton got up next and gave us Samba:
into something that is a closed world for most of us. The Next Generation. Luke says he'd like to get KDE architecture
Keep your eyes on www.x86-64.org if you want to people interested in open source software and the by David Faure
know more.
Professor Frank Sumner explained how
computers were built and how British attempts to
join the technology race were hard to sustain in pre-
Internet times. In spite of that, a small team of
academics managed to do some amazing things
back in the 1950s and 60s. We were then taken
over to the Manchester Museum of Science and
Industry where The Baby, one of the original
computers, was demonstrated.
Friday finished with a trip to the Yang Sing
restaurant where pre-dinner drinks were followed
by a Chinese banquet – the highlight of the day!
On Saturday morning (when most of us were
still suffering from the previous night's
overindulgence) Professor David Aspinall delivered
the second part of the birth of computing in
kernel under the 2.4.x kernel releases. Richter started his talk about Zope – an open source
Another trip to the Stafford building found Tom Web application server. There is a very steep
Rathbone giving an explanation about fractal learning curve before a user can understand Zope
generation using GIMP MathMap. MathMap is the but the end results justify the initial confusion.
scientific end of image manipulation. The bit that Stephan discussed Zope's ability to be scalable and
happens before photographers and commercial reliable at all times.
artists get to use GIMP. It's a GIMP plugin that Tom Rathbone explained how to simplify
allows a user to describe image transforms and dynamic websites with mod_perl and GIMP. This
combinations. It's very fast and only requires a was one of the highlights of the three days for those
reasonably good understanding of maths. It's also a of us who like graphics rather than darkened rooms
work in progress. and sober people. He described a template system
Luke Leighton turned up in good humour and for mod_perl, which is part of the Apache
gave us his Pymmetry – Python Trust Metrics application that is used on most of the servers
presentation. As presented in Linux Magazine Issue 9. around the world.
Saturday closed with Werner Heuser displaying Richard Moore arrived in the Renold building in
GNU/Linux on PDAs. This pulled in quite a crowd at a great rush explaining that he'd only just got back
the Renold building. The other presentations in the from Boston where he had been for about an hour.
Stafford building had finished and people preferred He gave his talk on dynamic probes for user and
to stay and watch Werner rather than go home. kernel space. Dprobes, as he calls it, is a generic and
This was followed by a friendly question and answer pervasive debugging system that can operate under
session where everyone discussed the events of the the most extreme conditions with minimal
day and possible future events. system disruption.
Sunday turned out to be a typical sleepy British He followed on with a talk about GKHI, which is
Sunday. The rail lines over the Pennines had been a generalised kernel hooks interface. This allows for
removed for maintenance and this made things many enhancements that otherwise would not be
even more sleepy. A few of us arrived by bus. possible. Richard's presentation contained many
Randy Appleton started the day in the Renold aspects of kernel design and use that most people
building with benchmarking the GNU/Linux kernel. don't get to see at all.
Three students and a professor spent a complete Alex Perry gave us the Flight Gear flight
term benchmarking nineteen different versions of simulator. This was a kind of a cross between a top
the Linux kernel from 2.01 to 2.4. The results show class joystick game and a flight simulator for 747s or
that many functions did improve in speed. Randy commercial aircraft. A virtually real instrument
showed that some improvements were in fact a display closely mimics the real instruments that are
1/4 a
step backwards and also that the total number of to be found on commercial aircraft. The question
lines of code has now tripled on an exponential and answer session at the end was fairly intense but
growth curve. also witty and humorous. Alex kindly gave us a
Next, Dave Jones from the SuSE Labs attempted demo of the flight simulator at the end of his talk.
to break us out of our slumber by tuning the Linux After a general discussion about past and future
kernel with Powertweak. Powertweak is the first events we trooped off downstairs to lunch where a
performance-enhancing tool for GNU/Linux. large pile of sandwiches was consumed in just
Back over in the Stafford building, Stephan a few minutes. ■
Ad wrong shape.
It should be THIS
shape
12 · 2001 LINUX MAGAZINE 4
ON TEST LINUX GAMES: ANDROMEDA9
Figure 2: Cool
menus thanks to
OpenGL:
Andromeda9 Prefs
Figure 3:
Practice makes perfect
armaments and damage to the ship. thrust and a weapon to destroy powerups is said to The author
Since the game is squarely aimed at multiplayer be imminent. Additional settings for gravitation and Fionn Behrens is a student of
use, without an Internet connection very little will yet more new weapons are planned. There is also technical computer science. He
happen at first. But if you're online, then even with going to be an input screen for Net games with chat can be contacted on the Net as
a slow 33k connection, there are next to no limits option, plus drones (robots), against which you can Fionn at IRCnet.
on the fun you can have. Gruesome slaughters in practise whenever there are no human opponents
CTF mode and hair-raising racing round the, available or if you don't yet feel ready for the big,
sometimes extreme, tracks are pre-programmed. wide world. Last but not least, many parts of the
Tip: there is a mode for home practice using a split game are also going to be completely revised in
screen, so that a single computer is all you need to terms of graphics – so we can look forward to a
have fun with Andromeda9. game that will definitely be worth its
At first you would scarcely notice the fact that 15MB download. ■
the game was actually programmed in Python, or
MESSAGE IN
A BOTTLE FROM
TRANSMETA MIRKO DÖLLE
Internal
The Crusoe contains noticeably fewer functional
units than other x86 processors. Like the Mobile
Pentium III it has two integers, one floating point,
one memory and one unit step. ISSE and MMX units
only come with Intel.
Today's x86 processors use out of order
execution. The x86 command sequence specified by
the program is first broken down by the decoder
and translation unit into RISC-type micro-ops and
distributed by the dispatch unit over the functional
units. The sequence is determined by the available
CPU resources, not by the program. The dispatch
unit tries to use the CPU to full capacity. The results
In January 2000 then have to be re-sorted by the in order retire unit.
Transmeta presented the The aforementioned units are mostly realised by
hardware and, with only a few exceptions, by
Crusoe, a processor with software (jump prediction, optimisation, re-sorting).
a revolutionary mixture Transmeta has the cut back heavily on the
functionality of the control units or done away with
of hardware and them altogether and so manages with considerably
software. We tested the fewer transistors.
The Crusoe processor itself is not x86-
first 633MHz version compatible, but is a VLIW kernel with 64 or 128 bit
of the TM5600 in Europe. commands. The decoder and dispatch unit
responsible for the division of tasks is just a simple
bit-distributor, which splits up the arriving
command and writes it in parallel in the function
units. There is no optimisation or re-sorting.
Midori Linux
can be changed at will at any time, as happened Crusoe markedly different from Intel's Speed Step,
with TM3200 and TM5400. Bugfixes or which has only three stages.
fundamental function changes are no problem. The By integrating the north bridge into the CPU the
x86 upwards-compatibility is retained, only the code Crusoe TM5600 can separate off part of the main
morphing software has to be adapted. memory as translation cache and saves space on the
Emulation of other CPU architectures is also PCB.
possible, so there is a Java version of the code-
morphing software. This is interesting for the High integration
development of new processors. It is possible to
test the command set or develop software on An additional advantage is that of the integration of
very powerful, Crusoe-based development the north bridge into the Crusoe, which is also
systems long before the first trimmed for minimal power consumption. In all the
processor prototype. Crusoe consumes, at a kernel voltage of 1.4V, a
So Transmeta has built a Crusoe with maximum of 2.9W including north bridge, a Mobile
Clawhammer emulation for AMD, which is already Pentium III comes in at a minimum of 5W plus 2 to
in use. And the emulation of completely different 3W for the north bridge.
architectures such as Power-PC or RISC is also At the same time, the Crusoe – with the same
possible, although their performance is limited by structural size (18 millimetres) – is about a quarter
the VLIW hardware. smaller than Intel's Mobile Pentium III. As more
Transmeta has achieved additional energy chips fit onto one wafer, production gets cheaper.
savings with the Longrun power management. So One other plus point is the space saved, so now
the code morphing software dynamically adjusts the essentially only three chips are now needed for a
kernel voltage and the clock frequency can be complete PC. ■
reduced smoothly to 300MHz. This makes the
Fujitsu-Siemens Lifebook P
with Crusoe TM5600
READY FOR
THE ISLAND MIRKO DÖLLE
The Transmeta Crusoe The Lifebook P stands out because of its unusual
hardware. The Transmeta Crusoe TM5600 has
boosts the Fujitsu- 633MHz and just a 10.1-inch display with
Siemens Lifebook P to a 1280x600 pixels at 140 dpi – which is more than
many inkjet printers can get onto paper. The pre-
phenomenal battery life series model tested will be available in this format
of well over six hours. from October in all major electronics stores, but the
price has not yet been fixed.
Linux Magazine has Of the 128MB RAM, 16MB is set aside for the
tested the new sub- translation cache of the Crusoe, and an expansion
with standard SO-DIMMs is not possible. On the
notebook, which comes 15GB hard drive, it is planned to pre-install
out in October. Windows Me, but delivery with Linux is currently
floundering due to the lack of support for the
modem and the control buttons for the DVD player
built in below the display.
IOMEGA
TOOLS HANS-GEORG ESSER
Lomega
One representative of the Iomega tools clones is
Lomega. This program offers all the functions
SCSI preferred necessary and combines them under a single, easy
Many of the tools interface. But be warned, lomega has the SetUID
described here prefer to bits set, so is always executed with root rights, even
work with the SCSI when you start it as normal user. The advantage is
drives. ATAPI and that you always have access to the device files, but
parallel port drives can, the drawback is that you have to trust the program.
in some cases, be As usual, Lomega has to be compiled before
persuaded to co-operate use. The program is not especially demanding,
– reference is made to when it comes to existing libraries, so no major
this in each case. problems should arise here. Unpack the archive Figure 1: Lomega is the most powerful tool in the
lomega-0.2.tar.gz. In /usr/local/src, switch to the comparison
As support for parallel port drives Lomega offers the /dev/sdd is always specified, which is to be replaced
two options File/modprobe/ppa and by the correct name.
File/modprobe/imm. imm is a driver for the "Iomega • ziptool -e /dev/sdd: eject; eject medium. This only
MatchMaker parallel port SCSI host adapter", works if the Zip is not mounted – otherwise the
which is used in the Zip Plus drive; ppa supports the error message "Device is mounted" appears
normal parallel Zip drive. ATAPI drives are only • ziptool -s /dev/sdd: status; states the protection
supported if the IDE-SCSI-Emulation in the kernel status of the Zip medium (thus read or write-
has been activated. The requisite kernel module is protected, with or without password)
called ide-scsi.o. • ziptool -ro /dev/sdd: read-only; the medium is
write-protected. It must not be mounted for this.
gtkZip This protection can be cancelled by any user, since
no password has been issued
One alternative to Lomega is gtkZip. The program • ziptool -rp /dev/sdd: read-only, password; as with
has a modern design. Unfortunately it refused to "-ro", but a password is requested, without
work on our test machines. which the protection cannot be cancelled:
Back to the command line. Everything you can do As already mentioned in the listing, ziptool is
by a mouse click can also be performed in the executed with administrator rights, for which it has
console and thereby be built into its own shell set the SetUID bit:
scripts. The useful tool ziptool supports all special
[esser@kira iomega]$ ls -al `which ziptool`
functions of the Zip and Jaz drives.
-rwsr-xr-x 1 root root 9708 Jun 1 16:10 /U
Firstly, ziptool has to be compiled, if you are not
usr/local/bin/ziptool
installing any binary packet – in this case this goes
very quickly. Simply unpack, as root, the ziptool- This means that with the aid of ziptool, any user can
1.3.tar.gz package, change to the new directory directly access all device files, even if these would
and there call up make. Another make install copies not allow the user themselves access.
binaries and man pages to /usr/local. A look at the
man page of ziptool (which can also be addressed GUI or bash#
by symbolic link as jaztool) gives away the general
syntax ziptool -Option Device. At this point, you As usual, it is purely a matter of taste as to whether
should always specify as device the device file tasks are processed on the command line or in the
belonging to the Zip drive, not that of a data graphical window – in the case of the Iomega tools,
partition, thus /dev/sdd and not /dev/sdd4. though, it is interesting that Lomega is the only tool
There now follows a list of the possible ziptool which can also set up a read protection. This makes
commands. For greater ease of reading the device it preferable to ziptool. ■
BANISHING
Intelligent proxies
are handy things to BANNERS
have – they filter ARMIN AND ALEXANDER ROEHRL, STEFAN SCHMIEDL
out banners, help to
protect your privacy Banner advertising on the Internet is not nearly as For security reasons, proxies should not be
successful as marketing strategists had once hoped. accessible from outside. Programs like Nessus
and let you surf That is why banners keep growing and are placed in Security Scanner indicate weak points in this
faster. We introduce increasingly intrusive positions – even right in the respect. Incorrect requests will slow a system
middle of the page. Although most portal pages like down considerably.
six blocking proxies Yahoo limit the initial image size to 30K, four more In Netscape and Mozilla, click on Edit (top left),
for Linux. files of up to 50K can be loaded subsequently. All then Preferences, double-click Advanced, then
together, that's a whopping 230K. Proxies and Manual Proxy Configuration. For
Filtering proxies stem this unwanted stream of Konqueror the settings can be found under
data which, after all, users pay for with connection Settings, Configure Konqueror, Proxies. With Opera
charges. Under Linux, you can get standalone the path is File, Preferences, Network to the
solutions as well as extensions for Squid – every Proxy Server.
Linux user's favourite proxy.
What is filtered?
Proxies and browsers
In principle, anything that is sent from the browser
Blocking software works in the same way for all or returned from the Internet can be filtered.
browsers. The browser is instructed in the settings Pornography and cookies, which people like to
not to send any request directly to the Net, but block to protect their privacy, can be stopped, as
rather to the proxy. If this is running on your own can advertising banners or animated images. Most
machine, it is sufficient to specify localhost or the IP anti-ad proxies replace adverts with a transparent
address 127.0.0.1 and the proxy port. Blockers tend image or broken image icon. The ad image is
to use different standard ports (see Table 1). deliberately not replaced with a 1x1 pixel
News.cnet.com page:
Left in Konqueror without
and right in Netscape
with Adzapper. For ten Cnet
articles the proportion
of advertising to content in
terms of data volume is
on average 60 to 40
transparent GIF, so as not to interfere with the Adzapper's simple Web user interface
layout of the Web page. http://adzapper/. It can even be used to create
zaplets very easily. Zaplets are small XML files that
What happens to HTTPS? define what constitutes an advertising nuisance.
They can apply to one domain or to a whole domain
Secure Hypertext Transfer Protocol (HTTPS, RFC class.
2660) is a standard protocol for the encrypted Adzapper comes with a lot of demo zaplets for
transmission of sensitive data like credit card popular sites like Slashdot, CNN or Yahoo –
information. As soon as the browser sends sensitive fortunately mostly English language ones. Zaplets
data to, or receives it from, https://~Address, the can even include regular expressions in Perl syntax.
proxy could still filter the data, but it would not be A good introduction to this is provided by
able to recognise ad images, as these are now also python.org. To install, unzip adzapper-0.3.0.tar.gz
encrypted. Proxies therefore always transmit HTTPS and run the install or install-daemon script. The
requests unfiltered. program is started with adzapper or adzapperd
Naturally, it is possible to change the port as (daemon version).
required for all programs, either through the Here, as an example, theregister.co.uk zaplet:
configuration file or using a parameter. The port <?xml version="1.0"?>
should be set higher than 1024 if the proxy does not <zaplet>
run as root, although that's generally a bad idea. <version>0.9</version>
The filter tables provided should be treated with <host>theregister.co.uk</host>
caution, as there is no problem in teaching most <block_url type="regex">/media/(\d)*\.giU
programs to filter Flash animations for instance, f</block_url>
even if this cannot be done using the standard </zaplet>
setting. The crux is in the detail – for instance,
whether it is possible to treat cookies differently Table 1: Blocking Proxies
according to domain and page. Program Filters Port
Adzapper banners, popups, JavaScript, Java applets, cookies 51966
Adzapper Squid with Adzap banners, popups, cookies 3128
Muffin animations, Java applets and JavaScript, cookies, 51966
Of the tested proxies, we liked Adzapper (current referers, HTTP user agent headers, HTTP server headers
version 0.7) best, as it is simple to use and delivers Rabbit banners, background images, cookies 9666
good results. Unfortunately, it hung once in a while. Junkbuster banners, cookies, referers 5865
Perhaps this was because we were using version 2.0 Webwasher banners, popups, JavaScript, Java applets, cookies, referers 8080
of Python in the testing and Adzapper's author Guidescope banners, cookies, referers 8000
recommends 1.5.2. The picture is rounded off by
redirect_program /user/local/bin/squid_redirect
in the Squid configuration file (squid.conf) would
filter all URLs through squid_redirect, with
squid_redirect being, for example, a Perl script. We
will be using Adzap for this purpose.
If Squid hasn't been installed yet this is quickly
rectified using rpm -ih squid.rpm.
Adzap is available as a tar file. The file contains
the redirector, the images to be displayed instead of
the adverts, and a short wrapper script. After
unpacking it with
Junkbuster
Junkbuster (version 2.0.2) is a classic. There are even
providers who let their customers use Junkbuster
directly. The program has no GUI, but it is very
stable. A typical Junkbuster logfile looks like this:
www.altavista.com/
www.altavista.com/images/img_avsubtitle_000U
.gif crunch!
www.altavista.com/images/pix.gif crunch!
www.altavista.com/images/img_avlogo_000.gifU
crunch!
ad.uk.doubleclick.net/ad/.../sponsor-buttonU manufacturer emphasises that there is no intention Adzapper's very easy-to-use
configuration menu invites you to
/toptext/lefta;sz=1x1 crunch! of doing this.
declare war on ad banners
The user can extend the database with local
The addresses marked crunch! are blocked by filters and is also able to pass identified ads to
Junkbuster and are never accessed. Guidescope so that they can be included in the
The heart of Junkbuster is the block file. The database. Guidescope is planning to provide central
entries determine directly which addresses are company databases for large commercial
called and which ones aren't. The sequence of customers.
entries is optional, but they should be divided into During testing, the installation instructions on
individual sections for the sake of clarity. the website turned out to be wrong. Guidescope
To start with, a ready-made block file will do, does work well for popular pages like Cnn.com.
but for our test there was a great need for Ironically, in its default setting it displays ad links
adaptation. We aimed for as few entries as possible – which supposedly makes it easier to get to good
and as many entries as necessary. This is an example Web pages. This feature can be switched off.
blocking all image files from Altavista.com:
# URLs: Webwasher
altavista.com/.*\.(gif|jpg|jpeg|png)
Webwasher (version 3.0) is free for non-commercial
use, a commercial license costs 29 Euro or $29 after
Guidescope a 30-day test phase. Webwasher.com was founded
by Siemens in 1998.
Guidescope is a semi-commercial product by former The manufacturer asserts that server-based
Junkbuster developers. At the time of testing, the Internet filters enable companies to provide their
price had not yet been set. Guidescope sends each staff with Internet access while still being able to
request to a central database, which returns a list of control which areas they can access. This is the only
images to be blocked. In theory, Guidescope can effective way of preventing abuse and unproductive
record who is looking at which pages, but the use of the Internet, such as the occasional little
Conclusion
Of all the programs tested Webwasher is the best
solution for companies who need a filter version
that is always up to date. In addition, the Enterprise
edition offers the Dyna Blocator, a filtering
mechanism that is constantly updated by its own
search engine and also checks the content of
images. Apart from the standalone solution
Adzapper, Squid with filters like Adzap, is probably
the most stable and the fastest solution for home
use and company networks.
An overall evaluation is difficult, as a basic
game. Web filters protect productivity by making knowledge of scripting languages is sufficient to
life difficult for permanent surfers. According to a write your own filters quickly for any of these
study by the Meta Group, employees spend about programs. Unless you are planning to set up a proxy
40 per cent of their time on the Internet on things gateway, speed is of no consequence either. ■
that are nothing to do with their work.
The documentation is insufficient for a
commercial product. However, with a bit of
patience it is possible to find solutions to problems
such as Webwasher under Wine using search
The authors
Armin Roehrl and Stefan
Info
Schmiedl run the software forge Cnet: http://news.cnet.com
Approximity. Their main interests Yahoo Fusion Marketing: http://fusion.yahoo.com/resource_center/adspecs/flash.html
are high load and high Nessus Security Scanner: http://www.nessus.de
availability systems. RFC 2660: http://www.ietf.org/rfc/rfc2660.txt
Adzapper: http://www.zaplet.org/adzapper/
Regular expressions: http://www.python.org/doc/current/lib/module-re.html
Example Zaplets: http://www.zaplet.org/adzapper/updates.html
Squid: http://www.squid-cache.org
Adzap: http://www.zip.com.au/~cs/adzap
Muffin: http://muffin.doit.org/
Rabbit: http://www.nada.kth.se/projects/prup98/web_proxy/
Image Magick: http://www.imagemagick.org/
Junkbuster: http://internet.junkbuster.com/
ISP with Junkbuster: http://www.junkbusters.com/ht/en/ijbfaq.html#does
Guidescope: http://www.guidescope.com
Webwasher: http://www.webwasher.com/
Webwasher and Wine: http://www.miba.auc.dk/~bme/stuff/webwasher.html
Clearway Technologies stops ad blocker: http://news.cnet.com/news/0-1005-200-336086.html
LINUX HISTORY
This month sees the anniversary of Linux. Subject: What would you like to see most Newsgroups: comp.os.minix
It is 10 years old. It has come a long way since in minix?
its inception and the rate of development is Subject: Re: What would you like to see
speeding up. Only a year ago Red Hat and Summary: small poll for my new operating most in minix?
SuSE 7 launched – just two years ago system
Mandrake 6.1 was launched. Here we take a Summary: yes - it's nonportable
Message-ID:
look at the history of Linux as told by Linus.
<1991Aug25.205708.9541@klaava.Helsinki.F Message-ID:
The full transcripts can be found on the Web
I> <1991Aug26.110602.19446@klaava.Helsinki.
at www.li.org or in Linus' book, Just for Fun.
FI>
Date: 25 Aug 91 20:57:08 GMT
Date: 26 Aug 91 11:06:02 GMT
From: torvalds@klaava.Helsinki.FI (Linus Organization: University of Helsinki
Benedict Torvalds) Organization: University of Helsinki
Hello everybody out there using minix -
Newsgroups: comp.os.minix In article
I'm doing a (free) operating system (just <1991Aug25.234450.22562@nntp.hut.fi>
Subject: Gcc-1.40 and a posix-question a hobby, won't be big and professional jkp@cs.HUT.FI
like gnu) for 386(486) AT clones. This
Message-ID: has been brewing since april, and is (Jyrki Kuoppala) writes:
<1991Jul3.100050.9886@klaava.Helsinki.FI starting to get ready. I'd like any
> feedback on things people like/dislike > [re: my post about my new OS]
in minix, as my OS resembles it somewhat
Date: 3 Jul 91 10:00:50 GMT (same physical layout of the file-system >
(due to practical reasons) among other
Hello netlanders, things). >Tell us more! Does it need a MMU?
Due to a project I'm working on (in I've currently ported bash(1.08) and Yes, it needs a MMU (sorry everybody),
minix), I'm interested in the posix gcc(1.40), and things seem to work. This and it specifically needs a 386/486 MMU
standard definition. Could somebody implies that I'll get something (see later).
please point me to a (preferably) practical within a few months, and I'd
machine-readable format of the latest like to know what features most people >
posix rules? Ftp-sites would be nice. would want. Any suggestions are welcome,
but I won't promise I'll implement them >PS. Yes - it's free of any minix code,
Linus Torvalds :-) and it has a multi-threaded fs.
torvalds@kruuna.helsinki.fi
Linus (torvalds@kruuna.helsinki.fi) >>It is NOT protable (uses 386 task
PS. Could someone please try to finger me switching etc)
from overseas, as I've installed a PS. Yes - it's free of any minix code,
"changing .plan" (made by your's truly), and it has a multi-threaded fs. >
and I'm not certain it works from
outside? It should report a new .plan It is NOT protable (uses 386 task >How much of it is in C? What
every time. switching etc), and it probably never difficulties will there be in porting?
will support anything other than AT-
Then, almost two months later, I actually
harddisks, as that's all I have :-(. >Nobody will believe you about non-
had something working: I made sources for
portability ;-), and I for one would
version 0.01 available on nic sometimes Judging from the post, 0.01 wasn't
around this time. 0.01 sources weren't actually out yet, but it was close. I'd guess the >like to port it to my Amiga (Mach needs
actually runnable: they were just a token first version went out in the middle of a MMU and Minix is not free).
gesture to arl who had probably started to September ‘91. I got some responses to this Simply, I'd say that porting is impossible.
despair about ever getting anything. This next (most by mail, which I haven't saved), and I It's mostly in C, but most people wouldn't call
post must have been from just a couple of even got a few mails asking to be beta-testers what I write C. It uses every conceivable
weeks before that release. for Linux. After that just a few general feature of the 386 I could find, as it was also a
answers to quesions on the Net: project to teach me about the 386. As already
mentioned, it uses a MMU, for both paging
From: torvalds@klaava.Helsinki.FI (Linus (not to disk yet) and segmentation. It's the
Benedict Torvalds) From: torvalds@klaava.Helsinki.FI (Linus segmentation that makes it really 386
Benedict Torvalds) dependent (every task has a 64Mb segment
Newsgroups: comp.os.minix for code & data - max 64 tasks in 4Gb.
Founded in 1998 iTS-LiNUX quickly to have great staff at iTS-LiNUX people who
established itself in the expanding market. are prepared to put in the time and effort to
iTS-LiNUX has become noted for its cost- ensure that the job is done right, and if its
conscious, innovative and creative solutions, never been done before they will invent ways
acquiring clients such as Banks and other to get the job done, in fact, according to
financial institutions, The Economist Group, IBM's own engineers, our CTO Andy Roffe,
Crewe Alexandra Football Club, utility was the first person ever to get Lotus Notes
companies, manufacturing and engineering running on Linux, and they still aren't sure
companies, ISP's and Internet organisations how he did it."
Local Government and Educational iTS-LiNUX in association with IBM and
establishments, e-commerce companies and Trustix recently announced the Goldbox as
many many "bricks and mortar" SMEs. the total IT solution for SMEs
When asked about their level of current iTS-LiNUX have become the prime
success, Matthew Clarke (Managing Director) distributor for the much admired Trustix range
replied "Naturally part of our success is due to of firewalls and secure server
the growth of the Linux market in the UK as a management tools.
whole, but as we've not, until recently, been The future looks promising indeed for iTS-
in a position to expand by acquisition, we LiNUX "We have made significant strides
have had to focus our efforts on working over the past 12 months, and are now
harder and producing better results for our looking to expand rapidly, taking on many
clients." he went on to say "We are fortunate more clients, and much larger projects."
Anybody who needs more than 64Mb/task - Some of my "C"-files (specifically mm.c) Note: linux has in fact gotten more
tough cookies). It also uses every feature of are almost as much assembler as C. It would portable with newer versions: there was a lot
gcc I could find, specifically the __asm__ be "interesting" even to port it to another more assembly in the early versions. It has in
directive, so that I wouldn't need so much compiler (though why anybody would want fact been ported to other architectures by now.
assembly language objects. to use anything other than gcc is a mystery). In Jan 92 things had moved on with a
Newsgroups: comp.os.minix ALERT! WARNING! NOTE! These sources still need minix-386 to be
compiled (and gcc-1.40, possibly 1.37.1, haven't tested), and
Subject: Free minix-like kernel sources for 386-AT you need minix to set it up if you want to run it, so it is not
yet a standalone system for those of you without minix. I'm
Message-ID: <1991Oct5.054106.4647@klaava.Helsinki.FI> working on it. You also need to be something of a hacker to set
it up (?), so for those hoping for an alternative to minix-386,
Date: 5 Oct 91 05:41:06 GMT please ignore me. It is currently meant for hackers interested
in operating systems and 386's with access to minix.
Organization: University of Helsinki
The system needs an AT-compatible harddisk (IDE is fine) and
Do you pine for the nice days of minix-1.1, when men were men EGA/VGA. If you are still interested, please ftp the
and wrote their own device drivers? Are you without a nice README/RELNOTES, and/or mail me for additional info.
project and just dying to cut your teeth on a OS you can try to
modify for your needs? Are you finding it frustrating when I can (well, almost) hear you asking yourselves "why?". Hurd
everything works on minix? No more all-nighters to get a nifty will be out in a year (or two, or next month, who knows), and
program working? Then this post might be just for you :-) I've already got minix. This is a program for hackers by a
hacker. I've enjouyed doing it, and somebody might enjoy
As I mentioned a month(?) ago, I'm working on a free version of looking at it and even modifying it for their own needs. It is
a minix-lookalike for AT-386 computers. It has finally reached still small enough to understand, use and modify, and I'm
the stage where it's even usable (though may not be depending looking forward to any comments you might have.
on what you want), and I am willing to put out the sources for
wider distribution. It is just version 0.02 (+1 (very small) I'm also interested in hearing from anybody who has written any
patch already), but I've successfully run bash/gcc/gnu- of the utilities/library functions for minix. If your efforts
make/gnu-sed/compress etc under it. are freely distributable (under copyright or even public
domain), I'd like to hear from you, so I can add them to the
Sources for this pet project of mine can be found at system. I'm using Earl Chews estdio right now (thanks for a
nic.funet.fi (128.214.6.100) in the directory /pub/OS/Linux. nice and working system Earl), and similar works will be very
The directory also contains some README-file and a couple of wellcome. Your (C)'s will of course be left intact. Drop me a
binaries to work under linux (bash, update and gcc, what more line if you are willing to let me use your code.
can you ask for :-). Full kernel source is provided, as no
minix code has been used. Library sources are only partially Linus
free, so that cannot be distributed currently. The system is
able to compile "as-is" and has been known to work. Heh. PS. to PHIL NELSON! I'm unable to get through to you, and keep
getting "forward error - strawberry unknown domain" or
Sources to the binaries (bash and gcc) can be found at the same something.
newsgroup alt.os.linux but a message from "Linux is Obsolete" started a flame war. with supporters for both sides eventually
Prof Andy Tanenbaum (AST) (wrote Minix) on The flame war got quite heated at times agreeing to disagree.
From: ast@cs.vu.nl (Andy Tanenbaum) do in the evening when I get bored writing books and there are
no major wars, revolutions, or senate hearings being televised
Newsgroups: comp.os.minix live on CNN. My real job is a professor and researcher in the
area of operating systems.
Subject: LINUX is obsolete
As a result of my occupation, I think I know a bit about where
Date: 29 Jan 92 12:12:50 GMT operating are going in the next decade or so. Two aspects stand
out:
Organization: Fac. Wiskunde & Informatica, Vrije Universiteit,
Amsterdam 1. MICROKERNEL VS MONOLITHIC SYSTEM
I was in the U.S. for a couple of weeks, so I haven't commented Most older operating systems are monolithic, that is, the whole
much on LINUX (not that I would have said much had I been operating system is a single a.out file that runs in 'kernel
around), but for what it is worth, I have a couple of comments mode.' This binary contains the process management, memory
now. management, file system and the rest. Examples of such systems
are UNIX, MS-DOS, VMS, MVS, OS/360, MULTICS, and many more.
As most of you know, for me MINIX is a hobby, something that I
The alternative is a microkernel-based system, in which most of became an 8008. Then it underwent plastic surgery and became
the OS runs as separate processes, mostly outside the kernel. the 8080. It begat the 8086, which begat the 8088, which begat
They communicate by message passing. The kernel's job is to the 80286, which begat the 80386, which begat the 80486, and so
handle the message passing, interrupt handling, low-level on unto the N-th generation. In the meantime, RISC chips
process management, and possibly the I/O. Examples of this happened, and some of them are running at over 100 MIPS.
design are the RC4000, Amoeba, Chorus, Mach, and the not-yet- Speeds of 200 MIPS and more are likely in the coming years.
released Windows/NT. These things are not going to suddenly vanish. What is going
to happen is that they will gradually take over from the 80x86
While I could go into a long story here about the relative line. They will run old MS-DOS programs by interpreting the
merits of the two designs, suffice it to say that among the 80386 in software. (I even wrote my own IBM PC simulator in C,
people who actually design operating systems, the debate is which you can get by FTP from ftp.cs.vu.nl = 192.31.231.42 in
essentially over. Microkernels have won. The only real dir minix/simulator.) I think it is a gross error to design an
argument for monolithic systems was performance, and there is OS for any specific architecture, since that is not going to be
now enough evidence showing that microkernel systems can be around all that long. MINIX was designed to be reasonably
just as fast as monolithic systems (e.g., Rick Rashid has portable, and has been ported from the Intel line to the 680x0
published papers comparing Mach 3.0 to monolithic systems) that (Atari, Amiga, Macintosh), SPARC, and NS32016. LINUX is tied
it is now all over but the shoutin`. fairly closely to the 80x86. Not the way to go.
MINIX is a microkernel-based system. The file system and Don`t get me wrong, I am not unhappy with LINUX. It will get
memory management are separate processes, running outside the all the people who want to turn MINIX in BSD UNIX off my back.
kernel. The I/O drivers are also separate processes (in the But in all honesty, I would suggest that people who want a
kernel, but only because the brain-dead nature of the Intel **MODERN** "free" OS look around for a microkernel-based,
CPUs makes that difficult to do otherwise). LINUX is a portable OS, like maybe GNU or something like that.
monolithic style system. This is a giant step back into the
1970s. That is like taking an existing, working C program and Andy Tanenbaum (ast@cs.vu.nl)
rewriting it in BASIC. To me, writing a monolithic system in
1991 is a truly poor idea. P.S. Just as a random aside, Amoeba has a UNIX emulator
(running in user space), but it is far from complete. If there
2. PORTABILITY are any people who would like to work on that, please let me
know. To run Amoeba you need a few 386s, one of which needs
Once upon a time there was the 4004 CPU. When it grew up it 16M, and all of which need the WD Ethernet card.#
eoff (end of flame fest :-) very important one. It can be found at
http://www.gnu.org/gnu/the-gnu-
project.html
Although we always use the term Linux,
From: dingbat@diku.dk (Niels Skov Olsen) Niels most of the time we are refering to
GNU/Linux as we are including other
Newsgroups: comp.os.minix Professor Tanenbaum eventually released components with the kernel.
MINIX as public domain with the source and So where does this leave us. Well after 10
Subject: Re: 1.6.17 summary and why I various versions exist supporting hardware years we have an OS that competes on the
think AST is right. from Ataris to SPARC stations. world market (As I write MacDonalds have
With hindsight it is easy to look at the announced 4000 stores are to change to
Date: 10 Feb 92 17:33:39 GMT
arguements of Microkernel and Monolithic Linux). The OS runs on lots of differing
systems, but at the time it seemed to be a architecture using preemptive multitasking
Organization: Department of Computer
Science, U of Copenhagen major problem. AST jokingly awarded Linus supporting multi users. The IT industry is
michael@gandalf.informatik.rwth- two F grades for poor design. starting to understand Open Source and the
aachen.de (Michael Haardt) writes: Releases happened fast with some just desktop is becoming fun. In the next 10 years
weeks apart. New features and support was your guess is probably better than mine. Will
>Stop flaming, MINIX and Linux are two growing. Finally in March 92 the version the Internet be even more pervasive? Just
different systems with different number jumped from 0.12 to 0.95 as it was how fast can machines go? Problems ahead
purposes. almost a full release. It then took until 13/3/94 do exist such as software patent law and
for 1.0 to hit the world. Version 2.0 hit in June governmental control, but I still predict an
>One is a teaching tool (and a good one I
96 and 2.4 finally in January 2001. On the CD Open Source world will eventually dominate.
think), the other is real UNIX for real
you will find a copy of 0.01 just for fun.
hackers.
The listing of kernel revisions is held at
http://www.memalpha.cx/Linux/Kernel/Maste
r.html
Hear, hear! And now Linux articles in The beginnings of the GPL and the GNU
alt.os.linux (or comp.os.misc if your project go back further than 10 years to
site don't receive alt.*) and Minix January 1984 and the story of how Richard
articles here. Stallman developed the project after the IT
industry changed to proprietary software is a
Celebrating 10 years
of Linux
Roger Whittaker
SuSE Linux Ltd
"Erm..."
Universal tool
A WIDE
CANVAS CARSTEN ZERBST
# Scaling
set scale 0.4
.c scale coord 0 0 $scale $scale
.c configure -scrollregion [.c bbox all]
Interactive objects
News from the Tcl world
Jeffrey Hobbes has published a new version of Tkcon, a tool for every Tcl To be able to select or move objects with the
developer. It would be unfair on Tkcon to describe it simply as a substitute mouse, they must first react to it. The command
for the normal Tcl command line interface. Tkcon offers the same usability canvasName bind TagOrID Event Command is used
when working with Tcl that you will be accustomed to from Tcsh or Bash. to instruct one or more Canvas objects to react to a
Tkcon automatically completes file names as well as Tcl commands and specified event. In our example, when you click on
variables. In addition, it has other features that you will be familiar with the bar, it changes colour.
from fully-fledged editors, such as syntax highlighting and display of Lastly, we want to output the whole thing as
bracket levels. You can browse through name spaces with ease, extensions postscript. Using canvasName postscript, this is no
installed in the system can be loaded at a mouse-click, and much more problem either. If no printing area is specified, the
besides. Tkcon makes working with Tcl even more fun. output only contains the visible Canvas region.
Otherwise, the required section has to be specified.
Tkcon as universal tool When using texts in Canvas, it is advisable to
Tkcon not only offers valuable support when trying out new things but also remember that there are often more fonts installed
helps with debugging. It is even ideally suited to writing applications, as it than the printer will recognise. Either limit yourself
can display individual variables or load improved source text at runtime. to the 35 standard fonts or embed the additional
The Tcl extension Snack is undergoing quite a bit of development. This is fonts in the postscript file at a later date.
nothing to do with fatty foods rich in carbohydrates, but rather with sound.
Language researchers at the Royal College of Stockholm have created a tool How many dimensions?
that can deal with many sound processing tasks. Snack can record and play
sounds, edit and distort them and carry out further processing. If you're The Canvas widget offers a lot of functionality for
planning on dissecting your MP3 files, you may as well do it with Snack. 2D graphics, either purely for display purposes, for
Wavesurfer (see Figure 2), a handy program for editing audio files, uses Snack. user interfaces or for creating graphics with a lot of
The way to your own MP3 player has never been as easy as with this extension. interactions. Help is also available. For instance,
Pstoedit can prepare many postscript files so that
Reading matter they can be represented with Canvas. Gnuplot can
If you'd like to see what others are getting up to with Tcl/Tk, we'd output its graphics directly in Canvas widget format.
recommend a look at the pages of the 2nd European Tcl/Tk User Meeting. If, however, you're thinking more in terms of 3D
There is a wide range of papers, the focus this year was on the use of Tcl on for graphics, Canvas won’t make you happy.
the Web. Even though not nearly as much fuss is made about Tcl as about Depending on your exact requirements, the
some of its alternatives, Tcl is working behind the scenes of AOLserver and OpenGL widget Togl may be better suited, or VTK
Vignette's Story server, both of which are hardly the smallest in their field. for processing and representing scientific data, or
Fringe areas such as the coupling of COBOL with Tcl are examined, along the game engine Nebula Device.
with the application of Tcl for game control or as a testing tool. After this rather picture-heavy instalment, the
next issue of Tcl will describe how to design a really
user-friendly Tcl/Tk application. ■
Info
Tkcon: http://tkcon.sourceforge.net
Figure 2: Wavesurfer
not only plays Snack: http://www.speech.kth.se/snack/
and processes 2nd European Tcl/Tk User Meeting:
audio files, but also
displays wave http://www.tu-harburg.de/skf/tcltk
forms graphically. AOLserver: http://aolserver.com
This picture shows
a WAV file
Wiggles: http://www.wiggles.com
Animated steam loco: http://mini.net/cgi-
bin/wikit/1329.html
Xtcc: http://www.tu-
harburg.de/skf/tcltk/papers2000/xtcc.pdf
by two nodes and two check points. The example Impress:
The author for the first segment only uses four points. http://www.ntlug.org/~ccox/impress/index.html
Carsten Zerbst is a member of Work with Canvas often requires the mouse Pstoedit:
staff at Hamburg-Harburg position. The location within the system of screen http://www.geocities.com/SiliconValley/Networ
Technical University. Apart from coordinates is of less interest than the Canvas position. k/1958/pstoedit/
researching service integration on The commands canvasx and canvasy convert the Togl: http://sourceforge.net/projects/togl/
board ships, he investigates position, taking the current scroll position into account, VTK: http://www.kitware.com
Tcl in all its forms. but not scaling. The coords function divides the Nebula Device: http://www.radonlabs.de
coordinates by the scaling factor and then outputs the
converted coordinates on the command line. ■
PASSWORD
POLICIES When I turn up at different
companies I look around a typical
office and it is easy to work out
JOHN SOUTHERN
login names. Passwords on a system Here we can see the encrypted password
is wfR0W8eSzI1Lo
that you control however should be The 11386 refers to the last time the
more secure and not too obvious. password was changed in the days
since 1/1/70
The 0 refers to the number of
On your Linux system the passwords are stored in days before the password may
the plain text file /etc/passwd be changed.
You can view this file with any text editor. A The 99999 is used for the
typical line is number of days before the
password must be changed.
darth:x:500:100:Darth Maul:/home/darth:/bin/bash
7 shows the number of days
This can be split up as follows: before a password change is forced
that the user will be warned. The
darth - Login Name
following 0 shows the time in days when
x - Encrypted password
the account is disabled after the password
500 - UID (User IDentity number)
expires. Following this could be the number of days
100 - GID (Group IDentity number)
Darth Maul - GCOS (Extra info about the user U until the account is disabled. A final field is a
such as name etc,.) reserved field.
/home/darth - Home Directory Looking at the encrypted password: If we take
/bin/bash - Shell used an eight-letter password, for example ABCDEFGH,
this is first encoded with a salt seed. The salt seed is
As we can see the password is shown as an x a two-character string giving 4096 combinations.
which indicates that we are using shadow This is the first two characters of the password. The
passwords. If we are not the password is a string lowest seven bits of each letter of the password is
which has been encrypted with the DES (Digital then used to generate a 56-bit key for the DES
Encryption Standard). algorithm to run against. The generated 11 ASCII
The problem with just using DES is that the character is added onto the seed to give the 13-
/etc/passwd file is readable to everyone, character encrypted password.
otherwise they would not be able to sign onto Simple dictionary attacks are now fairly quick
the system. This means that they could in turn with some 500,000 words being contained in all
read the encrypted string in a simple text editor. seed combinations and sorted in order. Compared
By using a dictionary attack program such to the password this greatly aids the cracker.
as Crack To overcome this weakness, passwords should,
ftp://ftp.cert.dfn.de/pub/tools/password/Crack/, as we all know, be random letters and characters
which tries a word from its dictionary and and not make sensible words. The usual policies
compares it with the encrypted string until about changing passwords often also apply. To
eventually it guesses correctly. make the password a little more safe requires us to
On the other hand, this is sometimes a good use the MD5 encryption method, which is a little
way to recover passwords and really depends on stronger than DES.
just how much security you need. Shadow Mind you, this is the usual case of do as
passwords are stored in /etc/shadow file which recommended and not as I do. As I write this I have
only root has read permissions. been roothacked.
Signing on as root and looking at the file we Yet another re-install and this time I will use
get a typical line as Tripwire. Still, on the bright side I do have a new box
darth:wfR0W8eSzI1Lo:11386:0:99999:7:0:: set distro somewhere... ■
Installing Open-Source
Software on Linux
Figure 1:Finding
RPMs.
The sheer wealth of free software available for RPM is that it keeps a database of packages already
Linux can be overwhelming - what one might call installed on your system, and if you want to install a
an 'embarrassment of riches', to quote Abbe new package it will tell you if any of the pre-
D'Allainval. Well, actually, he said it in French, and requisite packages required by the new package
since he died in 1753 he most likely wasn't talking aren't present. Missing pre-requisites are the most
about software. But the sense of the phrase is that likely cause of failure when installing a new
the more alternatives you have, the more difficult it package. Although RPM doesn't magically fix the
is to choose. problem, it does at least give you a clear statement
of what's missing.
Distribution formats
Installing an RPM
Software packaged for Linux is available in a
number of formats. The two you'll most often Let's take an example of locating and installing an
encounter (and the two we're going to look at) are RPM package. Suppose I'm interested in migrating a
RPM packages, and a format rather quaintly known website, developed using active server pages, to my
as a 'tarball'. RPM packages usually provide Linux machine. I have heard that there's a tool
compiled binary code for a specific platform. called asp2php that claims to translate asp code
Tarballs usually provide source code that can be into php which I can run in my Apache Web server.
compiled and run on different hardware I'd like to give it a try.
architectures and a variety of versions of Linux and
UNIX. There are other packages formats, which we Looking locally
don't deal with here, such as the Gnu/Debian DEB
format. The first thing to figure out is, do I already have it?
That's not such a stupid question. There's an awful
What's RPM? lot of stuff on those CDs that came with my Linux
distribution I don't know about. I'm a great believer
RPM stands for Red Hat Package Manager, but its in trying obvious things first, so I'll open a terminal
use is not restricted to Red Hat Linux. The SuSE and window and try to run it:
Mandrake distributions, for example, also use it.
$ asp2php
RPM defines a format for parcelling up an installable
bash: asp2php: command not found
piece of software. The parcel (a '.rpm' file) includes
$
the compiled binary code of the software itself,
scripts which do whatever needs to be done to Not a good start. That doesn't prove it's not
install the software, and information about other installed, but it does show that it's not in one of the
software packages which this particular package directories on my search path. We can do an
requires. One of the biggest advantages of using exhaustive search of the file system with the find
command. It's best to do this as root, otherwise If asp2php required any packages which weren't
you'll get lots of messages about directories that present, it would have told you at this stage. For
find doesn't have permission to look in. Try the example, if I had tried to install asp2php-gtk-
command: 0.75.11-1.i386.rpm by itself, I would see this:
Of course, the fact that it isn't installed doesn't If you don't like working at the command line,
necessarily mean that it isn't included in my Linux you can do all these things with graphical tools. For
distro. We need to take a look at the RPM files on example, clicking on the RPM file within the KDE
the distribution CDs. In the case of a Red Hat browser will bring up a kpackage install screen from
distribution, for example, the RPMs live in a where the package can be installed simply by
Figure 4:Showing the directory called Red Hat/RPMS on each CD. So, with clicking the Install button. See Figure 1.
dependencies needed
one of the CDs mounted on /mnt/cdrom, for Alternatively, kpackage can be started directly,
example, I can look for the package with a and pointed at the directory where the RPM files are
command such as: (click on Settings --> Location of uninstalled
packages), and used to browse, select, examine,
$ ls /mnt/cdrom/RedHat/RPMS/asp2php*
and install any package. See Figure 2.
In this way, I discovered that in the Red Hat 7.1
distribution CD2 contains two files:
Net gain
asp2php-0.75.11-1.i386.rpm
asp2php-gtk-0.75.11-1.i386.rpm
OK, what if we can't find the package we want
These filenames, whilst admittedly messy, tell on our distribution CDs? A great place to start
you quite a bit: asp2php is the name of the searching for RPMs on the Internet is
package. 0.75.11 is the version number. The '-1' http://rpmfind.net/linux/RPM. Just type the package
tells you that this is the first build of an RPM for that name into the search box on that page (see Figure
package and version. The 'i386' means it's compiled 3).
for the Intel architecture. (Remember, this RPM You'll get a listing of all known RPMs for the
contains compiled code so it's specific to the package, with the most recent version numbers
processor architecture for which it was built. If you listed first. The third line in this list is the same Red
were using a Sun sparcstation, for example, you'd Hat rpm we just installed off our local disk.
be looking for a name ending in '.sparc.rpm'). Look carefully at the filenames. The fifth line is
an entry for the same package compiled for the
Installing the RPM Sparc architecure. Clicking on the filename link at
the start of the line will display basic information
Now we've found the rpms, we can install both of about the package. See Figure 4. Clicking on the
them with the command: .rpm file name at the end of the line will download
the rpm which can then be installed as
# rpm -i /mnt/cdrom/RedHat/RPMS/asp2php* previously described.
#
PRACTICAL
EXERCISES
WITH K TIM SCHÜRMANN
Buenos Dìas
KPresenter works – as do most presentation
programs – with dias or transparent sheets, but
refers to these as slides. These names stem from the
days when presentations were still cast on
transparent slides for a daylight projector or via a
slide projector onto a screen. This procedure can still
be found in the presentation programs of today.
The user can make several slides, on which words,
images or graphics can be arranged, as on an rounded off by the easy-to-view toolbar on the Figure 2: The KPresenter window
after opening the template
ordinary slide. These slides can then be output via a bottom edge of the screen, which accommodates
suitable printer onto transparent overhead slides or the text formatting functions, and the bar with the
presented directly via the program. tools on the left side.
In addition to this, the computer-supported The white working area, which takes up the
presentation offers extra options which ordinary majority of the KPresenter window, is again split
slides do not. First you can cast your presentation into two. While in the middle (within the red
directly from the computer onto a screen provided border) there is always a display of the page on
an appropriate projector is available. But that's not which you are currently working, on the left-hand
all: Using the option of adding animations and side there is a list of all the pages in your project.
sounds within and between the individual slides, The little box with a tick indicates that this page will
this type of presentation turns a boring lecture into also be used later in the presentation. If you do not
a multimedia event. wish to present a page listed there later, all you
As already mentioned, KPresenter refers to need to do is deselect the relevant box here. This
transparent sheets as slides; we will also be using way you can easily manage two different target
this term here. In our example the first page should groups in a single project. Depending on the group
now be exactly the same size as the screen, which for which you are holding your presentation, simply
you can check and if necessary correct under select or deselect the correct pages prior to the
Extra/Page layout. If all you want to do with presentation. And you can also add to annotation
KPresenter is prepare a slide show, it will make pages, which serve only for your own notes.
sense if you insert the dimensions of the slide to be
used later. As a rule this corresponds to the A4 Background
format (29,7 cm x 21 cm). But if on the other hand
your presentation is to be a projector presentation But now back to Noah Deer's example. On each
direct from the computer, then leave the page size page a blue colour scheme and the logo of Mr.
at the default setting Screen. Changing between Deer's firm will be displayed. On the lower edge of
the different page sizes later is possible at any time, every page the name of the holding company and
but in most cases it also leads to tiresome repairs to the date of the presentation will be shown.
the already existing pages. To create a coloured background, select Workshop summary
Extra/Page background. For the colour scheme, on 1. Word processing with KWord
Work area the first tab, click on the top coloured line in the left (1): A business letter
upper half of the window. From the colour palette 2. Word processing with KWord
In the main window of KPresenter you will find that appears, use the sliders in the left upper half of (2): A newspaper
several toolbars around the white working area. On the window to select a blue tone. 3. Tables and diagrams with
the top edge, in addition to the painting and Take care to ensure that in the longish, smaller KSpread and KChart
drawing tools, there are also arrow symbols, with of the two colour palettes the black triangle does 4. Graphics and images with
which you can scroll back and forth between the not remain in the lowest position. This represents KIllustrator
various slides. The clipboard editing functions have the colour black there – your other settings in this 5. Presentations with
been shunted off, somewhat unusually, above the window will be ignored. In the box above the OK KPresenter
colour palette, on the right edge. The picture is button, the colour you have just selected will be
second tab sheet. First, make sure that in the top list
there centered is selected. Then click on Choose
Picture and in the window which opens, insert an
appropriate image of the firm on your hard drive.
After a click on OK it should be displayed in the
centre of the page.
To finish, click Apply, so that the background
thus created is also assigned to the current page in
the main window. If, later, you have several pages in
your project, you can assign this new background to
all the pages there using Apply globally. Now close
the window by using the button of the same name.
To complete the background, you should also
create a footer including the name of the presenter
and the date. To do this, select Edit/Header/Footer.
In the Footer tab, in the big input box, enter the
text "Abc Limited". Press the tabulator key twice
and enter the date of the fictional presentation.
Now make sure that the box Show footer is
selected, since otherwise the changes you have
made will not be visible on the slide. Then click on
[top] displayed. As soon as you have found the right the symbol for centring and assign all the entries
Figure 3: The background
colour, click OK. Now select Vertical gradient from you have made here via Page update. After closing
takes on some colour
the Plain list. This will create a vertical run pattern the window KPresenter should now return to the
starting with blue. Now click on the Unbalanced first page in the main window.
box and use the two slide controls to set a soft,
fairly discreet run. You should also take note of the Foreground
preview in the right side of the window.
To insert Noah Deer's logo, change to the Now your presentation is ready to be filled with life.
Double-click with the mouse on the upper frame on
[right] the page and enter "Trusted Used Car Sales" for the
Figure 4: The
first page. If the text appears too large or too small,
completed
background in the you can reduce or enlarge it using the symbols from
preview the bar on the lower edge of the screen. With the
centring symbol (also found there), you should
centre the text. All the commands in this toolbar
can also be found in the menu under Text.
When applying text formatting you should
[below]
Figure 5: A footer
always remember that the text or area to be altered
is quickly created must be selected first. To do this, you can either use
the mouse, or hold down the Shift key and then
select text using the arrow keys.
Now go to the lower, larger text box, enter
"Business Proposal 2002". Unfortunately the pre-
set layout in this text box does not have the ideal
structure for a front page. For this reason, the
layout of this one page should be amended
manually. To do this, click the mouse on a blank
area outside the page. Now select the lower, large
text box by clicking with the mouse on its edge. The
box should display two small black boxes on its
sides. All functions which you carry out henceforth
are applied to all the text within the selected frame.
As you can see, the text in this lower box is split
into a format set by default by KPresenter. To switch
off this automatic formatting, select from the menu
the item Text/Type/Normal Text. This will make the
bullet point before the text disappear. Now centre
the text, by clicking on the corresponding symbol
from the lower toolbar with the text formatting
functions. Since the frame is still much too big for
Fine-boned
In the upper text box with the heading enter the up Text/Decrease depth. In this connection it should [top]
Figure 6: The completed front page
text "Firm Background" and then enlarge the lower also be stressed that KPresenter is still at the
of our presentation
text box until the frame displays roughly its original development stage. As proof of this, unfortunately
size, before it was reduced. Then align the text we still had a few problems in connection with [above]
Figure 7: A bulleted list explains the
included in it on the left. The company history of bulleted lists. If KPresenter does not want to make company history
Noah Deer's employer should now be listed in the the bulleted list as you have originally set it, you
form of a bulleted list. To do this, first change the should completely delete the affected text frame
type of the text box to Unsorted list by selecting (mark, then select Edit/Delete) and make a
from the menu the item Text/Type/Unsorted List. All completely new frame. To do this, click in the upper
the indents are now preceded by a bullet point toolbar, under the menu bar on the symbol with the
when they are entered, in the form of a black spot. big slanted T. The mouse pointer then turns into a
To create a new bullet point, when entering the small cross. Now move to the point at which the
text, simply press the enter key within the frame. If left upper corner of the text box is to be created,
you don't like the round bullet points used by hold down the left mouse button and drag the new
default, you can change these to anything you like text frame up. In this way, you can add as many text
under Text/Settings. frames to your page as you like.
Now enter a few points for Noah Deer's Noah Deer would like to make use of computer-
example, as shown in Figure 7. supported presentation during his talk and have each
To make any point appear indented, mark these item of the bulleted list just created "move in" from the
and select from the menu Text/Increase depth. You left at the press of a button. To do this, first select the
can also decrease the indent of any lines, by calling text frame with the bulleted list and then select
Lights out
Before the presentation is started for a test run, you
can assign more cross-fades to the individual pages.
These cross fades specify the way in which the next
page is to be faded in during the presentation. For
each such procedure, change to the previous page.
In Noah Deer's example page 3 is to be opened
horizontally. Therefore, you should change to page
2 and call up Screen-presentations/Configure Page.
In the window which opens, select Open horizontal
and click on OK.
Figure 8: An effect is assigned to the bulleted list points Figure 9: Using these settings, slide Now you can start the finished presentation via
in the second slide three is faded in with Open horizontally Screen-presentation/Start or with a click on the big
green button in the toolbar. During the presentation
you get to the next respective page by pressing the
KPresenter: (almost) a little painting program [->] key. [Esc] ends the entire presentation and
To brighten up your presentations a bit, KPresenter offers a few paint returns you to KPresenter.
functions. These essentially correspond to those from KIllustrator (see We shall also end our five-part Workshop on
Workshop Part 4 in Linux Magazine Issue 11) and are also used in the same KOffice with Noah Deer's presentation. It was the
way. As you will soon see when you work with it, KPresenter can hold its aim of this Workshop to acquaint you with the
own alongside KIllustrator in terms of drawing functions. individual components of the package and to show
Unfortunately KPresenter spreads its drawing functions over several what a free office package can do. As we hope you
toolbars. To draw geometric objects such as triangles or circles, use the have realised, despite a few errors, even at this
symbols from the top toolbar, on the right next to the mouse pointer development stage a few tasks can be performed
symbol. Alternatively, the associated functions can also be selected via the well with a bit of practice. We are eagerly waiting to
menu under the item Tools. see how KOffice will develop in the future. ■
In the toolbar on the left edge, KPresenter stores the more complex
manipulation functions. With the symbols housed there, an object can be
rotated, moved up or down one hierarchy level, and you can combine
several objects into a group.
Info
Screen-presentations/Assign effects. Then, in KOffice homepage: http://koffice.kde.org
Appear set as "Effect (appearing)" "Come from the Homepage of the KDE project:
left" and as "Effect (object-specific)" "Paragraph http://www.kde.org
after paragraph". To assign this effect to the object, Information on KPresenter:
click on OK. http://koffice.kde.org/kpresenter/
PLUGGED IN
SIMON BUDIG
Figure 1: This is
where plugins are
checked
When starting Gimp for the first time, the dialog Which plugins should we present?
from Figure 1 is visible for a relatively long time. This You may already have been wondering how
is when the search for new plugins takes place. wecreated the abstract pattern from the last part.
These are asked where they should be included in Basically, we used two Distorting plugins for this.
the menu. The search results are stored in the file Open a new image (for example 500x500 pixel)
~/.gimp-1.2/pluginrc – hence subsequent starts will and select, in the centre of the image, a rectangular
be noticeably quicker. area (in our example from (0, 220) to (500, 280)).
We had the idea initially of arranging all Fill in this area with black colour. With Select/None,
submenus of <Image>/Filters and <Image>/Script-Fu deselect this again. Now start the plugin
on the screen and making an impressive screenshot, Filter/Distorts/Waves. With this plugin the image
but then we changed our minds – there are just too becomes distorted as if one had thrown a stone into
Figure 2: many. So for this part of the Workshop we’re faced the (liquid) surface of the image. Using the lower
First make a few waves... with something of a dilemma: slide control you can affect the waves – in the
preview you will then see what awaits you. In our
example we’ve taken the values 45, 40 and 20 for
the amplitude, phase and wavelength
respectively (Figure 2).
In the next step this image is distorted spirally.
The easiest way to do this is with Filter/Distort/Whirl
and Pinch (Figure 3). Make sure that white is set as
the background colour, otherwise strangely
coloured areas will appear at the edge (where, as it
were, something is being screwed out of
nothingness). We’ve rotated the image to the max
here (360 degrees). If you like, you can also use the
Pinch Amount slide control to contract or expand
the centre of the image.
So now we have something slightly similar to
what was used in the last part as an example. But
the edge does not look especially great. It looks a bit
frayed. Interestingly, a soft focus filter can help to
create a neater edge.
We came across the main soft focus filters last
time: /Filter/Soft focus/Gaussian blur. This plugin
comes in two variants, although their results are
Graphics tablets
I will not go into the various types of graphics tablets at this point - for this, you should refer
to the article available at http://www.gtk.org/~otaylor/ximput/ .
Gimp obtains information via so-called Xinput devices (which also includes graphics tablets)
through the GTK+ library. This in turn receives its information direct from the X-Server. So in
order to be able to use Gimp with graphics tablets, the X-Server must be configured such
that the graphics tablets are recognised as Xinput devices. Typically, this happens via
/etc/X11/XF86Config, for which details can be found in the article mentioned above.
To support GTK+ one doesn’t have to do very much, since normally all the current packages
support Xinput devices as a matter of course. Formerly it might have been necessary to
compile GTK+ yourelf, since the support for XInput had to be explicitly selected (the
./configure switch is called —with-xinput).
To be able to make use of the expanded options within Gimp, you must now select, under The author
File/Dialogs/Input devices the Xinput devices, by setting each one (apart from SWITCH under The fact that so much can be
XFree 3.3.x) to the mode Screen. After a click on Save and Close you should now be able to written about bumpmap
paint in the image window with the paintbrush tool pressure-sensitively. surprised even Simon Budig
A quick word about troubleshooting, in case it doesn’t work. The command xinput list lists himself. In particular, when
all the input devices. If the X-Server has been correctly configured, one or more writing this article he
XextensionDevices should pop up here. If so and if No Input Devices appears within Gimp understood for the first time
when the above dialog is selected, GTK+ has not been compiled correctly. how the Waterlevel parameter
functions...
Compensate for darkening. The option Invert through the menu we promised last time, all we’ve
bumpmap interprets the grey shade image in covered is a couple of distortion plugins and an
exactly the opposite way — white for valleys, black intensive discussion of the bumpmap plugin. We
for the height features. In principle one could promise, that next time we will be dealing with
achieve the same effect by rotating the light source more colourful matters. And we will restrain Figure 8: Image functions forming
to the opposite side (± 180˚) – this button is ourselves when it comes to Gimpressionist – which the basis of the bumpmap plugin
Contours
The three different functions for affecting the shape
of the contour are all very nice, but sometimes you Figure 6: Lots of parameters for the bumpmap plugin
need more control. The bumpmap plugin alone
cannot do it, but it is very easy to foist various
contours onto the plugin. To do this, you can use
theImage/Colours/Curves dialog.
Start again with a blurred (radius approx. 10
pixels) white text against a black background. Now
open the curve dialog and model a contour, similar
to the one you can see in Figure 10.
Now create a new image of the same size. We
have created a plasma effect again, in order to
make something colourful. Then apply the
bumpmap plugin with the signature. The result
should look something like Figure 11.
Hmm, we have to admit it – from the foray
Figure 11: The result: A text with a fancy contour Figure 10: Using the curve tool to create a contour for bumpmap
BEAM ME
UP, TUX FRANK HAUBENSCHILD
The International Space Station (ISS) is about three ISS. The ATV is initially faster; it follows the ISS,
times the size of the space station Mir that crashed reaches it and adjusts its speed. Docking with the
into the Pacific a few months ago. With good ISS must be accurate to the last millimetre. Then the
visibility it can be seen from Earth. This sort of high- cargo can be unloaded.
tech project depends on stability, reliability and Even though most of the docking operations
performance, so it's no surprise that the European are automated in the unmanned ATV spaceship, the
Space Agency (ESA) has chosen Linux for one of ISS crew and the ground staff are able to intervene
its projects. in the manoeuvre. ESA has developed two Linux
The Automatic Transfer Vehicle (ATV), realised programs for this purpose – RASCI and GOAS.
by ESA, is an unmanned space craft that supplies
the ISS with fuel and goods. To get the ATV's cargo Remote control
onto the ISS requires a docking manoeuvre between
the two spaceships. The difficulty lies in the RASCI stands for Remote ATV Control at the
different speed of the two ships. The whole International Space Station and runs on an IBM
rendezvous begins about 20 kilometres behind the Thinkpad. The ISS crew will use it to monitor the
docking manoeuvre. The application requires X- the Ariane-5 mission is not planned until February [left]
Trajectory and control
Window (X11R6) with Fvwm as window manager 2003 – so Tux has got a little bit of time left.
displays with RASCI
and is currently running on Slackware 3.0 with
kernel 2.0.30. Other Linux space projects [right]
The relevant telemetric data is stored on the GOAS gives control to
Linux file system. RASCI has a modular structure, Apart from the ATV project initiated by ESA the the ground crew
there is a telemetry handler, which receives the American space agency NASA is also looking into the
telemetric data from the ATV, processes and saves it use of Linux in space. The Flight Linux Project,
and, if necessary, transmits it to clients like the originating in an initiative by NASA engineer Pat
status monitors. Another module deals with error Stakem, is working on the Blue Cat-based
recognition during the docking manoeuvre. If an distribution Flight Linux. According to its initiator, it is
error occurs, the astronaut on the ISS is able to intended to maintain the course on board unmanned
terminate the docking manoeuvre completely, pass space ships and take over monitoring functions.
control to the ground crew or start evasion Another Linux project is the Linux-Equipped
manoeuvres if there is a danger of collision. Astronauts Project (LEAP), the aim of which is to
Future versions of RASCI are intended to also replace the Windows programs currently used by
provide the astronaut with video data of the the astronauts with Linux programs. However, at
manoeuvre, which will be displayed in real time, in the moment these lofty goals are still awaiting
addition to the telemetric data. realisation, there is a lack of support from officials at
NASA and ESA. ■
Ground crew
Linux controls
space rendezvous
The "Ground Operator Assistant System" (GOAS)
was originally developed for Sun Workstations
(Ultra-Sparc 5, 64MB RAM, 300MB HDD). The Linux
version is derived from this. Linux-GOAS requires at
least a 233MHz Pentium with 48MB RAM and uses
X11R6 and Open Look as window manager. The
GOAS GUI was developed in C++, the actual
application in ANSI C.
GOAS is capable of addressing several monitors
to provide as much status data as possible at one
glance. The software allows the ground crew to
intervene in the control of the docking manoeuvre
in any situation imaginable. For example, the ATV's
steering jets can be addressed directly to avoid a
Info
collision with the ISS. In contrast to RASCI, using ESA ATV project: http://www.estec.esa.nl/wawww/ESC/
GOAS, the ground crew can re-plan the entire NASA Flight Linux: http://flightlinux.gsfc.nasa.gov
docking manoeuvre – fully automated, semi- LEAP: http://www.cantrip.org/leap.html
automatic or manually. http://www.sheflug.co.uk/featuresoft.htm
Although individual modules of the ATV project Space station computers crash: http://www.theregister.co.uk/content/2/18526.html
have been tested in several Shuttle missions (STS-80,
STS-84, STS-86), the first deployment of an ATV for ■
This completely revised and updated edition covers Voice Over IP. It concludes with the usual section on
many of the latest programs to use with Linux. It creating an emergency disk.
covers aspects from text-based tools to the latest The book is aimed at people who actually want
KDE and Gnome tools in an easy-to-read format. to do things with Linux and who may be stuck in a
Difficult concepts are explained in a simple manner Windows environment. It is a good book to dip into
such as using encryption or automating tasks. with many one or two page information blocks. I
Written by an ex-director of Caldera, the book is was impressed that the part on calculators included
based mainly on using Red Hat and admits that reverse Polish notation and the programs included
many of the aspects it covers are automatically on on the disc should add interest to my system. ■
the latest editions of Red Hat and
other distributions.
It covers a lot of programs, many included on the
enclosed disc, and gives a good flavour of what is Info
available, such as Xmorph. There is an interesting Author: Nicholas D.Wells
section on games, some of which I recognise from Publisher: Sybex
earlier incarnations on pre-PC computers, and a nice Price: £16.99
section on Video4Linux, how to install TV tuner cards. ISBN 0-7821-2935-8
There is a big section on Apache Web servers
and it also covers, more unusually, fax servers and ■
ESSENTIAL
LINUX FAST
At last – A UK English, step-by-step guide to using programming, but who are beginners when it
Linux! Ian Chivers takes Red Hat and SuSE and comes to Linux and would get a system up and
explains installation and use in a clear, easy-to-follow running in a day by following the instructions. A
fashion. Where there is a difference in the systems good read through of the book should also allow an
he mentions this and there are plenty of screenshots informed choice of distribution and some idea of
to illustrate the points he makes. He admits that the hardware that is supported.
where he had problems with the hardware not being A good, no nonsense book with just the right
supported that later developments may have amount of information to let you do the task of
changed the situation and gives a Web address for getting a system running with the minimum of
the most up-to-date information. effort. You can then get on with the rest of your job,
It is written in an academic style with bibliographies secure in the knowledge that Linux will run itself. ■
after each section for further information. It covers
starting with a Windows machine and installing Linux –
he uses various versions of Red Hat and SuSE. It goes on Info
to setup networks and security. The second half of the Author: Ian Chivers
book deals with using UNIX commands and installing Publisher: Springer
additional programs including emulators for most Price: £15.95
programming languages. ISBN 1-85233-408-8
The book is aimed at people who are
knowledgeable about computers and ■
K-splitter: Made to
Themes
Another facelift for the KDE-2.x desktop makes the
new Themes by Vadim Pessky possible. The author
has, unlike many other theme-builders, not settled
for simply pasting together a few background
images, but has gone to the trouble of fitting
individual window decorations in each theme for confirmed and is no surprise to all those who have Figure 4: A whole new look
buttons etc. The whole package can be found at ever waited for long minutes for the start of one
http://apps.kde.com/. KDE program or other – speed.
If you don't want to download all the themes More than one quarter of the votes submitted
prettily packaged, you can also hunt down argued in favour of a faster KDE. Waldo Bastian
individual items at the author's home page then wrote a report with the title Making C++ ready
http://kde2.newmail.ru/kde_themes.html. for the desktop, in which he analyses the various
These desktop beautifiers are installed in start phases of a C++ program and develops a few
seconds thanks to the theme manager, which has proposals for optimisations. The complete article
been resurrected in the newer KDE versions. Open can be found at http://www.suse.de/~bastian/
the KDE control centre, select Appearance/Design Export/linking.txt.
management, and the installation work can let rip: But Konqueror is still in the sights of users. Just
Click on the Add button, select the new theme to under 20 per cent wish for further improvement
be installed, and you will instantly see an image like with respect to CSS and JavaScript. Third place on
the one in Figure 4. the wish list was occupied by expansion and
improvement of Koffice. ■
When the postman rings at the
wrong time ...
For many Kmail users this may be due to the fact Themes: The famous/infamous Themes are something you must surely be
that they are still using an old issue of KDE. Because familiar with from the Windows world. These are background images that
in the Kmail versions under 1.0.29.1 there is a date- harmonise icons, sound files etc, which a well-meaning person has composed
related bug, which can lead to your mail folder with more or less good taste.
suffering damage after 9 September 2001. CSS: Abbreviation for Cascading Style Sheet. Style sheets make it possible to lay
And users of versions 1.0.29.1 and 1.0.29.2 do HTML pages out better. Frequently-used format settings (bold, italic etc.) and
not get away completely unscathed. In this case, the fonts only have to be defined once for a specified text element. This also means
folders are not damaged, but data can be wrongly that the amount of data of an HTML page is usually reduced, since these settings
shown. So update to KDE 2.1.1! (once defined in the header or in a separate file) are only queried once in the
running text per code.
Tempo, tempo JavaScript: A simple scripting language, originally developed by Netscape,
which can be integrated into HTML. With JavaScript functions such as for
For the near KDE future the developers wanted to example cursive scripts, clocks or similar can be realised. Unlike Java this language
know precisely what users really want, and so they is neither software-independent nor equipped with the necessary security
went on the Internet and posed the question: mechanisms.
"What should be given highest priority in the
development of KDE 2.2?" Now the result is ■
K-tools
MUSICAL
HANDICRAFTS STEFANIE TEUFEL
Undercover
Once you have yourself a nice new audio CD, it
would be a crime not to put it into a cover of its
own. There are programs such as Kover (Figure 7) or
KCDLabel (Figure 8) which take care of this, and you
can find their latest versions on the cover CD.
Start Kover via the start menu, Figure 3: Decide what to burn in seconds using drag and drop
Multimedia/Kover or alternatively KCDLabel via the
start menu, Applications/KCDLabel. True to the
WYSIWYG motto What you see is what you get,
here you can enter titles and contents, select text
colour, size or font and if required, also include
photos. You can keep an eye on the result of your
masterly artistic achievement, large or small, at all
times in the preview window.
Kover’s strength is that it spits out your lovingly Figure 4: If anything else needs changing...
designed cover when it prints it out, neatly provided
with fold lines. Also, the newest version even comes
with an implemented CDDB autofilling function –
for both the CDDB database on the Web and for Figure 7: Kover even comes
with CDDB support
your local title database on the hard drive.
KCDLabel on the other hand offers one or two
additional graphical design options. Whether ring-
shaped text or the CD title in the form of a rainbow. In
the menu bar, open Character string/Insert curved line,
and start typing. Even round CD labels are no problem Figure 5: It's the speed that counts
for this program, thanks to File/Print Round Label.
My home ...
... is my happiness. If this saying applies to you, you
will not be moving away from your computer and
so won't be needing any audio CDs. To finish off,
we have a program (or rather, a front-end) for you, Figure 8: A CD label ready to print
with which you can comfortably tootle away your
MP3s on the computer.
Exactly the same as xmms-kde, which we
presented to you in the K-splitter column in Linux Figure 6: Progressive Figure 9: An applet rarely comes alone
Magazine issue 10, kmms is an xmms applet for the
control panel, with which you can control the easy-
to-use MP3 player at all times via the panel, without CDDB: Compact Disk DataBase is a CD title database on the Internet. This database
having to switch to the desktop. contains all information on any audio CD which has ever come onto the market. CDDBs
Start it after installation – simply right-click on are either held locally or are fetched from the Internet. In the case of an audio player,
the KDE panel and select Add/Miniprogram/Kmms, which supports the CDDB format, as soon as the CD is inserted it checks whether the CD
and delight in an applet as in Figure 9. For anyone is already known. If not, the CD player tries to connect to the Internet and to find the
who has already installed xmms-kde, the data there on a CDDB server. CDDB programs access the TOC (Table of Contents) of a CD,
functionality of the two applets is the same in which every CD includes.
principle. Try them both out to decide which one
suits you best. ■ ■
We present the pearls among the any kind of expansions by distributors or companies
such as Ximian. There are also plans to compile
Gnome tools here. This month's regular snapshots from the Gnome CVS, in order to
topics include: All over for Eazel?, make life easier for Beta testers and compilers.
Dr. Linux
MAKE IT
SNAPPY WITH
THAT SHELL MARIANNE WACHHOLZ
Begin by logging on to your home directory. To Welcome to SuSE Linux 7.1 (i386) - Kernel \rU Figure 2: Reproduce
a session in text
create the log file script requires you to have write (\l). mode with script
permission for the current directory. With
Debian comes across as more Spartan with
user$ cat filename_of_log
Debian GNU/\s 2.1 \n \l
the log can be reproduced from a command line. and Mandrake actually draws a complete penguin
In the case of longer logs there is the option of a with a whole heap of escape sequences:
sideways display with more instead of cat, or you
^[[40m^[[40m
can call up the log in an X-terminal program,
^[[2J^[[0;0H
which provides a scrollbar.
^[[0;1;30;44m ^[[40m ^[[44m ^[[40m
[...]
A personal welcome ^[[0m^[[255D
Can the log-in message, for example Linux Mandrake release 7.0 (Air)
Kernel 2.2.18 on an i686 / \l
Red Hat Linux release 7.0 (Guinness)
Kernel 2.2.16-22 on an i586
With the control characters the case is as follows:
be individually configured? • \l creates in the output the number of the text
Dr. Linux: The distributions issue messages console (tty1, tty2, ...)
before the log-in whose content is stored in • \t gives the time in the format HH:MM:SS
/etc/issue. The Superuser can edit this file and • \m gives the processor type (such as i586)
thereby change the output before the log-in. • \r gives the kernel number
If you open the file with an editor, you may • \d inserts the date in the format 2001-06-13
notice that this opening text consists not only of • \n is the control character replaced by the
text, but also of control characters. So in SuSE for computer name
instance, you will find the following entry: When you save the entry
Escape Sequences
The American National Standards Institute (ANSI) set itself on a command line, the key combination Ctrl+G makes your
the task of standardising the terminal control characters. computer beep (assuming your system is not configured as mute).
This is put into practice with escape sequences, which are You can use this kind of character for colour control in a
mentioned several times in this article and which you will way which is much more multimedia – for coloured outputs in
find described in detail in the Bash Prompt HOWTO text mode or to make the Prompt appear in colour for
(http://www.linux.com/howto/Bash-Prompt-HOWTO- instance. The HOWTO offers a few examples that invite you
6.html). to try them out as ready-made scripts. Copied into a file and
Some of these control characters will already be familiar made executable, you can view the colour scheme on your
to you. The well-known beep, which your system utters command line. The following script from the HOWTO
from time to time, is also an escape sequence. When placed demonstrates the potential colours (Figure 1):
After logging in, I get the following information Prompt: The enter prompt (also called the standby character) signals the
text on the text console of my system: readiness of a shell to execute a command. Since the prompt can be configured,
on some systems you will find one that displays the current directory, while other
Last login: Sat Apr 28 14:35:54 on tty6
computers, often in networks, also give the respective computer name. When it
Where do I go to stop this? comes to the purists among administrators, you might even find just individual
Dr. Linux: If you don’t want to see this characters such as %, > or $.
information, you must act as Superuser. The Shell: A command interpreter. This program is started when logging onto the
message of the last successful log-ins (all users) is system (log in shell) and accepts the commands entered by the user (interactive
stored in /var/log/lastlog and output by the log in shell). Shells usually have elements of programming language (variables, loops,
shell after you log onto the system again. The conditional queries etc.) built in, so that you can assemble and have executed
decision as to whether this data appears on the instructions for the shell programs or 'shell scripts'. In addition to the bash, which
screen is made in the file /etc/login.defs. is used by the overwhelming majority of Linux users, under Linux and other UNIX
Open this file with the editor of your choice, operating systems you can choose from the following shells:
and in the line • The syntax of the csh or C-shell is similar to the C programming language
• The tcsh is an extended C-shell with the option of editing the command line.
LASTLOG_ENAB "yes"
• The sh or Bourne shell has no editable command line
change the entry "yes" to "no". • The ksh or Korn shell which is largely back-compatible with the Bourne shell
For Mandrake users there is bad news: In some provides an editable command line
versions of this distribution, setting • The zsh (Z-shell) is the most recent of the listed shells and can also be edited.
LASTLOG_ENAB does not change anything in the Although it is in many respects similar to the ksh, it does have a few special
output of the "Last login" message. nuances and more extensive features
Shell variable: Many functions of the bash are controlled by variables, which in
Getting graphical? turn exert an influence on the entire function of a system. The initial settings in
the files /etc/profile, /etc/profile.local, /etc/bashrc (depending on the distribution)
I have specified a graphical log-in in my are read in first. Users have the option of individualising these settings by editing
installation. But I would prefer to log onto a text the corresponding dot files in their home directory. The bash processes the
console and start the graphical user interface with following files after a user logs in, in the respective home directory:
startx. Which file do I enter this into? • .bash_profile
Dr. Linux: UNIX systems can run in various • .bash_login
operating statuses, which are referred to as run • .profile
levels. In the file /etc/inittab you will find a • if applicable, .bashrc
definition of the preconfigured run level of your If one of the files is not available, the next will be searched for possible entries. If
system. The numbering of the run level is not the you want to permanently set or change the value of a variable, write it in one of
same in all the various distributions. these files. The command set will show you which variables are set in the system
Common to all is the run level 0, which powers on the output screen.
down the system, and run level 6, which triggers a If the directory /sbin is not entered in the PATH variable, this directory will not
reboot. Therefore it is not advisable to enter one of be searched, such programs must be started with the absolute or relative
these two as default run level, thus as the run level pathname. If a program in the current directory, which is not in the search path,
which is automatically assumed on booting. is called up, this can be reached by placing ./ before the program name.
The other run levels in the SuSE-7.1 Absolute and relative pathname: An absolute pathname, often also called
distribution look as follows: the full pathname, begins with the root directory, symbolised by /. It usually
• Run level 1 is the single-user mode, in which consists of /Directoryname/any_other_directories/filename. A relative pathname
root has the opportunity to rescue something begins in the current directory. /Directoryname is replaced by a dot (.), which
from a crashed system with only a little produces the command ./any_other_directories/filename. So the system can
functionality distinguish (even with files of the same name) as to which file the command
• Run level 2 offers multi-user, but not network applies.
functionality
• Run level 3 also allows several users to work on ■
the machine at the same time (multi-user) and
also provides network functionality (local mail, your system starts at. In the case of a SuSE 7.1 the
logging in from remote machines, etc.) number 5 has to be changed to 3, so that the
• Run level 5 is preconfigured as an additional graphical user interface won’t be automatically
multi-user operating mode with network and available when you next start the system. In the
graphical log-in case of other distributions you can simply read the
In the file /etc/inittab, apart from a definition of definitions in /etc/inittab attentively to find an
the run level you will also find the default run appropriate multi-user run level.
level. The watchword is initdefault:
usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:U
/usr/lib/java/:.
user$ export
PATH=$PATH:/directory/subdirectory
NTOP
VALUE
CHRISTIAN PERLE
that are indispensable or unduly
ignored. This month is devoted to
network monitor ntop.
The increasingly networked world of computers is Ntop can be compiled and installed with:
now marching into the living room. The second or
tar xzf libpcap-0.6.2.tar.gz
third machine is linked with the main home PC and
cd libpcap-0.6.2
happily swaps data via TCP/IP. If you want to keep
./configure —prefix=../libpcap
on top of your private computer farm and its
make
outward network connections, you will find ntop by make install
Luca Deri very handy. cd ..
tar xzf ntop-1.1-src.tgz
Top N cd ntop-1.1
./configure
To run the program, the ncurses library (including make
associated Development Packet) must be su (enter root password)
installed. You’ll also need libpcap. To compile the cp ntop /usr/local/bin
cp ntop.8 /usr/local/man/man8
libpcap you will need the packages flex and bison.
exit
Ntop can be obtained at www.ntop.org/ntop.html.
If ntop is started in a terminal it behaves similar to address. You must send a Ctrl+C into the terminal
the UNIX classic top, except that ntop does not with the ntop command, to shut down the service.
display the processor capacity being used by various ntop makes more information available via the
processes, but the network traffic due to various Web interface. Figures 2 and 3 show just a small Figure 3: Overview of
individual computers
computers. In Figure 1 a large movement of data is selection of the statistics on the distributions of
taking place, from sphere to camera. The current protocols in the total throughput, bandwidth
throughput can be read off at top right. The utilisation, network card manufacturer, network
program started with ntop -i eth0, thus instructed connections currently running and much more. In
also to tap packets on the first Ethernet card. Table 1 all the links from the ntop main page and
In the text interface ntop responds to various their functions are described.
keys. The space bar fetches additional information The Web interface can be blocked by a password.
into the columns of the displayed table, such as
protocols like FTP, HTTP or DNS. Other functions can To do this, the user must make a file in their home
be found on the Man page. directory called .ntop with a user name/password
We shall now leave the text interface with the q pair. The content of this file could look something
key and start the program again with ntop -i eth0 -
w 888. The terminal shows no output, but with a like this:
frame-capable web browser you can connect to # ntop password file
Port 888 with the ntop service thus started. This is tux dryfish
done by entering http://localhost:888/ as the site
deskTOPia
The rest is simple: First, the entire font is masked Figure 3: Information on
the current glyph
using Mask. This gives you a view of the various
cursors as they will appear on the desktop (Figure
2). Using the arrow keys, you can then move from
one glyph to the next, at the same time seeing
amazing cursors you won't usually come across,
since they are never used.
The primary candidates for change are those
cursors which you've already seen ranging free.
Once a victim is found, then you set a black pixel xsetroot can be used for this purpose.
with a right mouse click and a white one with a left Someone has perhaps already made use of
click. Pressing the left mouse button with the Shift this in the pre-KDE/GNOME era to make the screen
key held down deletes a pixel. It becomes background totally black with xsetroot -solid black.
transparent and the turquoise background of the The option -cursor allows you to install an icon
character interface becomes visible. as root cursor. But not just any: Firstly, it must be in
The Invert button turns black pixels into white the form of a black and white X-bitmap (filename
ones and white into black. On the other hand if you ending .xbm), and also in two copies. So that the
press Ctrl and left-click at the same time, you can cursor is not disfigured by an ugly screen edge, a
set the hot spot of the cursor. Where the red cross mask bitmap is produced, which delimits the
hairs lie is the point at which the exact mouse focus outlines of the cursor. The section of the bitmap
will appear later. Bundling it onto the wrong end of serving as cursor is made black for this (Figures 4
an arrow means that the accuracy of the user and 5).
will suffer. To do this, simply paint the outlines of the
If you are interested in the exact dimensions cursor image with a graphics program or, even [left]
of the current glyph, a press on the B key will better, an icon editor, in black, and save the mask Figure 4: Cursor image ...
help. This information can be found in the X- under a different name (but it must be as an .xbm [right]
Terminal window in which decurs has been file). Anyone not wanting to design their own icon Figure 5: ... and mask
started (Figure 3). can make use of the xbm fund in their own
Once the cursor font has been edited, it is computer. A locate .xbm | less should provide an
unmasked using UnMask, before being saved using ample selection. A
save font. Next, a little bit of manual labour is Glyph: Symbol of a font
xsetroot -cursor image.xbm mask.xbm
required, because the .bdf file created must now be Root window: The bare
made into a .pcf.gz. This is done using then comes up with a whole new cursor experience. screen background managed
the commands If you find black on white too boring, you can turn by a window manager. If you
the black foreground colour red with -fg red and start X without a window
bdftopcf -o cursor.pcf new_cursor_font.bdf
the white cursor background black with -bg black. manager or desktop
gzip cursor.pcf
The program xcolors tells you which options are environment, the root window
Once root has made a backup copy of the available in the choice of colour. So a will show itself as a black and
original cursor font in white background. It is called
xsetroot -cursor image.xbm mask.xbm -fg Lemo U
/usr/X11R6/lib/X11/fonts/misc/cursor. pcf.gz or a root window because it is
nChiffon1 -bg SeaGreen
similar, the newly-created cursor.pcf file is copied the mother of all the windows
into its place and X is restarted. is useful if you're curious about the colours available which the window manager
If the cursor with the new font is now on your computer. Using the picture bitmap shown can place thereon.
invisible (because you have saved an important in Figure 4 and the mask bitmap of Figure 5, results
glyph in pieces), keep your cool. Kill off X with in a cursor featuring tiny light yellow computers ■
Ctrl+Alt+ Backspace and recopy the old backed- with nostalgic green monitors, which are best seen
up cursor font file to its original position. against a black background.
If, despite being edited, a cursor appears in Whilst browsing the cursor font with decurs
the old, familiar guise, you will unfortunately you may have found a glyph that you wish to use
deskTOPia
have to settle for this. Many applications such as as root cursor. This is also possible under xsetroot.
gimp use their own cursors instead of those from Thus Only you can decide
the how your Linux desktop
xsetroot -cursor_name bogosity
cursor font. looks. With deskTOPia
makes the bogosity glyph in cursor.pcf.gz the we regularly take you
Root cursor standard cursor. with us on a journey
Unfortunately, desktop environments like KDE into the land of window
If this is all too fiddly, you can merely change the prevent xsetroot effects. To make proper use of managers and desktop
cursor which appears when you move the mouse xsetroot you'll need a standlone window manager environments,
over the space on the root window not like windowmaker. ■ presenting the useful
occupied by windows, toolbars or menus. A long- and the colourful.
established command line program named
THE GNU
GENERATION
Having looked at
RICHARD SMEDLEY
individual kids'
packages in previous
issues, let's see
how to get everything
on your system at once.
We introduce the
Debian Jr project
and interview Ben
Armstrong, the
lead developer.
Commom Ground
Many people are drawn to GNU/Linux by the community support. The help and sharing of
knowledge make learning new ways of using a computer enjoyable.
Most Linux distributions are put together by commercial enterprises, or by small groups
of individuals. Debian is unique in being actively developed by a worldwide community of
over 500 developers acting in chaotic co-operation, on the agreed common ground of the
Debian Social Contract. This document supports the open development of a totally Free
Operating System, of the best possible quality.
It works extremely well, as Debian GNU/Linux provides a stable OS found on many
servers and a cutting edge unstable branch which graces the desktop of many a developer.
Yet the notorious installation aside, Debian is not too difficult a distribution for most users.
Debian Jr's wider aim is to make the distribution a better experience for users aged two-99.
The primary goal of the Debian Jr project is to make you start with a thought "my children need such-
Debian an OS our children want to run, initially and-such" and then the project just happened?
focussing on children aged two to eight. At this age
a child will have an older sibling or adult acting as Ben Armstrong Precisely. Nobody had any
sysadmin (systems administrator) for them. It is at grandiose plans. There was just this thought that
their technically competent sysadmin that a large with no fewer than seven computers in the house
part of the initial release is aimed, giving them a running Debian, and all of my children already using
starting point for a children's system. However, once them, we had already a start at using Debian as a
Debian 3.0 is released, and users start to provide base and tailoring it to suit their needs.
feedback on Debian Jr., much more can be done. I saw that we were relying on serendipity to
You can download the project now if you run a supply us with more packages suitable for the
Debian (or Progeny or Stormix) system by including children. Yet I knew there must be more out there
Woody (testing) in your /etc/apt/sources.list and that could be packaged for Debian. Also, it was
installing the junior packages. When Woody is plain to see that any integration issues that had
released you can simply select Debian Jr. in the particularly to do with children were not going to
tasksel menu during installation. happen by accident. And finally, I realized it must
not be entirely obvious to a new Debian user which
Birth of a project packages would be good for the kids and which
would not. [left]
Two computers are
Linux Magazine How did the project get started? I asked some other Debian developers about it, better than one
You were surely aware that a GNU/Linux distribution and was encouraged by them to go and start
[right]
for two-99 year olds was a vast thing to take on – something. Up until that point I was thinking "we" Maria, aged nine, plays
were you feeling particularly bloody-minded, or did should do this and "we" should do that and hadn't Rocks'N'Diamonds
really considered where I fitted into it. But it made LM What about recognition from the wider Free
sense for me to make a commitment, so I kicked off Software community?
the discussion on the developer's mailing list. This
got some favourable responses and got people BA If you look at our Web page, I list a number of
thinking about what such a thing would look like. other, related projects. Members of several of these
Then it was just a matter of getting our own mailing keep in touch with me and continue to support and
list and website set up and try to figure out where encourage me. In particular, SEUL/edu is a great
to go next. And so the project was born. help. They keep me inspired and help me to kick-
start the project whenever I let it stall out.
Debian and children
LM As a Debian developer you obviously choose to
LM What level of support have you had from follow the guidelines on Free Software. There are
Debian developers for this project? proprietary children's apps that run on Linux that
could be included in non-free or contrib. What are
BA I have encountered plenty of Debian developers your feelings on the importance of kids' (and
(and not just those with children) who think this is a everyone's) software being free?
great idea. We have received assistance from those
not working directly on Debian Jr whenever we BA Debian Jr is not actively making an effort to
have needed it. I have been surprised to have some package non-free software. Every Debian developer
of these people approaching me personally to ask is free, of course, to package anything that can be
"How does this issue affect Debian Jr?" or "What placed in contrib or non-free, but I feel that to do so
features should go here to make this package child- myself would be dissipating my energies into stuff
friendly?" So I think the mere existence of the that is off focus for the project. There is no reason
project is helping Debian developers to consider we should not be able to shape something entirely
"...and what about the children?" out of free software that will appeal to children. I
Childproof is no education
One of the project's aims is to you don't have to go far to find that. You experience for the child, but also more
balance childproofing with the goal go as far as you can go on your own until robust free software.
of allowing children to try things you are stuck. When you are truly stuck, Or at least that's how I envision it.
(and yes, break things). Armstrong is you tell your support group what you did Perhaps that further illuminates my
very much in favour of exploring and and hopefully you get answers that lead previous objection to making a tight
learning by mistakes: you to the solution. The next time you're system for non-technical sysadmins. I'm a
faced with a similar problem, you are technologist, and as such, I have slightly
BA Well, if you're an adult looking better equipped to deal with it. That's different agendas than non-techs. I am
for the "Linux experience" you are the dynamic I see in my LUG played out raising my children with geek values. I
necessarily going to end up tweaking over and over again. And the members am raising them to learn how to deal
configs and breaking things yourself. truly grow in this environment. with computers when they do the
It seems only natural to me to share Thus children, who need to learn unexpected, and to be comfortable with
that with my children. about computers just as adults do, that and know what to do, even if they
As preposterous as that concept should be given the same opportunity to don't know how to fix it themselves.
might seem to the uninitiated, I learn. Instead of shielding them from the I allow that not all people in the
really have found that those who computer by hiding all the details inside world are geeks or see the value in
only know how to fix something by black boxes, we encourage the children making things break and improving
removing it and re-installing it, or by to look at the config files, read the them. They just want stuff to work,
rebooting their system get far less comments, and try different values. They period. When stuff breaks, it is
out of their system, and are far more take great pleasure in constantly disorienting, irritating, frustrating, and
dependent on those with more tweaking their Web browser settings or they don't see it as a learning
experience for technical help. With a game settings to suit their mood or just opportunity or software-improvement
small amount of poking around and their curiosity. And yes, sometimes this opportunity at all. If that's where a user
exploring things on your own, even if means they break things. Well, that's is, maybe they should consider a different
it means breaking it even worse than great. If they tweak a config in a way operating system. Or maybe that user just
when you started, there is an that the author didn't anticipate and it needs to enlist the help of a technical
opportunity for you to learn how causes a program to core dump, the friend who is there to help when things
things work. Of course, you need to child, along with their observant and break. If that friend is also willing and
find a community of helpful people helpful sysadmin will jump on this has time to help when his children break
with more experience than yourself opportunity and send a bug report in. things, then maybe, just maybe, he will
to fall back on, but these days The end result is not only a learning get along fine with a Debian Jr system.
COMMUNITY
SPIRIT COLIN MURPHY
so they can persuade themselves that their letters to Linux magazine editors, as well as the
language is the one true language, or again, maybe good Internet stalwarts like Usenet.
to shelter as a group against those telling them that There is one very important resource that you
their language is really the lowest of the low. Or, really should call upon: the local LUGs that already
which is more often the case, it can be a collection exist. Even if you think of them as being remote,
of Linux users with a much wider, more general those LUGs might be a long way away for you and
interest in all things that make the OS what it is. your new group might be nearer or convenient for
Groups like these can use Usenet, email, mailing some of the members of the surrounding groups.
lists, Web pages and other resources to keep in So send an email canvassing support or outlining
touch with group members. Quite often User your proposition to the mailing lists of those groups,
Groups will also have a location in common – which or ask the group admins to post a link to a Web
makes them a local LUG, allowing users to meet page so you can gauge demand.
each other in person. When people talk of LUGs it is Do remember though that it's not a case of
usually the local variety they are thinking of. competing with your neighbouring groups, but of
These local LUGs vary in size and type. Some complementing them. You don't want to end up
may have as few as four or five regular members; being accused of poaching users from an area. You
others may have 50 or more. Some might just meet should always try to avoid clashing with other
in a pub, going through members' problems or groups meetings – you will be surprised how many
solutions, other groups may put on talks and members will want to go to both.
demonstrations for their meetings. Some may want Once you have started to generate interest you
to encourage and introduce new users to Linux, will need to set up some channels of
some, though not many, may want to remain lofty communication so that those in your fledgling
and technical. The reason for such a wide range of group can discuss issues and plan together for its
LUGs is the way they develop, they can just spring future. Mailing lists are ideal for this and the 'UK
up when and where the need arises, just so long as Linux Users Groups' organisation will help you with
someone is there to plant the first seed. setting one of these up for free, as well as providing
other useful online resources like space for a Web
Finding out about LUGs page link and Internet Relay Chat rooms. See their
Web page at http://www.lug.org.uk/ for more
As Linux is developing and growing, more and more information on how to do this. There you will find
local LUGs are forming to offer help, friendly lots of help, advice and support with setting up your
support and camaraderie, so it is becoming more own LUG along with a mailing list specifically
likely that you will have a group near you already. for 'lugmasters'.
The Linux print magazines put great effort into So, with any luck, you will have proved to
listing LUGs, but you should also check out what is yourself that you are not alone, and at least
available by looking on the Web, someone, but hopefully lots more users, share your A User Group in action
http://www.lug.org.uk/lugs/index.html will start hopes for a group of their own. If you intend to all
your search off, or ask in Usenet, in groups like meet in person you will need a venue. Often, the
uk.comp.os.linux. first few meetings will be held some place neutral,
like a pub. This will allow you all to assess what type
Starting a group of group you are and how you might develop. If you
are just a small group, you may find it suitable to
There is a long way to go before every town and meet in each others' houses, assuming you don't
village can boast its own LUG, so there may not be a mind having the kids frightened and you don't mind
group in your area, or the group which is in your inviting people who are still strangers into your
area just doesn't meet your needs. If you do find home. Larger groups can present more of a problem
yourself in this situation then maybe you should when finding somewhere to meet, church halls,
consider starting your own. The only personal cost is scout huts, libraries and schools might fit the bill,
one of spare time, and, even then, not a lot of it as a but they usually want money and for the sake of
group can grow out of simply sending a few emails. simplicity, it's far easier to stay away from charging
First of all you had better assess the need for the if at all possible. You could also try some of the local
group, the 'L' in LUG is for Linux, or possibly for computer companies. They might appreciate the
local, but definitely not for loner, so you will need to opportunity to tap into your group as a Linux
make sure that the group you hope to start will be resource for themselves, offering you a venue for
fulfilling the needs of more people than just free. The general rule of thumb is that you can't
yourself. You should advertise your needs somehow afford to leave any stone unturned – opportunities
and see if they are shared by anyone else. This could appear from the most unlikely of sources.
mean posting an announcement in a free-to- The community spirit of Linux can't be
advertise type newspaper or magazine, putting overestimated, and there is no better place to see
cards in supermarkets or flyers in your local that spirit than as part of a LUG. We suggest that
technical bookshop or computer shop, or sending you make every effort to be part of it yourself. ■
BRAVE GNU
WORLD GEORG CF GREVE
training for keyboard and mouse, reading the clock, implemented classes and functionalities. More
a puzzle with famous paintings and easy calculus. recent information about this can be found in the
To keep the program simple only the Gnome documentation of the API on the CDK homepage.
canvas is used for implementation of the boards. Jmol was originally a
Extending this to other widget drawing areas is a program for the simple
task for the future. and easy 3D-visualization
This French program is pronounced ”j’ai of chemical structures as
compris,” which means, ”I have understood” and an alternative to XMol. Functionality for editing
was originally written by Bruno Coudoin for his own molecules, simple minimalisations based on force-
children. And he would especially like to thank his fields, molecular dynamics (microcanonical
children for their patience because the program ensemble) and langevin dynamics (canonical
evolves far too slowly for them. ensemble) is planned.
Jmol is also based on Java and uses the SWING
FSFE– Free Software and toolkit for its graphical user interface. Just like the
CDK it is available under the GNU General Public
Education License. The big advantage of Java-based
Related to this, we would like to point out that the applications is their high portability. Additionally,
Free Software Foundation Europe has made the Jmol can be used as an applet in Web pages and
support of Free Software and Education one of its is scriptable.
declared goals at its general assembly this year.
This goal is pursued together with the JMol showing the
caffeine molecule
Organization for Free Software and Education and
Teaching (Ofset), which has recently become an
official associate organization of the FSF Europe.
In order to bring together all the different
initiatives, people and organizations that are active
in this area, a special mailing list has been created.
Several people have already joined and introduced
themselves. The next step will be to launch a
meeting of everyone involved.
Then we can discuss together which concrete
measures can effectively support Free Software and
Education. If you would like to join this process,
you’re very welcome.