old-www/LDP/LG/issue48/issue48.html

14080 lines
515 KiB
HTML
Raw Permalink Blame History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> Linux Gazette Table of Contents LG #48</TITLE>
<META NAME="robots" CONTENT="noindex, nofollow">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000" >
<center>
<A HREF="http://www.linuxgazette.com/">
<H1><IMG SRC="../gx/newlogo.jpg" ALT="LINUX GAZETTE" border="0"></H1></A>
<H2>December 1999, Issue 48 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Published by <I>Linux Journal</I></H2>
<A HREF=../index.html>Front Page</A> &nbsp;|&nbsp;
<A HREF=../index.html>Back Issues</A> &nbsp;|&nbsp;
<A HREF=../faq/index.html>FAQ</A> &nbsp;|&nbsp;
<A HREF=../mirrors.html>Mirrors</A> &nbsp;|&nbsp;
<A HREF=http://www.linuxgazette.com/search.html>Search</A>
</center>
<!--=================================================================-->
<table>
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
<tr><td>
<table>
<tr>
<td VALIGN="top"><H1><font color="#BB0000">Visit Our Sponsors:</font></H1></td></tr>
<!-- *** BEGIN sponsors *** -->
<TR><TD>
<A HREF="http://www.linuxjournal.com"><IMG ALT="Linux Journal" SRC="../gx/ljtop.gif" BORDER="0" VSPACE="10"></A>
</TD></TR>
<TR><TD>
<A HREF="http://www.linuxcare.com"><IMG ALT="LinuxCare" SRC="../gx/linuxcare.gif" BORDER="0" VSPACE="10"></A>
</TD></TR>
<TR><TD>
<A HREF="http://www.infomagic.com"><IMG ALT="InfoMagic" SRC="../gx/infologo.gif" BORDER="0" VSPACE="10"></A>
</TD></TR>
<TR><TD>
<A HREF="http://www.suse.com"><IMG ALT="SuSE" SRC="../gx/suse.jpg" BORDER="0" VSPACE="10"></A>
</TD></TR>
<TR><TD>
<A HREF="http://www.redhat.com"><IMG ALT="Red Hat" SRC="../gx/redhat.gif" BORDER="0" VSPACE="10"></A>
</TD></TR>
<TR><TD>
<A HREF="http://www.linuxmall.com/"><IMG ALT="LinuxMall" SRC="../gx/linuxmall.gif" BORDER="0" VSPACE="10"></A>
</TD></TR>
<TR><TD>
<A HREF="http://www.cyclades.com"><IMG ALT="Cyclades" SRC="../gx/cyclades.gif" BORDER="0" VSPACE="10"></A>
</TD></TR>
<!-- *** END sponsors *** -->
</table>
</td>
<!--==================================================================-->
<TD ROWSPAN="3" WIDTH="2" BGCOLOR="#000000" NOSAVE><IMG
SRC="../gx/hammel/cleardot.gif" ALT="" HSPACE=1 HEIGHT=1 WIDTH=1%></TD>
<td VALIGN=top>
<H1><font color="#BB0000">Table of Contents:</font></H1>
<!-- *** BEGIN toc *** -->
<UL>
<LI> <a HREF="lg_mail48.html">The MailBag</A>
<UL>
<LI> <a HREF="lg_mail48.html#help">Help Wanted &amp; Article Ideas</A>
<LI> <a HREF="lg_mail48.html#gen">General Mail</A>
</UL>
<LI> <a HREF="lg_bytes48.html">News Bytes</A>
<UL>
<LI> <a HREF="lg_bytes48.html#distro">Distro News</A>
<LI> <a HREF="lg_bytes48.html#general">News in General</A>
<LI> <a HREF="lg_bytes48.html#software">Software Announcements</A>
</UL>
<LI> <a HREF="lg_answer48.html">The Answer Guy</A> , <EM>by James T. Dennis</EM>
<LI> <a HREF="lg_tips48.html">More 2-Cent Tips</A>
<LI> <a HREF="adler.html">It's Only a One Day Conference...</A> , <EM>by Stephen Adler</EM>
<LI> <a HREF="blanchard.html">SAMBA, Win95, NT and HP Jetdirect</A> , <EM>by Eugene Blanchard</EM>
<LI> <a HREF="dellomodarme.html">LinuxThreads Programming</A> , <EM>by Matteo Dell'Omodarme</EM>
<LI> <a HREF="fischer.html">A Brief History of the 'ls' command</A> , <EM>by Eric Fischer</EM>
<LI> <a HREF="fisher.html">Advanced Programming in Expect: A Bulletproof Interface</A> , <EM>by David Fisher</EM>
<LI> <a HREF="lane.html">Linux, Java and XML</A> , <EM>by Eoin Lane</EM>
<LI> <a HREF="pollman.html">DHCP for the Home Network</A> , <EM>by JC Pollman, Bill Mote</EM>
<LI> <a HREF="lg_backpage48.html">The Back Page</A>
<UL>
<LI> <a HREF="lg_backpage48.html#authors">About This Month's Authors</A>
<LI> <a HREF="lg_backpage48.html#notlinux">Not Linux</A>
</UL>
</UL>
<!-- *** END toc *** -->
</td>
</tr>
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif"
ALT="-------------------------------------------------------------"
HSPACE=30 VSPACE=2 HEIGHT=1 WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
</table>
<!--=============================================================-->
<P>
<table>
<tr><td>
<A HREF="issue48.txt.gz">TWDT 1 (gzipped text file)</A><BR>
<A HREF="issue48.html">TWDT 2 (HTML file)</A><BR>
are files containing the entire issue: one in text format, one in HTML.
They are provided
strictly as a way to save the contents as one file for later printing in
the format of your choice;
there is no guarantee of working links in the HTML version.
</td></tr>
<!--==================================================================-->
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
<tr><td>
<center>
<I>Linux Gazette</I><img alt="[tm]" src="../gx/tm.gif">,
<A HREF="http://www.linuxgazette.com/">http://www.linuxgazette.com/</A><BR>
This page maintained by the Editor of <I>Linux Gazette</I>,
<A HREF="mailto: gazette@ssc.com"> gazette@ssc.com</A>
<P>
<H5>Copyright &copy; 1996-1999 Specialized Systems Consultants, Inc.</H5>
</center>
</td></tr>
<TR>
<TD COLSPAN="3" WIDTH="100%" BGCOLOR="#000000"><IMG
SRC="../gx/hammel/cleardot.gif" ALT="" HSPACE=30 VSPACE=2 HEIGHT=1
WIDTH=1 ALIGN=LEFT></TD>
<TD></TD>
</TR>
</table>
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<HR>
<center>
<table width="100%" cellpadding=7><tr><td>
<H2><a NAME="mail"><IMG SRC="../gx/mailbox.gif" ALIGN=MIDDLE ALT=" ">
The Mailbag!</a> </H2>
Write the Gazette at <A HREF="mailto:gazette@ssc.com"> gazette@ssc.com</A>
</td><td>
<H3>Contents:</H3>
<ul>
<li><a HREF="#help">Help Wanted -- Article Ideas</a>
<li><a HREF="#gen">General Mail</a>
</ul>
</td></tr></table>
</center>
<a name="help"></a>
<p><hr><p>
<!-- =================================================================== -->
<center><H3><font color="maroon">Help Wanted -- Article Ideas</font></H3></center>
<P>
Answers to these questions should be sent directly to the e-mail address of
the inquirer with or without a copy to gazette@ssc.com. Answers that are
copied to <I>LG</I> will be printed in the next issue in the Tips column.
<P> <STRONG>Before asking a question, please check the
<A HREF=../faq/index.html><I>Linux Gazette</I> FAQ</A> to see if it has been
answered there.</STRONG>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 1 Mar 1999 14:28:50 -0800
<BR>From: Vijaya Kittu &lt;<A HREF="mailto:vijaykittu@hotmail.com">vijaykittu@hotmail.com&gt;</A>
<BR>Subject: Visual Basic for Linux ???
<P> I'm looking for a good and easy "Basic" Language Port (such as VB in
Windoze) on X-Windows.
<P> If any one is using any Visual Development tool, kindly send comments back
to me.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Fri, 29 Oct 1999 16:22:22 +0200
<BR>From: &lt;<A HREF="mailto:Douwe.vanderVeen@95.Student.WAU.NL">Douwe.vanderVeen@95.Student.WAU.NL&gt;</A>
<BR>Subject: connecting SPARC and 386 for printing purposes
<P> having a SPARCstation 10/20 with Redhat 5.1/SPARC working fine on it, I
wanted to connenct a printer to the system. Since the parallel port is not
supported under S/Linux, I wanted to connect my SPARC with a cheap 386. The 386
is working under MS-DOS.
<P> I bought an ethernet card for my 386, and connected the in-board ethernet
card on the SPARC with the ethernetcard on the 386. The cable is twisted-pair,
since only two computers are to be connected.
<P> If I turn on both computers, I can start a testing program for the ethernet
card on the 386. It will wait for any external signal.
When booting the SPARC (the 386 sensing for any action), the SPARC checks for
'eth0' but finds no other computer on the other side.
<P> Questions:
(1) how can I let my 386 tell to the SPARC he is there?
(2) How can I make the 386 accessible (that is: the parallel printer port)
from the SPARC?
<P> Thanks in advance for any help!!
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 30 Oct 1999 21:19:01 +0200
<BR>From: Dr. Bodo Zimmermann DD-260 &lt;<A HREF="mailto:dozi@iwka.de">dozi@iwka.de&gt;</A>
<BR>Subject: problems with tcp/ip in kernel 2.2.x
<P> I have found problems with ftp aund telnet
(tn3270, x3270) in the kernel 2.2.5 and 2.2.10
when connecting to IBM mainframes (VM/ESA).
I cannot tranfer any data!
<P> There are no problems at all with a kernels 2.0.x
<P> Whom may I address?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 30 Oct 1999 23:25:05 EDT
<BR>From: Richard Monte &lt;<A HREF="mailto:richard_monte@hotmail.com">richard_monte@hotmail.com&gt;</A>
<BR>Subject: Running MS applications on Linux?
<P> I was wondering if I can run my MS applications on Linux? What would I
need?
<P> If I can, what are the advantages and/or disadvantages of doing so?
<P> Are there any legal issues related to running MS applications on a
non-Windows OS?
<P> -Rick
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sun, 31 Oct 1999 12:54:24 +0100 (MET)
<BR>From: Mika Numminen &lt;<A HREF="mailto:mika@Oink.Midgard.HIG.SE">mika@Oink.Midgard.HIG.SE&gt;</A>
<BR>Subject: Hmmm.... don't know how to categorize this..
<P> I usually log into my machine with SSH from home (no concole access)
and I was wondering if there is a way to have processes still running
after I log out. For instance an ftp-session loading an ISO, etc..
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 1 Nov 1999 18:53:32 -0600
<BR>From: lordj &lt;<A HREF="mailto:lordj@iaw.on.ca">lordj@iaw.on.ca&gt;</A>
<BR>Subject: linux sound problems
<P> I run sndconfig and the friggin thing just fails. it finds my card and
then sets up the irqs and all that rot, and then when it trys to play
the sound sample i get the failure "don't know what to do with CONFIG
CTL002b/4886122 ... error parsing file" and stuff like that. what is
wrong with it?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 02 Nov 1999 18:21:51 +0800
<BR>From: Zon Hisham Bin Zainal Abidin &lt;<A HREF="mailto:zon@mad.scientist.com">zon@mad.scientist.com&gt;</A>
<BR>Subject: Telnet 110 fails
<P> Now that my LILO is back (up and running), it's time for something else.
<P> I have 6-7 pcs in the office on LAN. I am on RH6.0 and the rest on W98.
I am trying to configure my pc as the email server for this small LAN.
<P> I have managed to correctly setup DNS. A remote PC can resolve the DNS
server correctly. Then I went into Linuxconf and setup the Email server
portion. My Linux PC by the way is named svr and the domain is cma.com
<P> We are using Netscape as the email client. I entered svr.cma.com
as the Incoming and Outgoing mail servers. Netscape client can sent
email but were unable to receive (email) with the message:
"Netscape's network connection was refused by the server svr.cma.com
The server may not be accepting connections or may be busy. Try
connecting again later."
<P> I did a <CODE>telnet svr.cma.com 110</CODE> with a "Unable to
connect to remote host" message. But a <CODE>telnet svr.cma.com 25</CODE>
is ok. That explaint why sending is OK but not receiving rite?
<P> How do I fix this?
<P> rgds.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 02 Nov 1999 20:53:57 +0000
<BR>From: Anatoli B. Titarev &lt;<A HREF="mailto:Anatoli_Titarev@swin.edu.au">Anatoli_Titarev@swin.edu.au&gt;</A>
<BR>Subject: HELP with LT Win Modem and SB 16 Sound Blaster wanted!
<P> I am a new Linux Red Hat 6.0 user.
<P> I cannot connect to the Internet (still using Winows 98).
My LT Win Modem connected to com3 is not working under Linux.
(Someone wrote that trying to config Win modems for Linux is waste of
time, is it true?)
<P> Connection: 8, parity - none, stopbit - 1.
I told the 'modemtool' to use to use the serial port to which my modem
is connected.
I removed the word 'lock' in /etc/ppp/options file.
<P> I get 'modem is busy' in kppp configuration program
or 'mode is locked' errors in other programs.
<P> I also have a problem with SB 16 sound blaster. 'sndconfig' program
doesn't help!
<P> I am looking for anybody who can help me to make my modem and sound
blaster working with Linux.
<P> Please help!!!
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 2 Nov 1999 16:09:01 -0600
<BR>From: smita narla &lt;<A HREF="mailto:snarla@cse.unl.edu">snarla@cse.unl.edu&gt;</A>
<BR>Subject: Re: your mail
<P> hello,
I'm doing a general survey on the testing techniques used in open
source.I've a questionnaire with some 12 questions.Since you are
a developer can you answer this questionnaire.I'm doin this for one of my
class projects and i need to send the questionnaire to some 200
developers.Can you send me the addresses of some other developers ?
<P> I'll be glad if u can send me some questions to improve my questionnaire.
<P> Thank you
smita
<P><STRONG>The Editor sent some suggestions, and Smita responded:</STRONG>
<P> Hello,
thanks for your response. i 've ghone to the sites u have mentioned in
you previous mail. i got some info but not exactly what i'm looking for. i
need some nice multiple choice questions for my Survey of testing
techniques in open source.Some of the questions I've found are:
<P> 2. When ever you make a minor release do you make a complete
regression tests and test for the bugs fixed in this released ?
<P> 3. For every major/minor release do you make tests for the bugs you
fix ?
<P> 4. Will there a any test planning carried parallel to development of
coding ?
<P> 5. What will be the acceptance criteria for the source you releasing
(based on the test results) ?
<P> 6. Are you satisfied that test you are planning to execute will
cover all the required conditions.
<P> But i dont think they will serve the exact purpose. Ineed some real good
multiple choice questions (which are easy to answer with out much thiking
from the developers point of view).
<P> I'll be glad if you could help with some nice questions and some mailing
lists of open source developers.
<P> thank you,
smita
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 3 Nov 1999 00:14:11 +0100
<BR>From: cabotzen &lt;<A HREF="mailto:cabotzen@wanadoo.fr">cabotzen@wanadoo.fr&gt;</A>
<BR>Subject: a problem
<P> This is a multi-part message in MIME format.
<P> Hello i'm french and i love linux, but i try to install it on a notebook
with win98, i have a samsung's notebook. After i have installed all the
paquages, the instalation stopped when it wanted to reconize the mouse
and i can't continue the instalation. CAN YOU HELP ME PLEASE. Good buy
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 2 Nov 1999 18:14:44 -0500
<BR>From: Paul Nathaniel (NOL1NXP) &lt;<A HREF="mailto:nol1nxp@ups.com">nol1nxp@ups.com&gt;</A>
<BR>Subject: Linux command questions
<P> fsck /usr: What does this command do? What is its NT equivalent.
<P> What is this command: cat /etc/passwd; and what is it's NT equivalent?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 03 Nov 1999 07:44:42 CST
<BR>From: Jim Bradley &lt;<A HREF="mailto:jbradley@msc.net">jbradley@msc.net&gt;</A>
<BR>Subject: slowwwww ftp and partition problem
<P> I have encountered two problems with linux (Mandrake 6.1) that I haven't
figured out how to overcome.
<P> The first problem is the logon speed for ftp. I have 3 desktops and a laptop
that I have networked with 100 Mbps ethernet. 2 of the 3 desktops are dual
booted with OS/2 and linux, the remaining desktop and the laptop are linux only.
If I try to connect to ftpd on linux with an ftp client on either OS/2 or linux,
there is an approximately 3-5 minute wait before a logon prompt is returned.
This is clearly not running properly! I can use a linux client to an OS/2 ftpd,
and promptly get the logon prompt. I've tried "renice" at both -20 and +20 using
KDE's task manager. What do I need to do to speed this up?
<P> The second problem is:
I have one machine with an 8 Gb drive partitioned into a 2Gb,6Gb, and 128k
swap. Mandrake 6.1 is installed on the 2Gb partition, hda1. The 6Gb partition,
hda3, is an ext2 partition. After linux boots, the 6Gb partition is mounted to
/mnt/hda3. The problem that I've encountered is that when copying files to
/mnt/hda3, it is the first partition that fills up, not the second. What's
happening here? I was using kdisk to monitor the disk size when mirroring
another site to /mnt/hda3, and it wasn't the correct partition that enlarged.
After this occurred, totally filling the smaller partition, I could no longer
umount the partition, either, getting a message "device is busy."
<P> Any help to solve either of these problems??
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 3 Nov 1999 10:49:32 -0600
<BR>From: Hunter, Kevin &lt;<A HREF="mailto:Kevin_Hunter@AFCC.com">Kevin_Hunter@AFCC.com&gt;</A>
<BR>Subject: LinNeighborHood
<BLOCKQUOTE>
<P> Thu, 28 Oct 1999 14:54:48 +0100 <BR>
From: Network Desktop User &lt;<A HREF=mailto:G.F.Wood@shu.ac.uk>G.F.Wood@shu.ac.uk </A>&gt;<BR>
Subject: Linneighbourhood<BR>
Hi, sorry to bother you with inconsequential mail but I think you of all
people should know this !! I'm looking for some software called
Linneighbourhood. It's a network neighbourhood browser for Linux. I have
scoured the net for it but to no avail !! Can you help??
</BLOCKQUOTE>
<P> http://www.bnro.de/~schmidjo/
<P>
<H4>From: Graeme Wood &lt;<A HREF="mailto:G.F.Wood@shu.ac.uk">G.F.Wood@shu.ac.uk&gt;</A>:</H4>
I think their is a gnome program that lets you browse the net
neighbourhood as in win 9X. i do not know the name right now. but if you
want i will figure it out
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 03 Nov 1999 10:14:02 -0800
<BR>From: Chuck Newman &lt;<A HREF="mailto:cnewman@cncnet.com">cnewman@cncnet.com&gt;</A>
<BR>Subject: Linux Communications
<P> Is there a Linux based communications program similar to pcAnywhere or
Carbon Copy? I need remote PC control. Don't need to transfer files.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 08 Nov 1999 16:18:50 -0500
<BR>From: Sunshine Smith &lt;<A HREF="mailto:sunshine@margaritaville.com">sunshine@margaritaville.com&gt;</A>
<BR>Subject: Installing RH6.0
<P> I am trying to install RH 6.0 on a Thinkpad 760ED, unfortunately the
cdrom (Teac 44E) does not appear on the supported cdrom drives, does
anyone have any ideas other than buying an external (supported) cdrom
drive.
<P> Thank you
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 09 Nov 1999 10:36:19 +0200
<BR>From: Lucian Hanga &lt;<A HREF="mailto:lhanga@saguaro.dnttm.ro">lhanga@saguaro.dnttm.ro&gt;</A>
<BR>Subject: about ESS Solo 1
<P> ESS Solo 1.
Unfortunately I have one !!!!
If smbd. kwon how to make it works !!!!
Please email me !!!!!!
<P> 10x
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 10 Nov 1999 16:54:20 -0000
<BR>From: Ben Huckel &lt;<A HREF="mailto:ben.huckel@virgin.net">ben.huckel@virgin.net&gt;</A>
<BR>Subject: Virtual Terminals in windows
<P> Can you offer any advice....?
I am currently considering a project for my third year project of a
bsc(hons) in computer science which would implement virtual terminals
for windows 95/8......
Do you know if there is any info on this sort of thing, has it already
been done?
Any help or ideas would be greatly appreciated.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 00:06:50 +0000
<BR>From: Nadeem Oozeer &lt;<A HREF="mailto:nadeemooz@intnet.mu">nadeemooz@intnet.mu&gt;</A>
<BR>Subject: SDRAM Problem
<P>
I've got a PII with 128MB SDRAM PC100, with 8MB AGP onboard, running
windows and Linux Red Hat 6.0. I've been told that the AGP uses 8MB from
the SDRAM that's why on windows I get 120MB in system. On Linux however,
I get only 64MB of RAM in /etc/meminfo .... How can I get all the 128 MB
? I've tried append in lilo.comf, but it freezes my PC with strange
codes ?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 12:22:57 +0800
<BR>From: Brian &lt;<A HREF="mailto:c6028408@comp.polyu.edu.hk">c6028408@comp.polyu.edu.hk&gt;</A>
<BR>Subject: How to set the Linux as a router!
<P> I would like to set a single PC as a router by using Redhat 6.0.
However, I find difficulties in finding the related topics in books or
journals. Can you tell me how I can find the related topics? Thanks!
<P> Best regards,
Yvonne.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 13:47:55 -0600
<BR>From: anthony &lt;<A HREF="mailto:aokrongly@galacticmarketing.com">aokrongly@galacticmarketing.com&gt;</A>
<BR>Subject: Looking for open-source programmers
<P> I need to start somewhere, so I'll start here. I am trying to find
programmers interested in developing a new piece of software. I thought I
would give Linux Open License types the first shot at it. We are looking
for this solution for our small company, but are willing to share it to help
defray development costs.
<P> Can you help direct me? Or am I spinning my wheels?
<P> The initial write up on the proposed application is
<A HREF=misc/mail/krongly.txt>attached</A>. I know this
isn't the normal way to develop software, but I wanted to give it a try.
<P> Anthony O'Krongly, Dir. of I.T.
<BLOCKQUOTE>
<P> [If you just want to throw a project idea out and see if anybody is
interested in helping, I'll put it in the Mailbag. (Which I'm doing now. :)
<P> If it's a critical piece of software for your company and needs to be
completed "soon" and with "professional quality", you might have a
look at www.cosource.com and www.sourcexchange.com instead. They
act as auction brokers between those willing to pay to help get
open-source software developed and those who wish to work on such
projects.
<P> The GNU Gnats program may partially meet your requirements. It allows
one to keep track of "job requests" in several categories, and to see
which ones have been followed up on and what needs to be done with the
remaining ones. The Tkgnats program is a GUI front-end. Perhaps this
could link into your ordering and accounting system somehow. -Ed.]
</BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 19:41:36 -0000
<BR>From: ggg &lt;<A HREF="mailto:nice@simpm.freeserve.co.uk">nice@simpm.freeserve.co.uk&gt;</A>
<BR>Subject: help please
<P> please can you help me im new to remote booting i have got the hardware
one network card with a boot rom and one with out so im fine on the
hardware side but how do i configure linux for remote booting i am new
to linux so i really have not got the foggiest.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 17:20:41 -0800
<BR>From: Johnny Lam &lt;<A HREF="mailto:truelightpip33@hotmail.com">truelightpip33@hotmail.com&gt;</A>
<BR>Subject: hi
<P> Hi, i'm very new to Linux but i got a question, it may sound silly but
pls help me with it. I've just install linux 6.1 as a server, but for
some reason i can't get the x-window to work, can u pls tell me how i
can use x-window as a server? thank you very much
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 20:51:35 -0500
<BR>From: Gary R. Cook &lt;<A HREF="mailto:grcook@erols.com">grcook@erols.com&gt;</A>
<BR>Subject: X-windows application for communicating over /dev/ttyS1 (COM2)
<P> Does anyone know where I can find a utility (with source code) that uses
an xterm window for communicating with a remote asynchronous device over
/dev/ttyS1?
<P> Thanks!!
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 13 Nov 1999 03:18:19 +1100
<BR>From: Greg W &lt;<A HREF="mailto:greg@ausit.com">greg@ausit.com&gt;</A>
<BR>Subject: Hello
<P> I am sure you get swamped with questions, now that I have acknowledged
that, I feel better about asking if you know, or know someone who can point
me to a good working example for ipchains for a machine that is standalone,
I have 64 IPs all routed through a PC, this PC is not Linux based, so I
dont want MASQ or ppp examples
<P> A straight up script to disallow spoofing, and everything else besides the
"normal" services (i can easily add or remove as necesarry)
<P> All examples seen so far dont work because they are based on like I said,
MASQ or ppp0 being present.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 13 Nov 1999 20:42:18 -0500
<BR>From: zak &lt;<A HREF="mailto:zak@acadia.net">zak@acadia.net&gt;</A>
<BR>Subject: Apollo P-1200 Inkjet Printer
<P> Today I purchased an Apollo P-1200 inkjet printer at
the local drug store (yes, drug store!), the main
attraction being it cost $90 *before* a $50 rebate!
This is supposed to be a new 'low-end' printer, using
H-P technology.
The downside is that the CD that came with it only
covers installation for 'doze.
Has any other LG reader purchased one of these? If so,
where can I find an appropriate Linux driver for it? I
tried the http://www.myapollo.com site, but all that's
there is also 'doze stuff.
If anyone knows the nearest this thing is with any H-P
driver, that would also be useful. I mainly use a
printer for printouts of txt and html documents, and
with Corel Word Perfect 8.0 for Linux.
Thanks in advance for any assistance.
Zak
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sun, 14 Nov 1999 02:43:43 -0000
<BR>From: George Christofi &lt;<A HREF="mailto:george@slamdog.co.uk">george@slamdog.co.uk&gt;</A>
<BR>Subject: Getting linux to authenticate to nt domains.
<P> I want to get linux to authenticate to my NT network. As a newbie, I am
stunned by the complexity of the whole Linux thing. I find it easier and
more reliable to do things with NT Server. I am not thick (just MCSE
qualified), but cannot see how to get it to perform this seemingly simple
task.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sun, 14 Nov 1999 12:40:36 -0800
<BR>From: Kenneth MacCallum &lt;<A HREF="mailto:tandk@primex.co.uk">tandk@primex.co.uk&gt;</A>
<BR>Subject: Linux memory woes
<P> Hi, I've just installed Red Hat 6.0 and it's not detecting all of my
memory. I tried typing linux mem=64M at the LILO prompt as recommended
but then the boot-up fails. As it is it only detects 14M or so of my
64M.
<P> I had a look in my bios, and I noticed a line saying that there is a
memory hole at 15M. I'm guessing that this is causing Linux to not see
memory above this, but I don't know why this "hole" is there. I had a
look in my motherboard manual (PC Chips M577) but it didn't mention
anything useful. This hole doesn't seem to upset Windows; is there
anything I can do to get Linux to work too?
<P> I also tried swapping my DIMMs around, thinking that if the hole was due
to a bad DIMM it might move up to 47M (?) but it doesn't.
<P> I've been searching about the web for some insight but I've had no luck
so far.
<P> Can you help?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 15 Nov 1999 12:12:50 -0500
<BR>From: Bruce Kramer &lt;<A HREF="mailto:bruce.kramer@PaineWebber.COM">bruce.kramer@PaineWebber.COM&gt;</A>
<BR>Subject:
<P> Editor,
I'm looking for some help in the Detroit, MI area.
I have a son, 16 yrs old - junior in high school, presently enrolled in
some special projects at school. One of which is to learn Linux. He
recently removed Windows from our home computer to install Linux. After
attempting this for four weeks now he is frustrated and ready to give
up. Rather than giving up and going back to Windows I thought that it
might be possible to find someone in our area who could help get Linux
up and operating on our computer. Any suggestions?
<BLOCKQUOTE>
[Look at <A HREF=http://www.linuxjournal.com>www.linuxjournal.com</A>
under "User Groups (GLUE)" and see if there are any contacts in your
area. -Ed.]
</BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 15 Nov 1999 22:00:36 -0500
<BR>From: Pierce C. Barnard &lt;<A HREF="mailto:pbarnard@ultranet.com">pbarnard@ultranet.com&gt;</A>
<BR>Subject: Looking for the Korn shell
<P> Hi, I recently obtained Redhat V6.0 and I found out to my dismay, that it
does not have the Korn shell with it. Does anybody know where I can find a
copy of it? Thanks.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 17 Nov 1999 19:16:38 +0800
<BR>From: Yvonne Chung &lt;<A HREF="mailto:yychung@doramail.com">yychung@doramail.com&gt;</A>
<BR>Subject: How to set a PC as a router with Linux6.0?
<P> Dear Sir/Madam,
<P> I would like to set a single PC as a router by using Redhat 6.0.
However, I find difficulties in finding the related topics in books or
journals. Can you tell me how I can find the related topics? Thanks!
<P> Best regards,
Yvonne.
--
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 17 Nov 1999 13:03:37 +0100
<BR>From: Harold Konijnenberg &lt;<A HREF="mailto:hhkonijn@worldonline.nl">hhkonijn@worldonline.nl&gt;</A>
<BR>Subject: ipop3d/imap server problem
<P> Problem with IMAP/Ipop3d server
<P> I have a problem with getting the Ipop3d/Imap server to work.
I use the Imap 4.5 package on my Red Hat 6.1 system.
After installing RH 6.1 and configuring the system all services like
Samba, Apache, FTP, telnet are working fine.
But now I want to add a pop3 server. I checked my /etc/services file
and Imap and pop3 services are enabled here.
in the /etc/inetd.conf file the imap and pop3 services are not enabled,
so i uncomment de following lines
<PRE>
#pop-3 stream tcp nowait root /usr/sbin/tcpd ipop3d
#imap stream tcp nowait root /usr/sbin/tcpd imapd
</PRE>
<P> After uncommenting these lines in the inetd.conf file i kill the
inetd proces to reload /etc/inetd.conf with the following command:
<PRE>
killall -HUP inetd
</PRE>
<P> When i try to telnet in to the linux box now by:
<CODE>telnet 192.168.1.254</CODE>
(my linux box) i can't connect.
FTP'ing into the linux box gives a problem with the in.ftpd daemon.
<P> When i restore the original /etc/inetd.conf all problems are disappeared
and eveything works fine again.
<P> I can't figure out what is the problem.
I know that the problem starts when changing the /etc/inetd.conf file,
so perhaps its some kind of security issue???
<P> Any help is very welcome,
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 18 Nov 1999 17:06:03 IST
<BR>From: nayab shaikh &lt;<A HREF="mailto:nayabs@hotmail.com">nayabs@hotmail.com&gt;</A>
<BR>Subject: How to configure isdn on linux
<P> Hi friends,
<P> Can anybody of you guide how to configure isdn on linux.I have Red Hat linux
6.0 server installed on my computer.I have a 56.6 kbps ext modem ....also is
RADIUS is possible with it.(remote athentication dial in user service)....
<P> Waiting for your reply...
<P> Nayab
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 20 Nov 1999 12:22:12 +0530
<BR>From: Sivaraman Manivasagam &lt;<A HREF="mailto:sivsons@vsnl.com">sivsons@vsnl.com&gt;</A>
<BR>Subject: Regd Lexmark Printer Drivers
<P> I've recently installed Redhat Linux 5.2 am having a problem installing
my Lexmark Optra E ( PS Support ) Laser Printer .I have been to the
Lexmark site and there are no drivers for Linux.Any help in this matter
would be appreciated.
<P> Kindly mail to : sivsins@vsnl.com<BR>
a copy to : mani@amoebatel.com
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 20 Nov 1999 19:24:56 -0500
<BR>From: GZukoff &lt;<A HREF="mailto:Gzukoff@onebox.com">Gzukoff@onebox.com&gt;</A>
<BR>Subject: None
<P> I have stumbled upon your website and was exterely pleased!!! I am a
newbie to Linux but have been interested in alternate OS's for about 18
months after trying (in vain) to install FreeBSD. I have downloaded and
am installing Corel Linux 1.0 and was hoping you wil be doing a write up
regarding it son. I am anxious to see how it stacks up against the
other Linux releases.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 20 Nov 1999 22:33:04 -0500
<BR>From: outofstep &lt;<A HREF="mailto:outofstep@mindspring.com">outofstep@mindspring.com&gt;</A>
<BR>Subject: xwindows display problems?
<P> i recently installed redhat 6.1,, i have a voodoo banshee 2 graphics
card, and i get ditorted pixels on the screen when i scroll and move
windows... is there a driver update or something i need to fix this?
please help.
so far i love linux, and this is my only problem :)
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 20 Nov 1999 21:27:52 -0700 (MST)
<BR>From: &lt;<A HREF="mailto:steve@mailandnews.com">steve@mailandnews.com&gt;</A>
<BR>Subject: Question
<P> Hi
<P> I hope this is the right address to right to with a Linux question.
<P> I have a lot of Joliet format CD's made with DirectCD in Windows. Linux
can read the CD's, but on files with long names (Over 20 characters or so)
the filesize is dramatically misreported. 6-7 meg files are listed as 2-3
meg files. Linux can't see it all, and this of course means the file is
pretty much corrupt and of no use in Linux. The CD's are readable fine in
Windows, but not Linux. I've searched high and low and can find no answer
to this problem. I hope you can help.
<P> Thanks
<P> Steve - mr_drood@mailandnews.com<BR>
<BLOCKQUOTE><FONT SIZE=-1>
<STRONG>angry fruit salad</STRONG> (n.)
<P> A bad visual-interface design that uses too many colors. (This term
derives, of course, from the bizarre day-glo colors found in canned
fruit salad.) Too often one sees similar effects from interface
designers using color window systems such as X; there is a tendency
to create displays that are flashy and attention-getting but
uncomfortable for long-term use.
<P> JARGON FILE, VERSION 4.1.4
</FONT></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 18 Nov 1999 21:47:28 -0500
<BR>From: Edith & Steve Dolesch &lt;<A HREF="mailto:nedes@sprint.ca">nedes@sprint.ca&gt;</A>
<BR>Subject: Fw: Disability Features.
<P> I just need to know if Linux has disability features like Windows (all
versions)? I'm a disabled person and use StickyKeys to write with one
hand if needed and the Numeric Pad to move the mouse cursor.
<BLOCKQUOTE> <EM>
[The <A HREF=http://www.ssc.com/mirrors/LDP/HOWTO/Access-HOWTO.html>
Linux Access-HOWTO</A> explains the
capabilities Linux systems have for people with disabilities. It says that
X-windows has a StickKeys feature, and the FVWM window manager can be
controlled without a mouse. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 23 Nov 1999 10:30:53 +0800
<BR>From: ZHOUKM &lt;<A HREF="mailto:zhoukm@red.semi.ac.cn">zhoukm@red.semi.ac.cn&gt;</A>
<BR>Subject: winNT+MSproxy+linux question
<P> My PC is in a WindowsNT-based LAN which has a MSproxy system, under win9x
session in order to connect to internet I have to login the WinNT domain,
and Of course the win9x is equiped with msproxy client. A linux system is
also installed in my machine, but how to visit the internet?
<P> Thank you
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 22 Nov 1999 21:55:00 EST
<BR>From: &lt;<A HREF="mailto:Hlinlin@aol.com">Hlinlin@aol.com&gt;</A>
<BR>Subject: do you know the USB(network adapter 10T) can run under linux?
<P> Do you know the Universal serial bus with ehternet 's network adapter can work under Linux? or where we can down load driver?
<P> hope to get your reply and help
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 22 Nov 1999 21:10:13 -0800
<BR>From: Yunfei Deng &lt;<A HREF="mailto:greenmoon@ureach.com">greenmoon@ureach.com&gt;</A>
<BR>Subject: Setup network printer
<P> I have RedHat 6.1 installed, but need to figure out how to use the
network
printer. The network printer is shared on a NT domain which is
available to use if I login in NT. Any tip is welcome.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 23 Nov 1999 11:16:44 -0600
<BR>From: Carlos Alarcon &lt;<A HREF="mailto:carlos.alarcon@softtek.com">carlos.alarcon@softtek.com&gt;</A>
<BR>Subject: Hi!!! I have a big problem
<P> I just bought a new computer. It has an "on-board" video card, Intel 810
chipset. I couldn't configure X to work with this type of card. First, I let
Linux probed, it failed. Then I looked at the list, of course, it wasn't
there. Then I tried an unlisted card and configured it as a general svga, it
still failed. What to do now?
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 23 Nov 1999 21:09:22 PST
<BR>From: Edgar Henry &lt;<A HREF="mailto:edgar_henry@hotmail.com">edgar_henry@hotmail.com&gt;</A>
<BR>Subject: Accessing previous partition (path 16 and 32)
<P> I am trying to install redhat linux 6.0 on my PC which is dual booting on
Windows 98 and windows NT and has a patition of Path 16 and 32. When I try
to install Redhat Linux choosing the workstation its automatically
installing and I cannot access my data anymore using the windows 98 or NT
since it is not recognizing the partition.
<P> It is possible for me to get my data from my previous windows.
<P> Thank you very much
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 24 Nov 1999 02:57:15 -0800
<BR>From: kevin hartman &lt;<A HREF="mailto:kevinh@hsaeug.com">kevinh@hsaeug.com&gt;</A>
<BR>Subject: Direct Cable Connection between Win95 and Linux, by Thomas P. Smyth
<P> Would you happen to have a current e-mail address for Thomas P. Smyth,
author of Direct Cable Connection between Win95 and Linux?
<a name="gen"></a>
<P> <hr> <P>
<!-- =================================================================== -->
<center><H3><font color="maroon">General Mail</font></H3></center>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 30 Oct 1999 17:47:57 +0100
<BR>From: Andy D Williams &lt;<A HREF="mailto:andy.d.williams@btinternet.com">andy.d.williams@btinternet.com&gt;</A>
<BR>Subject: a complaint about issue 47
<P> Hello
<P> I am a regular reader of your gazette magazine who is using windows 95. I
download and extract your magazine onto a local disk for reading at my
pleasure and I find it very useful and informative about installing and use
of linux. I intend to move over to a unix like system permanently sometime
in the future and prefer to read your magazine on my windows hard disk while
I'm learning to get to grips with linux.
<P> So onto the complaint! How can I read your magazine if your tar.gz files
won't extract onto my hard disk! Why won't they extract or why won't issue
47 extract? Your issue 47 tar.gz appears to be using a dos/windows reserved
system name for a directory or filename! the lg/issue47/aux directory can't
be created on my windows disks because aux is one of those names. Assuming
you or your contributors have used dos and windows in the past why didn't
they know about these names in dos and windows?
<P> Are you trying to stop windows users from learning about linux?
<P> I have been able to read your excellent magazine from issue 1 to issue 46
without any problems and would like to continue until and after I am no
longer using windows as my primary operating system.
<P> Thank you very much
<P> Andy Williams
<BLOCKQUOTE><EM>
[Argh, I forgot <TT>aux</TT> is a reserved devide name under
DOS/Windows. This was corrected in early November. (The directory
name is now <TT>misc</TT>.)
<P> I also corrected
a link to a program listing in JC Pollman's and Bill Mote's article
<A HREF=../issue47/pollman.html>Backup for the Home Network</A>.
If you were unable to view these files earlier, please try again now.
Apologies to the authors of an excellent article which is being widely
read, judging from the number of messages I received about this link.
<P> Starting in issue 47, I have been moving all program listings into
their own text files rather than keeping them inline as part of the
HTML. This will hopefully be a convenience for readers who wish to
run the programs or borrow code from them. --Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Fri, 12 Nov 1999 10:05:43 +0100
<BR>From: Joachim Krieger &lt;<A HREF="mailto:krieger@the45er.de">krieger@the45er.de&gt;</A>
<BR>Subject: AW: Duplicate messages, unreadable listings, Pollman article
<BLOCKQUOTE><EM>
[The following are excerpts from a larger conversation. The issue is,
after there's been a correction to the </EM>LG<EM> FTP files, how does
one tell whether the file(s) s/he has are the old ones or the new ones?
If the file date at the main FTP site is newer, obviously the user has
an old file. But if the user's program or a mirror site
<tt>touch</TT>ed the file, its modification date could be misleadingly
recent. -Ed.]
</EM></BLOCKQUOTE>
<P> Is there any criteria that allows to distinguish the old issue47 from
the new one ? ( beside the file-date/time )
<P> OK - I got the fix and offer it on our server. ( http://www.the45er/lg
resp. ftp://ftp.the45er.de/pub/lg )
<P> Not your - but my problem is, that the .gz-file carries date/time-stamp of
my download - and that's Nov 11.
<P> Assume:
Someone has an old version - including the problems you've fixed. This
person is looking for the fixed file.
Question:
does this person have to download 'lg-issue47.tar.gz' and unpack it
<UL>
<LI> to find out he/she got the same (old) stuff
<LI> or he/she got that, whats wanted.
</UL>
File date/time can't be the criteria, because of touching by some clients...
<P><STRONG>The <I>Linux Gazette</I> Editor wrote:</STRONG>
<P> I'm not sure how to deal with that situation. I'll put it in the
Mailbag and see if somebody can come up with a solution. It might be
worth adding a changelog to the README, but that won't help you decide
whether the file you have is the old one or the new one. I could link
the new file to a different filename (lg-issue47-fixed-nov-2.tar.gz),
but that would cause too much clutter in the directory and may not be
welcomed by the mirrors.
<P> It seems like this is what the modification date is for, and if some
programs aren't preserving it on downloads, the solution is to fix those
programs or figure out how to work around them (e.g., set up an alias with
the correct command-line options to preserve the timestamp); otherwise, you'll
have even more problems later with other files, trying to figure out what is
up to date and what isn't.
<P><STRONG>Joachim responded:</STRONG>
<P> maybe one solution could be an aditianal note apended to one of the
files - or a new file with that.
The result should be a different filesize of the newly created tar.gz.
<P> Perhaps publishing the size of the old - and the size of the new file
may help.
<BLOCKQUOTE><EM>
[Readers, would this be helpful? Or exactly what information would
be most helpful to you? -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Fri, 05 Nov 1999 09:57:04 -0500
<BR>From: Darren and Kristen Morin &lt;<A HREF="mailto:sarcasmo@choice.net">sarcasmo@choice.net&gt;</A>
<BR>Subject: Excellent job!
<P> Yeah, THIS is the kind of content I like to read.
<P> Hello my name is Darren and I have been a linux user for about two
years. While I may be past the point of out-and-out newbie, I'm
certainly NOT a Guru. The articles in the Nov.99 issue are excellent1
It is almost like you folks were picking my brains, because these were
the kinds of issues on my mind right now, especially the features on
security and running unix as a home user. More features like this,
please!
<P> Keep up the great job folks. I don't know if you get many encouraging
letters, considering this as one of them.
<P> Bye for now
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 1 Nov 1999 23:19:07 -0800 (PST)
<BR>From: Heather &lt;<A HREF="mailto:star@betelgeuse.starshine.org">star@betelgeuse.starshine.org&gt;</A>
<BR>Subject: Re: New format: My 2 cents
<BLOCKQUOTE>
<P> Sorry, not to offend, but I really don't like the new Answer Guy
format! I prefer to read it in "The Whole Damn Thing" format.
</BLOCKQUOTE>
<P> TWDT is always available but please, read onward...
<BLOCKQUOTE>
<P> I find that I can pick out the things that interest me much easier
if I can scan the message contents as well as just the titles. I
usually just use the down arrow and pagedown keys to browse through the
articles.
</BLOCKQUOTE>
<P> November's style *not* a new format; this is a special edition. People
have been asking for the titles to be indexed, and it was clear that some i
of them did not spot the "Index to Past Answers" gadgets found at the
bottoms of the single messages (see October issue, any message, footer).
<P> There were a great many messages this month, but they will be published in
December's issue, in the same format that October's was.
<BLOCKQUOTE>
<P> I understand that the new format is more search engine friendly so
maybe a compromise is in order. How about a complete page in TWDT
format for each primary topic. That way those of us that like to scan a
whole series can do so without having to bounce back and forth between
individual articles and the index and the associated page reload
delays.
</BLOCKQUOTE>
<P> Not mentioned before is that cooking the TWDT version is a normal part of
my submission at the end of the month... Mike, this sounds like a request
to normally link that in at the Answer Guy Index level.
<P> Of course this returns us to torturing the search engines as it would hit
on TWDT.lg_answerNN.html for every amazing topic in linuxdom. (Because we
get a wide variety of questions each month, and so few search engines search
for the keywords being anywhere near each other.) I'm not at all sure
I favor this. This is why it hasn't been linked in even though my submits
have included TWDT format subfiles for a long time. Mike, Jim, any opinions?
<P> However, Rob, to address what you really seem to be asking for: No. Sorry.
I am *not* going to republish the whole of the past answer guy messages
in TWDT format by the topics I selected. It's weird enough that I only
picked one classification each, when several of them fit more than one.
Several of them are superseded long ago by changes in Linux itself.
It's an *index* ... that means it does *not* contain anything but pointers.
Since it doesn't point to any new content, it would be a waste of time
better spent on the newer messages. Please bear in mind I do this work
for LG on a volunteer basis. I have consulting work to do as well, and
would like to limit the time I spend on this.
<BLOCKQUOTE>
As a side note, I usually read the Gazette on my work machine which is
that other OS :-( which complicates the process of reading the tar.gz
version.
<P> -Rob-
</BLOCKQUOTE>
<P> That question is answered in the FAQ. WinZIP for "that other system"
handles tar, gzip, or tgz files without complaint. If you insist on
doing it the hard way I believe tar and gzip might have been ported as
commandline utilities, but you'll have to go find them yourself, perhaps
at winfiles.com.
<P> I hope you enjoy next month's column.
<P> * Heather Stern, HTML Editor for "The Answer Guy"
<BLOCKQUOTE><EM>
[I'm currently doing a lot of "under the hood" work on how the
</EM>Gazette<EM> is linked together. That is, writing scripts
to auto-generate the links and update them, rather than placing
the links by hand. Once this is complete, we can look at adding
links to make The Answer Guy more readable. But first, we have to
get used to the new Answer Guy format for a couple issues, so we can
see what is working well and what isn't. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Tue, 16 Nov 1999 10:08:03 +0100
<BR>From: marco masini &lt;<A HREF="mailto:m.masini@attrezzeriamarin.com">m.masini@attrezzeriamarin.com&gt;</A>
<BR>Subject: "great ideas" ??? :-))
<P> Hi guy
How are U? U make a good work with linux gazette
<P> Why U don't create an "index" by word (analitical index is better? :-) )
?
<P> I' m looking for emacs but I don't know how to find something about it on
your pages.
<P> Bye
<P> PS. I apologize for my englis
<BLOCKQUOTE><EM>
<P>[There is a search engine at the main site. Starting this
issue there is a "Search" link near the top of both the Table of
Contents and the Front Page.
<P> I typed "emacs" into the search dialog and got lots of links back.
-Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 15 Nov 1999 11:43:26 -0800
<BR>From: Guillermo Schimmel
<BR>Subject: Re: I can't access ftp.ssc.com
<P> I can't access ftp.ssc.com anymore. Is my problem or the server is down?
<BLOCKQUOTE><EM>
[The server has PARANOID turned on, which means your (the client's)
forward and reverse DNS names must match or it won't allow access.
Could that be the problem?
<P> I asked our sysadmin if we could turn off the PARANOID feature,
since the files are public anyway. However, he was adamant that it's a
necessary security measure. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sun, 31 Oct 1999 10:21:14 +0100
<BR>From: Paul Dunne &lt;<A HREF="mailto:paul@dunne.dhis.org">paul@dunne.dhis.org&gt;</A>
<BR>Subject: to MIME or not to MIME?
<P> I can't take issue with your plea for writers-in to stop using HTML.
But I do take exception to this:
<BLOCKQUOTE>
<P> And if your mailer splits long lines by putting an "="
at the end of the line and moving the last character or two to the
next line, please try to turn that feature off. Also some mailers
turn punctuation and foreign characters into "" and "=E9" and the
like. I can't reformat those, since I don't know what the original
character was! -Ed. P.S. This the first time ever I have resorted
to blinking text, which I usually despise. I understand some mailers
don't allow you to turn off this obnoxious "multimedia" formatting.
But if you can, please do so.
</BLOCKQUOTE>
<P> If your mailer can't understand MIME, and translate a so-encoded
document it back into proper text when appropriate, then your
mailer is broken, and you need either to fix it, or get another
that isn't broken. It really is as simple as that.
<BLOCKQUOTE><EM>
[I use mutt, which is supposed to be one of the most MIME-capable
mailreaders around. -Ed.]
</EM></BLOCKQUOTE>
<BR><STRONG>From: Pepijn Schmitz &lt;<A HREF="mailto:p.schmitz@xpuntx.nl">p.schmitz@xpuntx.nl&gt;</A></STRONG>
<P> You can use any extensions you want, as long as you configure your
webserver to use the text/plain MIME type for them. It's the mime type
that the browser uses to decide whether or not to display a file, not
the extension. Only when the web server doesn't provide a MIME type does
the browser try to guess at it using the extension.
<P> Also, regarding your request to turn off quoted printable characters
(, etc.), my question is: why? It's a lot better than leaving the
original 8-bit characters in, which may display very differently on your
screen than the author of the email intended, or may be control
characters which will screw up your terminal settings. Quoted printable
characters (and also the ='s at the end of a line) are part of the MIME
standard and should be converted back by any MIME compliant mail reader.
<P> HTML email is even better, because it allows you to include
international characters in a platform independent way (quoted printable
is not platform independent). If I were you, I'd upgrade to an email
reader that will handle all these things, such as Netscape Messenger.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
31 Oct 1999 14:00:10 -0800
<BR>From: Stephen R. Savitzky &lt;<A HREF="mailto:steve@theStarport.org">steve@theStarport.org&gt;</A>
<BR>Subject: Re: Filename extensions for web program listings
<P> You [the <I>LG</I> Editor] write:
<BLOCKQUOTE>
My question is, which filename extensions are safe to use so that
they'll show up properly as text files in the browsers? I'm wavering
between using a language-specific extension (.c, .sh, .pl, .py, etc.)
vs putting .txt at the end of all of them (or .sh.txt, etc.) What about
listings that don't have an extension on the source file? They display
as text on my browser, but do they display properly on yours?
</BLOCKQUOTE>
<P> The correct solution is to use the correct language-specific extensions,
and to configure your server to give files with those extensions the
MIME type "text/plain". This means that the browser doesn't need to
guess (and guess wrong, in most cases) about what type the file really
is.
<BLOCKQUOTE>
Language-specific extensions would be the most ideal, because they
offer the possibility of syntax highlighting if the browser supports
it. (Does any browser support this?) However, I know I've tried to
view files on other sites that I know perfectly well are
text-readable, but the browser insists on downloading them rather than
viewing them because it doesn't recognize the type. (Of course, that's
better than the corollary, where it tries to view .tar.gz or .mp3
files as text.)
</BLOCKQUOTE>
<P> All browsers should use the type supplied by the server in the headers;
only if the server fails to provide a "Content-Type:" header is the
browser permitted to guess. If your server is Apache, for example, you
can perform the extension-to-type mapping in a ".htaccess" file in the
directory containing the listings -- see the Apache documentation for
details.
<P> Syntax highlighting can be done by providing two versions of the file,
one in plain text and the other (with, e.g., a ".c.html" extension) in
HTML as generated by a clever highlighting programm that you run once,
on the server side. Again, nothing is left up to the browser; it's all
done on the server.
<P><STRONG>From: Rich Brown &lt;<A HREF="mailto:rabmar@FreeMars.org">rabmar@FreeMars.org&gt;</A>:</STRONG>
<P> My suggestion is xxxxx.c.txt, yyyyy.sh.txt, zzzzz.pl.txt, and so on.
<P> Keep up the great work. LG is one of my prime resources.
<P><STRONG>From: Anthony E. Greene &lt;<A HREF="mailto:agreene@pobox.com">agreene@pobox.com&gt;</A>:</STRONG>
<P> I'd say no extensions should be used. Most web servers default to text/plain when sending unknown files to browsers. I've never seen a browser that supports highlighting, so language-specific extensions are of limited utility.
<P><STRONG>From: &lt;<A HREF="mailto:helpdesk@buzco.penguinpowered.com">helpdesk@buzco.penguinpowered.com&gt;</A>:</STRONG>
<BLOCKQUOTE>
What about listings that don't have an extension on the source file?
They display as text on my browser, but do they display properly on
yours?
</BLOCKQUOTE>
<P> Not easily (am using StarOffice-5.1a).
<BLOCKQUOTE>
Language-specific extensions would be the most ideal, because they
offer the possibility of syntax highlighting if the browser supports
it. (Does any browser support this?)
</BLOCKQUOTE>
<P>[...]
<P> The answer to both objections is an easy-to-use, GUI, Mime setup
program. The other side of this is that so many software packages ignore
the system (and user for that matter) mailcap and mime-type files in
favor of their own.
<P> No extension should not be an option. Without an extension there is *no*
handle to decide what to do with the file. Add ".txt" to these.
<P> Where an extension is already present, leave it, but provide an
alternative of the same filename + ".txt". Thus "foo.c" would be
available both as "foo.ads" and "foo.ads.txt".
<P> Hope this helps,<BR>
== Buz :)
<P><STRONG>From: walt &lt;<A HREF="mailto:walt@aye.net">walt@aye.net&gt;</A></STRONG>
<P> use the .txt extension
<P> and if you really feal froggy, call it ".text" so the point and click
crowd
doesn't get confused.
<P><STRONG>From: Vrenios Alex &lt;<A HREF="mailto:Alex.Vrenios@motorola.com">Alex.Vrenios@motorola.com&gt;</A></STRONG>
<P> First, I believe that I can "set" my text editor to be called up when a
".sh" or a ".csh" suffix is found. But that might be oo much of a pain for
most people (even me) to do for every possible extension. Here's my
recommendation:
<P> Given mountfloppy.csh, a C shell script that mounds a floppy disk, use
mountfloppy_csh.txt
<P> Given convertIP.c, a C language program that converts an IP address from hex
to dotted decimal or back, use convertIP_c.txt
<P> The use of that underscore is visually descriptive, letting everyone know
exctly what kind of file it is intended to be, which the dot-txt tells your
OS which editor to bring up, for every one of these ascii files.
<P> Are there any files that you are considering setting up that are -not- ascii
text files? If not, maybe this will work. Good luck.
<P><STRONG>From: Jeff Rose &lt;<A HREF="mailto:whisper@iag.net">whisper@iag.net&gt;</A>:</STRONG>
<P> Subject: Filename extensions for web program listings ...
<P> I'm enjoying reading this issue of LG on my Palm Vx after downloading your text version then using a small conversion util to format into PDBformat.
<P> Anyway, I vote for the age-old '.txt' extention for filenames. Why re-invent the wheel? And the less formatting - the better. We have _plenty_ of utilities for conversion: but TEXT vs. PDF, etc., .txt is the painless route.
<P> My $0.02.
<P><STRONG>From: Sylvia Wong &lt;<A HREF="mailto:swon074@yahoo.co.uk">swon074@yahoo.co.uk&gt;</A></STRONG>
<P> Language specific extension wouldn't work coz it's too much hard work
to change the mailcap to browse a few program listing. I prefer language
extension + .txt. This way, when I want to save the file (I'm using
Netscape), I could just delete the .txt and don't have to type a .pl or
.c or whatever.
<P> Does Windose handle files with 2 extensions well? (Or maybe we don't
care about them at all as why would anyone read Linux Gazette using
windose).
<BLOCKQUOTE><EM>
[I decided to go the <TT>*.sh.txt</TT> route, using a language-specific
extension when one exists, but always ending in <TT>.txt</TT>. This
should ensure the files can be both read and downloaded verbatim on the
widest variety of web servers and browsers.
<P> BTW, a lot of people do read the <I>Gazette</I> on Windows
machines. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 04 Nov 1999 18:49:22 +0100
<BR>From: &lt;<A HREF="mailto:AntonioM.=?iso-8859-1?Q?Mu=F1oz?=Crespo">AntonioM.=?iso-8859-1?Q?Mu=F1oz?=Crespo&gt;</A>
<BR>Subject: Spanish tranlations of Linux Gazette
<P> Dear editor,
<P> As you said in your reply to Mr. Offret currently there's no Spanish
translations of Linux Gazette. However, the only Linux on-line magazine
translated into Spanish is Linux Focus (ok, they're your competitors,
but it's the only you can get in Spanish for free). There're also a
number of Linux magazines in Spanish but, as far as I know, they're all
printed editions and they're not free!. Here is a list:
<UL>
<LI> "Solo Linux"
<LI> "Linux Actual"
<LI> "Linux Journal" &lt;-- Yes, it's published in Spanish since october or
september '99!.
</UL>
<P> All of them are published by the same publisher "Prensa Tecnica". I
don't know if you can get these magazines outside Spain.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Sat, 6 Nov 1999 14:49:51 -0500
<BR>From: Gerard Beekmans &lt;<A HREF="mailto:glb@dds.nl">glb@dds.nl&gt;</A>
<BR>Subject: Re: Compiling everything myself
<BLOCKQUOTE>
<P> Greetings, ladies and gentleusers.
I would like to compile my own Linux system. Not just the kernel.
Everything. I've got enough room and partitions on my
disk(s) to do it. Do not tell me do buy a distribution. Until now, I've
tried a lot of them - I count eleven on my shelf - I do not
like one of them the way I would like a self-created one.
I just need a place to start. All of the distributions must have started
at some point or another - how did they do it? Please
point to a location where info may be obtained. The LDP seem to provide
_nothing_ concerned to this task.
Every hint will be highly appreciated. I would also love to contribute
documentation of the process to the Free Software
community.
Every reader is invited to answer via email.
</BLOCKQUOTE>
<P> I currently am writing a series or articles that do this exact same
thing: building a new Linux distribution from scratch. Every program is
built from source (though you do need a working Linux to get it initial
working (eg: you need to have a running Linux + compiler to compile a
compiler so you can install that on the new system and start compiling
other things there).
<P> There's one downside for you I'm afraid: I'm writing these articles for
a Dutch/Belgium Ezine and therefore the articles are in Dutch
(surprised? ;) But wait, there's a good side: I'm also in the process of
translating these articles into English. I decided to start translating
these articles a week or so ago and I haven't started doing so yet (the
usual excuse; too busy with other things).
<P> I'm also thinking of giving them to the LDP so they can be distributed
as a HOWTO of some sort.
<P> Another reason I haven't started this translation yet is because I don't
know yet how usefull they would be (ie; if people actually are thinking
of doing this besides me). The Dutch articles aren't done yet either
because I got stuck after a while since I don't know 100% how to
configure every program and things like that (building from scratch for
me means also completely making your own sendmail.cf file and things
like the ruleset's are just a bit over my head at the moment).
<P> If you're interested picking up this project I'd be happy to start
translating the articles I already have written and then continue
finishing them with you (and possible other people who read this since I
CC'ed it to LG aswell).
<P> Hope to hear from you soon.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Wed, 10 Nov 1999 09:25:22 -0700
<BR>From: TJ Miller jr &lt;<A HREF="mailto:tjmiller@datc.tec.ut.us">tjmiller@datc.tec.ut.us&gt;</A>
<BR>Subject: Will The Priests Please Refrain From Kicking The Heathens?
<P> Listen my children, and ye shall receive news, of a troublesome plague that
sweepeth across the Land of The Holy Penguin...
<P> Allow me to confess the blight which lay upon my soul: I am cursed by
professional necessity with an MCSE, but I want someday to hear the
revelation, the revelation that a Microsoft certification is about as
worthless, as worthless an ArcNet certification would be this very day.
Verily, I further want to have the luxury of looking upon my MCSE and saying
"there shalt not be further need to keepeth this foul brand upon my wretched
soul..." Can I get an "Amen!?"
<P> The problem remains that, in order to maketh a living, I have to prepareth
my high-school aged disciples for the IT industry at large...and that
necessitates teaching them the blasphemy that is Microsoft. (On a happy
note, I finally got permission to get decent Linux curricula going - it will
be out in January. Refer to
http://www.linuxgazette.com/issue47/lg_mail47.html for more information, and
pitch some more opinions at me - I'm about half-way down that page.)
<P> But enough of the digression, my dear flock...let us kneel together, to
meditate upon the source of my distress...
<P> However, let's do it in plain English...because all kidding aside, we've got
a growing and serious problem here:
<P> While perusing the web for ideas about what would make a good set of Linux
classes, I come across a disturbing trend, one that was once only an
insignificant bother, but hath now become enough of a problem to warrant
attention:
<P> Linux Over-Zealotry.
<P> I guess it began to demand notice (for me) during the badly-managed PCWeek
NT vs. Linux security tests. Now, I believe that PCWeek made a huge mistake
(they forgot an RPM patch), but, IMO, an honest one...could have happened to
anyone. The reaction sickened me... zealots everywhere began screaming about
how PCWeek was "Microsoft's Whore", and how they were suddenly a part of
some huge conspiracy to quash Linux... I then begin to look about the
various Linux forums, to see even more venom and flame, directed at anyone
who dares to say that perhaps Microsoft does have software that will do
certain things better than Linux.
<P> I have a newsflash for the zealots: In some cases, NT is better than Linux.
In Others, Linux is better than NT. It all depends on your specific needs
and circumstances. Any real-world IT manager with more than three working
brain cells will tell you the very same thing.
<P> Now, what motivated me to write this was an article I noticed, which read:
<P> "The people who complain about it not supporting 100% of games or whatever
don't seem to get what the alternative is. It's easy to say Linux is better
than a certain monoploy(sic) based OS but to put your money (ok it's free
but nevermind) where your mouth is, is something else."
<P> -James Rogers, recently in osOpinion
<P> Now, if I owned a business, didn't know much about computers, and needed an
OS that was compatible with all of the machines I have, the last thing I
want to hear is: "Too bad you Microsoft scum!"
<P> If I were Joe Six-Pack, wanting a decent OS at home to do my bills and send
the occasional e-mail to mom with (and an OS with all the cool games for my
kids, of course), the last thing I want to hear would be: "no way, d00d -
you gotta conform to the Linux way or else! We don't support yer fave games,
so deal with it!"
<P> You notice a trend here (at least I hope you do...): I used regular, typical
situations. If you want Microsoft's piece of The Market Pie, you're going to
have to woo these exact types of people away from their MS-run boxes...
<P> A Very Big Clue: You won't capture the heats and minds of MS users by
calling them "sheeple". You won't do it by insulting their intelligence. You
won't do it by shouting like a spoiled child whenever Linux gets bad press
(no matter the reason.) And most importantly, you certainly won't lure them
away form Microsoft by demanding that they do something the hard way, when
for only $85 they can do it easier with (insert big, bad, monopoly OS
product upgrade here.)
<P> You also won't do it by letting others perform these same indecent act
without nary a comment from members of the Linux community who happens to
catch them in the act...
<P> Now, it had always been (at least, used to always be) the case that Linux
adapted to needs - someone needed a driver for (insert oddball peripheral
item here), odds are that all he/she needed to do was ask, and there was
more than likely a driver written for it by (insert friendly programmer's
name here), and that it can be downloaded for free at (insert URL here).
<P> If Linux wants a bigger market share, this is exactly what needs to continue
happening....customer-focused, friendly service to the world community at
large.
<P> I recall - that there indeed is a perfect article for describing how we can
advocate, and by extension make Linux a dominant OS in this world...I
propose that we all read it at least once in our lifetimes:
http://www.ssc.com/mirrors/LDP/HOWTO/mini/Advocacy.html
<P> After all, if you want converts, you don't do it by kicking the heathens you
want to proselytize...especially not in a consumer-driven market such as
computer products.
<P> There is one other note: If you see anyone misbehaving, thereby giving
Linux a bad name, then go out of your way to show that person the
light...and in the process showing the world at large that the Linux
community won't tolerate childish behavior...which would make an ever better
impression on the undecided and the unknowing.
<P> Now go forth my precious flock, to spread peace and Open Source among the
perilous world in which we live...
<P> TJ Miller jr (tjmiller@datc.tec.ut.us) is a secondary education teacher in
the Utah ATE (read: Vocational Technologies) school system, specializing in
the instruction of Unix, Networking, and (because they make me do it) that
big, bad GUI-based OS we've all heard of. He putzes around with Linux far
more than is considered healthy, but enjoys the outdoors enough to go
hunting, skiing, hiking and fishing whenever weather and time permit.
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Mon, 1 Nov 1999 13:35:49 +0800
<BR>From: Li Wei &lt;<A HREF="mailto:leeway@kali.com.cn">leeway@kali.com.cn&gt;</A>
<BR>Subject: comment
<P> the 47th issue is the most boring lg i ever read. in other lgs, i can
always find some interesting articles.
<BLOCKQUOTE><EM>
[Which kinds of articles do you consider "interesting" and "boring"?
-Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
Thu, 11 Nov 1999 11:26:51 -0800 (PST)
<BR>From: Nicolas Chauvat &lt;<A HREF="mailto:nico@ISI.EDU">nico@ISI.EDU&gt;</A>
<BR>Subject: Re: Duplicate messages, unreadable listings, Pollman article
<BLOCKQUOTE>
The [<I>LG</I>] FTP file for issue 47 is 2.6 MB. This is due to the
large number of graphics. Next month will have fewer graphics to bring
the file size down.
</BLOCKQUOTE>
<P> Graphics shouldn't be a problem. You have a lot more graphics in some web
pages and the whole thing is much lighter than this. The problem is that
most graphics are not compressed... well, they are, but not enough, or the
image depth is to high. Just make the authors follow the basic rules of
image making for the web and it will be fine, even if you have more
graphics.
<P> Use jpg for photos (lots of colors, no line or clear boundary)<BR>
Use gif for others (fewer colors, sharp boundaries)<BR>
Use png for either one.<BR>
Try with different compression levels (jpg) and different image
depth/palette (gif).
<P> There are programs out there that do that for you, i.e. take the image and
output the same with the best compromise size/quality. I don't remember
the names though, but they are probably listed on freshmeat or linuxberg.
<P> Hope this helps,
<P> -- Nicolas, Coordinator of the french translation of the Linux Gazette
<BLOCKQUOTE><FONT SIZE=-1>
Hi, I'm a deadly e-mail virus, please copy me into your .signature file
to help me spread. :: Bonjour, je suis un dangereux virus. SVP
copiez-moi dans votre fichier .signature pour m'aider =E0 me propager
</FONT></BLOCKQUOTE>
<BLOCKQUOTE><EM>
[There's one of those pesky <TT>=E9</TT>'s again. Wish I had a table
to convert it to its Latin-1 equivalent. Must be an
<STRONG>&agrave;</STRONG>. -Ed.]
</EM></BLOCKQUOTE>
<P> <HR> <P>
<!--====================================================================-->
<IMG ALT=" " SRC="../gx/envelope.gif">
31 Oct 1999 09:33:31 -0700
<BR>From: Eric Hanchrow &lt;<A HREF="mailto:offby1@blarg.net">offby1@blarg.net&gt;</A>
<BR>Subject: Suggestion for TOC pages on the web
<P> I'm looking at http://www.linuxgazette.com/issue47/index.html, and
I see many bulleted items, each corresponding to one article in the
current issue of Linux Gazette. It would make my life a tiny bit
easier if each of those items showed me, not just the article's title,
but the first few lines of the article itself. That way I could tell
if I wanted to read the entire article. As it stands, I have to
guess. This is especially true for the articles that appear to be
regular features.
<BLOCKQUOTE><EM>
[There isn't enough room in our current table of contents layout
for these lines. For the Mailbag, 2-Cent Tips and News Bytes, it
wouldn't make sense because these columns consist of a lot of small
items which are not related to each other, and thus, the first letter
is not representative of them all. Also, it would mean a lot more
manual editing to decide which lines to include.
<P> Thanks for the suggestion, though, and I'm open to hearing any
others you may have. -Ed.]
</EM></BLOCKQUOTE>
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
This page written and maintained by the Editor of the <I>Linux Gazette</I>.<BR>
Copyright &copy; 1999, <A HREF="mailto:gazette@ssc.com">gazette@ssc.com</A><BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"</H4>
<HR>
<center>
<table cellpadding=7><tr><td>
<IMG SRC="../gx/bytes.gif" border=1 ALT="News Bytes">
</td><td>
<H3>Contents:</H3>
<ul>
<li><a HREF="#distro">Distro News</A>
<li><a HREF="#general">News in General</a>
<li><a HREF="#software">Software Announcements</a>
</ul>
</td></tr></table>
</center>
<P> <hr> <P>
<!-- =================================================================== -->
<center><IMG ALT=" " SRC="gx/cover68.jpg" WIDTH=200 HEIGHT=268></center>
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<font color="green">
December 1999 <I>Linux Journal</I>
</font>
</H3>
<P>
The December issue of <A HREF="http://www.linuxjournal.com/"><I>Linux
Journal</I></A> is already on the newsstands.
This issue focuses on system administration.
<P> <I>Linux Journal</I> has articles that appear "Strictly On-Line".
Check out the Table of Contents at
<A HREF="http://www.linuxjournal.com/issue68/index.html">
http://www.linuxjournal.com/issue68/index.html</A> for articles in
this issue as well as links to the on-line articles.
To subscribe to <I>Linux Journal</I>, go to <A
HREF="http://www.linuxjournal.com/subscribe/index.html">
http://www.linuxjournal.com/subscribe/index.html</A>.
<P>
<font color="green">
For Subcribers Only</font>: <I>Linux Journal</I> archives are available
on-line at
<A HREF="http://interactive.linuxjournal.com">
http://interactive.linuxjournal.com/</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green"><I>Linux Journal</I>/<I>Linux Gazette</I> Millenium Edition Archive CD-ROM
</FONT>
</H3>
<P> Can't find that April 1996 Linux Journal?
Someone borrowed the September 1998 copy?
<P> Now you can have it all! All of Linux
Journal (issues 1-56; 1994-1998) and
all of Linux Gazette (issues 1-45; 1995-1998)
on one archive CD.
<P> Click <A HREF=http://www.linuxjournal.com/subscribe/cdrom.html>here</A>
for more information.
<a name="distro"></a>
<p><hr><p>
<!-- =================================================================== -->
<center><H3><font color="green">Distro News</font></H3></center>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Caldera
</FONT>
</H3>
<H4> Antarctica IT and Caldera Team Up</H4>
<P> Framingham, MA, November 11, 1999 - Antarctica IT, Inc. and Caldera
Systems, Inc. will work together to provide Linux services in Boston
and New England.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Corel
</FONT>
</H3>
<P> <A HREF=http://www.ecommercetimes.com/news/articles/991103-5.shtml>
Corel Signs Linux OEM Agreement With PC Chips</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Libra
</FONT>
</H3>
<P> NORTH VANCOUVER, BC, November 2, 1999 - Libra Computer Systemstoday
announced the release of 'Linux by Libranet', based on Debian. The CD, includes
one year of support via email and fax, Linux HOWTO documentation and the
Debian-Guide, a concise, easy to follow guide to the use of the Debian Linux
Distribution. The CD may be purchased for $27.00 at <A
HREF=http://www.libranet.com>www.libranet.com</A>. Libra Computer Systems is a
privately held company based in North Vancouver, BC, Canada.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Red Hat
</FONT>
</H3>
<H4>Red Hat acquires Cygnus, promotes Matthew Szulik to CEO</H4>
See press releases at the <A HREF=http://www.redhat.com>Red Hat home page</A>,
and the commentary
<A HREF=http://www.linuxjournal.com/articles/briefs/032.html>
Red Hat acquires Cygnus</A>.
<h4>Red Hat to Support Leading Open Source Application</H4>
<P> Durham, N.C.--November 3, 1999--Red Hat, Inc., today announced
an expansion of its services program that will provide the consulting and
support enterprise organizations need for nearly all of the popular,
powerful, open source software applications used by enterprises worldwide.
<P> As the first step in the program, Red Hat's worldwide services group will
immediately offer expanded Service Programs for popular open source
software solutions, including top Internet software like the Apache Web
Server, Sendmail and Postfix. Apache is the number one Web server and runs
more than 55 percent of the Internet's Web sites. Sendmail is a messaging
solution that powers 80 percent of Internet Service Providers (ISPs).
<P> The sweeping initiative will expand in the coming months, embracing more
open source solutions. This broad support program delivers enterprise
users a single, trusted source for their open source computing needs.
<H4>Center for Open Source</H4>
<P> DURHAM, N.C.--November 1, 1999--Red Hat, Inc. announced
the formation of a new non-profit organization, the Red Hat Center for
Open Source (RHCOS), that will sponsor, support, promote and engage in a
wide range of scientific and educational projects intended to advance the
social principles of open source for the greater good of the general
public.
<H4>eSoft</H4>
<P> <A HREF=http://www.esoft.com>eSoft Inc.</A>, a company that develops and
markets the TEAM Internet Linux software suite for small businesses, has joined
Red Hat Inc.'s Development Partner Program.
<H4>Pact With RSA To Enhance Security</H4>
<P> Red Hat, Inc. has
entered into a new
<A HREF=http://www.ecommercetimes.com/news/articles/991112-7.shtml>
strategic agreement</A> with RSA Security, Inc.
to enhance security for professional users of
the Red Hat Linux OS package...
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">SuSE
</FONT>
</H3>
<H4>Photodex and SuSE Give Linux an Imaging Boost </H4>
<P> Austin, Texas -- November 8, 1999 -- <A HREF=http://www.photodex.com>
Photodex</A> Corporation, a leading
supplier of digital content management, imaging and multimedia software,
and SuSE Inc., announced today their partnership to provide
CompuPic Digital Content Manager software for the SuSE Linux operating
system.
<P> "CompuPic brings powerful, yet user-friendly imaging capabilities to
the SuSE Linux desktop, enabling SuSE Linux to compete head-on with
other platforms. These tools should not be taken for granted," said
Paul Schmidt, CEO, Photodex. "Professional web developers need
powerful tools to more easily develop and maintain web sites. Even
novice users find it easier to use the Linux desktop when familiar
applications are available. CompuPic solves these problems and more."
<H4> E-Commerce on SuSE's Portal</H4>
<P> Linux vendor SuSE announced this week that it has tapped
outsource solutions provider Digital River, Inc. (Nasdaq: DRIV)
to turn its online information portal into an
<A HREF=http://www.ecommercetimes.com/news/articles/991117-8.shtml>
e-commerce site</A>.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Storm
</FONT>
</H3>
<H4> Storm Linux 2000 to Ship with VMware</H4>
<P> Vancouver, Canada - November 17, 1999 - Stormix Technologies,
Inc., announces that Storm Linux 2000 will ship with the VMware
evaluation binaries, a software technology that allows the
running of other operating systems, including Windows, from
within Linux.
<P> Stormix also announced Storm Linux will ship with a full version of
StarOffice, and a demo copy of Enhanced Software Technologies' BRU (Backup and
Restore Utility).
<a name="general"></a>
<p><hr><p>
<!-- =================================================================== -->
<center><H3><font color="green">News in General</font></H3></center>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">C.O.L.A news
</FONT>
</H3>
<P> <A HREF=http://TheStuff.net>TheStuff.net</A> is a new, online source for
information and tools encompassing all free Unix operating systems.
<P> <A HREF=http://segurinet.com>Spanish translation of the Linux
Administrator's Security Guide</A>
<P> <A HREF=http://www.etherboy.com/dns/chrootdns.html>
Dual chrooted Bind/DNS servers Mini-HOWTO</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">News from The Linux Bits
</FONT>
</H3>
<P> <I>LG</I> got a nice little mention in TLB issue 23
(<A HREF=http://www.linuxdot.org/tlb/24.html>http://www.linuxdot.org/tlb/24.html</A>):
<BLOCKQUOTE>
The latest edition of the "New York Times of Linux e-zines" - Linux
Gazette - was released today, featuring the usual crop of interesting
reading -- and plenty of it. Once again we get a few mentions. "Gee
ma, we're famous." :)
</BLOCKQUOTE>
<P> Other news in issue 23:
<UL>
<LI> <a href="http://www.ga-source.com/all/news/bits/09+29+1999/15:09:37.shtml">
Creative Labs To Embrace The Open Source Philosophy</a>
</UL>
<P> From issue 22
(<A HREF=http://www.linuxdot.org/tlb/24.html>
http://www.linuxdot.org/tlb/24.html</A>):
<UL>
<LI> <a href="http://www.zdnet.co.uk/news/1999/42/ns-10883.html">
ATI Embraces Linux</a>
<LI> <A HREF=http://www.toms.net/rb/home.html>Tom's Root/Boot Disk</A>
A good rescue disk to have. <EM>[Our sysadmins use it to do workstation
installs and can't sing enough praise of it. -Ed.]</EM>
<LI> <a href="http://www.linuxdot.org/nlm/part1/emacs1.html">Emacs Tutorial #1: Basic Editing</A>
"A complete command reference list. Perfect for printing off and having at your side whilst you struggle to
become proficient with this scary package."
</UL>
<P> TLB's Laurence Hunter wrote to the <EM>LG</EM> Editor:
<BLOCKQUOTE>
If there's ever an article that you particulary like in any issue (even
back issues) feel free to use it, change the formatting to your liking,
and edit it to your heart's content. You don't need to ask our
permission either. Like you we put together The Linux Bits purely for
fun so no copyrights etc exists on them and we ask nothing in return.
Anything to help out the Linux community is plenty payment for us.
</BLOCKQUOTE>
<BLOCKQUOTE><EM>[Thanks! I'll remember that. -Ed.]</EM></BLOCKQUOTE>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Upcoming conferences &amp; events
</FONT>
</H3>
<P>
<b>The Bazaar</b>: "Where free and open-source software meet the real world".
Presented by EarthWeb.
December 14-16, 1999.
New York, NY.
<A
HREF="http://www.thebazaar.org/">http://www.thebazaar.org/</A>
<P> <b>SANS 1999 Workshop On Securing Linux</b>. The SANS Institute is a
cooperative education and research organization.
December 15-16, 1999.
San Francisco, CA.
<A
HREF="http://www.sans.org">http://www.sans.org</A>
<P>
</td></tr>
<P> IDG Communications France, organisateur de LinuxWorld, et Sky Events,
organisateur de LinuxExpo, unissent leurs efforts pour cr<63>er une
manifestation unique, <b>LinuxWorld/LinuxExpo</b>.
Cet <20>v<EFBFBD>nement Linux ouvrira ses portes du 1er au 3 f<>vrier 2000, au Palais
des Congr<67>s de Paris (Porte Maillot).
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Linux File, Print & CD Thin Server in Flash-ROM
</FONT>
</H3>
<P> KYZO has today released the commercial version of its hugely popular
PizzaBox Linux distribution, so called because a prototype server was
built in a Pizza Hut Takeout box - take a look -
<A HREF=http://www.kyzo.com>www.kyzo.com</A>
<P> In the first month the site took over 500,000 hits has recently
registered 75,000 in one day. Registered users that have downloaded and
run the free PizzaBox Server include both the Goddard Space Flight
Centre and the Jet Propulsion Laboratories at NASA.
<P> The commercial version is the same basic software as the free version,
which will still be available, but differs in one significant respect.
It is shipped pre-installed in a bootable Flash-ROM and comes with the
the circuit board you need to make it boot in any 486 (or above) PC.
With 10 times the life span of a hard disk, the package is aimed at
system builders who are fed up with having to send skilled engineers to
sites for days on end to re-install a File Server every time a hard
drive goes down.
<P> The system includes File, Print &amp; CD sharing, remote access (for full
remote administration), UPS monitoring, Tape backup, Hardware
monitoring, APM. It will automatically accept both SCSI &amp; IDE hard
drives and comes with a sophisticated, JavaScript enabled, web
management interface. It is aimed squarely at the SME market where
current offerings from the big players are overcomplicated for the SME
sector.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Cobalt Networks Selected by Allegiance Telecom
</FONT>
</H3>
<P> Cobalt Networks has announced that its RaQ 2 server appliance will be the dedicated web hosting platform for Allegiance Telecom customers. The RaQ 2 provides a way for ISPs like Allegiance to offer top quality dedicated web hosting with a low TCO and a quick ROI.
<P> This news comes on the heals of last week's introduction of the RaQ 3i, Cobalt's third-generation server appliance. The RaQ 3i rounds out Cobalt's product family by offering ISPs a high-end server appliance that can handle high-traffic Web portals, e-commerce, and application hosting at a price that the small to mid-sized business market can afford.
<P> <A HREF=http://www.cobaltnet.com>www.cobaltnet.com</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">E-Commerce Minute
</FONT>
</H3>
<P> <A HREF=http://www.ecommercetimes.com/news/articles/991104-3.shtml>
EBIZ Re-Launches TheLinuxStore </A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">E-Exams announces a Linux System Adminstration exam
</FONT>
</H3>
<P> E-Exams announces a Linux System Adminstration exam.
With E-Exams you can create customized technical exams to assess
potential employees. Among the many exams E-Exams is offers, is an exam
for Linux System Administrators. Companies who have signed-up for the
service, can have potential employees take a web based exam. Questions
range from beginner, to intermediate to expert. The results can be used
to determine whether the candidate should take the next step in the
hiring process.
The Linux System Administration exam is distribution neutral. It also
among the first exams which the company is offering. The company is
planning to create many more exams, including some distribution specific
nes, starting with a Red Hat Linux exam. Specific topics such as
networking with Samba are also in the works.
<P> You can learn more about E-Exams at:
<A HREF=http://www.eexams.com/>www.eexams.com</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">National Semiconductor announces Linux support for its geode webpad reference design
</FONT>
</H3>
November 15, 1999 - National Semiconductor Corporation today announced that
Infomatec AG will port its custom Linux-based basic platform Java Network
Technology (JNT) operating system to the National Geode WebPAD platform - a
complete hardware and software reference design for a wireless Internet
personal access device (PAD). This collaboration is the first result of an
agreement signed earlier this year by National and Infomatec to partner on the
development of information appliances such as set-top boxes, thin clients and
PADs.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Is Linux available on my platform?
</FONT>
</H3>
<P> The
<A HREF=http://www.ctv.es/USERS/xose/linux/linux_ports.html>
Current ports of the Linux OS</A> web page lists a wide variety of
architectures and platforms Linux is available on.
<P> The main ports are :
<P> - Special PCs and Near-PCs SGI-Linux (intel-SGI), MCA Linux
(MicroChannel), Linux/98 (NEC PC-98), LinuxIA64 (new 64bits-merced-
intel chip)
<P> - Motorola processors Linux/m68k (Motorola 68000), LinuxPPC (PowerPC)
<P> - SPARC chips S/Linux (Sun SPARCstations), UltraLinux (Sun UltraSPARC)
<P> - Compaq (former Digital) chips and equipments VAXlinux (VAX computers),
Linux/Alpha (Alpha processors)
<P> - Other RISC chips ARM Linux (ARM/StrongARM), Linux PA-RISC (HP's
PA-RISC), Linux/MIPS (MIPS chips)
<P> - Handhelds, Microcontrollers, embedded and other small systems LinuxSH3
(Hitachi SH3), Linux/Microcontrollers (Palm,Motorola ColdFire), ELKS
(8086-80286), VMELinux (VMEbus embedded systems), LinuxCE (to substitute
WindowsCE), PDAs in general
<P> - Microkernels and real-time MkLinux (Linux on Mach =B5-Kernel for Apple
PowerMacintosh, HP PA-RISC and x86), DROPS (Linux on the L4 =B5-Kernel and
Fiasco =B5-kernel), Real Time Linux (RTLinux and KURT)
<P> - Multimedia Computing, QLinux
<P> - SMP and clustering MOSIX for Linux (a bridge between SMP and MPP),
Beowulf Project (parallel clusters), Linux SMP(multiprocesor)
<P> - Misc ports Linux on IBM 370/390, Linux/AP+(Fujitsu AP1000+),
Linux-AS/400(IBM AS/400)
<P> - Cool things running Linux Not ports, but who cares?
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">"Linux Administration Made Easy" (LAME) guide
</FONT>
</H3>
<P> The "Linux Administration Made Easy" (LAME) guide, recently updated for
Red Hat 6.1, attempts to describe day-to-day administration and
maintenance issues commonly faced by Linux system administrators.
<P> This 130+ page guide is geared to an audience of both corporate as well as
home users, and attempts to summarize the installation and configuration,
as well as the day-to-day administrative and maintenance procedures that
should be followed to keep a Linux-based server or desktop system up and
running.
<P> LAME can be found at
<A HREF=http://www.LinuxNinja.com/linux-admin/>
www.LinuxNinja.com/linux-admin/</A> in a variety of document formats.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Linux Links
</FONT>
</H3>
<P> <A HREF=http://legalnews.findlaw.com/LegalNews/Microsoft/findings.html>
The legal findings in the antitrust case against Microsoft</A>
<P> An article that alleges
<A HREF=http://www.billparish.com/msftfraudfacts.html>Microsoft is operating a
pyramid scheme</A> to artificially boost its stock price.
<P> <A HREF=http://laughs.linuxlots.com/>
Parodies of Linux and its friends and enemies</A>:
mages,
webpage sendups, poetry, songs, articles, etc. Stars a Microsoft Myths spoof
page.
<P> <A HREF=http://www.linuxfool.com>Linux Fool.com</A> is a new web site
offering Linux users an unbiased forum for discussions and information sharing.
LinuxFool.com is an official mirror of the Linux Documentation Project.
<P> <A HREF=http://www.QuestionExchange.com>/www.QuestionExchange.com</A>
allows
users or system administrators to name their price for high-end tech support in
open systems -- Linux, Apache server, Sendmail, etc.
<P> How the <A HREF=http://parallel.park.uga.edu/~kirby/linuxnc.html>
University of Georgia English Department</A> is using Linux.
<P> A
<A HREF=http://www.linuxstart.com/~marius>Linux-Windows comparision</A>, and
other Linux-related stuff.
<P> <A HREF=http://www.linuxjournal.com/articles/briefs/033.html>Transmeta's Crusoe</A>
<P> <A HREF=http://www.ecommercetimes.com/news/articles/991118-9.shtml>
LinuxMall Re-Launches With New Look</A>
<a name="software"></a>
<P> <hr> <P>
<!-- =================================================================== -->
<center><H3><font color="green">Software Announcements</font></H3></center>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">C.O.L.A software news
</FONT>
</H3>
<P> <A HREF=http://freeweb.dnet.it/kmj/index.html>Kmahjongg 0.5 (beta)</A>
<P> <A HREF=http://www.csv.ica.uni-stuttgart.de/homes/js/vrmldemo/warbird.tgz>
Warbird</A> is "a new silly 3D game" using VRML.
<P> <A HREF=http://www.easysw.com/htmldoc>
HTMLDOC v1.8 HTML document conversion</A> to PDF, Postscript and indexed
HTML.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Calerga SysQuake Viewer
</FONT>
</H3>
<P> Lausanne, Switzerland, November 2, 1999 - Calerga announces today SysQuake
Viewer for Linux, a port to the Linux operating system of the software for
understanding systems by interactive manipulation of graphics.
<P> SysQuake is a ground-breaking application for understanding and designing
complex systems by the use of interactive graphics. Interactivity lets the
user manipulate graphics, observe how phenomena are related, and change
parameters to improve the design of a technical device. Understanding how
initial conditions affect a simulation or how the parameters of a feedback
controller determine the behavior of a dynamic system is made much
easier
than with the static graphics created by existing software.
<P> <A HREF=http://www.calerga.com/SQViewer/index.html>
www.calerga.com/SQViewer/index.html</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">EasyCopy screen capture utility
</FONT>
</H3>
<P> SAN JOSE, Calif., October 19, 1999 - AutoGraph International (AGI) is
demonstrating its commitment to the Linux community through our EasyCopy suite
of products. The Linux operating system has always played an immense role in
AGI and some of our developers are active in the Danish Linux community. In
fact, Linux engenders a decidedly emotional response from our normally cool,
analytical development staff.<BR>
<P> Enhanced X Capture offers full screen, selected window or an arbitrary
rectangular area capture. All original colors of the windows are preserved
with any combination of windows. Even when a window appears in false colors on
the screen due to color table overrun, it is captured in its original colors by
EasyCopy and printed correctly.
<P> <A HREF=http://www.augrin.dk/>www.augrin.dk</A>
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">DataKeeper
</FONT>
</H3>
<P> <A HREF=http://www.os2.co.za/software> DataKeeper</A> by PowerQuest
(maker's of PartitionMagic) ensures backup protection by continuously
monitoring file activity in the background, and supporting compressed backups
on the fly. The user configures the programme and specifies backup methods to
backup drives, folders and files, and DataKeeper then follows these commands
automatically, and unobtrusively.
<P> Because DataKeeper creates a backup each time a file is modified,
scheduling is unnecessary.
<P> Any removable disk drive, network drive, hard disk or floppy drive is
supported by DataKeeper. And because it uses a high compression rate,
DataKeeper saves disk space.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">News from Loki Entertainment Software
</FONT>
</H3>
<P> TUSTIN, CA -- November 1, 1999 -- Loki announces
the Linux demo version of Railroad Tycoon II: Gold Edition.
<P> Loki released the full version of Railroad Tycoon II, along with The
Second Century Expansion Pack, last month to strong reviews. This
real-time strategy simulation game places gamers in a world of big
business, expansion and engineering in which all aspects of the railroad
industry can be controlled. It features a simulated stock market and
sophisticated economic system, and as the years progress, gamers must
solve modern problems such as the increasing demand for mass
transportation in major cities.
<P> The demo allows users to exercise their tycoon tendencies in five
different scenarios, and is now freely available for
<A HREF=http://www.lokigames.com/products/rt2/demo.php3>download</A>.
<P> TUSTIN, CA, November 3, 1999 -- Loki is now developing the Linux version of
Heroes of Might and Magic(tm) III.
<P> Heroes of Might and Magic III is the latest installment in the series of
top-selling, critically-acclaimed strategy games. This turn-based,
strategy war game set in the popular Might and Magic(r) fantasy world has
already captivated legions of PC gamers. It was awarded 5 out of 5 stars
from both Computer Games Magazine and the CNET Gamecenter, as well as an
Editor's Choice Award from Computer Gaming World Magazine.
<P> Heroes III will be available for the Linux operating system wherever
software is sold by mid-December.
<P> The Loki Hack hacks on the Linux version of Activision's Civilization:
Call to Power are <A HREF=http://www.lokigames.com/hack/patches.html>
now available</A> for public consumption.
<P> TUSTIN, CA -- November 4, 1999 -- Loki Entertainment announces today the
creation of a CVS server to facilitate public access to its Open-Source
projects.
<P> "One reason we've been successful is that we create Open Source tools to
replace proprietary code in our games," said Scott Draeker, president of
Loki. "We give these tools back to the community in the form of Open
Source projects. We hope other developers will evaluate our tools for
projects and choose to use them rather than the proprietary alternatives."
<P> The Loki CVS server allows the public to access the latest development
source code for Loki's several Open-Source projects, including SMJPEG, a
motion JPEG library, SMPEG, a MPEG-1 playback library, and Setup, a GUI
Installer. Other modules available for viewing include SDL, a
cross-platform multimedia development API, and Mixer, an enhanced version
of the sample SDL audio mixer.
<P> Loki's Open-Source projects are freely available for download from <A
HREF=http://www.lokigames.com>www.lokigames.com</A>, and are offered under the
GNU Library Public License (LGPL). A web interface for the CVS server is
available at <A HREF=http://cvs.lokigames.com>cvs.lokigames.com</A>.
<P> <hr> <P>
<!-- =================================================================== -->
<H3><IMG ALT=" " SRC="../gx/bolt.gif">
<FONT COLOR="green">Other software
</FONT>
</H3>
<P> <A HREF=http://www.ecommercetimes.com/news/articles/991110-5.shtml>
Anti-virus software</A> from Central Command, Inc. and
Kaspersky Lab.
<P> <A HREF=>Max for Linux</A> is a new product for compiling and running Xbase
code on Linux-based computers, and is available for dowload.
<P> <A HREF=http://www.paulnolan.com>Photogenics</A> is an award-winning
graphics package, first released on the Amiga five years ago. It will soon be
available on Linux.
<P> <A HREF=http://www.cycas.de>Cycas</A> is a new 2D + 3D CAD software, based on GTK. In addition to typical
CAD functions, it offers special elements and techniques for architectural
design.
<P> The <A HREF=http://www.vital.com>CRiSP</A> visual text editor from Vital.
<P> <A HREF=http://www.sanface.com/projects.html>
txt2pdf</A> from Sanface converts text reports to PDF format. Can colorize
words using Perl regular expressions, add border to every page, print in
2-column format, and more.
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
This page written and maintained by the Editor of the <I>Linux Gazette</I>.<BR>
Copyright &copy; 1999, <A HREF="mailto:gazette@ssc.com">gazette@ssc.com</A><BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H3>Contents:</H3>
<p><a href="#tag/greeting"
><img src="../gx/dennis/bbub.gif" alt="(!)" border="0"
align="middle"><strong>Greetings From Jim Dennis</strong></A></p>
<DL>
<!-- index_text begins -->
<dt><A HREF="#tag/1"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>PCI Winmodem --or--
<dd><A HREF="#tag/1"
><strong>
Why Winmodems Don't Work Under Linux, Yet!
</strong></a>
<dt><A HREF="#tag/2"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Do you know of any V.90 internal modems that are not winmodems? --or--
<dd><A HREF="#tag/2"
><strong>
Linmodems.org
</strong></a>
<dt><A HREF="#tag/3"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>LI_ DOH! --or--
<dd><A HREF="#tag/3"
><strong>
Major Hardware Problems
</strong></a>
<dt><A HREF="#tag/4"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Clearing Lilo from MBR</strong></a>
<dt><A HREF="#tag/5"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>modem problems --or--
<dd><A HREF="#tag/5"
><strong>
Modem Problems on a Win '95 System
</strong></a>
<dt><A HREF="#tag/6"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Questions about Linux --or--
<dd><A HREF="#tag/6"
><strong>
Setting COM port speeds
</strong></a>
<dt><A HREF="#tag/7"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>virus protection --or--
<dd><A HREF="#tag/7"
><strong>
Virus Protection for Linux: A Non-Issue ... But....
</strong></a>
<dt><A HREF="#tag/8"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Telnet trouble</strong></a>
<dt><A HREF="#tag/9"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Modem Noises --or--
<dd><A HREF="#tag/9"
><strong>Quiet, Modem!</strong></a>
<dt><A HREF="#tag/10"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Dual Booting without Re-Partitioning</strong></a>
<dt><A HREF="#tag/11"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Regards from Argentina</strong></a>
<dt><A HREF="#tag/12"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>re: Helpless (issue 45 of linuxgazette)</strong></a>
<dt><A HREF="#tag/13"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>Thanks!</strong></a>
<dt><A HREF="#tag/14"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>thanks answer guy! --or--
<dd><A HREF="#tag/14"
><strong>
Just Buy a REAL Modem
</strong></a>
<dt><A HREF="#tag/15"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Red Hat --or--
<dd><A HREF="#tag/15"
><strong>
Telnet gives: "Connection closed by foreign host..."
</strong></a>
<dt><A HREF="#tag/16"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>multiple root accounts --or--
<dd><A HREF="#tag/16"
><strong>
Multiple Root Accounts: Delegation
</strong></a>
<dt><A HREF="#tag/17"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>opl3 yamaha/SAx sound card --or--
<dd><A HREF="#tag/17"
><strong>
Soundcard Drivers for Win '98?
</strong></a>
<dt><A HREF="#tag/18"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Another "respawning" question --or--
<dd><A HREF="#tag/18"
><strong>
Author Responds to "gdm Murdered Mysteriously"
</strong></a>
<dt><A HREF="#tag/19"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Unable to login to SuSE --or--
<dd><A HREF="#tag/19"
><strong>
Upgrade to 6.2 from 6.1 Disables Login
</strong></a>
<dt><A HREF="#tag/20"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Doslinux --or--
<dd><A HREF="#tag/20"
><strong>
Euphoria
</strong></a>
<dt><A HREF="#tag/21"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>
Dell EIDE TR5 Tape Drive
</strong></a>
<dt><A HREF="#tag/22"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Some basic ftp questions --or--
<dd><A HREF="#tag/22"
><strong>
FTP Daemon: Special Requirements
</strong></a>
<dt><A HREF="#tag/23"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>RedHat Login Problems --or--
<dd><A HREF="#tag/23"
><strong>
login, su, and passwd dies: Everybody dies!
</strong></a>
<dt><A HREF="#tag/24"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Files invisible via Telnet? --or--
<dd><A HREF="#tag/24"
><strong>
Files invisible via Telnet?
</strong></a>
<dt><A HREF="#tag/25"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Thanks for the sendmail info in September's column --or--
<dd><A HREF="#tag/25"
><strong>
sendmail Masquerading, Configuration, and User Masquerading Revisited
</strong></a>
<dt><A HREF="#tag/26"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Segmentation Faults --or--
<dd><A HREF="#tag/26"
><strong>
General S. Fault
</strong></a>
<dt><A HREF="#tag/27"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Problem of Linux connecting to the Internet thro' MS Proxy --or--
<dd><A HREF="#tag/27"
><strong>
Linux Workstations Behind a Proxy/Firewall
</strong></a>
<dt><A HREF="#tag/28"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>LILO Lockup --or--
<dd><A HREF="#tag/28"
><strong>
LILO Stops at LI
</strong></a>
<dt><A HREF="#tag/29"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Need help !! --or--
<dd><A HREF="#tag/29"
><strong>
Protocols on top of Protocols: It's Protocols ALL THE WAY DOWN!
</strong></a>
<dt><A HREF="#tag/30"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Uninstall Linux --or--
<dd><A HREF="#tag/30"
><strong>
Uninstalling Linux
</strong></a>
<dt><A HREF="#tag/31"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>your web --or--
<dd><A HREF="#tag/31"
><strong>
Who is Jim Dennis?
</strong></a>
<dt><A HREF="#tag/32"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>FoxPro 2.6 on Linux --or--
<dd><A HREF="#tag/32"
><strong>
FoxPro 2.0 (SCO) Running Under Linux: Try Flagship?
</strong></a>
<dt><A HREF="#tag/33"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>
Coping with Bad Sectors
</strong></a>
<dt><A HREF="#tag/34"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Linux memory management --or--
<dd><A HREF="#tag/34"
><strong>
Homework Assignment: Write about Linux Memory Management
</strong></a>
<dt><A HREF="#tag/35"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Lt Modem --or--
<dd><A HREF="#tag/35"
><strong>
HP with LT Winmodem
</strong></a>
<dt><A HREF="#tag/36"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>about slackware --or--
<dd><A HREF="#tag/36"
><strong>
Linux to HP9000 Through RAS?
</strong></a>
<dt><A HREF="#tag/37"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>TCPMUX on Linux --or--
<dd><A HREF="#tag/37"
><strong>
TCPMux Revisited: You'll need a Daemon for it, or a Better inetd
</strong></a>
<dt><A HREF="#tag/38"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>probs --or--
<dd><A HREF="#tag/38"
><strong>
Overwrote NT with RedHat: Good Idea But Bad Move
</strong></a>
<dt><A HREF="#tag/39"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Need Advice --or--
<dd><A HREF="#tag/39"
><strong>
Partitioning Advice
</strong></a>
<dt><A HREF="#tag/40"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Unix emulator under Linux. --or--
<dd><A HREF="#tag/40"
><strong>
UNIX Emulation Under Linux? iBCS
</strong></a>
<dt><A HREF="#tag/41"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>PAM applications running as root (Was Re: WebTrends Enterprise Reporting Server)</strong></a>
<dt><A HREF="#tag/42"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Looking for help --or--
<dd><A HREF="#tag/42"
><strong>International Keyboard Mappings for</strong></a>
<dt><A HREF="#tag/43"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>rsh --or--
<dd><A HREF="#tag/43"
><strong>
Really Wants 'rsh' to Work. Really
</strong></a>
<dt><A HREF="#tag/44"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>RedHat 6.0 - various problems --or--
<dd><A HREF="#tag/44"
><strong>
Laundry List of RH 6.0 Problems or Hardware Blues
</strong></a>
<dt><A HREF="#tag/45"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>spying --or--
<dd><A HREF="#tag/45"
><strong>
More AOL Instant Messenger Spying
</strong></a>
<dt><A HREF="#tag/46"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>X respawning question and answer --or--
<dd><A HREF="#tag/46"
><strong>Another Solution, or a Different Problem</strong></a>
<dt><A HREF="#tag/47"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Using LILO to boot directly to dos --or--
<dd><A HREF="#tag/47"
><strong>Setting the LILO Default</strong></a>
<dt><A HREF="#tag/48"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>glibc --or--
<dd><A HREF="#tag/48"
><strong>Multiple Concurrently Installed Version of glibc</strong></a>
<dt><A HREF="#tag/49"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>lg #45: Limiting Internet Access through Cable Modems</strong></a>
<dt><A HREF="#tag/50"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
><strong>The Linux Startup Script?</strong></a>
<dt><A HREF="#tag/51"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Comcast and IPmasq --or--
<dd><A HREF="#tag/51"
><strong>Short names for Long Domains?</strong></a>
<dt><A HREF="#tag/52"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>serial port snooping --or--
<dd><A HREF="#tag/52"
><strong>Snooping on a Serial Port</strong></a>
<dt><A HREF="#tag/53"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>Maximal mount reached; check forced --or--
<dd><A HREF="#tag/53"
><strong>Maximal Mount Count Reached</strong></a>
<br>plus, Ted T'so replies.
<dt><A HREF="#tag/54"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>QUESTION --or--
<dd><A HREF="#tag/54"
><strong>Selecting a Lotus Notes Platform</strong></a>
<dt><A HREF="#tag/55"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>RedHat 6.0:Telnet has no login prompt --or--
<dd><A HREF="#tag/55"
><strong>"telnetd connected:" But No "login" Prompt</strong></a>
<dt><A HREF="#tag/56"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>A Staging Server --or--
<dd><A HREF="#tag/56"
><strong>Staging Server on localhost</strong></a>
<dt><A HREF="#tag/57"
><img src="../gx/dennis/qbub.gif" height="28" width="50"
alt="(?)" border="0"
></a>CDR used in scsi emulation --or--
<dd><A HREF="#tag/57"
><strong>Mounting CDs on IDE CDRW Drives</strong></a>
<!-- index_text ends -->
</DL>
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/greeting"><HR WIDTH="75%" ALIGN="center"></A>
<H3 align="left"><img src="../gx/dennis/bbubble.gif"
height="50" width="60" alt="(!) " border="0"
>Greetings from Jim Dennis</H3>
<!-- begin greeting -->
<p>I was working on a long, involved, probably tasty message to use
for my greetings this month. Unfortunately, it's long, involved, and I
think I want to rearrange it a bit, but don't have a lot of time because
we're heading down to L.A. to be with family -- specifically, a science
fiction convention we attend every year. </p>
<p>So, I'll aim for something less lofty. I'm finally getting a chance to
work a bit with my new improved workstation, and I must say I'm quite
pleased with console-apt (a curses interface for Debian's "apt" package
manager). We still have quite a mixed bag of distributions around the
house though. I think I might write an article comparing the various
package management styles available. I may or may not focus only on
Linux for that.</p>
<p>Sadly I get to spend even more time in Arizona after I get back. Most
people would call me crazy, but I like it a bit better when it's gray
and rainy -- reminds me of my youth in Oregon. </p>
<p>Happy Thanksgiving, everyone.</p>
<!-- end greeting -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/1"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 1 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Why Winmodems Don't Work Under Linux, Yet!</H3>
<p><strong>From Chuck Winters on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Why Winmodems Don't Work Under Linux, Yet!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
What is the difference between a winmodem and a regular modem and why
will it not work on a Linux box. I have been looking all over for this
information, and I can't find it. All I can find is that a Winmodem
doesn't work on a Linux box. Could you also put up some reference links
to some reading material on the web. Thanks.
</STRONG></P>
<P><STRONG>
Chuck Winters
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Check out <A HREF="http://linmodems.org"
>http://linmodems.org</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
Also look at my recent rants on the topic using the
Linux Gazette search engine (WebGlimpse)
(<A HREF="http://www.linuxgazette.com/search.html"
>http://www.linuxgazette.com/search.html</A>).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 1 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/2"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 2 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Linmodems.org</H3>
<p><strong>From Dick King on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Linmodems.org
~~~~~~~~~~~~~
:: -->
<P><STRONG>
It's kind of annoying. You can't tell by looking at the ad or
sometimes even the box [unless you notice that it requires a
Pentium, but they don't always admit that]. I would rather buy an
internal modem because the only space i have on my cluttered desk
is inside the tower and my transient absorber has no room for one
of those little power cubes
<IMG SRC="../gx/dennis/smily.gif" ALT=";-)"
height="24" width="20" align="middle"> but it looks like i need to go
external to be safe.
</STRONG></P>
<P><STRONG>
-dk
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
><DL><DT>
Try following the FAQ link somewhere under
<DD><A HREF="http://linmodems.org"
>http://linmodems.org</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
There is an interesting discussion about Linux support
for Winmodems and a link to someone else's FAQ for
identifying the bloody things.
</BLOCKQUOTE>
<BLOCKQUOTE>
(I like the idea of "linmodem" as a generic cheap
telephony interface card. We'll see what it does
to performance and all that, when someone ships code).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 2 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/3"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 3 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Major Hardware Problems</H3>
<p><strong>From Rian Kruger on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Major Hardware Problems
~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Here is my problem.
</STRONG></P>
<P><STRONG>
I have been asked to fix a computer which uses LILO to Boot and is
partitioned WinNT, Linux. Fine and Dandy.
</STRONG></P>
<P><STRONG>
The problem is that one morning the computer desides not boot.
All I get is LI_ where it should say LILO: and then boot up.
</STRONG></P>
<P><STRONG>
I have a rescue disk but this was created when installing Linux on
another machine. Both Destributions are <A HREF="http://www.redhat.com/">Red Hat</A>.
</STRONG></P>
<P><STRONG>
I insert the disk and start the machine
</STRONG></P>
<P><STRONG>
So then I get LILO: it then says type rescue, which I did...
Alls well, till the machine asks:
</STRONG></P>
<Pre><STRONG><BlockQuote>
VFS: Insert root floppy disk to be loaded into ramdisk and press ENTER
</BlockQuote></STRONG></Pre>
<P><STRONG>
On pressing error things go well enough for long enough to give you a
false sense of security before hitting you with.
</STRONG></P>
<Pre><STRONG>
floppy0: data CRC error: track 0, head 1, sector 12, size 2
floppy0: data CRC error: track 0, head 1, sector 12, size 2
end_request: I/O error, dev 02:00, sector 29
</STRONG></Pre>
<P><STRONG>
repeatedly
</STRONG></P>
<P><STRONG>
If I try to boot linux from the same Boot disk.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
[crash messages ellided]
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Thats when I got desperate and tried to boot from a NT repair disk (also
created on another machine during installation)
</STRONG></P>
<P><STRONG>
And the Computer Says:
</STRONG></P>
<Pre><STRONG><BlockQuote>
The emergency Repair Disk is not startable.
</BlockQuote></STRONG></Pre>
<P><STRONG>
Repairing a damaged Win Nt Installation is an option available at the
beginning of the win NT Instalation.
</STRONG></P>
<Pre><STRONG>
To start setup bla bla bla....
</STRONG></Pre>
<P><STRONG>
If I take this root, am I going to have to reformat the entire machine,
will I loose all the Linux info, How do I save the situation. Please
help, sagely advice would be much appreciated.
</STRONG></P>
<P><STRONG>
Thanks
<br>Rian
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Sounds like a bad controller, or a dead DMA
chip. Might be some memory that went wacky.
</BLOCKQUOTE>
<BLOCKQUOTE>
It sounds like hardware failure.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 3 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/4"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 4 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Clearing Lilo from MBR</H3>
<p><strong>From Norman Elliott on Thu, 23 Sep 1999
</strong></p>
<P><STRONG>
Just read the item on clearing lilo.
</STRONG></P>
<P><STRONG>
All I do is boot from a Dos ( 5 or greater ) boot disc and issue the
command:
</STRONG></P>
<P><STRONG><BlockQuote><Code>
fdisk <TT>/mbr</TT>
</Code></BlockQuote></STRONG></P>
<P><STRONG>
that seems to fix anything including boot sector viruses.
Maybe Linux fdisk would take the same parameter.
I enjoy your column, keep up the good work,
best wishes,
</STRONG></P>
<P><STRONG>
norm
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The <TT>/MBR</TT> option was undocumented and only introduced in
MS-DOS 5.0. I don't remember the question to which you
were referring. If I didn't mention FDISK <TT>/MBR</TT> it was
probably because I was not assuming that the user was
trying to restore an MS-DOS 5.0 or later boot loader
to their system.
</BLOCKQUOTE>
<BLOCKQUOTE>
Linux fdisk is a different program and doesn't
touch the boot code in the MBR. It only works on the
partition tables (which comprise the last 66 bytes of the
MBR and possibly a set of others for extended partitions).
</BLOCKQUOTE>
<BLOCKQUOTE>
There are several Linux programs which do write boot
records. <TT>/sbin/lilo</TT> is the most commonly used. 'dd'
will do in a pinch (if you have a .bin image to put into
place).
</BLOCKQUOTE>
<BLOCKQUOTE>
BTW: don't count on <TT>/MBR</TT> to fix a virus. Some viruses
encrypt portions of your filesystem, thus causing major
problems if they aren't removed corectly. To prevent
infection by boot sector viruses, disable the "floppy
boot" options in your BIOS. You should only enable those
long enough to perform an OS installation or system recovery
and disable it immediately thereafter. To prevent viral
infect by "multi-partite" and "file infector" viruses,
stop running MS-DOS. To avoid MS Windows macro viruses,
avoid MS Office, MS Exchange and related software (with
virus^H^H^H^H macroing hooks built into them).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 4 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/5"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 5 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Modem Problems on a Win '95 System</H3>
<p><strong>From Benedict, Kevin F on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Modem Problems on a Win '95 System
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I have a windows 95 system, and was using a U.S. Robotics 33 external modem.
It started working spiratically. I received a U.S. Robotics 56k external
modem as a gift. It was new. I hooked it up, and now my machine will not
boot up unless the modem is turned off, or the serial cable is unplugged.
The control panel identifiles com 2, . If I boot up, and then connect it,
and try to add it to the system, the system locks up. On boot up, the system
gets all the way to "starting windows 95" , access the cd rom drive light
briefly, then the modem trsl ight, then locks up. Microsoft says it is a
hardward problem, and U.S. Robotics took the modem in for service, and
returned it, saying nothing was wrong with it. I have replaced the cable,
with no effect. I can boot up in safe mode o.k.. Is there something that
could help me besides taking the machine into a shop? thanks for your
consideration.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well, it's an external modem. So, it will probably run
under Linux. Of course the machine might have problems
running Linux --- so you might want to replace that and your
OS. I'd start by just replacing MS Windows '9x with
Linux or <A HREF="http://www.freebsd.org/">FreeBSD</A>. See if that works.
</BLOCKQUOTE>
<BLOCKQUOTE>
BTW: I'm the Linux Gazette Answer Guy. You might want to
read some of the back issues, or the FAQ, to understand why
my answer is so obtuse. More importantly you might want to
actually READ some of the web pages that come up when you're
desperately searching for support that your software vendor
clearly is not providing. If you'd READ any of the links
from which you found my e-mail address then you might have
seen that I don't DO Windows. Most importantly you if you
READ before you e-mail question you won't sent "off-topic"
questions to UNIX, MacOS, and other "answer guys" that don't
DO Windows.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 5 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/6"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 6 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Setting COM port speeds</H3>
<p><strong>From Jason_Magill on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Setting COM port speeds
~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Answer Guy,
</STRONG></P>
<P><STRONG>
I have an application that I am running that requires me to read the
serial port (Com2). The problem is that I need to read it at 9600
7-E-1. How would you go about doing that so when the system is
rebooted it will automatically read the serial port at 9600 7-E-1?
</STRONG></P>
<P><STRONG>
I could really use your help.
</STRONG></P>
<P><STRONG>
Thanks,
Jason
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You should be able to do that with the following command:
</BLOCKQUOTE>
<blockquote><pre> stty 9600 parenb cs7 &lt; /dev/ttyS1
</pre></blockquote>
<BLOCKQUOTE>
... or something like that.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note you must redirect <EM>INPUT</EM> from the serial port to the
'stty' command. This is because the terminal settings are
accomplished through an<TT> ioctl()</TT>.
</BLOCKQUOTE>
<BLOCKQUOTE>
You might also look at the 'setserial' program. It
works a bit differently (and is Linux specific) whereas the
'stty' program has been around for UNIX for many years.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note also that we use ttyS1 for MS-DOS COM2. This is
because Linux counts these devices from zero. There is no
guarantee that Linux will detect these ports in the same
order as MS-DOS, but usually COM2 should be <TT>/dev/ttyS1.</TT>
</BLOCKQUOTE>
<BLOCKQUOTE>
The parenb is to set "parity even" (I don't know why the
have the "b" there --- for "byte" maybe?) and the cs7 is
to set the "character size." There are many other 'stty'
settings available. Read the 'man' page for details.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 6 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/7"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 7 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Virus Protection for Linux: A Non-Issue ... But....</H3>
<p><strong>From muzician on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Virus Protection for Linux: A Non-Issue ... But....
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Subject: Re: virus protection
I cant find any references to that. I am installing 6.0 for the
first time, and need to know what to do.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Basically viruses are a non-issue for Linux and other forms of
UNIX. While it is technically possible to create them, the
multi-user design of UNIX-like systems coupled with the
widespread practices that separate "normal use" (access to
applications, and user data) from "administration" (use by
'root' user) make the OS very hostile to virus propagation.
</BLOCKQUOTE>
<BLOCKQUOTE>
You can write a virus, but it won't spread.
</BLOCKQUOTE>
<BLOCKQUOTE>
This is one of the benefits to the convention of logging in as a
"normal user" for most of your Linux work and reserving the "root"
account for upgrading and installing software. Another benefit
is that it limits the damage you'll do with a careless user
command.
</BLOCKQUOTE>
<BLOCKQUOTE>
This is not to say that Linux and UNIX are immune to viruses,
trojan horses and other forms of hostile code. Far from
it. There are many programs that run with "root" privileges on a
typical installation. Any of these <EM>might</EM> be "tricked" into acting
on an attackers behalf. They can be subverted, which leads to
the compromise of the whole system's security.
</BLOCKQUOTE>
<BLOCKQUOTE>
Any program that can be "tricked" (subverted) into running
foreign code, or otherwise compromise the user's and system
administrator's intentions has a bug. When we find these bugs
we fix them.
</BLOCKQUOTE>
<BLOCKQUOTE>
Finding the ways in which such programs can be commandeered by
hostile users, and by anonymous attackers over networking
connections is an ongoing effort by thousands of programmers
throughout the open source community. There is nothing Linux
specific about these efforts. <A HREF="http://www.openbsd.org/">OpenBSD</A> (<A HREF="http://www.openbsd.org"
>http://www.openbsd.org</A>)
is most renowned for it's accomplishment of a comprehensive audit
of its own code. Some of that code is being re-ported to Linux
(for example the BSDish FTP daemon that's included with some
distributions).
</BLOCKQUOTE>
<BLOCKQUOTE>
Linux and UNIX code auditors tend to focus on programs that are
run "SUID" (with the effective permissions of the program's
owner, rather than those of the owner of the executing process)
and with "daemons" (programs that act as "servers" for network
protocols and provide other local services). These are the most
obvious cases where programs are an interface between "security
contexts."
</BLOCKQUOTE>
<BLOCKQUOTE>
For a cracker (any anonymous attacker of your systems) the
"mother lode" is a network process that runs as 'root' and
has a remotely exploitable bug (often a buffer overflow, a
particular sort of bug where an expected input is filled with
an excessively long response which contains some hostile code).
Finding one of these allows a cracker to remotely assume control
of a whole system.
</BLOCKQUOTE>
<BLOCKQUOTE>
These sorts of bugs are not specific to Linux, or UNIX. They're
possible under NT and most other operating systems as well. They
are commonly detected on UNIX systems and quickly fixed (and
occassionally re-introduced in future versions and new programs).
It is believed that there are about as many exploitable bugs in
NT and MacOS servers as there have been in Linux and UNIX. They
usually show up as "hangs" or "abends" (abnormal ends) in the
services or on those systems, rather than complete, interactive
exploitation.
</BLOCKQUOTE>
<BLOCKQUOTE>
(The reasons for this have to do with the rather poor remote
administration features and somewhat more complicated programming
models of these other systems). So on the surface NT and MacOS
seem to "failsafe" (die without giving the attacker access) ---
although this is probably an illusion, waiting to be dispelled by
the next generation of crackers).
</BLOCKQUOTE>
<BLOCKQUOTE>
Again, these are NOT viruses. However, they have similar
results, someone runs code on your system that you didn't approve
and don't want.
</BLOCKQUOTE>
<BLOCKQUOTE>
So these vulnerabilities (especially buffer overflows in network
daemons like popd, imapd, mountd, ftpd, etc) are the greatest
risk to the security of your system. That's why companies put
up firewalls. That's why sysadmins tell you not to leave
"ports open" (these services available) on your systems, or to
use TCP Wrappers (pre-installed on every major Linux
distribution) to limit the networks and systems that can access
those services that you REALLY need.
</BLOCKQUOTE>
<BLOCKQUOTE>
I mentioned that security auditors focus on SUID progams and
networking daemons. This is a matter of priorities as those are
the most "attractive" points for an attacker to probe. However,
we have to be aware that security auditing and robust code is
necessary ANY TIME A PROGRAM ACTS AS AN INTERFACE BETWEEN/AMONG
DIFFERENT SECURITY CONTEXTS.
</BLOCKQUOTE>
<BLOCKQUOTE>
We must be concerned about bugs IN ANY CODE THAT PROCESSES
UNTRUSTED DATA.
</BLOCKQUOTE>
<BLOCKQUOTE>
(I'm shouting about this since it is a point that is often
overlooked, even by some of the most respected programmers that I
know).
</BLOCKQUOTE>
<BLOCKQUOTE>
For example, when you sent me e-mail. Your mail comes from
one security context (the outside world, from a complete
stranger). My mail user agent (MUA) acts as an interface between
you data and me. If there's a bug in my mailer (or the editor
that my mailer invokes when I want to respond) then you might be
able to craft a piece of e-mail that will crash my program, and
possibly even subvert it.
</BLOCKQUOTE>
<BLOCKQUOTE>
Such a "black widow" would be very hard to write for any UNIX
mailer (though the addition of MIME handling features did
introduce some such bugs in some mailers). It would also be
limited in its effect. It probably could only affect one mailer
under one operating system. It might not propagate through POP
servers and/or through certain POP clients (like 'fetchmail').
</BLOCKQUOTE>
<BLOCKQUOTE>
There are dozens of common MUAs (mailers) used by UNIX and Linux
people. So any such bug is likely to only hurt a few of them
(and not propagate from them to others). Likewise for many
other classes of programs.
</BLOCKQUOTE>
<BLOCKQUOTE>
The worst security risks are incurred by "monocultures" (a term
borrowed from agriculture). If we all grow the same strains of
the same crops, one blight and we all starve. If a few of us
grow one strain, others grow a different crop, etc --- then the
damaged is limited and the blight doesn't spread as far or as
fast (since the various fields of any one crop/strain are
separated by buffer zones).
</BLOCKQUOTE>
<BLOCKQUOTE>
When you think about the effects of Melissa, and WinExplorere.zip
and the many other MS Windows macro viruses you see the inherent
risks in monoculture. (You also see that Microsoft added
features to their office suite and mail client which make it
easy to write trojans and worms).
</BLOCKQUOTE>
<BLOCKQUOTE>
Computer systems and networks exhibit similar characteristics in
the face of hostile programmers.
</BLOCKQUOTE>
<BLOCKQUOTE>
(In other words diversity is good. Some of us should run <A HREF="http://www.freebsd.org/">FreeBSD</A>,
Solaris, and some completely non-UNIX operating systems that
aren't even C derived. Some of us should run Linux on x86,
while others use Alphas, PowerPCs, etc. Uniformity has some
short-term cost and training benefits --- but that way lies
great danger!).
</BLOCKQUOTE>
<BLOCKQUOTE>
How bad is this danger?
</BLOCKQUOTE>
<BLOCKQUOTE>
Well, I've been running an experiment. I administer a system (a
web server for a small literary organization, a non-profit) which
is exposed to the Internet and gets very little administrative
attention. I tend not to upgrade it until I have to. It's been
cracked twice in three years. It <EM>probably</EM> hasn't been cracked
on other occasions since I actually do have a sneaky trick up my
sleeve that allows me to detect and recover from the garden
variety "script kiddie" attacks fairly quickly (and remotely). I
do say "probably" since anyone that asserts that he or she has
"never" been cracked or that he or she is "sure" that they are
secure is really a bit foolish. You can have a very high degree
of confidence --- but certaintly in this case is a sin.
</BLOCKQUOTE>
<BLOCKQUOTE>
That is on a box which is effectively "wide open." With a
modicum of configuration (not running inetd, limiting access
to any services you <EM>must</EM> run, updating your packages as bug
fixes are announced, etc) you can limit your chances of being
compromised to very low values. Read the Linux Security HOWTO
and with about five percent of the effort described there you'll
eliminate well over ninety percent of the risk.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note: Symantec is apparently shipping an anti-virus for Linux.
I've heard that Trend is also testing one. I guess these are
designed to catch the two strains of viruses that have been heard
of for Linux. I also gather that they will scan your system for
MS-DOS and Windows macro viruses (well over 10,000 of those).
This is to protect the clients that might be using your Linux
system as an FTP, Samba, or NFS server, and to save you from the
infection on your "other OS" on those multi-boot systems.
</BLOCKQUOTE>
<BLOCKQUOTE>
Personally I suggested to Symantec (back when I worked there)
that the best Linux product they could release would be a simple
terminal to the PCAnywhere package. Let me use a window on my
Linux system to remotely manage any MS Windows PC's that I have
to deal with.
</BLOCKQUOTE>
<BLOCKQUOTE>
They didn't listen, and now we don't need it. VNC (*) seems to
do the job well enough, and we may stomp out most of MS Windows
before Symantec could code up a new PC Anywhere client.
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(Apparently ORL got aquired, so VNC is now at:
<A HREF="http://www.uk.research.att.com/vnc"
>http://www.uk.research.att.com/vnc</A>)
There are also a couple of packages for UNIX (some with Linux
ports) that will scan your mail for embedded PC/MS-DOS viruses
as it's relayed through your mail server. This can help catch
many macro viruses (though the things are so easy to write that
the anti-virus software companies will always be a reactive
coping mechanism rather than a true solution).
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
Remember, a virus is just a bit of programming code. It does
things that most recipients don't want --- but nothing short of a
brilliant AI (artificial intelligence) can be relied upon to
distinguish a virus from any other (benign) program. "Heuristic"
virus scanners have been written --- they haven't fared
significantly better than the traditional reactive signature
scanners.
</BLOCKQUOTE>
<BLOCKQUOTE>
(I used to work for Symantec, and for McAfee. I've read, heard,
and dealt with far more about PC and Mac viruses than I can
possibly type here).
</BLOCKQUOTE>
<BLOCKQUOTE>
Summary: Don't worry about viruses on your Linux box. They
aren't a problem. As for the security concerns, just
lock down those stray networking services and don't give accounts
out on your system to people you don't trust. If all you do is
add the following to your <TT>/etc/hosts.deny:</TT>
</BLOCKQUOTE>
<BLOCKQUOTE><blockquote><code>
ALL:ALL
</code></blockquote></BLOCKQUOTE>
<BLOCKQUOTE>
... you've done plenty to secure your home system from the
occasional portscan attack through your dial-up ISP connection.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you read the Security HOWTO (*) by Kevin Fenzi and Dave Wreski
and follow most of their suggestions then you'll probably never
have a problem. Under Linux you can keep your system as
wide-open or just about as locked down as you like.
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(<A HREF="http://www.linuxdoc.org/HOWTO/Security-HOWTO.html"
>http://www.linuxdoc.org/HOWTO/Security-HOWTO.html</A>)
</UL></BLOCKQUOTE>
<!-- sig -->
<!-- end 7 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/8"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 8 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Telnet trouble</H3>
<p><strong>From Mathew on Sat, 25 Sep 1999
</strong></p>
Dear Jim
</UL>
<P><STRONG>
Your email did help me to solve the problem with the telnet in
linux. It works fine now. Thanks a million.....
</STRONG></P>
<P><STRONG>
I have a small doubt. Let me explain...... My network has a NT
server, LINUX server and 20 windows 95 clients. I followed your
instructions and added the address of all the clients into the
<TT>/etc/hosts</TT> file on the LINUX machine and voila the telnet worked
immediately.
</STRONG></P>
<P><STRONG>
But the NT server was the one who was running a DHCP server and
dynamically allocating the addresses to the clients. The clients
were configured to use DHCP and were not statically given and ip
addresses. I managed to see the current DHCP allocation for each
client and add those address into the <TT>/etc/hosts</TT> file on the LINUX
server but my doubt is what happens when the DHCP address for the
client changes? Then again we'll have to change the address in
the <TT>/etc/hosts</TT> file right? This seems silly. Is there anyway to
make the LINUX hosts file to automatically pick up the DHCP
address from the NT server?
</STRONG></P>
<P><STRONG>
Also another important thing is I am still unable to ping from the
NT server to the LINUX server using the name. It works only with
the IP address. Is there any way to make the NT DHCP to recognize
the LINUX server?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well, either you shouldn't use dynamic addressing
(DHCP) or you should use dynamic DNS. You could
also disable TCP Wrappers (edit your <TT>/etc/inetd.conf</TT>
to change lines like:
</BLOCKQUOTE>
<blockquote><pre>telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
</pre></blockquote>
<BLOCKQUOTE>
... to look more like:
</BLOCKQUOTE>
<blockquote><pre>telnet stream tcp nowait root /usr/sbin/in.telnetd in.telnetd
</pre></blockquote>
<BLOCKQUOTE>
(and comment out all of the services you don't
need while you're at it).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Thanks Jim for all your help....you've become my LINUX
guru.............
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Perhaps you should consider getting a support
contract (or joining a local users group). I may
not always respond as quickly nor as thoroughly
as you'd like.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Best Regards
<br>bob
</STRONG></P>
<!-- sig -->
<!-- end 8 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/9"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 9 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Quiet, Modem!</H3>
<p><strong>From qed on Fri, 24 Sep 1999
</strong></p>
<!-- ::
Quiet, Modem!
~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
I know this is a nitpicky thing, but I bounce back and forth between
Linux and that other operating system(Doors?), and the thing that's
bugging me is that I can turn off the modem noises in Win95, but I don't
know how to reroute them to <TT>/dev/null</TT> in Linux.
</STRONG></P>
<P><STRONG>
Later,
Jerry Boyd
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
><tt>
echo ATL0M0 &gt; /dev/modem</TT>
</BLOCKQUOTE>
<BLOCKQUOTE>
... Actually you want to add the <tt>L0M0</tt> (those are zeros)
to your init strings in whichever Linux programs you're
using with your modem (like your PPP chat scripts).
</BLOCKQUOTE>
<BLOCKQUOTE>
(You many want to check with your modem to make sure it
understands these AT commands --- but it should if it's
even moderately Hayes compatible).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 9 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/10"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 10 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Dual Booting without Re-Partitioning</H3>
<p><strong>From Hoyt on Fri, 17 Sep 1999
</strong></p>
<BLOCKQUOTE>
In addition to the suggestions you made, you could also look at Lnx4Win, a
Mandrake Linux product. Read more about it at
<A HREF="http://linuxforum.com/99/07/linux4win.html"
>http://linuxforum.com/99/07/linux4win.html</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
Hoyt
</BLOCKQUOTE>
<!-- end 10 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/11"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 11 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Regards from Argentina</H3>
<p><strong>From Horacio Pe<50>a on Wed, 15 Sep 1999
</strong></p>
<BLOCKQUOTE>
Jim and Heather:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
I just want to thank you for the extraordinary job you both are doing
with the "Answer Guy".
The whole Gazette is wonderfull; I have all issues, but the Answer Guy
is the first thing I read. I have learned a lot with it.
Carry on !
<br>PS: my regards to all folks at the Gazette.
</BlockQuote></BLOCKQUOTE>
<HR width="10%" align="left">
<BLOCKQUOTE>Horacio Pe<50>a - Quilmes Oeste
<br>[[ Argentina ]]
</BLOCKQUOTE>
<!-- end 11 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/12"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 12 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>re: Helpless (issue 45 of linuxgazette)</H3>
<p><strong>From Alex Brak on Thu, 9 Sep 1999
</strong></p>
<BLOCKQUOTE>
Hi,
</BLOCKQUOTE>
<BLOCKQUOTE>
In the Answer Guy article titled "Helpless"
(<A HREF="http://www.linuxgazette.com/issue44/tag/33.html"
>http://www.linuxgazette.com/issue44/tag/33.html</A>), I think Leslie was
referring to Data Access Objects (DAO), a Microsoft data access API/toolkit.
AFAIK, there's no Linux/Unix version, as it is a MS-proprietary technology.
</BLOCKQUOTE>
<BLOCKQUOTE>
btw, the answer to his/her question is that DAO will work on Win98, as it
did with Win95 -- he/she will, however, have to install the latest DAO
runtime redistributable K to develop software using DAO. One should be able to find it on the
Microsoft Developer Network site: <A HREF="http://msdn.microsoft.com"
>http://msdn.microsoft.com</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm not sure why leslie sent this to you of all ppl
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</BLOCKQUOTE>
<BLOCKQUOTE>
keep up the good work,
</BLOCKQUOTE>
<BLOCKQUOTE>
Alex Brak
</BLOCKQUOTE>
<!-- end 12 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/13"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 13 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Thanks!</H3>
<p><strong>From Moore, John R on Sat, 4 Sep 1999
</strong></p>
<BLOCKQUOTE>
Mr. Dennis:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
I just sent a pathetic pleading letter from a confused newbie (me)to an
author of a PPP HOWTO begging for some clarification on how to setup the
necessary files to communicate with my ISP using RH5.2.
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
In yet another desperate attempt to find the truth, I ran across you
response to some other poor souls similar dilema dated Tuesday August 31 of
this year.
</BLOCKQUOTE>
<BLOCKQUOTE>
Finally, some answers I think I can understand. You'd most certainly expire
laughing if you knew what I've been through to get on the net. Only now,
after reading your article, do I understand that I must create a script that
runs, rather than just typing in the commands at some terminal window.
</BLOCKQUOTE>
<BLOCKQUOTE>
It is no wonder that so many users run as fast as they can in the opposite
direction. In a time when the Linux community is trying to be "picked up"
by the corporate world and become a viable "player", I find it amusing that
so many in that same community can't understand why they get repelled rather
than attracted. I myself spent the past three weeks trying to configure my
one computer to establish a link on the internet without any success. Oh
sure, I was ble to get minicom to dial my ISP...ooohhh, look out big blue!
Watch out Bill Gates! C'mon corporate world...jump on the Linux band
wagon...we're great! I was beginning to suspect that most new members of the
Linux community are bald from pulling their hair out...I know I was getting
that way.
</BLOCKQUOTE>
<BLOCKQUOTE>
And then along comes your informative, albeit wordy (like myself) article
that will hopefully clear some of the haze. It is refreshing to read an
article that doesn't assume we all grew up in Berkley with nothing better to
g <TT>/etc/host</TT> for
hours on end. Still some assumptions were made, but hopefully, this time
next week, I'll be sending you email on a Linux box, looking over at my
Windows box with a sly grin, rather than visa versa with a look of total
frustration.
</BLOCKQUOTE>
<BLOCKQUOTE>
Sincerely,
</BLOCKQUOTE>
<BLOCKQUOTE>
John Moore
</BLOCKQUOTE>
<!-- end 13 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/14"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 14 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Just Buy a REAL Modem</H3>
<p><strong>From Jonathan J. Rakocy on Thu, 26 Aug 1999
</strong></p>
<BLOCKQUOTE>
Dear AnswerGuy,
</BLOCKQUOTE>
<BLOCKQUOTE>
Well thanks for your response answer guy. I apprieciarte the prompt reply.
</BLOCKQUOTE>
<BLOCKQUOTE>
To the tech store i go! Happy computing and maybe I talk to you again?
I f you have a mailing list add me if possible. Thanks again!
</BLOCKQUOTE>
<BLOCKQUOTE>
Sincerely
Jonathan Rakocy &lt;lunar&gt;
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE>
At 09:48 PM 8/25/99 -0700, you wrote:
</CODE></BLOCKQUOTE></BLOCKQUOTE>
<!-- ::<BlockQuote>
Just Buy a REAL Modem
~~~~~~~~~~~~~~~~~~~~~
</BlockQuote>:: -->
<P><STRONG><FONT COLOR="#000066"><EM>
Hello answer guy. My name is Jonathan. I am a tired windows user
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM>
trying to educate myself on the in and outs of open source, and in my
case linux. i love the idea and concepts behind it. I've been
downloading pages and saveing links. buying books and reading till 3 in
the morning like now.
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM>
so to my point. First i installed linux along side windows. i need
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM>
it ( unfortunatly for school so far). ihope to learn how to work
around it. but as you probably know by now, i am quite green. I ve not
been able to connect ot the www. Now it comes down to the modem i
think. i have a winmodem and i ve recently learned that the y are junk.
after reading the essay on them in the gazette, my fears are
confirmed. do i truely lose? or is there something i can do? say
rewrite something? where can i find more in formation on this or do i
just go buy a new modem if i wnat to continue? thanks for your
patience. it is late and my eyes are blurry. have a good day.
Sincerely
Jonathan Rakocy
linux Supporter
</EM></FONT></STRONG></P>
<P><STRONG>
The answer is still:
</STRONG></P>
<P><STRONG><BlockQuote>
Just Buy a REAL Modem!
</BlockQuote></STRONG></P>
<!-- sig -->
<!-- end 14 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/15"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 15 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Telnet gives: "Connection closed by foreign host..."</H3>
<p><strong>From Martin Osvaldo Mauri on Wed, 13 Oct 1999
</strong></p>
<!-- ::
Telnet gives: "Connection closed by foreign host..."
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Dear James:
</STRONG></P>
<P><STRONG><BlockQuote>
I've had a problem with <A HREF="http://www.redhat.com/">Red Hat</A> 6.0 while trying to telnet from
one machine to another. All the configurationfiles seems to be
OK, but when I telnet, it gives me the message "connection
closed by foreign host..."
</BlockQuote></STRONG></P>
<P><STRONG>
Any suggestion?
best regards,
</STRONG></P>
<P><STRONG>
Martin O. Mauri
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
What does the syslog (<TT>/var/log/messages</TT>) say on
the server?
</BLOCKQUOTE>
<BLOCKQUOTE>
This message indicates that the remote system is
disconnecting you. Probably the remote system is
enforcing some security or access policy, or you're
missing a file (such as the <TT>/usr/sbin/in.telnetd</TT>
program).
</BLOCKQUOTE>
<BLOCKQUOTE>
I'd look at the <TT>/etc/hosts.allow</TT> and <TT>/etc/hosts.deny</TT>
files. I'd also look at the <TT>/etc/inetd.conf</TT> file.
</BLOCKQUOTE>
<BLOCKQUOTE>
In <TT>/etc/hosts.allow</TT> and hosts.deny there might be a
set of rules specifying a list of services (such as
in.telnetd). Each of these services can be associated
with a list of host/domain and network address patterns.
Entries in the hosts.allow are allowed to access the
specified services while entries in the hosts.deny
are disconnected (as you described). All attempts to
access any service are logged.
</BLOCKQUOTE>
<BLOCKQUOTE>
There are two groups of network services for which
access can be controlled through these two hosts files:
those that are dynamically launched through the 'inetd'
dispatcher (any lines that refer to <TT>/usr/sbin/tcpd</TT>), and
any "standalone" services which are linked to the "libwrap"
libraries (such as the portmapper daemon that's shipped
with most Linux distributions).
</BLOCKQUOTE>
<BLOCKQUOTE>
At a guess I'd say that your problem is not related to
entries in <TT>/etc/hosts.allow</TT> and <TT>/etc/hosts.deny.</TT> Most
Linux distributions ship with those as empty files; they're
just placeholders with comments.
</BLOCKQUOTE>
<BLOCKQUOTE>
It's more likely that you're actually missing your
<TT>/usr/sbin/in.telnetd.</TT> This should show up in your logs
as a message like: "unable to execute"
</BLOCKQUOTE>
<BLOCKQUOTE>
If that's the case: mount up your CD (on the server),
change to the RPMS directory and type a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
rpm -Uvh telnet*.rpm
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
... that should install the telnet server and client.
Red Hat 5.2 used to put those both in a single package.
I don't remember if RH 6.0 split those into separate
packages or not.
</BLOCKQUOTE>
<BLOCKQUOTE>
While you're thinking about this you should consider
avoiding telnet, rsh, and other insecure protocols. They
are not appropriate for use over untrusted networks.
The telnet protocol transmits all information as "plain"
text. This means that your passwords can be "sniffed"
as you type them into your login and 'su' prompts.
</BLOCKQUOTE>
<BLOCKQUOTE>
We won't even get into the many problems posed by
rsh/rlogin. Suffice it to say that these suffer from
a very weak authentication model in addition to being
"sniffable."
</BLOCKQUOTE>
<BLOCKQUOTE>
So, you may want to install a set of cryptographically
secure tools for your remote access needs. 'ssh' is a
secure (cryptographically enabled) program that works
like rsh and rlogin. It's the most popular tool for this
sort of work. There are also tools like STEL (secure
telnet) and ssltelnet.
</BLOCKQUOTE>
<BLOCKQUOTE>
Most of these are freely available. ssh version 2 is only
free for some forms of "personal use" while the older ssh
version 1.2 is free for a broader interpretation of
"personal use." STEL was developed by the Italian
CERT (computer emergency response team) and is ...
</BLOCKQUOTE>
<BLOCKQUOTE>
I've talked about the many free cryptography tools
available for Linux in a previous column
(The Answer Guy 35: FS Security using Linux
<A HREF="http://www.linuxgazette.com/issue35/tag/crypto.html"
>http://www.linuxgazette.com/issue35/tag/crypto.html</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
I hope most of those links are still valid. Meanwhile
let me assure you that the most useful site on the
Internet for getting free crypto packages is still:
Replay Associates (<A stub="http://www.replay.com"
>http://www.replay.com</A>).
</BLOCKQUOTE>
<p><em>[ Replay Associates has moved to
<a href="http://www.zedz.net/"
>http://www.zedz.net/</a>. Apparently ReplayTV really
wanted the name they had
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle"> -- Heather ]</em></p>
<BLOCKQUOTE>
They currently have one of my favorite Latin quotes
on their web page:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
"Quis custodiet ipsos custodes?"
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
Hope that helps.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 15 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/16"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 16 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Multiple Root Accounts: Delegation</H3>
<p><strong>From R Dalton on Wed, 13 Oct 1999
</strong></p>
<!-- ::
Multiple Root Accounts: Delegation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hello Answer Guy
</STRONG></P>
<P><STRONG>
I'm wondering if it is possible to setup multiple root
accounts on a linux system for more than one
unix admin to monitor a system ?
</STRONG></P>
<P><STRONG>
If this is possible how ?
also can they have different root directories ?
</STRONG></P>
<P><STRONG>
Thanks.
R Dalton
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It is possible to have multiple accounts with
'root' privileges. The easiest way is to
edit the <TT>/etc/passwd</TT> file (using 'vipw') and
make extra copies of the line that starts with
"root" (the root account entry).
</BLOCKQUOTE>
<BLOCKQUOTE>
Then you edit the login name field (the first one),
and the full name (GECOS) field, the home directory
field, and the shell field. Then you issue the
'passwd' command to set each of the initial passwords
for each of these.
</BLOCKQUOTE>
<BLOCKQUOTE>
Example (excerpt from an <TT>/etc/passwd</TT> file):
</BLOCKQUOTE>
<blockquote><pre>root:x:0:0:root:/root:/bin/bash
toor:x:0:0:Alternative Root Acct:/root:/bin/bash
ruut:x:0:0:Cracker Jack:/root:usr/bin/pdksh
jonroot:x:0:0:Jon Doe:/home/jon/root:/bin/bash
tomroot:x:0:0:Tom Boote:/home/tom/root:/bin/bash
jillroot:x:0:0:Jill Tedd:/home/jill/root:/bin/tcsh
jimd:x:500:123:Jim Dennis:/home/jimd:/bin/bash
</pre></blockquote>
<BLOCKQUOTE>
In this example I have the customary root account
followed by 'toor' ("root" backwards) and 'ruut'
(punny spelling of "root"). Then I have a set of
root equivalent accounts for Jon, Tom, and Jill.
</BLOCKQUOTE>
<BLOCKQUOTE>
I've followed those entries with a token "normal"
user account for comparison. The only important detail
is that the 3rd field on the root equivalent accounts
is set to '0' while all non-root accounts have other
numbers (UIDs).
</BLOCKQUOTE>
<BLOCKQUOTE>
All kernel and filesystem data structures that store and
manipulate ownership (of files, processes, etc) and check
permissions use the numeric UID. The <TT>/etc/passwd</TT> file is
the primary way to map names to UIDs and vice versa.
</BLOCKQUOTE>
<BLOCKQUOTE>
Note that this works in any form of UNIX. However,
it is not necessarily the best way to do things.
Some programs will do get a login name by looking up
the UID. When we have non-unique UIDs, we can confuse
those programs (of course, you probably shouldn't be
running those programs as 'root' anyway).
</BLOCKQUOTE>
<BLOCKQUOTE>
There are other potential problems with this strategy.
Obviously having more people and more passwords that
give the same level of access increases the risk that
unauthorized people will guess or steal those passwords,
or trick one of the admins into doing "bad things"
(social engineering). Also this mechanism provides
no tracking of who did what. There is no way to
distinquish between what jillroot and tomroot did (since
they have the same UID --- which is all the system uses
for marking file ownership and checking privileges).
</BLOCKQUOTE>
<BLOCKQUOTE>
A better way for most situations is to install ' <TT>sudo</TT>'
</BLOCKQUOTE>
<BLOCKQUOTE>
The sudo package allows you to selectively give
access to specific users and groups, allowing them to
execute specific programs and with specific options.
The users run the 'sudo' command, which prompts them
for their own (normal user account) password.
</BLOCKQUOTE>
<BLOCKQUOTE>
In your case you might just start by installing sudo
and configuring it to allow access to a command
shell (<TT>/bin/sh</TT> and/or <TT>/bin/bash</TT>). That's pretty
simple. It effectively gives you the benefits
of the multiple account entries (though it doesn't
set up separate home directories). One advantage
is that it does logging of who used which sudo commands
at what time.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Obviously a 'root' user can edit the local syslog
entries and can stop, restart, and resplace the local
syslogd daemon to "cover his tracks" --- 'sudo' to
root access doesn't protect you from unreasonable
expectations. But the logging can help a bit).
</BLOCKQUOTE>
<BLOCKQUOTE>
As you more clearly define the precise operations
that you need to delegate; you can edit your
<TT>/etc/sudoers</TT> file to more precisely limit your users
and groups to those specific programs and scripts
that they need.
</BLOCKQUOTE>
<BLOCKQUOTE>
The sudoers file is relatively to understand.
</BLOCKQUOTE>
<BLOCKQUOTE>
The only confusing part is that its entries refer to network
hosts and "netgroups" (a Sun NIS concept). This is intended
to allow sites to create a single <TT>/etc/sudoers</TT> file and
distribute that to all of their systems. The reason I found
this confusing when I first installed 'sudo' is that 'sudo'
itself doesn't providing any networking or distribution
mechanism (and the man page doesn't actually explain <EM>why</EM>
they put these hostname references there or how you'd use
them). It assumes that the sysadmins using the package
will want to create a uniform sudoers file and know how to
do it (through rdist, ssh/scp, rsync, etc).
</BLOCKQUOTE>
<BLOCKQUOTE>
cfengine is another package you might want to consider.
It has nothing to do with authority delegation (giving
out root privileges to more users), but may be useful for
automating your system monitoring and configuration
tasks.
</BLOCKQUOTE>
<BLOCKQUOTE>
cfengine is a host configuration utility. It implements a
language to describe certain sorts of system administration
policies and corrective actions. It's an intriguing
concept that I've only played with a little bit. However,
it is gaining popularity in sysadmin circles (along with
the healthy respect that one reserves for a loaded firearm
--- one mistake in a cfengine script can make thousands of
changes on hundreds of hosts).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 16 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/17"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 17 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Soundcard Drivers for Win '98?</H3>
<p><strong>From Adam Moore on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Soundcard Drivers for Win '98?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
hello i'm currently trying to find a driver for the OPL3
YAMAHA/SAx sound card for win98 any help you can give me would be
appreciated.
</STRONG></P>
<P><STRONG>
thanks
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I don't do (MS) Windows. Contact Microsoft, or your
sound card manufacturer, or your local retailer.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 17 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/18"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 18 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Author Responds to "gdm Murdered Mysteriously"</H3>
<p><strong>From Martin K. Petersen on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Author Responds to "gdm Murdered Mysteriously"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><BlockQuote>
Sorry about the delay. I've been attending Linux Kongress the past
week.
</BlockQuote></STRONG></P>
<P><STRONG><FONT COLOR="#000099"><EM>
The fact that the version of <A HREF="http://www.gnome.org/">GNOME</A> gdm that shipped with <A HREF="http://www.redhat.com/">Red Hat</A>
6.x can't gracefully handle (clean up after) an inadvertant
shutdown or other mishap is very disappointing.
</EM></FONT></STRONG></P>
<P><STRONG>
Well, contrary to common belief X display management isn't trivial at
all. Since gdm is a complete redesign/rewrite of xdm, it is bound to
have problems. I have never tried to conceal the fact that gdm has
issues. It even says so on the web page.
</STRONG></P>
<P><STRONG>
That being said, gdm works ok for local display management, provided
the X server is relatively well behaved (i.e. not buggy).
</STRONG></P>
<P><STRONG><FONT COLOR="#000099"><EM>
The fact that the version of GNOME gdm that shipped with Red Hat
6.x can't gracefully handle (clean up after) an inadvertant
shutdown
</EM></FONT></STRONG></P>
<P><STRONG>
Yes it can. You're speculating.
</STRONG></P>
<P><STRONG>
I find it disappointing that a person like you, who has been in the
Linux business for several years, resorts to spreading FUD. Don't
answer questions, if you don't know the answer.
</STRONG></P>
<P><STRONG>
The right answer here, like in 99% of all other cases concerning
system daemons, would be to consult the syslog.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I believe I did consult the syslogs. I
remember that I did have to remove some sort of
lock file or something before I could get gdm working
again (but I don't remember the details).
</BLOCKQUOTE>
<P><STRONG><FONT COLOR="#000099"><EM><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I did NOT see this question listed in their FAQ (which surprises
me, since I would think that this would be a very commonly
encountered problem among RH6/GNOME users).
However, I did find a link to a bug tracking system. From there I
searched for messages related to our "murdered mysteriously"
problem. There was some indication that Martin K. Petersen is
the contact for gdm and that he posted patches to resolve that
(and several other) gdm issues.
</EM></FONT></STRONG></P>
<P><STRONG>
The &quot;murdered mysteriously&quot; message is a non-critical warning, not a
failure. Thus it hasn't and never will be &quot;fixed&quot;. Neither have I
posted any patches to resolve it.
</STRONG></P>
<P><STRONG>
The message indicates that something killed the master gdm process or
something left Xlib in a state which it couldn't handle gracefully.
I.e. gdm was forced to about without cleaning up. However, this
doesn't affect subsequent startups in any way.
</STRONG></P>
<P><STRONG>
/Martin
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This suggests that a simple [Ctrl][Alt][BackSpace] or
a 'telinit q' command should restore 'gdm' to functioning.
Or is there some sort of state preserved by Xlib
in the filesystem?
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm sorry if my message offended you. I was frustrated
when I first encounted this error message (in front of a
class full of new Linux students, in fact) and I seem to
recall that the problem persisted through a reboot, and
required some fussing with lockfiles or unix domain socket
entries, or something.
</BLOCKQUOTE>
<BLOCKQUOTE>
I was also frustrated when I got the question for my
column.
</BLOCKQUOTE>
<BLOCKQUOTE>
Since I don't run GNOME on my home systems or my workstation
I don't have an easy way to attempt to reproduce the problem
myself. The user didn't provide me with much info either.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Thus I am forced to speculate: frequently and for many of
my answers. I try to let people know when I'm guessing
and when I'm speaking from first hand experience. Sometimes
I fail).
</BLOCKQUOTE>
<BLOCKQUOTE>
I have seen Red Hat 6.0 systems FAIL to bring up gdm
in a persistent way. I've seen the message "gdm murdered
mysteriously" associated with this failure. It might not
be a failure of gdm's --- but the gdm error message is
certainly occurring at about the same time.
</BLOCKQUOTE>
<BLOCKQUOTE>
Anyway, hopefully GNOME will be more stable in Red Hat 6.2
or 6.3. Overall I think Red Hat Inc has been pushing it
on to too many desktops a little too quickly.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 18 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/19"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 19 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Upgrade to 6.2 from 6.1 Disables Login</H3>
<p><strong>From Dave on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Upgrade to <A HREF="http://www.suse.com/">S.u.S.E.</A> 6.2 from 6.1 Disables Login
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I recently began setting up a SuSE linux system to replace my Win9x system.
The installation of SuSE 6.1 went great. As well as XFree86 and several
software packages including Netscape and RealPlayer.
</STRONG></P>
<P><STRONG>
While under X I installed the base RPM upgrades for SuSE 6.2. The only
packages it replaced are at
<A HREF="ftp://ftp.suse.com/pub/suse/i386/update/6.2/a1"
>ftp://ftp.suse.com/pub/suse/i386/update/6.2/a1</A>.
</STRONG></P>
<P><STRONG>
Nothing that would affect my logging I thought. After logging out
as root I was unable to log back in as root or my user account.
It would just give me and "invalid login" message. I tried going
into rescue mode and clearing the root password entry in the
<TT>/etc/shadow</TT> file as well as the <TT>/etc/passwd</TT> file.
</STRONG></P>
<P><STRONG>
The login error remains. Can you give any suggestions as to where the
source of this problem might be?
</STRONG></P>
<P><STRONG>
Thanks,
-- Dave N.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
My wife just did the same thing this weekend. She's
still working on it. Her plan is to push forward
with the full system upgrade. She's using one of the
other systems to fetch all the RPMs to a local mirror
(since full FTP installation/upgrade over the Internet
is far too unreliable to complete; she tried that
already).
</BLOCKQUOTE>
<BLOCKQUOTE>
So, she's still waiting on the DSL line to finish that
process. She has a <A HREF="http://www.debian.org/">Debian</A> laptop and we have a couple of
others Linux boxes around, so it's not like she's totally stuck.
</BLOCKQUOTE>
<p><em>[ I was solved fairly quickly once I got enough of the
base back in sync with itself. Because I was foolish enough to
do my update over the net (I was too impatient to wait for the
boxed copy to arrive at my local store) I had to wait for hours
that were lightly travelled around here, and a mirror that had
free ftp logins available around that hour. </em></p>
<p><em>Many things about my system seem more stable now, although gimp
and enlightenment appear to have an allergy with each other.
-- Heather ] </em></p>
<BLOCKQUOTE>
I would guess that there's a problem with the libc
libraries. I guess that S.u.S.E. 6.2 installs glibc 2.1
libraries. Some of the programs that are linked to glibc2
(libc.so.6) are failing on some differences between 2.0 and
2.1. (Those programs probably should have been linked more
tightly --- to 2.0 rather than just 2).
</BLOCKQUOTE>
<BLOCKQUOTE>
Anyway, your best best is probably to push forward and
upgrade the whole system. You might be able to temporarily
fix your system (well enough to log in) by booting from
a rescue floppy, mounting your root filesystem and tweaking
the symlinks under <TT>/lib.</TT> Basically make the libc.so.2
link point to libc.so.2.0 rather than libc.so.2.1. (If the
links don't look something like that when you get there,
it blows my theory; there'd have to be something else
wrong). If you do find the symlinks wrapped like I'm
thinking --- change them around, cd to the root of
filesystem (the top level mount point below your rescue,
usually <TT>/mnt</TT>) and run the command:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
usr/sbin/chroot . <TT>/sbin/ldconfig</TT>
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... that should force the ldconfig command to execute
properly on your filesystem tree.
</BLOCKQUOTE>
<BLOCKQUOTE>
This "chroot" stuff is very handy for working on rescue
disks. You boot on the rescue, mount your normal
filesystems under <TT>/mnt</TT>, cd to there and "chroot . <TT>/bin/sh</TT>"
Then you can work on your normal fs structure and the
commands you use like <TT>/sbin/lilo</TT>, rpm, ldconfig, passwd,
et al, will all find things where they're "supposed to be"
(like the <TT>/etc</TT> directory, the rpm dbm files under
<TT>/var/lib/redhat</TT>, and the <TT>/lib</TT> directory).
</BLOCKQUOTE>
<BLOCKQUOTE>
It's a bit confusing to describe. Play with it a bit and
see what you figure out.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 19 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/20"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 20 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Euphoria</H3>
<p><strong>From Greg Phillips on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Euphoria
~~~~~~~~
:: -->
<P><STRONG>
I've been using Doslinux for quite some time now, and am quite
impressed. Unfortunately, Kent Robotti doesn't answer his email, it
seems =)
</STRONG></P>
<P><STRONG>
I'm a member of a mailing list, which pertains to Euphoria. No, not
intense joy, but a relatively new and unknown programming language.
While the number of users is small, we're very passionate about
Euphoria. Recently, a linux version was released, and many users wanted
to use it. A fair chunk of them were hesitant to repartition their
hardrive and install a new OS, so I recommended Doslinux. While it
worked well for some users, others had trouble installing Euphoria, and
other applications. This was no fault of their own: Doslinux
documentation is a little bit skimpy, if you're new to Linux and don't
know where to look. Being the resident Doslinux veteran, I was soon
flooded with questions (How do I install X? How can I get <A HREF="http://www.kde.org/">KDE</A> to run?
How do I log in? Why doesn't this work?). So I opted to make a CD for
the Eu community, with Doslinux, all the extras (gcc, x, kde or gnome,
euphoria, etc.) already installed. Unfortunately this proved to be a
lot of work. Trying to stuff a bunch of software into a pre-made
distribution was getting to be painful.
</STRONG></P>
<P><STRONG>
So, after some reading, experimenting, etc., I decided to create
EuLinux. The same idea as Doslinux, but customized towards Euphoria
users. So, here's my question: How?
</STRONG></P>
<P><STRONG>
I've read everything I can get my eyes on, and, as I understand
it, this is how DOSLinux works in a nutshell:
It uses a loopback filesystem as the root device.
</STRONG></P>
<P><STRONG>
To install the whole system, a ramdisk device is mounted, which is used
to create an empty file of a fixed size on the dos partition.
The linux system can then be copied into that empty file, which can be
booted with LOADLIN.
</STRONG></P>
<P><STRONG>
I know there's a lot more to that, but I hope I've got the basics
correct.
</STRONG></P>
<P><STRONG>
Am I right? Can you point me to some documentation? Is it even worth
trying?
</STRONG></P>
<P><STRONG>
Thank you,
Greg Phillips
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well, it certainly sounds like an interesting
and worthwhile project. However, I might suggest
a slightly different approach.
</BLOCKQUOTE>
<BLOCKQUOTE>
It would be nice if <A HREF="http://www.debian.org/">Debian</A> could be installed
on a FAT filesystem (sort of a blend of DOSLinux and
Debian). Then you could create a Debian package
(and an RPM). This would make Euphoria accessible
to most Linux users with a minimum of fuss while
make DOSLinux capable of installing a very large number
of well-maintained packages.
</BLOCKQUOTE>
<BLOCKQUOTE>
I suggest the DOSLinux/Debian merge for a couple of
reasons.
</BLOCKQUOTE>
<BLOCKQUOTE>
First Debian has more packages that <A HREF="http://www.redhat.com/">Red Hat</A>, <A HREF="http://www.suse.com/">S.u.S.E.</A> etc.
Many Debian packages are smaller and more focused, while Red
Hat tends to put more stuff in a given package. That leads
to coarser dependency granularity for Red Hat.
</BLOCKQUOTE>
<BLOCKQUOTE>
Also Debian has developed "virtual packages" and
"alternatives" which allow for more choices without having
to work around the dependency/conflict management features
of its packaging system. (For example in Debian some
packages depend on "MTA" which is a virtual package that can
be provided by exim, sendmail, qmail, etc).
</BLOCKQUOTE>
<BLOCKQUOTE>
Debian packages tend to "fit together" a bit better than
those from Red Hat and other RPM distributions. Debian are
hundreds of volunteer maintainers. Many of those maintainers
tend to more proactively patch the base sources and feed their
patches "upstream" (to the program authors). They seem to
have closer ties between their package maintainers and the
software authors (probably since there are so many
maintainers, so each can afford a bit more time on the few
packages that each one maintains).
</BLOCKQUOTE>
<BLOCKQUOTE>
Meanwhile Red Hat, <A HREF="http://www.caldera.com/">Caldera</A>, S.u.S.E., TurboLinux and other
distribution maintainers each have a smaller number of
professional developers. The various RPM distributions tend
not to have compatible package dependencies and they
duplicate quite a bit of the packaging effort.
</BLOCKQUOTE>
<BLOCKQUOTE>
Keep in mind that the core software among all of these is
mostly the same. The differences show up in packaging,
dependency and conflict management, and configuration tools.
Debian package configuration mostly falls into the "it's
ugly but it works" model --- where a package might prompt
for one to five answers (with reasonable defaults). This
is done basically as a simple list of "echo/read" (shell
script) questions. It's not pretty, but it is elegant and
minimal --- and it works better than linuxconf.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Don't get me started about linuxconf. I've banned that
from my systems until further notice!)
</BLOCKQUOTE>
<BLOCKQUOTE>
So, that's what I'd like to see. A DOSLinux that could be
used as the base system for a Debian system. (For that
matter any improvement to the Debian bases system install
would be welcome. It's a really good system once you get
it up --- but that first step is still a bit of a doozy.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 20 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/21"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 21 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Dell EIDE TR5 Tape Drive</H3>
<p><strong>From Yixin Diao on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Dell EIDE TR5 Tape Drive
~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi, Jim,
</STRONG></P>
<P><STRONG>
I know you after I read your message "Open Letter Re: Linux on Dell
Hardware". May I ask you a question? Can Dell's tape drive "10/20GB EIDE
TR5 Tape Backup" work well under Linux?
</STRONG></P>
<P><STRONG>
Thanks!
Yixin
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Ahh Yes! The old "open letter to Dell." Of course I can't
take any credit for the fact that Dell does now offer Linux
pre-installed on selected models. I don't even know if my
letter ever made it to Micheal Dell or anyone beyond
"secretary." Ironically I work for the company that
provides Linux technical support to Dell.
</BLOCKQUOTE>
<BLOCKQUOTE>
I haven't played with any TR5 tape drives. However,
I suspect that it should work. Be sure to compile a kernel
with support for IDE tape drives (it's in the menuconfig
options after IDE CD-ROM drives, and IDE hard drives).
</BLOCKQUOTE>
<BLOCKQUOTE>
According to <TT>/usr/src/linux/Documentation/ide.txt</TT>
you should be able to use <TT>/dev/ht0</TT> to access your IDE
tape drive, just as you'd use <TT>/dev/st0</TT> to work with a
SCSI tape drive.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 21 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/22"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 22 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>FTP Daemon: Special Requirements</H3>
<p><strong>From William Dawson on Tue, 12 Oct 1999
</strong></p>
<!-- ::
FTP Daemon: Special Requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hello, Mr. Dennis.
</STRONG></P>
<P><STRONG>
I'm in desperate need of help...I'm down to only one functioning
nerve...
</STRONG></P>
<P><STRONG>
After much brain-strain and (I don't mind saying) heavy persistence, I
finally found the right man pages to tell me how to change the port that
ftp listens on, and other things of the like. My problem now is that
can't seem to figure out how to set the maximum number of simultaneous
ftp users (limit&lt;class&gt;&lt;n&gt;&lt;times&gt;&lt;message_file&gt; seems not to work in the
ftpaccess file...&lt;times&gt; format is of particular concern). Also, how do
I limit users to only one ftp connection (login) at a time?
</STRONG></P>
<P><STRONG>
If you can help me out with any of this, I would be eternally grateful.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Are you sure you're running WU-ftpd? Other FTP daemons
don't necessary read the <TT>/etc/ftpaccess</TT> file.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you're using the BSD ftpd (possibly reported from
<A HREF="http://www.openbsd.org/">OpenBSD</A>) then it would ignore <TT>/etc/ftpaccess</TT> (unless
then changed it). If you're using ProFTPd, BeroFTPd,
or ncftpd then you'd use different files to configure
each of them.
</BLOCKQUOTE>
<BLOCKQUOTE>
Also are you SURE you want to change the port on which
you are running your FTP daemon. I could see cases where
you might want your ftpd to selectively bind to some
interfaces or IP aliases and to ignore others (which
means that you can support FTP virtual hosting, among
other things). However, running it on a different port
seems like a bad idea since many FTP clients (especially
those in MS Windows) don't offer options to connect to
non-standard ports.
</BLOCKQUOTE>
<BLOCKQUOTE>
The limit directive in the WU-FTPD doesn't give you
a way to limit the number of concurrent connections
<EM>PER USER</EM>. (At least I don't remember such a thing).
It's intended to limit the total number of connections
for each "class" of users (mostly to insure that
anonymous users don't bog the machine down so much
that your own employees, students, etc can't access the
system).
</BLOCKQUOTE>
<BLOCKQUOTE>
I think you might want to look at the documentation
for the ProFTPd and/or the ncftpd packages before you
fight too much with your current FTP daemon. Please
note that ProFTPd has been hit with a couple of
security exploits recently --- so make sure you get the
most recent version (with bug fixes) and you what the
'net for alerts. There may be more bugs waiting to be
discovered in this package. (Of course that's true in
every software package. But some have a better reputation
than others; and write now WU-FTPD and ProFTPd are at the
high end of that reputation scale.).
</BLOCKQUOTE>
<BLOCKQUOTE>
ncftpd is not free software. However, Mike Gleason, its
author has a good reputation in the open source community.
His ncftp CLIENT is free and is one of the best.
</BLOCKQUOTE>
<BLOCKQUOTE>
You can find these at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
NcFTP Software
<DD><A HREF="http://www.ncftp.com"
>http://www.ncftp.com</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
ProFTPd
<DD><A HREF="http://www.proftpd.org"
>http://www.proftpd.org</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
WU-ftpd
<DD><A HREF="http://www.wu-ftpd.org"
>http://www.wu-ftpd.org</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
BeroFTPd
<DD><A HREF="http://apps.freshmeat.net/download/895008043"
>http://apps.freshmeat.net/download/895008043</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
pftpd
<DD><A HREF="http://apps.freshmeat.net/download/918313631"
>http://apps.freshmeat.net/download/918313631</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
I tossed in links to a couple of other FTP daemons
that might be interesting.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 22 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/23"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 23 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>login, su, and passwd dies: Everybody dies!</H3>
<p><strong>From Tim Kientzle on Mon, 11 Oct 1999
</strong></p>
<!-- ::
login, su, and passwd dies: Everybody dies!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I'm having a hard time finding good technical archives for Linux.
I've been searching 'linux login' trying to find someone else
who's had this problem; I stumbled across a couple of your columns
in the process.
</STRONG></P>
<P><STRONG>
In any case, I have a useful factlet for you regarding login
problems: The <A HREF="http://www.kde.org/">KDE</A> 'add user' program by default does not assign a
login shell. Thus, accounts that cannot be logged into.
</STRONG></P>
<P><STRONG>
For myself, I have a RedHat 6.0 machine that does not accept any
logins, not even root. It never gets to a password prompt. This
is true of getty, telnet, ftp, and KDM logins. I brought the
machine up in single-user mode, and found that 'su' and 'passwd'
both crash, also. It looks as though any program that needs to
touch the password file simply dies at that point. (Note that
'su' does not crash if you use it to go from root to a non-root
user.)
</STRONG></P>
<P><STRONG>
Oddly enough, this problem arose spontaneously; the machine has
worked fine (about 8 functioning accounts) for a week. I came in
this morning, and tried to telnet into that machine; the
connection dropped at the telnet prompt. I rebooted the machine
(which required hitting the big red button, since I can't login as
root to safely shut down) and then KDM won't come up; it seems to
crash the X server. No useful messages to <TT>/var/log/messages</TT>, just
a machine that can't even be reasonably debugged.
</STRONG></P>
<P><STRONG>
I'm almost ready to drop RedHat and go with <A HREF="http://www.freebsd.org/">FreeBSD</A>
instead. &lt;sigh&gt;
</STRONG></P>
<P><STRONG>
- Tim Kientzle
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds like massive corruption to your libraries
or to your <TT>/etc/passwd</TT> file. I'd start by booting from
a rescue diskette (as you've already done once) and
editing the <TT>/etc/passwd</TT> and <TT>/etc/group</TT> files.
</BLOCKQUOTE>
<BLOCKQUOTE>
If those look alright (compare their formatting to the ones
on your rescue floppy) then check the <TT>/etc/shadow</TT> file. You
could just rename the etc/shadow file and try the 'passwd'
command again.
</BLOCKQUOTE>
<BLOCKQUOTE>
(The libraries use the existence of an <TT>/etc/shadow</TT> file as a
hint to use shadow passwords).
</BLOCKQUOTE>
<BLOCKQUOTE>
Another thing to try is the following commands:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
cd <TT>/mnt/</TT> &amp;&amp; usr/sbin/chroot . <TT>/bin/sh</TT>
rpm -Va
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
(or, if you have a copy of the 'rpm' command on your resuce
diskette you can use: 'rpm --root <TT>/mnt</TT> -Va')
</BLOCKQUOTE>
<BLOCKQUOTE>
This rpm command will check the integrity of the system
files, libraries and binaries, and the ownership, modes, and
other particulars for every file that included in any
package you installed.
</BLOCKQUOTE>
<BLOCKQUOTE>
You can use the 'rpm -qf' command to match the filenames
that the verification reports to the package names that you
might need to re-install.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course you could re-install from scratch. However,
it would be very unsettling to me to do that with no
understanding of what went wrong. I suspect that
you feel the same; how can you trust a system that
"did that" all of a sudden.
</BLOCKQUOTE>
<BLOCKQUOTE>
One possibility is that your system was cracked
(incompetantly). The programs you mention are some of
the same ones that are replace by most "rootkits." If
some script kiddie broke into your system and tried to
install a rootkit that was pre-compiled for libc5 then
I could see it give symptoms just like those you've
described.
</BLOCKQUOTE>
<BLOCKQUOTE>
The 'rpm -Va' command might uncover this. Script
kiddies and their canned cracker tools don't seem to have
added "rpm dbm patchers" YET. However, it's only a
matter of time before they do.
</BLOCKQUOTE>
<BLOCKQUOTE>
In a past issue(*) I've described more robust techniques for
using write-protected boot floppies, you original CD, the
rpm command and some shell utilities to perform a system
integrity audit on a <A HREF="http://www.redhat.com/">Red Hat</A> or other RPM based system.
That article was long-winded since I explained the method in
some detail.
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(<A HREF="http://www.linuxgazette.com/issue37/tag/44.html"
>http://www.linuxgazette.com/issue37/tag/44.html</A>
search the page for "pkg.inst")
As for running FreeBSD: It's a nice system. It's a bit
more carefully integrated then most Linux distributions
and it can run most Linux binaries. I've suggested that
intermediate and advanced Linux users give it a try some
time (next time you're about to install an OS on a new
machine and you have a couple of days to "tinker" with
it).
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
You might also try <A HREF="http://www.debian.org/">Debian</A>. I'm slowly switching my home
systems and laptop over to it. I just got my new
personal workstation up and running this weekend, got
my home directory tree (700Mb, mostly of e-mail archives)
transferred and have spent all day answer e-mail on it.
</BLOCKQUOTE>
<BLOCKQUOTE>
Let me give an example of what I like about Debian.
</BLOCKQUOTE>
<BLOCKQUOTE>
I chose a minimal installallation to start with (about
100Mb total. I upgraded it from the CD version to the
latest version of everything in "unstable" by editing
one file (<TT>/etc/apt/sources.list</TT>) and issuing one command
(apt-get update &amp;&amp; apt-get dist-upgrade -f). It sucked
down 120 packages from the 'net and put them all in place.
</BLOCKQUOTE>
<BLOCKQUOTE>
Then I installed a curses package selection tool
(console-apt) and used that to select a few other programs
that I wanted (things like xemacs). apt-get and console-apt
use the same selection database, and use the dpkg command
under the hood. They automatically get any libraries and
ancillary packages to resolve dependencies.
</BLOCKQUOTE>
<BLOCKQUOTE>
Later, after I'd transferred all of my home directory
files, I starting working like I prefer (running xemacs,
in viper-mode under 'screen'). At some point I typed a
word that look "wrong" and I hit [F3][$] (my personal xemacs
macro for spell-checking the word under my cursor).
Ooops, ispell wasn't installed!
</BLOCKQUOTE>
<BLOCKQUOTE>
So I switch to another VC, type:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
apt-get install ispell iamerican
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... wait about 30 seconds and go back to my editing.
my spell check now works.
</BLOCKQUOTE>
<BLOCKQUOTE>
Another time a few weeks ago I was answering a question
about LPRng. I logged into my other Debian system
(a little file and mail server, antares), installed
the package, read the doc page I was looking for, and
removed it. That was faster than hunting for it in
Yahoo!
</BLOCKQUOTE>
<BLOCKQUOTE>
That's what I like about Debian. I've been doing that
sort of thing for months on my machine at the office.
</BLOCKQUOTE>
<BLOCKQUOTE>
In fairness to Red Hat and it's ilk, the 'rpmfind'
command (<A HREF="http://rufus.w3.org"
>http://rufus.w3.org</A>) makes RPMs <EM>almost</EM> as easy
to manage. However, debian does have a lot more
packages and apt-get seems more stable than rpmfind.
</BLOCKQUOTE>
<BLOCKQUOTE>
So far the Debian apt-get facility is the only one
that I've ever trusted with automatic system
upgrades. I've been running regular dist-upgrades
on my box at work for months --- on the UNSTABLE
development series, the betas --- and I haven't
broken my system yet (sometimes one or two packages get
a bit messed up; but nothing that's caused real problems).
</BLOCKQUOTE>
<BLOCKQUOTE>
Meanwhile Debian is not for the UNIX novice. Most
users would not know that xemacs and emacs call on
a program named 'ispell' and most wouldn't know that
the various dictionary/wordlist files for ispell are named
like iamerican, ibritish, etc. While Debian has more
packages, part of this is because they them to a finer
granularity. They don't put an IMAP daemon and a POP
daemon in the same package. Also many of the Debian
packages are alternatives or are fairly obscure. They
are the sort of thing that
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course the FreeBSD "ports" system is also pretty
good. I'd still like to see something like it for
Linux. (It gets the prize for most comprehensive use
of the 'make' command).
</BLOCKQUOTE>
<BLOCKQUOTE>
Anyway, I hope you track down the problem. If it
does turn out to be a cracker, be sure to get the
latest security fixes when you re-install. There have
been a number of bugs with wu-ftpd and ProFTPd recently
and they are being actively exploited. (Fixes for the
known bugs are at the Red Hat updates site, and at
the archive sites for most other Linux distributions.
</BLOCKQUOTE>
<BLOCKQUOTE>
As usually you should disable any services that you
don't absolutely need to run, limit access to your
non-anonymous services (using TCP Wrappers and/or
ipchains) wherever that's possible, replace 'telnet'
support with 'ssh', 'ssltelnet' or 'STEL', use
shadow passwords, etc.
</BLOCKQUOTE>
<BLOCKQUOTE>
Read the Security-HOWTO
(<A HREF="http://www.linuxdoc.org/HOWTO/Security-HOWTO.html"
>http://www.linuxdoc.org/HOWTO/Security-HOWTO.html</A>)
and the Linux Administrator's Security Guide
(<A HREF="http://www.seifried.org/lasg"
>http://www.seifried.org/lasg</A>) for lots of details on
that.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 23 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/24"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 24 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Files invisible via Telnet?</H3>
<p><strong>From Norris on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Files invisible via Telnet?
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
First off, thank you for a good site, a real valuable source on
all those little (and not so little) problems you run into
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</STRONG></P>
<P><STRONG>
Second, im not sure if I should go and ask questions directly to
you, but it seems others have done so, but if i am in error,
please just ignore me
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You did it right: mail to the <A HREF="mailto:linux-questions-only@ssc.com"
>linux-questions-only@ssc.com</A>.
It's a shame that so many people still send their
questions to <A HREF="mailto:jimd@starshine.org"
>jimd@starshine.org</A> (which is the same
mailbox) because I can auto-sort LG mail from
personal mail. However, that just comes with the
territory.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The Problem:
</STRONG></P>
<P><STRONG><BlockQuote>
I have allowed telnet acces to my server, and i can login fine, i
can su and so forth, but a lot of files just dont show up via
telnet? i have messed with many combinations of file permissions,
but that doesnt seem to do it... any help would be appreciated,
thank you
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</BlockQuote></STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Linux and UNIX have no mechanism for selectively "hiding"
files based on the protocol through which you've logged
in. Unless you are running your telnet daemon or inetd
in a "chroot jail" (a fairly obscure custom configuration)
then you should be able to see everything.
</BLOCKQUOTE>
<BLOCKQUOTE>
Now, if you mean that some files don't appear to be readable
through your terminal (you do an 'ls' and see "blanks"
where there should be files) then that's another matter
entirely. Trying using the command:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
ls --color=never
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... if your files are suddenly visible then you're just
suffering from a bad terminal type (TERM environment
variable) setting.
</BLOCKQUOTE>
<BLOCKQUOTE>
You could also try the commands:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
export TERM=dumb
find . | less
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... (assuming you're using a Bourne compatible shell -- like
the default 'bash'). This should show you all your files.
</BLOCKQUOTE>
<BLOCKQUOTE>
The 'ls --color' trick has to do with the ncurses color
support in the GNU version of 'ls'. Some distributions
set a system default alias like: alias ls='ls --color=auto'
so that you'll see your files in pretty colors when using
a color capable terminal (such as the console, or a
color xterm). If your TERM environment variable is set
correctly, and your terminfo libraries and data files are
installed correctly then this alias should automatically
disable the use of color when necessary.
</BLOCKQUOTE>
<BLOCKQUOTE>
Unfortunately the MS Windows version of TELNET.EXE is
pretty wretched. It defaults to settings which do not
implement enough VT100, VT220 or VT330 support to be usable
for most Linux tasks. You're usually better off forcing
that telnet client to use the older, less powerful VT52
mode. You'd be MUCH better off to replace it with a
good telnet client, such at K'95 (The Win '95 port
of Columbia University's Kermit package).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course I'm just guessing at what you mean by
"invisible." It's possible that you are in a
"chroot" jail (in which case you wouldn't see ANY
files and directories "above" a certain point in
the real directory tree. This would probably be
quite confusing to you since you'd have to have
duplicate <TT>/etc</TT>, <TT>/dev</TT>, and <TT>/usr/bin</TT> directory
structures and filesets.
</BLOCKQUOTE>
<BLOCKQUOTE>
I've set up systems like that (in fact I've just
configure my new personal workstation in this way
this weekend). However it's a relatively obscure
and advanced technique that almost no one uses.
You couldn't have set that up "accidentally" or
without knowing about it.
</BLOCKQUOTE>
<BLOCKQUOTE>
So I'm assuming the more likely interpretation of
your question. (I usually have to do that in this
business).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 24 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/25"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 25 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>sendmail Masquerading, Configuration, and User Masquerading Revisited</H3>
<p><strong>From Willy Lee on Mon, 11 Oct 1999
</strong></p>
<!-- ::
sendmail Masquerading, Configuration, and User Masquerading Revisited
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi Mr. Dennis,
</STRONG></P>
<P><STRONG>
The information in your September 1999 column regarding fiddling with
sendmail configuration was very informative, and very welcome! I knew
that sendmail looked at sendmail.cf, and that you were supposed to run
a file through m4 to generate sendmail.cf, but I didn't know how to do
it, now I at least have some idea.
</STRONG></P>
<P><STRONG>
Unfortunately Netscape rendered the backquotes rather oddly, so I
labored for about an hour under the mistaken impression that they were
pairs of single quotes, instead of backquote/quote pairs.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Sorry. I'll try to remember to mention that next time
I use unusual syntax such as m4's.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You said, "For this to work smoothly you should create an account on
your system that matches your account name on your ISP, and use that
to work with your e-mail from that address." Unfortunately my desired
username was already taken at my ISP, so my mail address is 'willy2'
instead of 'willy', which is my account on my machine at home.
</STRONG></P>
<P><STRONG>
I use Gnus from within Emacs as my MUA and I've told it my correct mail
address. I believe it sets the Reply-to field, so that should be ok,
shouldn't it?
</STRONG></P>
<P><STRONG>
Well, if I get a reply from you, then I'll know that my Gnus/sendmail
setup is working
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Your method seems to be working. Under some
systems you can't easily set the return addresses
from your MUA. You can have sendmail rewrite the
username portion of the addresses by using the
genericstable FEATURE.
</BLOCKQUOTE>
<BLOCKQUOTE>
I didn't want to get into that last time I was talking about
this since it just adds a bit more complication. The
original correspondent was probably having enough trouble
digesting all that I said as it was.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Thanks for all your columns!
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You're welcome. Glad I could help.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 25 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/26"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 26 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>General S. Fault</H3>
<p><strong>From dlancas on Mon, 11 Oct 1999
</strong></p>
<!-- ::
General S. Fault
~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Along the lines of "wha'appen?", I started using <A HREF="http://www.kde.org/">KDE</A> the other day, and
klicked on my kcalc and waited... and waited.... and then I klicked
again just for the heck of it. When I tried to start the calculator
from the terminal, I got the wonderful segmentation fault. This
happened previously with xosview which was working great then stopped
working one day. I recently upgraded KDE to the newest stable version
(1.1.2) and noticed that along with the calculator, some other programs
are also giving me segmentation faults (such as the KDE text editor).
</STRONG></P>
<P><STRONG>
Just who is segmentation and why is my computer blaming him for screwing
up my system? I looked in numerous books, etc, and can not find any
mention of this. Thanks in advance.
</STRONG></P>
<P><STRONG>
Doug Lancaster
www.lancompworx.com
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Maybe "Segmentation" is General Protection Fault's middle
name
<IMG SRC="../gx/dennis/smily.gif" ALT=";-)"
height="24" width="20" align="middle">
</BLOCKQUOTE>
<BLOCKQUOTE>
Actually a segmentation fault is Unix technese for:
"that program stepped out of bounds!" It is similar
to the old MS Windows "General Protection Fault" or the
old QEMM "Exception 13" etc (except that segfaults don't
make Linux kernels unstable and don't indicate that we
should hastily save all our work and reboot "before it's
too late!").
</BLOCKQUOTE>
<BLOCKQUOTE>
The way that Linux keeps user programs from interferring
with system operations, and other user programs is through
memory management.
</BLOCKQUOTE>
<BLOCKQUOTE>
When a program is loaded it is allocated some memory for
it's binary executable code (ironically called "text"), it's
static data segment (the "BSS"), and its stack and heap
(dynamic data). If the program needs more memory it must
request it through the<TT> malloc()</TT> system call. If a program
ever tries to access memory outside of its segments it
is stopped by the processor (on x86 and some other
platforms) or some other hardware MMU (on some other CPU
architectures). This processor or MMU "exception" (or
"trap" as its known in some architectures) then calls on
a kernel exception handler, which then summarily kills the
program, (optionally) dumps a post mortem debugging file,
usually named 'core' (and consequently known as a "core
file"), and signals the program's parent process (with a
SIGCHLD).
</BLOCKQUOTE>
<BLOCKQUOTE>
When the parent process is the shell, it prints a message
like the one you describe: "segmentation fault, core dumped"
</BLOCKQUOTE>
<BLOCKQUOTE>
So, probably the programs in question have bugs in them.
Perhaps they swallowed a corrupt bit of data that the
programmer wasn't quite clever enough to foresee in his
parsers. Possibly some of the libraries on which these
programs depend have changed or differ from the versions
that the programmer was using.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course there are other possibilities. Perhaps the
binaries or some of their libraries have been corrupted on
the disk. Possibly you have some bad memory chips (possibly
some RAM that only misbehaves under specific conditions,
such as when you are running the video card is specific
resolutions). Those sorts of problems usually give other
symptoms like the infamous "Sig 11" problems
(<A HREF="http://www.bitwizard.nl/sig11"
>http://www.bitwizard.nl/sig11</A>).
</BLOCKQUOTE>
<BLOCKQUOTE>
I'd definitely shutdown and force a full fsck of all your
filesystems ASAP. If that doesn't report any problems
then it probably is just the software.
</BLOCKQUOTE>
<BLOCKQUOTE>
Probably the latest "stable" KDE is not as stable as your
previous version. Maybe you need to upgrade some libraries
to go with the new release.
</BLOCKQUOTE>
<BLOCKQUOTE>
Good luck. You might try downgrading back to the older
version to see if that clears it up.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 26 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/27"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 27 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Linux Workstations Behind a Proxy/Firewall</H3>
<p><strong>From anil kumar on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Linux Workstations Behind a Proxy/Firewall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi Jim,
</STRONG></P>
<P><STRONG>
This is Anil from India.I saw your letter in the red hat site &amp;
wanted some details on how to access the internet from my Linux box.
I dual boot it with my NT.Now,I am behind a Proxy(MS Proxy &amp; firewall)&amp; my
Ip address has been given permission to access the internet.I access it in
the usual way from NT but when i boot thro' Linux, I dont get any option to
configure the Proxy server.Does the name resolution request go to the DNS
configured in our local network first &amp; from there upon not resolving to the
next higher level that is, the local ISP DNS ?But i have configured my Linux
box for the DNS.Now how do i configure my Linux to access the net?.I would
appreciate if you would throw some light on it.
</STRONG></P>
<P><STRONG>
Thanx in advance,
Anil.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You're probably expected to use SOCKS clients.
Most proxying firewalls conform to the NEC SOCKS proxy
traversal protocol (a standard way for client programs to
contact a proxy and request a service).
</BLOCKQUOTE>
<BLOCKQUOTE>
The normal Linux client software (telnet, ftp, etc)
are not "SOCKSified" (linked to library functions which
check for proxying). So you want to install the
socks-clients RPM package.
</BLOCKQUOTE>
<BLOCKQUOTE>
You can find a copy of that at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
socks5-clients-1.0r6-1.i386 RPM
<DD><A HREF="http://rufus.w3.org/linux/RPM/turbolinux/3.0/RPMS/socks5-clients-1.0r6-1.i386.html"
>http://rufus.w3.org/linux/RPM/turbolinux/3.0/RPMS/socks5-clients-1.0r6-1.i386.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
It will replace most of your network client software
utilities. You'll then have to edit the
<TT>/etc/libsocks5.conf.</TT> One of mine looks like:
</BLOCKQUOTE>
<blockquote><pre>socks5 - - - - 192.168.1.5
noproxy - 192.168.1. -
noproxy - 123.45.67.0/255.255.255.240 -
</pre></blockquote>
<BLOCKQUOTE>
Creating this file is the hardest part of using
the SOCKS client RPM. You have to put in your SOCKS proxy
server at the end that first line. That's an IP address.
Then you can put into IP address patterns on your noproxy
line(s). I have set a noproxy for one RFC1918 address
block, and one (sanitized) "real" address block with a
netmask. This would be a typical arrangement if there
where a block of servers on our DMZ (Internet
exposed network segment) that were directly accessible from
my station. In many other cases you wouldn't have that
3rd line, you'd go through the proxy to get to your DMZ,
too.
</BLOCKQUOTE>
<BLOCKQUOTE>
The programs provided by this RPM will all read the
<TT>/etc/lib5socks.conf</TT> file automatically. There is also
a shared library which can be used to "socksify" many
"normal" TCP programs. In particular, under Linux it's
possible to over-ride the normal shared library (DLL)
loading sequence, forcing a program to preload
(LD_PRELOAD_PATH) a custom dynamical library. Thus with
a short wrapper script (described in the documentation
of this package) it's possible to redefine how a program
implements some library calls without recompiling the
package.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course these libraries can also be used explicitly
(by linking programs to them). This obviates the need
for LD_PRELOAD_PATH shenanigans. Personally I haven't
used this "socksify" technique.
</BLOCKQUOTE>
<BLOCKQUOTE>
Some programs (like ncftp) might have to be replaced
separately. In some cases you'll have to fetch the sources
and compile programs with non-default options. In other
cases, like Netscape Navigator, you'll want to just
configure them (under Navigator and Communicator look for
"Edit, Preferences, Advanced, Proxying" and fill in the
dialog box).
</BLOCKQUOTE>
<BLOCKQUOTE>
Some software and some protocols will not work through SOCKS
proxying or will have to be patched to do so. (Some of the
Pointcast, RealAudio, CU-See-Me, and other protocols don't
support SOCKS, or require proprietary proxying packages in
order to traverse your firewall).
</BLOCKQUOTE>
<BLOCKQUOTE>
The canonical site for information about SOCKS is:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
SOCKS Proxy Protocol
<DD><A HREF="http://www.socks.nec.com"
>http://www.socks.nec.com</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
In particular you'll want to read the Socks FAQ
(<A HREF="http://www.socks.nec.com/socksfaq.html"
>http://www.socks.nec.com/socksfaq.html</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
You probably don't need a SOCKS server (you've already got
one) you just need the client software for there protocols
you plan to use through this firewall).
</BLOCKQUOTE>
<BLOCKQUOTE>
However, I provide pointers to some server software for
other readers. You can download NEC's SOCKS software
for Linux (in source form) from the web site listed above.
However, you'll want to read the license on that before
using or distributing it.
</BLOCKQUOTE>
<BLOCKQUOTE>
In addition to the NEC SOCKS implementation, Linux supports
a couple of alternative SOCKS servers (NEC's SOCKS is not
under GPL or BSD and it's not fully "free" software).
</BLOCKQUOTE>
<BLOCKQUOTE>
One that I've used is DeleGate (<A HREF="http://wall.etl.go.jp/delegate/"
>http://wall.etl.go.jp/delegate/</A>)
Another that I've read about but never used is Dante
(<A HREF="http://www.inet.no/dante/"
>http://www.inet.no/dante/</A>). DeleGate and Danta are free
under the BSD license.
</BLOCKQUOTE>
<BLOCKQUOTE>
One thing I like about DeleGate in particular is that it's
possible to manually traverse it. In other words, if you
have a favorite ftp or telnet client that doesn't know
how to talk the SOCKS protocol, you can manually connect
to DeleGate, type some magic commands at it, and it will
then open up the same sort of connection that the SOCKsified
client would have. (This is like the FWTK and other
manually traversed proxy systems).
</BLOCKQUOTE>
<BLOCKQUOTE>
There are a number of other firewall and proxying packages
available for Linux.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 27 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/28"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 28 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>LILO Stops at LI</H3>
<p><strong>From Peter.Oliver2 on Mon, 11 Oct 1999
</strong></p>
<!-- ::
LILO Stops at LI
~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
James,
</STRONG></P>
<P><STRONG>
I hope that its OK to email you here!
</STRONG></P>
<P><STRONG>
I recently installed OpenLINUX v2.2. After installation,
everything seems to work fine. When I restarting LILO starts to
boot with the first two letters LI and then everything locks up.
None of the keys work and the only way round is a hardware reset.
</STRONG></P>
<P><STRONG>
I used a RedHat6.0 boot floppy which gets OpenLinux2.2 up and
running. When finally back in linux I ran fdisk. fdisk reported
that my hard drive has 1027 cylinders and warns that more than
1024 can cause problems with some programs such as LILO.
</STRONG></P>
<P><STRONG>
Do you think that this is the cause of the LILO boot problem?
</STRONG></P>
<P><STRONG>
In addition when booting from the floppy disk OpenLinux2.2 does
not work properly eg. automount for the floppy disk and cdrom does
not work.
</STRONG></P>
<P><STRONG>
If you get around to having a look at this I would appreciate it
very much!
</STRONG></P>
<P><STRONG>
Thanks
Peter Oliver
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This symptom is one of those that would I expect from
trying to load a kernel image or boot map that is
inaccessible to your BIOS.
</BLOCKQUOTE>
<BLOCKQUOTE>
However, I would expect that a boot floppy would work.
So long as your kernel is on the floppy (or CDROM) and
your kernel supports the controller to which your hard
disk is attached. Of course it's possible to create a
floppy which just has a LILO primary boot block on it
(with no kernel or boot map files). That's pretty
rare so I wouldn't have expected you to make one of
those (none of the common distributions would have
set it up that way).
</BLOCKQUOTE>
<BLOCKQUOTE>
If you have a copy of MS-DOS/Win '9x on that drive,
I'd used LOADLIN.EXE to run Linux. I've described it
many times before so do a search on the term LOADLIN and
you'll find explanations of how that works. Basically it
lets you load Linux from a DOS command prompt.
</BLOCKQUOTE>
<BLOCKQUOTE>
Allegedly there was an effort to write a version of LOADLIN
to run from the NT CMD.EXE console (a Win32s version).
However, I've never seen that.
</BLOCKQUOTE>
<BLOCKQUOTE>
So, if you have NT installed, and you don't want to
repartition the first portion of this drive (to make a small
Linux <TT>/boot</TT> partition), and you don't have MS-DOS installed
(so you can run LOADLIN.EXE), then you'll want to use a
floppy (with a properly configured kernel on it) to boot
Linux. Considering how rarely most of us boot Linux
this is not much of a hardship. Note: for your purposes
you only need the kernel on the floppy. You don't need
a root filesystem (like you'd find on a Tom's Root/Boot
or some other rescue floppy).
</BLOCKQUOTE>
<BLOCKQUOTE>
You can put a kernel on an MS-DOS formatted floppy, and run
syslinux on that. This lets you select kernel options and
pass command line parameters to the kernel (like LILO). You
could also put an ext2 or minix filesystem on a floppy,
copy your kernel to that and use <TT>/sbin/lilo</TT> on that. That
too will let you configure various parameters, prompts,
boot passwords, etc. You can even 'dd' a kernel directly
on to a floppy (with no filesystem on it). This will still
boot --- but it won't give you any prompt, so you can't
pass command line options to the kernel or through it to
init. That makes booting into single user mode (or any
non default mode) rather difficult, so I don't recommend it.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course it's much easier if you just re-partition the
drive. You can create a small Linux partition that's
below the infamous 1024 cylinder boundary. That should be
about 16 to 32 megabytes. You'd configure that as <TT>/boot</TT>
(a separate small filesystem mounted off of the rootfs).
You can use Linux' fdisk to put that partition near the
beginning of the drive, while putting your other Linux
partitions near the end.
</BLOCKQUOTE>
<BLOCKQUOTE>
The only hard part in that is getting NT, MS-DOS, or
other operating systems to work around it. If you make
a small C: drive under your MS OS' then you can still
fit <TT>/boot</TT> in under the 1024 cylinder mark.
</BLOCKQUOTE>
<BLOCKQUOTE>
Another approach is to install a second drive. PC
can boot from the first or second hard disk on the
primary controller. (If you have CD-ROMs, IDE tape
drive, DVD, etc. put them on the secondary and tertiary
controllers).
</BLOCKQUOTE>
<BLOCKQUOTE>
Yet another approach is to use a commercial utility like
Partition Magic, or a different freeware boot loader like
GRUB (<A HREF="http://www.gnu.org/software/grub"
>http://www.gnu.org/software/grub</A>) although the FSF
apparently still considers GRUB to be in "alpha" (as in
"unreleased, unstable, no ready for prime time").
</BLOCKQUOTE>
<BLOCKQUOTE>
I hope you can see that the problem is not with Linux here.
You're fighting against the legacy of the PC architecture
which has never handled multiple boot gracefully and was
never designed for hard drives of over 1024 cylinders. The
first PC hard drives were 5 and 10 Mb. The early IDE drives
were limited to 540Mb, which was extended to 8Gb through LBA
"translation" (a technique for having the BIOS combine the
traditional cylinder head sector (CHS) co-ordinates into
linear block addresses (LBA) which were then converted back
into real sector locations by the drive's electronics).
Many BIOS still need to use CHS addresses to boot (thus the
1024 cylinder limits, which is 10 bits out of the 16-bit
value that stores cylinder and sector).
</BLOCKQUOTE>
<BLOCKQUOTE>
Now we have UltraDMA drives of 15, 20, and 30 Gigabytes and
some BIOS can't handle them. The MBR only has room for
about 466 bytes of program loader code (the other 66 bytes
are the partition table and a flag to tell fdisk that this
isn't a blank drive). Thus the need to create small
"partition manager" or "boot manager" partitions to provide
room for more software, to work around these firmware
limitations.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'll be so glad to see the demise of PCs!
</BLOCKQUOTE>
<!-- sig -->
<!-- end 28 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/29"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 29 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Protocols on top of Protocols: It's Protocols ALL THE WAY DOWN!</H3>
<p><strong>From Alicia Romero on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Protocols on top of Protocols: It's Protocols ALL THE WAY DOWN!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hello my name is Alicia; I'm a student looking for help
</STRONG></P>
<P><STRONG>
I have a class of networking and there is one thing I don't get
the Questions is What protocol is use typically by UNIX to connect
to a network using TCP/IP?
</STRONG></P>
<P><STRONG>
Can you help me ??
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds like you are underestimate how much you
don't get.
</BLOCKQUOTE>
<BLOCKQUOTE>
TCP/IP <EM>IS</EM> a set of networking protocols!
</BLOCKQUOTE>
<BLOCKQUOTE>
The question you ask, answers itself. UNIX uses the
TCP/IP suite of protocols for almost all of its networking.
IP (internet protocol) is the lower portion of the suite.
TCP (transport control protocol), UDP (unreliable datagram
protocol), ICMP (internetwork control messaging protocol),
and other protocols work over IP.
</BLOCKQUOTE>
<BLOCKQUOTE>
IP packets have source and destination IP addresses. TCP
packets add source and destination ports, sequence numbers,
and options/flags to support flow control, acknowledgement
and handshaking. UDP packet headers lack some of features
of TCP packets, so they are different variations of an
IP packet. ICMP packets (which are used by the 'ping'
and some versions of the 'traceroute' commands) have
headers that are different from UDP and TCP.
</BLOCKQUOTE>
<BLOCKQUOTE>
In addition to TCP, UDP, and ICMP there are also some other
protocols that ride directly over IP (for example GRE, a
routing encapsulation protocol).
</BLOCKQUOTE>
<BLOCKQUOTE>
Other (applications level) protocols are built over TCP and
UDP. (ICMP is used for very specific operations, so
protocols aren't generally built over that)(*).
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(An aquaintance who's wired into the
black hat scene once told me about
a kernel hack that implemented a "stealth
telnet and file transfer protocol" by using
the normally unused data payload portion of
ICMP packets. This would require kernel
modules or patches since normally ICMP
packets are not routed to user space
applications. I'm not sure if this story
is apocryphal. If not it makes for a
scary way for crackers to traverse many
"naive" packet filtering schemes.)
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
So, protocols like telnet, HTTP, and FTP are implemented
over TCP while protocols like SNMP, syslog and FSP(*)
are implemented over UDP.
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(a fairly obscure file sharing protocol,
which used to be particularly popular among
purveyors of "warez" -- pirated software)
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
Some services use UDP and TCP. For example SMB uses
hybrid protocols over both. DNS uses UDP for normal
name resolution and uses TCP for "zone transfers"
(updating secondary authority servers).
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(Another, mythical stealth communications tool
apparently uses DNS/UDP packets with "magic"
domain names as the communications
mechanism. That's even scarier since there are
lots of sites that block ICMP while there are
fewer that would block DNS).
</UL></BLOCKQUOTE>
<BLOCKQUOTE>
So, you have applications protocols over transport
protocols. Under the IP layer you have network layer
protocols like ethernet CSMA/CD, token ring, ARCnet,
etc. Under that you have media layer (physical) protocols
which describe the wires, fibres, voltages, frequences
and modulation parameters of the signals that actually
carry all of these protocols.
</BLOCKQUOTE>
<BLOCKQUOTE>
So, your question is a bit confusing. It's like asking:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
What driver does a bus driver use to drive a bus?
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
UNIX and Linux predominantly use TCP/IP for most of their
applications protocols. Connecting UNIX to a network
involves running many protocols over the TCP/IP suite.
</BLOCKQUOTE>
<BLOCKQUOTE>
It's worth noting that Linux and some other forms of UNIX
also offer support for some other transport protocols like
Novell's IPX/SPX, Apple's DDP and DEC's DECnet (Pathworks)
protocols.
</BLOCKQUOTE>
<BLOCKQUOTE>
All of this material should have been covered in the
first day of any decent computer networking class. (Except
for the references to FSP, and those mythical/apocryphal
"stealth" protocols, of course).
</BLOCKQUOTE>
<BLOCKQUOTE>
Consider taking a better course, getting better text books
to study on your own, or something --- because it sounds
like this one is just not doing it for you.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 29 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/30"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 30 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Uninstalling Linux</H3>
<p><strong>From Victor Turner on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Uninstalling Linux
~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi - hope you can help me,
</STRONG></P>
<P><STRONG>
I found and read your answer to how to uninstall Linux [dated 18th Dec
</STRONG></P>
<P><STRONG>
1998 from Tom Monaghan] - which related to uninstalling <A HREF="http://www.redhat.com/">Red Hat</A> Linux 5.2
- and thinking that I could use the info you gave in the answer to remove &amp;
uninstall my version of Linux which is <A HREF="http://www.caldera.com/">Caldera</A> open Linux 2.2, I followed
the instructions . .
</STRONG></P>
<P><STRONG>
but as a complete moron when it comes to computers I somehow failed to
obtain the results expected and linux won't go away !
I have it installed on my Olivetti Echos 133EM laptop PC which has 1.6gig
hard drive partitioned [during the Linux install] to 2 partions, 1 of 92% &amp;
the other of 8%
</STRONG></P>
<P><STRONG>
there is 80 meg RAM/ CD-ROM &amp; Floppy drive
The Caldera open Linux 2.2 used a built in version of Partition magic to
partition thye hard drive during installation.
</STRONG></P>
<P><STRONG>
I SHOULD have waited until I obtained a second hard drive for my desktop PC
where I could 'play' with Linux and learn to my hearts content whist still
having my laptop [which used to have Win95 for work related stuff ] - but I
was not patient and now seem to be suffering for it as I can not find out
any information [other than your answer to Toms question] - which was for a
different breed of Linux.
</STRONG></P>
<P><STRONG>
Can you help me PLEASE !
<br>Yours in anticipation,
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
There is nothing special about the suggestions I offered.
It doesn't matter what Linux distribution (or even what
operating system) you're trying to remove. The process
boils down to:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><ul>
<li>Run fdisk (from a Linux rescue diskette) and delete the
Linux partitions. That will leave the space that those
filesystems occupied as "unallocated" so far as MS-DOS
and other operating systems are concerned. (You con't
actually have to remove the data that was in those
partitions --- simply removing the partition table
entries that describe the should be sufficient).
<li>Boot from an MS-DOS floppy and type FDISK <TT>/MBR.</TT>
</ul></Blockquote></BLOCKQUOTE>
<BLOCKQUOTE>
This last step makes sense for versions of MS-DOS after
version 5.x. Win '9x is really still just MS-DOS with a
GUI glued over the front of it. So most of this should
apply to it as well, when you manage to get in behind the
GUI. Alternatively you should be able to use the command:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
lilo -U
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
... BEFORE you delete your Linux partitions.
</BLOCKQUOTE>
<BLOCKQUOTE>
When you first install Linux using LILO, the <TT>/sbin/lilo</TT>
command will create a <TT>/boot/boot.0XXX</TT> file, a backup of the
MBR that it originally found on the system. The -U and -u
options of the <TT>/sbin/lilo</TT> command will put that backup
copy back into place (if it exists and with some sanity
checks).
</BLOCKQUOTE>
<BLOCKQUOTE>
Note: The lilo -U command is basically the same as using
a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
dd if=/boot/boot.0XXX of=/dev/hdX count=446
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... though it should be a tiny bit safer. In any case I
highly recommend performing a backup of your system before
doing any software installations, upgrades, or removals.
</BLOCKQUOTE>
<BLOCKQUOTE>
Incidentally, if you really want to wipe data from those
Linux filesystems before you remove the partitons you can
use a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><Code>
dd if=/dev/zero of=/dev/hdXXX
</Code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... do over-write a whole partition or drive with ASCII
NULs. Note: if you do that with of= (output file)
<TT>/dev/sda</TT> you'll wipe your entire first SCSI hard drive.
If you do it with <TT>/dev/sda1</TT> you'll only much the first
partition on that drive. If you use <TT>/dev/hdb3</TT> you'll
destroy the number three primary partition on your
second IDE drive, <TT>/dev/hda6</TT> will get the second LOGICAL
partition on your first IDE drive, and so on.
</BLOCKQUOTE>
<BLOCKQUOTE>
If that doesn't scare you then you didn't read it carefully
enough. You can wipe out whole drives or individual
partitions using the 'dd' command. It should be treated
like a six-foot razor!
</BLOCKQUOTE>
<BLOCKQUOTE>
Also note that you really want to do these operations
while booted from a rescue floppy. Otherwise you'll
destroy shared libraries, swap partitions, and other
data that Linux needs to complete your swipes.
</BLOCKQUOTE>
<BLOCKQUOTE>
In the worst case to a backup of your entire DOS/Win '9x
system. Test it. Then boot from a rescue floppy,
zero out the whole drive; re-install MS Windows from
scratch and restore your data. I know that's inconvenient
and scary.
</BLOCKQUOTE>
<BLOCKQUOTE>
It's the shame of the whole computer industry. Backups and
restores are slow, expensive, unreliable and instill
little confidence in most users. That problem is hardly
unique to Linux, or PCs; I hear that from all sorts of
users.
</BLOCKQUOTE>
<BLOCKQUOTE>
(My preferred means of doing software and OS upgrades is
to perform the installation on a new system, then copy
my data and configuration over. I just did that to canopus
this weekend, so I'm writing from canopus2. In a week or
so I'll wipe out the old canopus and rename my new host
to use the old name).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 30 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/31"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 31 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Who is Jim Dennis?</H3>
<p><strong>From SeanieDude on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Who is Jim Dennis?
~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
hey why did it take you so long to respond
i don't even know what i searched for anymore
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I've been busy.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
anyway go to my page at <A HREF="http://go.to/3d~now"
>http://go.to/3d~now</A>
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Yuck! Looks really ugly in Lynx. Of course you
seem to be selling banner ad graphics design services
and you seem to want frames and require JavaScript to
view your site. So Lynx users wouldn't be interested
anyway.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Sean
</STRONG></P>
<!-- sig -->
<!-- end 31 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/32"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 32 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>FoxPro 2.0 (SCO) Running Under Linux: Try Flagship?</H3>
<p><strong>From Joseph Gazarik on Mon, 11 Oct 1999
</strong></p>
<!-- ::
FoxPro 2.0 (SCO) Running Under Linux: Try Flagship?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Dear James,
</STRONG></P>
<P><STRONG>
Hello, my name is Joe Gazarik. I am a software support specialist
</STRONG></P>
<P><STRONG>
with Signal Software in Pittsburgh, PA. Signal produces accounting software
for the automotive aftermarket. Our current product, TireWorks Gold is
FoxPro 2.6 based running on SCO. I have been commissioned to get that
FoxPro 2.6 SCO program working in Linux. I would appreciate any and all
help that you could lend me. Do you have any suggestions in getting FoxPro
2.6 runtime for SCO Unix running on Linux? Thanks in advance for your
assitance!
</STRONG></P>
<P><STRONG>
Best Regards,
Joe Gazarik
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Well, I don't know of a Linux port of FoxPro. It seems
unlikely that we'd see one any time soon since Fox software
was aquired by Microsoft.
</BLOCKQUOTE>
<BLOCKQUOTE>
In general you can run SCO compatible software under
Linux by using the iBCS libraries. For that I'd run
<A HREF="http://www.caldera.com/">Caldera</A>'s OpenLinux since they provide a kernel with
iBCS patches already applied.
</BLOCKQUOTE>
<BLOCKQUOTE>
For FoxPro specifically you might find that they rely on
some of SCO's proprietary libraries. You'd have to copy
those unto your Linux system from your SCO system --- and
you'd have to watch the licensing issues that relate to
that. Obviously that might cause some serious problems
for your software distribution plans.
</BLOCKQUOTE>
<BLOCKQUOTE>
You could port your software to Flagship
(<A HREF="http://www.wgs.com/fsad.html"
>http://www.wgs.com/fsad.html</A>). That is a package from
WorkGroup Solutions which provides a set of programming
tools for compiling dBase code (with Fox, Clipper and other
xBase extensions).
</BLOCKQUOTE>
<BLOCKQUOTE>
You can then create and distribute standalone native
applications using your existing xBase sources. The
resulting programs are royalty free and should run on Linux
systems without any need for iBCS or any proprietary
libraries.
</BLOCKQUOTE>
<BLOCKQUOTE>
As a commercial software developer this sounds like it
would be your best bet.
</BLOCKQUOTE>
<BLOCKQUOTE>
In addition it looks like Flagship offers modules to support
connections to SQL backend databases. This could be useful
if you develope client/server versions of your package in
the future.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 32 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/33"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 33 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Coping with Bad Sectors</H3>
<p><strong>From excess6 on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Coping with Bad Sectors
~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi, i found out my 4month old quantum hdd has some bad clusters, is there a
way i can fix it?
what happed was i turned off ym poota in windows and later on i turned it
on and it said data error reading c:
i did scandisk surface scan and it found 1 of my sectors was bad, i
rebooted later and windows is working but is there anything i can do to
like isolate the sector so i dont put inportant stuff on that sector or
something.
-cheers excess
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I would hope that SCANDISK.EXE would mark bad sectors
so they would no longer be used. If not, get a copy of
Norton Utilities or download some shareware utilities
for MS-DOS. There used to be a few utilities with names
like MARKBAD.COM that would mark clusters as bad under
MS-DOS. (Windows '9x filesystems are mostly the same as
MS-DOS FAT with some hackery involving extra "volume labels"
to get long filename support. MS should have called
their new variant KFAT -- for "kludge" rather than VFAT).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course if you were using Linux you could just use
'e2fsck -c' to check your filesystems, test them for back
blocks and automatically assign any bad blocks to a special
system list (thus prevent them from every being accessed by
anything else).
</BLOCKQUOTE>
<BLOCKQUOTE>
When you create new filesystems under Linux, you should
also use the -c option to mkfs (or check the appropriate
box/option in any GUI/dialog that you happen to be using).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 33 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/34"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 34 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Homework Assignment: Write about Linux Memory Management</H3>
<p><strong>From Rhymer,Robert on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Homework Assignment: Write about Linux Memory Management
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I was wondering if you knew a site where I can get alot of information
on Linux's Memory Management. I am doing a report on it and need as
much infomation I can get. Websites, books, etc.. any info will help.
Thank you for your time.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
How about the source code? That would be the most
authoritative resource on the topic. Look through the
sources in <TT>/usr/src/linux/mm</TT> for starters.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you look at my "LDP by Topics" page and search on
"programming" you'll find a list of all of LDP HOWTOs and
guides that relate to Linux programming. In particular
there the ones that refer to the "kernel." That might
be a good introduction; help you get your bearings.
</BLOCKQUOTE>
<BLOCKQUOTE>
There is also the "The Linux Programmer's BouncePoint"
at <A HREF="http://www.ee.mu.oz.au/linux/programming"
>http://www.ee.mu.oz.au/linux/programming</A> and the
Linux Programming page at the #LinuxOS (IRC Channel)
home page: <A HREF="http://www.linuxos.org/Lprogram.html"
>http://www.linuxos.org/Lprogram.html</A>
Another site is Rik van Riel's Linux Memory Management
page at: <A HREF="http://www.linux.eu.org/Linux-MM"
>http://www.linux.eu.org/Linux-MM</A> (though this
is really pretty preliminary -- it has links to related
topics. Rik apparently started this, then got side-tracked
to write a performance tuning guide. (An understandable
priority, considering things like the Mindcraft fiasco).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 34 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/35"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 35 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>HP with LT Winmodem</H3>
<p><strong>From Bob Gregg on Mon, 11 Oct 1999
</strong></p>
<!-- ::
HP with LT Winmodem
~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I have just purchase a HP computer with LT Winmodem . DEspite
loading new and latest drivers etc I can only connect at 28,800 to
my isp . I have tried other isp's as well spoken to HP at length
and to no avail. any suggestions.
</STRONG></P>
<P><STRONG>
Bob Gregg
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds like you're not running Linux. So my first
suggestion is: don't send non-linux questions to the Linux
Gazette Answer Guy.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you're getting 28.8 then be happy. Speed claims
beyond that are dubious and likely to occur only under
optimal conditions, rarely and briefly. If you really
need faster access you'll have to look at alternative
technologies (ISDN, cable modem, leased line, DSL, etc).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 35 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/36"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 36 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Linux to HP9000 Through RAS?</H3>
<p><strong>From hansmok on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Linux to HP9000 Through RAS?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Dear Jose L. Torres Reyes,
</STRONG></P>
<P><STRONG>
I am a beginer who have interest in linux in South Korea.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
First, please don't send e-mail in HTML format.
Most people won't appreciate it. (Obviously if
you have some friends who prefer it, you can do
what you like with them.
</BLOCKQUOTE>
<BLOCKQUOTE>
The best way to send e-mail is as plain, simple
ASCII text with no special characters, and
simple line, space and tab formatting. Keep the
lines down to about 72 characters or less. For
best results leave a few spaces or a tab on the
left as a "margin."
</BLOCKQUOTE>
<p><em>[ We've no idea who Mr. Reyes is, either. But it was,
at least, a Linux question. -- Heather ]</em></p>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I tried contacted between personal computer(operating
system:slackware linux) and HP9000 unix server(operating
system:UNIX) through PPP(point to point protocol) method.
</STRONG></P>
<P><STRONG>
I checked success in login into HP9000 unix server but failed
after inserting password.
</STRONG></P>
<P><STRONG>
I don't know the reason that failed in contacting into
HP9000 unix server.
</STRONG></P>
<P><STRONG>
I use RAS(Remote Access Service) in contacting.
I'd like to receive your answer as soon as possible.
</STRONG></P>
<P><STRONG>
Bye.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
There are many ways to set up PPP among UNIX and
Linux systems. I don't know what your HP-UX is
referring to as "RAS" (remote access server). It
could be that they've implemented some service that
is designed to allow NT systems to log into theirs.
(That would be the most likely meaning of the term
RAS in this context).
</BLOCKQUOTE>
<BLOCKQUOTE>
The Linux PPP daemon would not normally function as
a RAS client. There maybe options to do that, however
it seems like it would just complicate matters. I'd
suggest that you just play with the HP PPP settings
(see their docs for info on that --- or talk to their
technical support) so that they allow simple PAP or
CHAP authentication. Then configure your Linux pppd
accordingly.
</BLOCKQUOTE>
<BLOCKQUOTE>
The difficult thing about PPP in general is that you
have to make sure that your settings and those of your
remote (ISPs in most cases, the HP9000 in yours) all
match. Different PPP implementations use slightly
different terms for some of the many features that they
offer, and most of them have completely different
configuration file formats, locations and
command line options.
</BLOCKQUOTE>
<BLOCKQUOTE>
Be sure to spend time with the Linux PPP HOWTO
at <A HREF="http://www.linuxdoc.org/HOWTO/PPP-HOWTO.html"
>http://www.linuxdoc.org/HOWTO/PPP-HOWTO.html</A>.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 36 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/37"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 37 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>TCPMux Revisited: You'll need a Daemon for it, or a Better inetd</H3>
<p><strong>From Helpdesk on Fri, 1 Oct 1999
</strong></p>
<BLOCKQUOTE>
Thnx jim (hope i can call you that).
</BLOCKQUOTE>
<BLOCKQUOTE>
i could make my work do with the Mike Neuman's BINETD,
"Better INETD" at: <A HREF="http://www.engarde.com/~mcn/binetd/index.htm"
>http://www.engarde.com/~mcn/binetd/index.htm</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
works ok till now.
</BLOCKQUOTE>
<BLOCKQUOTE>
will be in touch.
</BLOCKQUOTE>
<BLOCKQUOTE>
ciao
</BLOCKQUOTE>
<BLOCKQUOTE>
jaggu
</BLOCKQUOTE>
<!-- end 37 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/38"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 38 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Overwrote NT with RedHat: Good Idea But Bad Move</H3>
<p><strong>From tonyray on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Overwrote NT with RedHat: Good Idea But Bad Move
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi there answer guy,
</STRONG></P>
<P><STRONG>
Im tonyray form philippines, got a big problem.
</STRONG></P>
<P><STRONG>
I was installing a redhat 5.2 on my computer, with 1st hardrive
ide-with nt4 normally working, 2nd hardrive for redhat5.2. What
happened the nt4 hardrive was deleted reformatted into linux
native. Is there a way to get back my nt4 files, like unformat?
</STRONG></P>
<P><STRONG>
please help
thanks
tonyray
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Unformat would NOT help in this situation regardless of which OS
or platform was involved. You didn't merely reformat your drive
or delete those files. You've overwritten most or all of them.
</BLOCKQUOTE>
<BLOCKQUOTE>
The only reasonable way to get back your files is from a backup.
I realize that you probably don't have one --- I've found that
too many people walk the software installation and upgrade high
wire with the safety net of a recent, tested backup of their
data.
</BLOCKQUOTE>
<BLOCKQUOTE>
Sorry I can't offer you better news or more hope. If your
data is worth quite a bit more than your computer you could
look into data recovery using "magnetic force microscopy"
(a technique used in criminal crime labs computer forensics).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course the procedure would probably cost more than my
annual salary and probably only be partially successful. So
that suggestion is not practical.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 38 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/39"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 39 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Partitioning Advice</H3>
<p><strong>From Stock Watch on Fri, 15 Oct 1999
</strong></p>
<!-- ::
Partitioning Advice
~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Greetings James,
</STRONG></P>
<P><STRONG>
Hi, I'm Wong. I need your advice on how to partition a 6.2GB hard
disk so that it can optimize the usage of Linux. This is my first
time installing Linux. I intend to set it as a full Linux
server. The main purpose of the Linux server is to act as a mail
server besides doing other functions. I also learn that it need a
swap partition. Please advice. Thanks in advance.
</STRONG></P>
<P><STRONG>
Cheers,
Wong
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This is a very common question. There are differing
views and philosophies on the subject as well.
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's my suggestions:
</BLOCKQUOTE>
<blockquote><pre> /boot 31Mb
/ 127Mb
(swap) 127Mb
/usr 1635Mb (1.5Gb)
/tmp 127Mb
/home 2047Mb (2Gb)
/var (rest: ~3Gb)
</pre></blockquote>
<BLOCKQUOTE>
... and on some systems I'd add other filesystems on another
drive. For example a filesystem on <TT>/var/spool/mail</TT> can be
mounted with the "sync" (insuring that all writes to that
filesystem are done synchronously --- minimizing the damage
down by a power failure).
</BLOCKQUOTE>
<BLOCKQUOTE>
This set of values is based on years of experience. It
leaves plenty of room for extra kernels, initrd images and
System.map files on <TT>/boot</TT>, gives plenty of room for paging
(swap). <TT>/usr</TT> is big enough to install LOTS of software. If
this was going to be used exclusively as a mail server then
you don't need anywhere near that much space on <TT>/usr.</TT> Of
course you shouldn't need anywhere neer 3Gb for normal mail
and POP services either.
</BLOCKQUOTE>
<BLOCKQUOTE>
That should get you started. If you find that you do manage
to outgrow your disk space, you can add additional drives
pretty easily. I've described that process in previous
Answer Guy columns.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 39 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/40"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 40 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>UNIX Emulation Under Linux? iBCS</H3>
<p><strong>From antonio on Fri, 15 Oct 1999
</strong></p>
<!-- ::
UNIX Emulation Under Linux? iBCS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi James,
</STRONG></P>
<P><STRONG>
i read an answer of your's in Linux Gazzette regarding Unix emulators.
</STRONG></P>
<P><STRONG>
I seem to understand that Lucent's Inferno is a Unix emulator for
Linux??
</STRONG></P>
<P><STRONG>
I have a problem. There is a program for Pharmacy's here in Italy (very
widely used) which has the function of registering medical codes etc.
but which runs only under Unix. But Unix OS's are not free so Pharmacies
are forced to buy Unix OS (Open Server) only for the sake of letting the
computer run for that specific prog i mentioned above. Linux instead is
free so pharmacies would not have to afford the price of the OS. Though
the company that wrote the prog is not willing to port it under linux
... for obvious reasons of economical interest as they handle the
licence of the OS and thus have a share on that too. With linux they
would have to give up the that share.
Can you help me??
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
First Lucent's Inferno operating system is not a form of
UNIX. It can run as a "standalone" (traditional) operating
system, and it can apparently run as a "rehosted" OS
(that is an operating system which runs under another
system's kernel, and accesses the system hardware through
the host OS' system calls). So, Inferno can run under
Linux.
</BLOCKQUOTE>
<BLOCKQUOTE>
Now onto your core question. When you say that this
proprietary software runs "only under Unix" what do you
really mean? UNIX is not a single product or operating
system. UNIX is a family of operating systems and related
utilities, and a philosophy or paradigm for system design.
In that sense Linux <EM>is</EM> UNIX.
</BLOCKQUOTE>
<BLOCKQUOTE>
It is meaningless to say that UNIX is not a free OS.
<A HREF="http://www.freebsd.org/">FreeBSD</A>, 386BSD, <A HREF="http://www.openbsd.org/">OpenBSD</A>, <A HREF="http://www.netbsd.org/">NetBSD</A>, all have as much
historical claim to "being UNIX" as any AT&amp;T SVR4 system.
Those are all free operating systems. Linux was
independently developed. So it can't claim to <EM>be</EM> UNIX
on historical or "familial" grounds.
</BLOCKQUOTE>
<BLOCKQUOTE>
What I think you were saying is that this proprietary
pharmaceutical management product is written to run under
one of SCO's UNIX products (Open Server, or Open Desktop).
</BLOCKQUOTE>
<BLOCKQUOTE>
If that is the case than you might be able to run the
package under iBCS.
</BLOCKQUOTE>
<BLOCKQUOTE>
iBCS is the "Intel Binary Compatibility Specification" ---
an old (pre-Linux) standard binary format for executables
on x86 forms of SVR4 UNIX. At one time there were over
20 different commercial competitors to SCO on x86 hardware.
There was a lackluster effort among these vendors to share
a common executable file format and suite of libraries
so that "shrinkwrapped shelfware" could be developed for
"any" version of UNIX on the x86.
</BLOCKQUOTE>
<BLOCKQUOTE>
SCO OSVR and ODT programs are iBCS by default (if I
understand it correctly).
</BLOCKQUOTE>
<BLOCKQUOTE>
Linux does support iBCS through a set of optional
libraries. (Ironically SCO and Solaris now support Linux
binaries through their lxrun packages. FreeBSD has been
able to run Linux binaries for years).
</BLOCKQUOTE>
<BLOCKQUOTE>
So, it might be technical possible for you to run this
proprietary application. Then again the app. might be
linked against some SCO proprietary libraries ---
which you might not be licensed to copy to your Linux
systems.
</BLOCKQUOTE>
<BLOCKQUOTE>
Aside from the technical issues you must consider the
legalities. It might be a violation of your license to
run this software under a different OS. Of course it
might also be an illegal and unenforcable contract
in your jurisdiction. If this company requires that
you buy a given product with theirs (bundling), you
might have legal recourse.
</BLOCKQUOTE>
<BLOCKQUOTE>
I don't know. I'm not a lawyer.
</BLOCKQUOTE>
<BLOCKQUOTE>
So, I'll just get back to the technical issue. You can
probably get this to run under Linux by using iBCS.
</BLOCKQUOTE>
<BLOCKQUOTE>
The iBCS libraries ship with most Linux distributions.
You can also find them on line with a simple Yahoo! or
Google search.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 40 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/41"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 41 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>PAM applications running as root (Was Re: WebTrends Enterprise Reporting Server)</H3>
<p><strong>From Darren Moffat on Sun, 17 Oct 1999
</strong></p>
<P><STRONG><FONT COLOR="#000066"><EM>
You can run the server as root or as some other user. In order to
use PAM (Pluggable Authentication Module) it has to run as root.
</EM></FONT></STRONG></P>
<P><STRONG>
A general comment about PAM rather than this specific problem.
</STRONG></P>
<P><STRONG>
It is NOT a requirement of the PAM framework that application be
running as root. There are two cases though that make login type
applications need to run as root.
</STRONG></P>
<P><STRONG>
1) The password is stored in <TT>/etc/shadow</TT> which only root can read
</STRONG></P>
<P><STRONG>
If the password was in NIS/NIS+/LDAP then the authentication
could succeed are an ordinary user.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Actually it should be possible for <TT>/etc/shadow</TT> to be
group readable and associated with a "shadow" or "auth"
group. Then SGID programs could authenticate against it.
</BLOCKQUOTE>
<BLOCKQUOTE>
A different level of access could be required to
modify it (that would presumably be reserved for root,
since the ability to modify the <TT>/etc/shadow</TT> and <TT>/etc/passwd</TT>
files on those systems that are configured to honor local
files will consitute root access in any event).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
2) the login application needs to make setuid/setgid calls this
</STRONG></P>
<P><STRONG>
usually happens in the application after PAM authentication has
been completed and is thus nothing to do with PAM.
</STRONG></P>
<P><STRONG>
If the OS has privileges/capabilities then the application would
assert PROC_SETID/CAP_SETID instead of being root to make the
setuid/setgid calls.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Linux 2.2 has privs implemented in the kernel. There is,
as yet, no filesystem system support for storing the
priv. bitfield metadata. So, anyone wishing to "capify"
the Linux authentication system would have to do so through
wrappers.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm personally disappointed by the lack of progress in
this field.
</BLOCKQUOTE>
<BLOCKQUOTE>
It seems that we should have at least attained the ability
to emulate BSD securelevel (wrapper or patches to init(8))
and to limit certain well-defined daemons (like xntpd,
routed/gated, syslogd) to their specific priv sets (set
time, modify routing tables, bind to priv ports).
</BLOCKQUOTE>
<BLOCKQUOTE>
We should be able to use the immutable and append-only
filesystem attributes, the read-only mount option and the
<TT>chroot()</TT> system calls as rootsafe security features and we
should be able to audit many (traditionally root run
processes) daemons and SUID utilities in terms of their
"most damage from subversion."
</BLOCKQUOTE>
<BLOCKQUOTE>
Well, it looks like I have to do some coding on this myself.
(One look at my code should scare some others into doing it
right!)
</BLOCKQUOTE>
<BLOCKQUOTE>
BTW: Does Solaris implement POSIX.1e "capabilities"
(privs)? How about HP-UP, AIX, et al? Are those in the
mainstream OS APIs or are they only available in "Trusted"
(MLS/CMW) versions?
</BLOCKQUOTE>
<!-- sig -->
<!-- end 41 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/42"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 42 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>International Keyboard Mappings for</H3>
<p><strong>From Hector Rivera on Mon, 18 Oct 1999
</strong></p>
<!-- ::
International Keyboard Mappings for <A HREF="http://www.caldera.com/">Caldera</A>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi there,
</STRONG></P>
<P><STRONG>
Sorry for approaching you like this. But I need help. I learned about
you from Linux Gazette.
</STRONG></P>
<P><STRONG>
I'm new to Linux but somewhat familiar with Unix. Just installed Caldera
Open Linux 2.3 with <A HREF="http://www.kde.org/">KDE</A> GUI. I share the HD with Win98.
</STRONG></P>
<P><STRONG>
I want to find how I can configure my US keyboard for
US-International mapping, like Win98. I need to be able to have
access to latin characters without having to replace the keyboard.
Is there a way to setup KDE or X to US-International? If so, how?
Will it work with other Linux applications like StarOffice, Word
Perfect, email clients, etc?
</STRONG></P>
<P><STRONG>
Let me know if you need more details.
</STRONG></P>
<P><STRONG>
Thanks in advance,
Hector
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Under Linux your cosnole keyboard mappings are setting
in two places.
</BLOCKQUOTE>
<BLOCKQUOTE>
The text mode virtual consoles are controlled with utilities
from the kbd or console-tools package. (Older versions were
called kbd; this as been supplanted by the console-tools
package since kbd was no longer under active development;
think of it as simply a renamed and updated package).
</BLOCKQUOTE>
<BLOCKQUOTE>
In particular the utility you want is 'loadkeys' which
takes mapping files that are similar in syntax to those
from the standard xmodmap utility that you find with
any implementation of the X Window system.
</BLOCKQUOTE>
<BLOCKQUOTE>
'xmodmap' and the 'xkeycaps' utility are normally used for
X. I don't know if KDE and <A HREF="http://www.gnome.org/">GNOME</A> have their own
frontends for setting xmodmap. I would expect their
"control panel" facilities to offer this sort of thing
(given that the KDE project was started by Germans, and
some of the principle GNOME developers are Mexican, and
both projects have developers from all over the world).
</BLOCKQUOTE>
<BLOCKQUOTE>
The best resource for customizing your Linux keyboard is:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
The Linux Keyboard and Console HOWTO
<DD><A HREF="http://www.linuxdoc.org/HOWTO/Keyboard-and-Console-HOWTO.html"
>http://www.linuxdoc.org/HOWTO/Keyboard-and-Console-HOWTO.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
One HOWTO specifically about coping with Linux in Spanish is:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Spanish Linux HOWTO
<DD><A HREF="http://www.linuxdoc.org/HOWTO/Spanish-HOWTO.html"
>http://www.linuxdoc.org/HOWTO/Spanish-HOWTO.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
... although that doesn't seem to have been updated since
1996. There's got be something newer out there!
</BLOCKQUOTE>
<BLOCKQUOTE>
The LDP (<A HREF="http://www.linuxdoc.org"
>http://www.linuxdoc.org</A>) has a set of
non-english links including a section on Spanish web sites
at:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
<A HREF="http://www.linuxdoc.org/links/nenglish.html#spanish"
>http://www.linuxdoc.org/links/nenglish.html#spanish</A>
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
You can find a whole list of HOWTOs on Linux support for
various other languages at:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
<A HREF="http://www.starshine.org/jimd/LDPxTopic.html#international"
>http://www.starshine.org/jimd/LDPxTopic.html#international</A>
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
This last item is my own modest attempt to arrange a list of
links LDP HOWTOs and guides by Topic
(<A HREF="http://www.starshine.org/jimd/LDPxTopic.html#international"
>http://www.starshine.org/jimd/LDPxTopic.html#international</A>)
</BLOCKQUOTE>
<BLOCKQUOTE>
(Sometime I should put some more work into it. For now it
tries to start with basics and user stuff and progress
towards more advanced and obscure topics.)
</BLOCKQUOTE>
<BLOCKQUOTE>
As for support for non-English in an applications suite,
I'd expect StarOffice to have the edge. It was created
in Germany and does support several European languages.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 42 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/43"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 43 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Really Wants 'rsh' to Work. Really</H3>
<p><strong>From Mike Hahn on Mon, 18 Oct 1999
</strong></p>
<!-- ::
Really Wants 'rsh' to Work. Really
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Dennis,
</STRONG></P>
<P><STRONG>
I have read all I could find on rsh and getting it to work to no avail.
I run a small CAD network and am in need of the rsh function. We are
on a small private network so hacking is not really a consern. I run
Mandrake Linux 6.0, Windows95/8/NT, IBM AIX, SUN Solaris, and DOS 6.2.
I can rsh from to all machines exept the Linux boxes. I have tried all
the suggestions in the "Answer Guy" columns that I could find. I did
notice that in all of the "problems" the error message was "permission
denied", what I am getting is "Connection Refused" Can you HELP?
</STRONG></P>
<P><STRONG>
Thank You.
</STRONG></P>
<P><STRONG>
M. Hahn
Systems Admin.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
What does the rsh line in your <TT>/etc/inetd.conf</TT> file
look like?
</BLOCKQUOTE>
<BLOCKQUOTE>
It might be configured with command line options that
prevent the Linux version of in.rshd from honoring
certain types of .rhost file or force it to ignore
<TT>/etc/hosts.equiv.</TT> Here's an example:
</BLOCKQUOTE>
<blockquote><pre># /etc/inetd.conf: see inetd(8) for further informations.
shell stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rshd -h
login stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.rlogind
</pre></blockquote>
<BLOCKQUOTE>
In this example the -h option was specified. That is a
common setting on many Linux distributions. It means that
"super user accounts may not be accessed through this
service" (i.e. 'root' and any other accounts with UID=0).
</BLOCKQUOTE>
<BLOCKQUOTE>
If a -l option is specified than nobody's .rhosts file
will be allowed. (Only the <TT>/etc/hosts.equiv</TT> would be
consulted).
</BLOCKQUOTE>
<BLOCKQUOTE>
Read the in.rshd man page for all the gory details.
Keep in mind that the Linux version of rshd is likely to be
very picky about the forward and reverse hostname-IP address
mappings (in a mostly futile attempt to foil spoofing).
</BLOCKQUOTE>
<BLOCKQUOTE>
One trick for testing these sorts of problems is to
temporarily replace the in.rshd (or other inetd launched
daemon) with a wrapper shell script that calls 'strace'
with a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
strace -o <TT>/tmp/rshd.strace</TT> <TT>/usr/sbin/in.rshd.real</TT> $@
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
... and then try to connect to the service. After you get
an error, login to the system using some other means and
view the resulting "system call trace" file.
</BLOCKQUOTE>
<BLOCKQUOTE>
These 'strace' files can be difficult to read. However,
you can usually take a pretty good guess as to what the
problem is by watching for failures on<TT> open()</TT>,<TT> stat()</TT> and
<TT>lstat()</TT> calls.
</BLOCKQUOTE>
<BLOCKQUOTE>
(This strace trick is useful for all sorts of problems,
helping you isolate the missing configuration file or
directory that some program is failing to find or unable
to create/see. Of course I'd love to see a massive
"error messages" project for Linux that would add patches
to these programs to ensure that every distinct failure
mode at a clear error message and every man page had an
comprehensive list of the associated error messages and
suggested coping strategies).
</BLOCKQUOTE>
<BLOCKQUOTE>
Good look.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 43 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/44"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 44 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Laundry List of RH 6.0 Problems or Hardware Blues</H3>
<p><strong>From root on Mon, 18 Oct 1999
</strong></p>
<!-- ::
Laundry List of RH 6.0 Problems or Hardware Blues
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi
</STRONG></P>
<P><STRONG>
I am hoping you will be able to help. I have various problems with
Redhat 6.0
</STRONG></P>
<P><STRONG>
A Current problem
</STRONG></P>
<P><STRONG>
1. Whilst running gnome 1.04 I can access no terminal windows except kde
terms.
</STRONG></P>
<P><STRONG>
Xterm window does not appear complaining about no ptys free
</STRONG></P>
<P><STRONG>
rxvt does not appear complaining about colour maps
</STRONG></P>
<P><STRONG>
Gnome-terminal appears but with no promt just a cursor which I cannot
type into.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Wow! That's pretty irritating.
</BLOCKQUOTE>
<BLOCKQUOTE>
The ptys problem suggests that your don't have the new
<TT>/dev/pts</TT> psuedo-filesystem mounted. <TT>/dev/pts</TT> is a virtual
filesystem (similar to <TT>/proc</TT>). It allows those programs
with the appropriate library support to dynamically allocate
ptys (psuedo-ttys, used by each xterm, telnet session,
'screen' window, etc).
</BLOCKQUOTE>
<BLOCKQUOTE>
My guess is that your other terminal emulators aren't
using that method, so they are searching through the list
of traditional ptys (<TT>/dev/ttyp*</TT>). It would be nice if the
programs that try to go through the pts system would fall
back to the old method automatically. (Of course I could be
wrong, perhaps it is the xterm that is using the old method,
and the others are getting they ptys dynamically. Look
under <TT>/dev</TT> for <tt>ttyp</tt>* and look at the mount command for a
<tt>/dev/pts</tt>.
</BLOCKQUOTE>
<BLOCKQUOTE>
The color maps problem suggests that the <A HREF="http://www.gnome.org/">GNOME</A>/Enlightenment
theme that you're using is taking up enough colors that
there aren't any available for your other applications.
If you're running Netscape Navigator/Communicator before you
try these commands, then it is the likely culprit --- it
steals a lot of colors.
</BLOCKQUOTE>
<BLOCKQUOTE>
You could try starting X with --bpp 16:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote><code>
startx -- :1 --bpp 16
</code></BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... (this is to put a 2nd X session on a new virtual
console, on the assumption that you are using a gdm, kdm, or
xdm graphical login on <tt>:0</tt>).
</BLOCKQUOTE>
<BLOCKQUOTE>
With 16 bits per pixel (if your video card and configuration
supports it) you should have lots more room in the color
map.
</BLOCKQUOTE>
<BLOCKQUOTE>
Another alternative is to change your X configuration and
disable your current list of startup applications (just
start with an xterm as the session manager, no window
managers, no xclocks or other widgets).
</BLOCKQUOTE>
<BLOCKQUOTE>
I have no idea what's wrong with your GNOME-terminal. It
could be suffering from the color map shortage as well.
Possibly it simply isn't communicating the problem as
gracefully as rvxt.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
2. While checking rpms gnorpm dies when I try to access System
environment/ base (but only this category)
</STRONG></P>
<P><STRONG>
An xterm window sees to try to appear at this time.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This sounds like its related to the problem above.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Personally I don't use any GnoRPM or Glint type front
ends to RPM. I just use the 'rpm' command).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I can access gnome via gdm most of the time and run all programs except
these I believe.. It could possibly be a problem to do with the gtk
libraries bu I am running out of ideas
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I don't thinks the libraries are the problem in your case.
Certainly you might want to download many of the 125 upgraded
packages from <A HREF="ftp://updates.redhat.com"
>ftp://updates.redhat.com</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
That site is very busy and often full. So you may want to
go to a mirror site such as:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
<A stub="ftp://ftp.cdrom.com/pub/linux/redhat/6.0/i386"
>ftp://ftp.cdrom.com/pub/linux/redhat/6.0/i386</A>
</BlockQuote></BLOCKQUOTE>
<p><em>[ You'd better stick with
<A href="ftp://ftp.cdrom.com/pub/linux/redhat/"
>ftp://ftp.cdrom.com/pub/linux/redhat/</A> and use
human judgement for the directories beyond that; they
keep changing the directory structure. -- Heather ]</em></p>
<BLOCKQUOTE>
There are at least seven GNOME related update packages
there.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
B Recurring problem (which I think has caused the present problem.
</STRONG></P>
<P><STRONG>
regularly when rebooting e2fsck destrotys patrts of my file system. This
has appeared in various ways:
</STRONG></P>
<P><STRONG><BlockQuote>
moving directories into lost+found
deleting entiring directories
deleting/corrupting files (last deleted several files on my root
partition particularly fstab causing current problem)
</BlockQuote></STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Are you sure that e2fsck is doing the "destroying" here?
It seems more likely that e2fsck is attempting to recover
from damage that's being down to your filesystem during the
previous session.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
This problem has caused me to re-install several times which timakes a
long time on my system due to repeated Sig 11 faults.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Whoa!
</BLOCKQUOTE>
<BLOCKQUOTE>
Have you read the Sig 11 page (<A HREF="http://www.BitWizard.nl/sig11"
>http://www.BitWizard.nl/sig11</A>)?
</BLOCKQUOTE>
<BLOCKQUOTE>
The bad news is that you probably have some bad memory or
some other hardware problem. Did you check the "Scan for
Bad Blocks" option when creating your swap partitions and
filesytem? If not, go back and try that! Then go through
the SIG 11 FAQ in detail.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Any help would be appreciated
</STRONG></P>
<P><STRONG>
My system is
</STRONG></P>
<P><STRONG>
RedHat 6.0 running gnome, Afterstep and <A HREF="http://www.kde.org/">KDE</A> 1.1.1pre2
Partitions <TT>/boot</TT> 7M <TT>/</TT> 220M <TT>/usr</TT> 820M <TT>/home</TT> 170M <TT>/dos</TT> 700M
Kernel 2.2.10
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Be sure you are enabling the "Unix98 PTY Support" option
under "Character devices" when compiling these new kernels.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Motherboard PC Chips M590
Memory 64M PC100
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Try taking out first one, then the other of your
memory modules (presuming that you have a couple of
32Mb DIMMs or SIMMs). If not, see about getting another
memory module and trying that in the system. If that
works, or you can't get more memory, then take your existing
RAM in for testing.
</BLOCKQUOTE>
<BLOCKQUOTE>
Most SIG 11s are caused by faulty RAM. Nothing works your
RAM like UNIX and Netware. They are a better burn-in
test then any "memory test" software, or even test bench
equipment. (They <EM>are</EM> the real world, whereas the test
software and hardware are simulating the load that they
create).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
32X CDROM
Graphics SIS 3D AGP Pro ebedded in otherboard
generic V90 modem
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Even aside from the likelihood that you're suffering from
hardware problems, I have to say again that I don't like
the state in which GNOME was pushed into RH 6.0. I've seen
its components dropping core files all over the few systems
where I've run RH 6.x, and I've heard that this is the case
for just about everybody. core files are a symptom of bugs.
When almost everyone is getting core files in "normal
operation" then the product/package is not ready for
production use. Let's not adopt the Microsoft attitude
towards "1.0" products.
</BLOCKQUOTE>
<BLOCKQUOTE>
With the upcoming release of RH 6.1 I certainly hope <A HREF="http://www.redhat.com/">Red Hat</A>
has stabilized their flagship GUI.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 44 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/45"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 45 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>More AOL Instant Messenger Spying</H3>
<p><strong>From Jon Sandler on Mon, 11 Oct 1999
</strong></p>
<!-- ::
More AOL Instant Messenger Spying
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
it is very important to me as well that i spy on other people's
instant messages - seeing messages from both the sender and the
reciever. your help would be greatly appreciated. and im not too
in tune with the technical stuff, so a simple way would be
good. thank you very much.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You are also "not too in tune" with ethics. You're also
not too bright, and you're lazy (since I'm sure you know
something about the basics of capitalization, et al).
</BLOCKQUOTE>
<BLOCKQUOTE>
I don't use AOL or any other instant messaging facility.
I don't care about AOL or instant messaging.
I don't know how to spy on people using this software,
and if I did know (if I took the time to figure it
out) I wouldn't tell you.
</BLOCKQUOTE>
<BLOCKQUOTE>
What I don't understand is why people like you send
me questions like this.
</BLOCKQUOTE>
<BLOCKQUOTE>
I can only imagine that you came across my name
using a web search. If you searched on "AOL" or "IM" and
"spying" (or similar topics) then you might have found
other issues of the Linux Gazette where I've told other
people that I don't dispense advice on spying. So I can
only conclude that you found my address, didn't bother to
read any of my writing, and blindly mailed me. Like I
said, not terribly bright.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm sure you could find people who are more "in tune" with
your interests and ethics in some of the seedier IRC
channels. Of course you'll have to learn quite a bit to
figure out how use IRC.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course, I do wonder if anyone else at your site
knows, or cares about your clandestine interests. I'll
just copy the postmaster there on this reply (since
you might be violating your employer's policies or
your ISP's acceptable use policy by attempting to
invade the privacy of others).
</BLOCKQUOTE>
<!-- sig -->
<!-- end 45 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/46"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 46 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Another Solution, or a Different Problem</H3>
<p><strong>From Paul Leclerc on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Another Solution, or a Different Problem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
First of thanks for your column. It's a great source of
help for me.
</STRONG></P>
<P><STRONG>
Your recent question and answer in LG about X respawing,
etc. may have another solution.
</STRONG></P>
<P><STRONG>
I was mucking around with my XF86Config file trying to
get 16bpp to work. I really wasn't sure what I was doing
and put various directives in different "sections" of the
file.
</STRONG></P>
<P><STRONG>
One mistake that I made (and I don't remember what!!)
caused the same problem, i.e. X respawning. I went back to
the original file and everything was fixed.
</STRONG></P>
<P><STRONG>
Paul Leclerc
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Certainly having bad values in your XF86Config file
can cause failure to load X. In general anything that
prevents X Windows from loading cause a "respawning too
fast" error from 'init' when running 'xdm' (or it's
cousins, 'gdm', 'kdm' etc) from the <TT>/etc/inittab.</TT>
</BLOCKQUOTE>
<BLOCKQUOTE>
In fact, any program listed on a "respawn" line of
<TT>/etc/inittab</TT> will cause this error message if it
exits too quickly after loading (commonly the case
when the program fails).
</BLOCKQUOTE>
<BLOCKQUOTE>
The message is from a feature of the 'init' program
which attempts to prevent overwhelming the system with
respawning activity.
</BLOCKQUOTE>
<BLOCKQUOTE>
So one must be sure that their 'getty' and other programs
are properly configured before adding them to the inittab
file. This can be a challenge with some programs (like
the various forms of 'getty' that prompt your for a
login name on your console and on any serial terminals or
modems that you configure as login devices for your system).
Some programs like 'getty' cannot normally be run from a
shell prompt -- they must be started through 'init'.
</BLOCKQUOTE>
<BLOCKQUOTE>
One sort of program that is often difficult to run from
'init' is 'syslogd'. It is one of those programs that
normally peforms a "double<TT> fork()</TT> and exec" as it loads.
This is a programming technique for writing daemons
such that they run disconnected from their parent process.
The primary benefit is that it prevents "zombies." When the
daemon dies or exits later, its return value will be
automatically "reaped" (discarded) by 'init' (which
adopts orphan processes for this purpose).
</BLOCKQUOTE>
<BLOCKQUOTE>
Basically some process must go through the process table
periodically and read the exit values of "zombies."
(a "zombie" is a dead process whose status is retained in
the process table). This is normally the job of a
process' parent. However, if the parent exits/dies before
some of its children then 'init' takes on the job.
</BLOCKQUOTE>
<BLOCKQUOTE>
However, if you have one of these "double<TT> fork()</TT>-ing"
daemons, and you try to run it directly from 'init'
under a "respawn" directive, you'll get the "respawning
too fast" error.
</BLOCKQUOTE>
<BLOCKQUOTE>
In the case of the Linux 'syslogd' (the system logging
daemon) we can add a -n option to "not<TT> fork()</TT>." This
would be done like so (<TT>/etc/inittab</TT> extract):
</BLOCKQUOTE>
<blockquote><pre>sl:2345:respawn:/sbin/syslogd -n -m 10
</pre></blockquote>
<BLOCKQUOTE>
Here I've give this line an "ID" of "sl" (SysLog). I've
marked it to run in levels 2 through 5 (1 is single-user
repair mode, 0 is halt, and 6 is reboot). I've also
set the "heartbeat" or "mark" interval to 10 minutes.
</BLOCKQUOTE>
<BLOCKQUOTE>
(The 'syslogd' "mark" option forces it to send a message
at some interval even if nothing has been logged, it's
used for automated monitoring in conjunction with remote
logging. Read the syslog and syslog.conf man pages for
details).
</BLOCKQUOTE>
<BLOCKQUOTE>
BTW: I think the option you might have been looking
for in your XF86Config might have been:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
"DefaultColorDepth"
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
... which has to go into the correct "Driver" section for your video card. The
fact that XFree86 support multiple video card and monitor
specifications inside of a single config file is an
endless source of complication and confusion.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 46 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/47"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 47 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Setting the LILO Default</H3>
<p><strong>From Ryan Sheidow on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Setting the LILO Default
~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I want to set the LILO boot system to load dos by default. Could you
please send me a detailed algorithm that would allow me to do this. I
am just a linux beginner and do not know anything.
</STRONG></P>
<P><STRONG>
Thank You,
Ryan Sheidow
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
The easiest way is to edit your <TT>/etc/lilo.conf</TT> file,
add an appropriate default= line near the top (first
line of the file is O.K.) and then run <TT>/sbin/lilo.</TT>
</BLOCKQUOTE>
<BLOCKQUOTE>
The default= line should refer to the label in your
MS-DOS "stanza." Basically that would be whichever
word you've been manually typing at the LILO: prompt
to get into MS-DOS.
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's a sample:
</BLOCKQUOTE>
<blockquote><pre>default=dos
boot=/dev/hda3
root=/dev/hda3
install=/boot/boot.b
map=/boot/map
vga=normal
delay=20
image=/vmlinuz
label=Linux
read-only
other=/dev/hda1
label=dos
</pre></blockquote>
<BLOCKQUOTE>
Of course, as with any changes to your kernels, partitions,
or lilo.conf files you must run the <TT>/sbin/lilo</TT> command to
update your boot record and maps in order for your changes
to take effect.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 47 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/48"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 48 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Multiple Concurrently Installed Version of glibc</H3>
<p><strong>From Young, Geoffrey S. on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Multiple Concurrently Installed Version of glibc
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hello -
</STRONG></P>
<P><STRONG>
I am currently using RedHat 5.2, but would like to upgrade to the
Perl rpm provided with RH6.0. When I test the rpm dependencies,
the newer perl requires glibc 2.1. Ordinarily, I would just
upgrade glibc while I'm at it, except that I am running an
application that is not compatible with glibc 2.1 (it was
specifically developed for RH5.2, which uses glibc 2.0.7).
</STRONG></P>
<P><STRONG>
Can I have both versions of glibc on the same system? If so, can
I still use the rpm format?
</STRONG></P>
<P><STRONG>
thanks
--Geoff
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You can have multiple version of any shared libraries under
Linux. When they have different version numbers then the
dynamic loader (ld.so) will find the one that a given binary
is linked against. That's why there are symlinks under <TT>/lib</TT>
pointing from major versions to the most recent minor
versions. (Study the links under there to see what I mean).
</BLOCKQUOTE>
<BLOCKQUOTE>
However, as you say, there can sometimes be problems with
this automatic loading mechanism. Sometimes the author of a
package needs to specify a a more tight binding to some
shared libraries. However, that involves recompiling it.
</BLOCKQUOTE>
<BLOCKQUOTE>
There is another way. You can use LD_PRELOAD_PATH and/or
LD_LIBRARY_PATH environment variable to over-ride the normal
library loading mechanism of normal (non-SUID) programs.
(The loader over-ride is disabled when EUID doesn't match
RUID, as is the case while running SUID programs. If this
wasn't true it would be trivially easy to bypase system
security with custom libraries and access to any dynamically
linked SUID binary).
</BLOCKQUOTE>
<BLOCKQUOTE>
They way to use the LD_*_PATH variables is to sequester your
special libraries in their own directory, and write small
wrapper script to set and export the LD_*_PATH environment
variable, then execute the necessary program. You do this
with each program that needs the special library version.
</BLOCKQUOTE>
<BLOCKQUOTE>
Read the ld.so man page for more details.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 48 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 48 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Geoffrey Replies...</H3>
<p><strong>From Young, Geoffrey S. on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Geoffrey Replies...
~~~~~~~~~~~~~~~~~~~
:: -->
<BLOCKQUOTE>
thanks for your help. I'll read the ld manpages and play with LD_*_PATH,
but I think that the application in question is running SUID.
</BLOCKQUOTE>
<BLOCKQUOTE>
Anyway, you have given me lots to go on - thanks again
</BLOCKQUOTE>
<BLOCKQUOTE>
--Geoff
</BLOCKQUOTE>
<!-- end 48 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/49"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 49 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>lg #45: Limiting Internet Access through Cable Modems</H3>
<p><strong>From August H<>randl on Tue, 12 Oct 1999
</strong></p>
<BLOCKQUOTE>
more on: lg #45: Limiting Internet Access through Cable Modems
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Hi,
in your answer you missed another possibility:
the squid proxy program can use ACL: you can easily set up allowed
access times for each clients and a lot of other stuff; squid can even
be used to filter certain sites. you also get log files and can check
which places have been visited
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds interesting. I'm not sure I'd
suggest squid as a security proxy. There seem to two
different classes of web proxy software, those for
firewalls (focus on security) and those for caching,
content filtering and features (like Squid).
</BLOCKQUOTE>
<BLOCKQUOTE>
However, you're right. I should have mentioned
that the features exist. I think you have to
get some Squid plugins for some of these features.
</BLOCKQUOTE>
<BLOCKQUOTE>
(It never ceases to amaze me how many Linux/UNIX
subsystems are "modularizing" with Perl modules,
<A HREF="http://www.apache.org/">Apache</A> modules, loadable kernel modules, Squid modules,
Netscape Navigator/Communicator plugins etc).
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Gustl
<br>ps: keep on the good work - i like your answers
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I'm glad.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 49 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 49 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>lg #45: Limiting Internet Access through Cable Modems</H3>
<p><strong>From <em>The Answer Guy</em> on Wed, 13 Oct 1999
</strong></p>
<P><STRONG><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>It sounds interesting. I'm not sure I'd
suggest squid as a security proxy. There seem to two
different classes of web proxy software, those for
firewalls (focus on security) and those for caching,
content filtering and features (like Squid).
</STRONG></P>
<P><STRONG>
However, you're right. I should have mentioned
that the features exist. I think you have to
get some Squid plugins for some of these features.
</STRONG></P>
<BLOCKQUOTE><DL><DT><IMG SRC="../gx/dennis/qbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>there is a nice guide at
<DD><A HREF="http://info.ost.eltele.no/freeware/squidGuard"
>http://info.ost.eltele.no/freeware/squidGuard</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
i had to solve another problem:
i am teacher and net admin in a technical high school; we have full
internet access - but it is impossible to teach anything if the internet
is accessable
<IMG SRC="../gx/dennis/smily.gif" ALT=";-)"
height="24" width="20" align="absmiddle">
so i had to find a easy solution to "toggle" a whole
classroom (= a subnet). i did it via a little script (which includes menues
via dialog), which creates a file with acls for squid. teachers are allowed to
call the script via sudo (needed to restart squid)
</BLOCKQUOTE>
<BLOCKQUOTE>
Regards
Gustl
</BLOCKQUOTE>
<p align="center"><em>* * * Linux... Don't fear the penguins * * *</em>
<br>August H<>randl
</p>
<!-- end 49 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/50"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 50 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>The Linux Startup Script?</H3>
<p><strong>From Joe Lorino on Thu, 23 Sep 1999
</strong></p>
<!-- ::
The Linux Startup Script?
~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
In a message I found in a search about syslogd parameters, you
mention modifying the Linux startup script. Can you tell me what
file that is?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Normally Linux has a number of startup scripts. Those
include all of the files under <TT>/etc/rc.d/rc3.d</TT> (or
<TT>/etc/rc2.d</TT> on <A HREF="http://www.debian.org/">Debian</A> systems, or various others on
other systems). This also depends on your operating
mode (default runlevel).
</BLOCKQUOTE>
<BLOCKQUOTE>
However, I would say that the <TT>/etc/inittab</TT> is really
THE Linux startup file. Ultimately a Linux kernel really
only starts one process, 'init'(*). Then 'init' reads the
<TT>/etc/inittab</TT> file and all of the rc.sysinit, rc*.d/S*
files, etc. are run by that.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you're going to run 'syslogd' directly from the inittab
then you should use the "-n" (no forking) option. Be sure
to upgrade to a reasonably new version as it was broken in
some older ones. (Thank you, Martin Schulz for fixing that!
It was a but that I reported). Also be sure to disable any
<TT>/etc/rc*.d/S*syslog</TT> script you're running.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course you could also just edit our <TT>/etc/*/init.d/syslog</TT>
script file.
</BLOCKQUOTE>
<BLOCKQUOTE>
I presume you're planning to add either the -m (generate
"heartbeat" marks for remote monitors) or the -r (allow
reception of remote syslog messages on a central loghost).
Please be aware that -r might leave you vulnerable to some
attacks --- particularly some DoS (denial of service)
shenanigans. Use it with caution, and arrange your packet
filters to limit access from untrusted networks.
</BLOCKQUOTE>
<BLOCKQUOTE><ul><li>
(Technically a modern Linux kernel might also be running
some things before it starts 'init'. This is a uniquely
Linux feature that allows you to run a <TT>/linuxrc</TT> program
from your initrd (initial RAM disk). However, when that
exits, init will normally be started. Don't worry about
that --- it's just a techie note to stave off the nitpick
I'd get if I over-simplified.)
</UL></BLOCKQUOTE>
<!-- sig -->
<!-- end 50 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 50 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>followup: The Linux Startup Script?</H3>
<p><strong>From Joe Lorino on Mon, 11 Oct 1999
</strong></p>
<P><STRONG>
Thank you for your reply. The information you provided is very helpful.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Good. The most important thing for troubleshooting
most computer systems is knowing in detail exactly what
steps they go through as they start up.
</BLOCKQUOTE>
<BLOCKQUOTE>
Glad I could help.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 50 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/51"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 51 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Short names for Long Domains?</H3>
<p><strong>From Green, David on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Short names for Long Domains?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Gentlemen,
</STRONG></P>
<P><STRONG>
I have a COMCAST modem and ipmasq and everything connects and runs
</STRONG></P>
<P><STRONG>
fine (http browsing, ICQ, realaudio) except my MS mail can't find the pop
and smtp servers "mail" and the news server "news." I can ping the long
address mail.etntwn1.nj.home.com or the IP address, but I can't ping "mail"
nor can my mail client (Outlook express) find "mail" or "news". Have you
seen a similar problem and how did you solve it?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Umm ... so why don't you configure MS Mail to use
mail.etntwn1.nj.home.com and news.etntwn1.nj.home.com (the
long names) instead of trying to use the the short names.
</BLOCKQUOTE>
<BLOCKQUOTE>
If your domain was set to "etntwn1.nj.home.com" then
the bare hostnames should work. Under Linux or UNIX you
could add directives to your <TT>/etc/resolv.conf</TT> file to
force it to search additional domains. I don't know how
to do that under Win '9x or NT (or even it it's possible
for them).
</BLOCKQUOTE>
<BLOCKQUOTE>
So, try that.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 51 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 51 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>RE: Comcast and IPmasq</H3>
<p><strong>From Green, David on Tue, 12 Oct 1999
</strong></p>
<BLOCKQUOTE>
Jim,
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
why don't you configure MS Mail to use mail.etntwn1.nj.home.com
and news.etntwn1.nj.home.com
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I tried that already. The problem was apparently that somone hacked our
local comcast mail and news servers so they were off line for a day or so.
Everything works great now. Thanks.
</BLOCKQUOTE>
<BLOCKQUOTE>
--David Green
</BLOCKQUOTE>
<!-- end 51 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/52"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 52 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Snooping on a Serial Port</H3>
<p><strong>From Rudy Moore on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Snooping on a Serial Port
~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
How can I snoop what an application is sending and receiving from a
serial port?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Look for ttysnoop. Here are a few URLs:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
ttysnoop-0.12c-4.i386 RPM
<DD><A HREF="http://rufus.w3.org/linux/RPM/contrib/libc5/i386/ttysnoop-0.12c-4.i386.html"
>http://rufus.w3.org/linux/RPM/contrib/libc5/i386/ttysnoop-0.12c-4.i386.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
[freshmeat] ttysnoop
<DD><A HREF="http://freshmeat.net/appindex/1999/09/05/936520647.html"
>http://freshmeat.net/appindex/1999/09/05/936520647.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
<A HREF="http://www.debian.org/">Debian</A> GNU/Linux -- ttysnoop
<DD><A HREF="http://www.debian.org/Packages/unstable/admin/ttysnoop.html"
>http://www.debian.org/Packages/unstable/admin/ttysnoop.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
You might also look at:
</BLOCKQUOTE>
<BLOCKQUOTE><DL><DT>
Debian GNU/Linux -- ttylog
<DD><A HREF="http://www.debian.org/Packages/unstable/utils/ttylog.html"
>http://www.debian.org/Packages/unstable/utils/ttylog.html</A>
</DL></BLOCKQUOTE>
<BLOCKQUOTE>
... which is a similar program. You could probably use the
'alien' package (<A HREF="http://kitenet.net/programs/alien"
>http://kitenet.net/programs/alien</A>) to
convert the Debian package into some other format (like
RPM).
</BLOCKQUOTE>
<BLOCKQUOTE>
I trust you will be using these for ethical purposes.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
(Not sure if you prefer long or short questions, but I can elaborate if
you'd like more information.)
</STRONG></P>
<P><STRONG>
Rudy
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I prefer questions that provide just enough information
that I can answer them. I like them to be just general
enough that they will be useful to some significant number
of the Linux Gazette readers and to the many people who
find my back issues using Yahoo!, Google, Alta Vista, Deja
and just specific enough that I can answer them in less
than five pages.
</BLOCKQUOTE>
<BLOCKQUOTE>
Oddly enough yours is the first question I can remember that
actually asked what sort of questions I prefer.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 52 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 52 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>More on: Snooping on a Serial Port</H3>
<p><strong>From rudy on Wed, 13 Oct 1999
</strong></p>
<!-- ::
More on: Snooping on a Serial Port
~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
The problem with ttysnoop is that it's heavily oriented toward spying on a
network connection - which is different from protocol analysis. The first
begs the "ethical?" question, the second implies reverse engineering - or
debugging. And I would venture to say that debugging in this manner is
really just a form of reverse engineering, so...
</STRONG></P>
<P><STRONG>
I wrote a PERL frontend to strace and have made a pretty darn useful
protocol analyser. At some point in the future, I'll post my code so others
can benefit from it.
</STRONG></P>
<P><STRONG>
Thanks for the reply!
Rudy
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I agree that ttysnoop isn't well-suited for
protocol analysis. However, I was unable to find
any tools specifically for that.
</BLOCKQUOTE>
<BLOCKQUOTE>
One thing that would be cool would be a modified form
of the serial device driver --- one that could used
to capture and log data as it is passed from the
interface to the userspace process.
</BLOCKQUOTE>
<BLOCKQUOTE>
This has shades of "STREAMS" gathering like storm clouds
over it. The ability to attach filters into the streams
of data on UNIX device driver is a major feature of STREAMS.
There is an optional set of STREAMS patches (LiS) available
for Linux. However, they are not part of the standard
interfaces and drivers (and probably never will be).
</BLOCKQUOTE>
<BLOCKQUOTE>
One of the key arguments against STREAMS in the mainstream
Linux kernel is that we have the driver sources available.
If we need to add custom filtering, logging, etc, into
those at a low level --- we should modify the driver.
This prevents the rest of the drivers from suffering
from bloat and performance restrictions that would be
necessary to fully support the STREAMS infrastructure.
(Those are the arguments as I remember and understand
them. I'm not a kernel or device driver developer
and don't really have a qualified opinion on the whole
debate).
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course, if the 'strace' solution is working for you, then
use it. It sounds interesting and useful. However, if
'strace' doesn't do it, or it costs too much load for
your purposes, maybe you could use a patched driver.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 52 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 52 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Another Call for Serial Snooping</H3>
<p><strong>From VETTER Joe on Tue, 12 Oct 1999
</strong></p>
<!-- ::
Another Call for Serial Snooping
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
I have a program which communicates through the serial port to a data
logger. The program is not very functional and I would like to reproduce it.
The problem is I do not know the commands to send to request data from the
data logger. I am looking for a program which will monitor the data passing
in and out of the serial port, without actually stopping the other program
from using the serial port. Any ideas ?
</STRONG></P>
<P><STRONG>
Thanks in Advance
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Look for ttysnoop. This is a package that is
specifically designed to "listen in on" Linux ttys
(serial or console).
</BLOCKQUOTE>
<BLOCKQUOTE>
Here's the Freshmeat pointer:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
<A HREF="http://freshmeat.net/appindex/1999/09/05/936520647.html"
>http://freshmeat.net/appindex/1999/09/05/936520647.html</A>
</BlockQuote></BLOCKQUOTE>
<!-- sig -->
<!-- end 52 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/53"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 53 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Maximal Mount Count Reached</H3>
<p><strong>From Marius Andreiana on Sat, 25 Sep 1999
</strong></p>
<!-- ::
Maximal Mount Count Reached
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Dear Answer Guy,
</STRONG></P>
<P><STRONG>
I'm Marius and here is my problem :
</STRONG></P>
<P><STRONG>
From time to time ( seldom ), my RH Linux 6.0 says during booting
"<TT>/dev/hdaX</TT> had reached maximal mount count; check forced"
where X is 3 and 4. Here's my partition table :
</STRONG></P>
<Pre><STRONG><BlockQuote>
/dev/hda1, 170 MB, type= 6h (DOS 16-bit &gt;=32)
/dev/hda2, 16 MB, type=82h (Linux swap)
/dev/hda3, 497 MB, type=83h (Linux native)
/dev/hda4, 129 MB, type=83h (Linux native)
</BlockQuote></STRONG></Pre>
<P><STRONG>
I always perform clean shutdowns. I suppose this is because all the
above 4 partitions are primary. But then why does it report
that message only from time to time ?
</STRONG></P>
<P><STRONG>
Thanks a lot for your time
<br>Marius
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
We call that "losing the lottery." It always seems to
happen when you're in a hurry to get the system back up and
running.
</BLOCKQUOTE>
<BLOCKQUOTE>
Don't worry about this message, though. It's perfectly
normal. Even if you do cleanly shutdown every time, there's
always that chance that some filesystem corruption has crept
in. So each filesystem stores the number of times you've
mounted it since you did an fsck (filesystem check) and
automatically forces one at those points.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you want to live dangerously you can change the
the maximal mount count value on a filesystem
using the 'tune2fs' command's -c option. You can also
manually set the mount value using the -C (upper case)
option. You can see the current values using a command
like:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
tune2fs -l <TT>/dev/hda1</TT>
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
... This is the only command that you might run on any of
these devices while it is mounted. In my particular case it
shows a maximal mount count of 20. You should unmount any
filesystem before using tune2fs to write any new values unto
them using the other options from this command. (It should
be safe to change some values when you have a filesystem
mounted read-only; though it might be worth asking an
expert, so I've copied Ted T'so and Remy Card on this
message).
</BLOCKQUOTE>
<BLOCKQUOTE>
You can also set a volume label on any of your
ext2 filesystems using this command (BTW: 'tune2fs'
only works on ext2fs --- don't try to use it on
any other sorts of filesystems that you have). I
notice that the man page doesn't tell us anything
about these volume labels (like what characters
are allowed, and how long they can be). Glancing
at the source code to e2fsprogs I find that you can
have volume labels of up to 16 characters. I didn't
see any filtering on characters so I suppose any
string of non-NUL characters might be used ---
though I'd stick with simple alphanumerics and
printable punctuation to be safe.
</BLOCKQUOTE>
<BLOCKQUOTE>
As far as I know there is no way in which this
volume label is currently used. It seems to be a
wholly optional feature; I guess we can use these
to keep track of our removable media or something.
</BLOCKQUOTE>
<BLOCKQUOTE>
(Ted, Remy, is it safe to set some or all tune2fs
values on a filesystem while it's mounted read-only?
Are there any characters that should NOT be used
in the volume labels? Is there anything that uses
these volume labels, or are they just obscure
cosmetic options?)
</BLOCKQUOTE>
<!-- sig -->
<!-- end 53 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 53 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Having been cc'd, Ted T'so adds...</H3>
<p><strong>From tytso on Mon, 27 Sep 1999
</strong></p>
<!-- ::
Having been cc'd, Ted T'so adds...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Date: Sat, 25 Sep 1999 01:14:42 -0700
From: Jim Dennis &lt;<A HREF="mailto:jimd@starshine.org"
>jimd@starshine.org</A>&gt;
</STRONG></P>
<P><STRONG>
We call that "losing the lottery." It always seems to
happen when you're in a hurry to get the system back up and
running.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Yup. Note that even once we have journalling support in ext2, you will
want to occasionally force an fsck over the filesystem just to make sure
there haven't been any errors caused by memory errors, disk errors,
cosmic rays, etc.
</BLOCKQUOTE>
<BLOCKQUOTE>
If you need your laptop to reboot quickly just before a demo (and your
laptop doesn't have a hiberate feature or some such), something you can
do is to sync your disks, make sure your system is quiscient (i.e.,
nothing is running), and then force a power cycle and let your system
reboot. Your system will then fsck all of your disks, and you can then
shutdown your system, confident that the dreaded "maximal mount count"
message won't appear during that critical demo.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
If you want to live dangerously you can change the
the maximal mount count value on a filesystem
using the 'tune2fs' command's -c option. You can also
manually set the mount value using the -C (upper case)
option. You can see the current values using a command
like:
</STRONG></P>
<P><STRONG><BlockQuote><Code>
tune2fs -l <TT>/dev/hda1</TT>
</Code></BlockQuote></STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
If you know that your system is fairly reliable --- you've been running
it for a while and you're not seeing wierd failures due to cheasy cheap
memory or overly long IDE or SCSI cables, etc. it's actually not so
dangerous to set a longer maximal count time.
</BLOCKQUOTE>
<BLOCKQUOTE>
One approach if your system is constantly getting shutdown and restarted
is to set the filesystem so it uses the time the filesystem was last
checked as a criteria instead of a maximal count. For example:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE>
tune2fs -c 100 -i 3m <TT>/dev/hda1</TT>
</CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
This will cause the filesystem to be checked after 100 mounts, or 3
months, whichever comes first.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
(It should be safe to change some values when you have a
filesystem mounted read-only; though it might be worth asking
an expert, so I've copied Ted T'so and Remy Card on this
message).
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Yes, it's safe these values if the filesystem is mounted read-only. If
you're ***sure*** that the filesystem is quiscent, and nothing is
changing on the filesystem, you can even get away with changing it while
the filesystem is mounted read-write. It's not something I'd really
recommend, but if you know what you're doing, you can get away from it.
It really depends on how much you like working without a safety net.
</BLOCKQUOTE>
<P><STRONG><IMG SRC="../gx/dennis/qbub.gif" ALT="(?)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
As far as I know there is no way in which this
volume label is currently used. It seems to be a
wholly optional feature; I guess we can use these
to keep track of our removable media or something.
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You can use the volume label in your <TT>/etc/fstab</TT> if you like: For
example:
</BLOCKQUOTE>
<BLOCKQUOTE><BlockQuote>
LABEL=temp <TT>/tmp</TT> ext2 defaults 1 2
</BlockQuote></BLOCKQUOTE>
<BLOCKQUOTE>
or
</BLOCKQUOTE>
<BLOCKQUOTE>
UUID=3a30d6b4-08a5-11d3-91c3-e1fc5550af17 <TT>/usr</TT> ext2 defaults 1 2
</BLOCKQUOTE>
<BLOCKQUOTE>
The advantage of doing this is that the filesystems are specified in a
device independent way. So for example, if your SCSI chain gets
reordered, the filesystems will get mounted correctly even though the
device names may have changed.
</BLOCKQUOTE>
<BLOCKQUOTE>
- Ted
</BLOCKQUOTE>
<!-- end 53 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/54"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 54 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Selecting a Lotus Notes Platform</H3>
<p><strong>From Rebecca Henderson on Mon, 11 Oct 1999
</strong></p>
<!-- ::
Selecting a Lotus Notes Platform
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
I have Lotus Notes on my box and it is in a UNIX environment, A question
of platforms has come up. As400 vs UNIX, Solaris.
What do you feel would be easiest to support and maintain?
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
I've never worked with an AS/400. I've heard that they are
quite easy to administer though they have a somewhat limited
range of utilities and applications. (Indeed it seems, from
what I've heard, that the limited range of utilities and
peripherals available for the 400 is what makes it possible
for IBM to make a fully integrated menu-driven
administration system that's usable by relatively
unsophisticated operators).
</BLOCKQUOTE>
<BLOCKQUOTE>
It seems like a odd question to ask since you say that you
already have Lotus Notes installed on an existing UNIX
system. If your staff already has UNIX experience (and
possibly a preference for it) or if you need the sort of
flexibility and control that UNIX gives you (which leads to
the "do-it-yourself" flavor of the administrative interfaces
and tools) then UNIX would be the obvious choice.
</BLOCKQUOTE>
<BLOCKQUOTE>
UNIX is not the "easiest" in terms of learning curve.
However it may be the "easiest" in terms of giving you the
tools you need to suit your precise needs. In other words,
if your needs exactly match the design of the OS/400 --- if
they match the platform --- then it's likely to be the
easiest. If you have needs for customized procedures or
specialized hardware then UNIX is probably the easiest to
adapt.
</BLOCKQUOTE>
<BLOCKQUOTE>
As with all questions that relate to selecting a platform
(hardware or software) the answer always boils down to: "it
depends on your requirements."
</BLOCKQUOTE>
<BLOCKQUOTE>
Unfortunately I see far too many cases where selections are
made before requirements are understood, and where the
selection process is constrained by organizational politics
more than by requirements analysis.
</BLOCKQUOTE>
<BLOCKQUOTE>
The real job of a consultant is to assess and analyze your
requirements and provide recommendations to match them.
Too many people who use the term consultant are actually
referring to "contractors" or "VARs"; contractors implement
and VARs sell. Consultants provide consultation.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 54 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 54 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>QUESTION</H3>
<p><strong>From Rebecca Henderson on Mon, 11 Oct 1999
</strong></p>
<BLOCKQUOTE>
Thanks for your input.
We are on Sun Solaris now and the application is quite stable.
I guess it is a "politics" issue. At least from my point of view.
Requirements for 3rd party software are an issue with UNIX and the Lotus Notes application.
Your input has helped.
</BLOCKQUOTE>
<BLOCKQUOTE>
Sincerely,
<br>Rebecca M Henderson
<br>UNIX System Administrator.
</BLOCKQUOTE>
<!-- end 54 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/55"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 55 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>"telnetd connected:" But No "login" Prompt</H3>
<p><strong>From cbgyeh on Mon, 11 Oct 1999
</strong></p>
<!-- ::
"telnetd connected:" But No "login" Prompt
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Hi,
</STRONG></P>
<P><STRONG>
I appreciate that if you can help me the problem related to telnet
running RedHat 6.0.
</STRONG></P>
<P><STRONG>
I recently configured RedHat 6.0. When I telnet to the server, I see
the banner message. There is no login prompt. The <TT>/var/log/secure</TT>
indicates telnetd connected from xxx.xxx.xxx.xxx. When I test the loop
back i.e. 127.0.0.1, the telnetd works correctly. Ping and ftp work
well. FTP has no delay at all.
</STRONG></P>
<P><STRONG>
I did not install any patches yet.
Ching
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
It sounds like a TCP Wrappers problem.
</BLOCKQUOTE>
<BLOCKQUOTE>
Linux systems normally have TCP Wrappers (tcpd)
preconfigured to provide selective access control to
all 'inetd' launched services. You'll see this if you
look in your <TT>/etc/inetd.conf.</TT> Thus 'inetd' is configured
to listen to the telnet service port (23, as listed in
<TT>/etc/services</TT>). 'inetd' find 'tcpd' and runs that. Thus
'inetd' won't complain about a "program not found."
</BLOCKQUOTE>
<BLOCKQUOTE>
TCP Wrappers will log the connection attempt (under the service
name). Then it will do a double-reverse lookup (taking
the source IP address of the connection, getting a purported
host/domain name, then doing a a forward lookup of that to
scan for the original source IP address). If those values
are inconsistent it may just drop the connection or it
may continue as normal.
</BLOCKQUOTE>
<BLOCKQUOTE>
TCP Wrapper will then check the <TT>/etc/hosts.allow</TT> and the
<TT>/etc/hosts.deny</TT> files. It will look for a line that
applies to this service (in.telnetd) followed by a list
of allowed (or denied) IP address or host/domain name
patterns. The syntax of these files is described in
the hosts_access man pages.
</BLOCKQUOTE>
<BLOCKQUOTE>
I've described TCP Wrappers and this double reverse lookup
before. If you're reverse DNS zones aren't properly
configured you may seen very log delays on connections at
this point (several minutes). You're test from localhost
succeeds because you have localhost (127.0.0.1) listed in
your <TT>/etc/hosts</TT> file so the forward and reverse records will
always be correct so long as the 'files' entry in your
<TT>/etc/nsswitch.conf</TT> (<TT>/etc/hosts.conf</TT> for older libc5
packages) is properly maintained.
</BLOCKQUOTE>
<BLOCKQUOTE>
Usually your FTP daemon would also be protected this way.
However, new Linux distributions sometimes are using
ProFTPd which is often run "standalone" (not through the
inetd dispatcher). ProFTPd has optional service access
controls of it's own (and might not be configured to do
this "double-reverse lookup").
</BLOCKQUOTE>
<BLOCKQUOTE>
So, try adding the appropriate IP addresses and names to
your <TT>/etc/hosts</TT> file or get your hostmaster to get your
reverse zone maps configured properly. If that doesn't
work trying using strace. To do that replace the in.telnetd
line in your <TT>/etc/inetd.conf</TT> file with something like:
</BLOCKQUOTE>
<blockquote><pre>telnet stream tcp nowait telnetd.telnetd /usr/sbin/tcpd /root/bin/trace.telnetd
</pre></blockquote>
<BLOCKQUOTE>
... (all on one line, of course --- the backslash is just
to note that this is a "continued" line in my e-mail ---
DON'T put that in the inetd.conf file).
</BLOCKQUOTE>
<BLOCKQUOTE>
"<TT>/root/bin/trace.telnetd</TT>" is a shell script that
looks like:
</BLOCKQUOTE>
<blockquote><pre>#!/bin/sh
exec strace -o root/tmp/telnetd.trace /usr/sbin/in.telnetd
</pre></blockquote>
<BLOCKQUOTE>
... that can give you a system call trace of what the telnet
daemon is doing after its launched. Of course you have to
signal your inetd to re-read it's configuration file using
a command like:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQUOTE><CODE><BlockQuote>
kill -HUP $(cat <TT>/var/run/inetd.pid</TT>)
</BlockQuote></CODE></BLOCKQUOTE></BLOCKQUOTE>
<BLOCKQUOTE>
... in order for this change to take effect. (It would also
take effect after a reboot, of course).
</BLOCKQUOTE>
<BLOCKQUOTE>
NOTE: I don't recommend that you run with this strace
script during normal production use. It could be insecure
and it's likely to be a bad idea in any event. However,
it's useful for capturing some low level diagnostic data.
</BLOCKQUOTE>
<BLOCKQUOTE>
Reading strace output is challenging. However, you can
usually get by okay by simply looking for failed<TT> open()</TT>,
<TT>stat()</TT>, and<TT> lstat()</TT> calls.
</BLOCKQUOTE>
<BLOCKQUOTE>
If that line doesn't work (you don't get any telnet.trace
output) try:
</BLOCKQUOTE>
<blockquote><pre>telnet stream tcp nowait telnetd.telnetd /root/bin/trace.telnetd telnetd
</pre></blockquote>
<BLOCKQUOTE>
... (all on one line, as before). In this case we are
eliminating tcpd from the picture. The confusing part
about the inetd.conf file syntax is that you seem to repeat
the name of the program your running twice on each service
line. The first reference is the program that will be run,
the next is the name under which it will appear in a 'ps'
(process status) listing and anything else on the line will
be passed as command line arguments to the daemon.
</BLOCKQUOTE>
<BLOCKQUOTE>
This ability to separately supply an executable patch/name
and a full argument list, including "arg(0)" --- the
'ps' name --- is normal for UNIX and Linux, it's just not
something you'd see from using the command shell. That and
'init' always start programs using the same value for
both the executable path and the arg(0).
</BLOCKQUOTE>
<BLOCKQUOTE>
I doubt you'll have to go to that level of debugging for
this. I'm just describing the technique (again) for
other readers and in case you do need it.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 55 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 55 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Ying at New York: Re: RedHat 6.0:Telnet has no login prompt</H3>
<p><strong>From chgyeh on Fri, 15 Oct 1999
</strong></p>
<BLOCKQUOTE>
Jim,
</BLOCKQUOTE>
<BLOCKQUOTE>
Thank you so much for showing me strace command. I was able to look at
the trace file and determined my nsswitch was not correct. It was
hanging at the nis+ which I did not configure to use. Again, thank you
for your help.
</BLOCKQUOTE>
<BLOCKQUOTE>
Ching
</BLOCKQUOTE>
<!-- end 55 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/56"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 56 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Staging Server on localhost</H3>
<p><strong>From Larry on Wed, 13 Oct 1999
</strong></p>
<!-- ::
Staging Server on localhost
~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
Your answer to Mark was accurate as it stood, but you
left out a second, possibly better, solution: put
Linux on the Mac! Instead of buying a basic PC, save
the money and use one computer for two purposes.
</STRONG></P>
<P><STRONG>
I have an older PowerMac running a webserver (<A HREF="http://www.apache.org/">Apache</A>
under MkLinux to be precise) on our corporate intranet,
and it does a fine job. I also have a dual-booting G3
at home, plus an older system dedicated to <A HREF="http://www.netbsd.org/">NetBSD</A>.
</STRONG></P>
<P><STRONG>
Back to the staging server -- if Mark were to simply
use the Mac (running Linux) to do the testing, he could
pull up a browser under X11 and make all his calls to
&lt;http://localhost&gt;.
</STRONG></P>
<P><STRONG>
Just another idea.
Larry
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You are correct. He could run Linux on
his Mac. He didn't specify which platform his
Mac was (PPC or older 68K) but there are versions
of Linux for both. For PowerPC there are a number
of distributions available: LinuxPPC, mkLinux,
Yellow Dog (YDL), and <A HREF="http://www.debian.org/">Debian</A>, to name a few.
</BLOCKQUOTE>
<BLOCKQUOTE>
For the 68K I think Debian might be the only full
distribution around.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course it might be that Mark actually likes
MacOS, or some of the tools that currently run under
it and haven't been ported to Linux. It's also
possible that some of the testing that he wants to
do is not feasible through the loopback interface.
</BLOCKQUOTE>
<BLOCKQUOTE>
However, it's worth mentioning and remembering.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 56 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 56 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>A Staging Server</H3>
<p><strong>From <EM>anonymous</EM> on Fri, 15 Oct 1999
</strong></p>
<P><STRONG><FONT COLOR="#000066"><EM>
You are correct. He could run Linux on
his Mac. ...
</EM></FONT></STRONG></P>
<P><STRONG><FONT COLOR="#000066"><EM>
For the 68K I think <A HREF="http://www.debian.org/">Debian</A> might be the only full
distribution around.
</EM></FONT></STRONG></P>
<P><STRONG>
There's also <A HREF="http://www.netbsd.org/">NetBSD</A>/mac68k, which I hesitate to mention
because this <EM>is</EM> a Linux publication.
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)"
height="24" width="20" align="middle"> But from
personal experience, it's a good choice for a 68K system.
</STRONG></P>
<P><STRONG>
Larry
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
You're right about that, too. NetBSD support on
several platforms pre-dates Linux by a few years.
</BLOCKQUOTE>
<BLOCKQUOTE>
I wouldn't hesitate to mention it because of this
being a Linux venue. I've recommended *BSD to Linux
users before and I will again. <A HREF="http://www.freebsd.org/">FreeBSD</A> is a slick
system. It's well integrated and robust. I've used
it and I suggest that every serious Linux enthusiast
try FreeBSD or {Net,Open}BSD at least once.
</BLOCKQUOTE>
<BLOCKQUOTE>
Of course I prefer Linux. But my preference is based
on personal experience, and relatively minor issues.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 56 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<A NAME="tag/57"><HR WIDTH="75%" ALIGN="center"></A>
<!-- begin 57 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Mounting CDs on IDE CDRW Drives</H3>
<p><strong>From Anthony Dearson on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Mounting CDs on IDE CDRW Drives
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
You had a question about mounting CDRW drives when using SCSI emulation. I
found that using <TT>/dev/scdX</TT> allowed mounting the CDRW. <TT>/dev/cdrom</TT> can be
linked to that instead of <TT>/dev/HDX</TT>
Tony Dearson
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Ironically I guessed that and gained some first hand
experience about a week ago when I bought and installed
one of the silly things into my workstation. I also found
out about the need to append hdc=ide-scsi on my shiny new
2.0.38 kernel to get the SCSI emulation working. I also
found out that my normal CD-ROM drive (<TT>/dev/hdb</TT>) can't
read CDRW media (though it seems to do O.K. with the
CDR's that I burn in the same drive).
</BLOCKQUOTE>
<BLOCKQUOTE>
Thanks for confirming my guess.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 57 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 57 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>More CDRW</H3>
<p><strong>From David G. Watson on Thu, 23 Sep 1999
</strong></p>
<!-- ::
More CDRW
~~~~~~~~~
:: -->
<P><STRONG>
I have an IDE CD-RW drive, and it's just a little bit tricky
getting it to work. The guy who you responded to in TAG is very
close - he's just looking at the wrong device. The one he really
wants is <TT>/dev/scd0.</TT> I haven't managed to get all CD playing
software to recognize this when I'm not root, but most X CD
players can (xplaycd, workman, synaesthesia, kscd, etc.).
</STRONG></P>
<P><STRONG>
Hope this helps,
-Dave Watson
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Yep! I got one and had to learn a bit about it myself.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 57 -->
<!-- . . . . . . . . . . . . . . . . . . . -->
<HR WIDTH="40%" ALIGN="center">
<!-- begin 57 -->
<H3 align="left"><img src="../gx/dennis/qbubble.gif"
height="50" width="60" alt="(?) " border="0"
>Even more on CDRW</H3>
<p><strong>From Lance DeVooght on Thu, 23 Sep 1999
</strong></p>
<!-- ::
Even more on CDRW
~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
James,
Regarding,
</STRONG></P>
<P><STRONG>
"Reading CD Discs on an IDE CDR Drive
From balou nguyen on Wed, 14 Jul 1999 "
</STRONG></P>
<P><STRONG>
He needs to use:
mount -t iso9660 <TT>/dev/scd0</TT> <TT>/mnt/cdrom</TT>
</STRONG></P>
<P><STRONG>
if his CD-ROM drive is the master on the secondary IDE controller.
</STRONG></P>
<P><STRONG>
I just had this same problem on my system.
It seems that after enabling SCSI emulation, the CD-ROM drives are seen as
SCSI devices.
</STRONG></P>
<P><STRONG>
So, the slave drive on the secondary IDE controller is <TT>/dev/scd1.</TT>
</STRONG></P>
<P><STRONG>
You have probably already found this out but I couldn't resist
trying to help the "Answer Guy" for a change.
</STRONG></P>
<P><STRONG>
Thanks for a great column!
</STRONG></P>
<P><STRONG>
Another fan,
Lance DeVooght
</STRONG></P>
<BLOCKQUOTE><IMG SRC="../gx/dennis/bbub.gif" ALT="(!)"
HEIGHT="28" WIDTH="50" BORDER="0"
>
Obviously the CDRW medium as arrived! I've gotten
more clarifications on that point then I can remember
getting on any other.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 57 -->
<H4>"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <hr> <P>
<!-- QUICK TIPS SECTION ================================================== -->
<center>
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.gif">
More 2&#162; Tips!</A></H1> <BR>
Send Linux Tips and Tricks to <A HREF="mailto:gazette@ssc.com">
gazette@ssc.com
</A></center>
<p><hr><p>
<H3><font color="#CC0000">New Tips:</font></H3>
<!-- BEGIN tips -->
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">2 Cent Tricks & Tips - Mounting a zip drive
</FONT> </H3>
Sat, 30 Oct 1999 21:48:16 -0700
<BR>From: David &lt;<A HREF="mailto:elvii@writeme.com">elvii@writeme.com&gt;</A>
<P> Well, this topic has been covered a number of times, but one minor nit
from your "Mounting a zip disk" in issue #47 - the printed tip reads:
<P> 1) Compile in IDE Floppy support in the kernel - there is no need for
scsi emulation unless you want auto-eject support. Also remember to
compile in support for the filesystems you wish to have on your zip
disks.
<P> Under Debian potato, kernel 2.2.13, eject version 2.0.2, I am able to
eject the zip disk from the ATAPI zip drive without using ide-scsi
emulation. I've been able to eject it this way at least since 2.2.5 or
so, I believe, thou I'm not sure quite when I found this out. I didn't
have the zip when I ran 2.0.x kernels, so ide-scsi might've been needed
there, but not anymore, it seems.
<P> David
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">atapi zip drive comment
</FONT> </H3>
Tue, 02 Nov 1999 11:36:25 -0600
<BR>From: Draper7 &lt;<A HREF="mailto:draper7@earthlink.net">draper7@earthlink.net&gt;</A>
<P> Hello and how are you? I just wanted to say thanks for the help
with my linux problems and make one small comment. In the
documentation on the atapi zip drive I think that alot of newbies
might find it helpful if you added how to format a zip disk for the
dos filesystem.
<PRE>
/sbin/mkdosfs ..........
</PRE>
thanks again for the help documentation!!<BR>
Jeremy
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Toshiba Cyber 9525 video chipset
</FONT> </H3>
Sat, 13 Nov 1999 01:13:22 -0500
<BR>From: Cliff Miller &lt;<A HREF="mailto:cliff52@usa.net">cliff52@usa.net&gt;</A>
<P> Re: (LG 43, mailbag...)
<P>
From: ANTONIO SORIA (mpenas@sego.es)
<BLOCKQUOTE>
to buy a Toshiba Satellite S4030CDS which comes with the Trident Cyber
9525 video card...
</BLOCKQUOTE>
<P> ...a good resource is
<A HREF=http://www.741systems.com/linux/2595XDVD-install.html>
www.741systems.com/linux/2595XDVD-install.html</A>
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Sorting the lines in a file
</FONT> </H3>
Fri, 12 Nov 1999 01:37:22 -0500 (EST)
<BR>From: Mike Smith &lt;<A HREF="mailto:mesmith@panix.com">mesmith@panix.com&gt;</A>
<BLOCKQUOTE>
I have unsubscribed that address, run "uniq" on the mailing list to
remove any other duplicates, and unsubscribed all other addresses with
</BLOCKQUOTE>
<P> Just in case you forgot (we all do sometimes), uniq presupposes that
the stream it is processing is already sorted. `Sort -u' will screen
out duplicates, too.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Winmotherboard
</FONT> </H3>
Sun, 14 Nov 1999 18:41:26 -0500
<BR>From: Pierre Abbat &lt;<A HREF="mailto:phma@oltronics.net">phma@oltronics.net&gt;</A>
<P> You've heard of Winmodems, now there are Winmotherboards.
<P> I bought a Shuttle Spacewalker HOT-591P to upgrade an existing system. I put a
Pentium in it, tweaked the speed switches until it came up, attached the hard
drives, turned it on again, and set the hard drive size. I got an error message:
<P> No [active partition] found
DISK BOOT FAILURE, INSERT SYSTEM DISK AND PRESS ENTER
<P> This is the first time I have seen a motherboard *require* that relic of the
DOS age, the bootable partition.
<P> Unlike the Winmodem, there is a way around this. Run cfdisk and set one of the
partitions on hda as the active partition.
<P> phma
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Followup to Running UNIX At Home
</FONT> </H3>
Mon, 22 Nov 1999 15:38:59 -0500
<BR>From: Rob Reid &lt;<A HREF="mailto:reid@astro.utoronto.ca">reid@astro.utoronto.ca&gt;</A>
<P></STRONG>From: Javier L&oacute;pez P&eacute;rez &lt;<A HREF="mailto:jlopezpe@idecnet.com">jlopezpe@idecnet.com&gt;</A>:</STRONG>
<P> Hello Mr. Reid:
<P> In your article "Running UNIX At Home" in LinuxGazette #47 you wrote:
<BLOCKQUOTE>
None of my cron jobs, like updating locate's database and trimming the
log files, were being done since the computer was hardly ever on in the
wee hours of the morning, the time chosen by the distributions
(Slackware, then Red Hat 3.0.3, then 5.1) for housecleaning.
</BLOCKQUOTE>
<P> Like most home users, I have also stumbled across cron not running the
programs it should because of my computer being off. Although the script you
provide looks great, I was wondering if you know that there already are, to my
knowledge, two programs that resolve this very same issue: anacron and hc-cron
(sorry, I have not an URL to give, but I bet that a search to
http://freshmeat.net would be useful.)
<P> In the same article you also mention that to change runlevels you
stop/start starter scripts by hand [...]
<P> You can do this in a more convenient manner by using /sbin/telinit, giving
it the runlevel you want to change to. To change from any runlevel to runlevel
3 you would just type (as root, of course): /sbin/telinit 3 and that is all. As
far as I know, all your programs will be SIGTERM or SIGKILL by doing this,
while starter scripts will be called to start/stop services as needed.
<P> I hope this information is of any help to you. I also deeply hope not to
have
made any big mistake in what I have said.
<P> Best wishes.
<P><STRONG>Rob Reid responds:</STRONG>
<P> ----- Forwarded message from Howard Shaw
&lt;<A HREF=mailto:howard@tyroldata.com>howard@tyroldata.com</A>&gt; -----
<BLOCKQUOTE>
First, with regard to your cron problems, you might consider using
hc-cron.
Here is Freshmeat's description of it...
<P>hc-cron will remember the time when it was shut down and catch
up jobs that have occurred during down time when it is started again.
</BLOCKQUOTE>
<P> ----- Forwarded message from Duckie &lt;<A HREF=mailto:duckie@node0911.a2000.nl>duckie@node0911.a2000.nl</A>&gt; -----
<BLOCKQUOTE>
Debian installation offers "profiles" nowadays. The "Personal
workstation" profile includes anacron.
</BLOCKQUOTE>
<P> That's great, but groundskeeper will make sure that the commands are run at
*convienient times for the users* as closely to the specified intervals as
machine uptime permits. In other words, it uses batch and the others don't.
<BLOCKQUOTE>
You have a very good point here. I filed it as a wishlist item for
anacron on Debian's bugtracking system, from where it'll be forwarded
to whoever maintains the program itself.
<P>Thanks,<BR>
Arjan Drieman
</BLOCKQUOTE>
<P> ----- Forwarded message from Howard Shaw
&lt;<A HREF=mailto:howard@tyroldata.com>howard@tyroldata.com</A>&gt; -----
<BLOCKQUOTE>
Second, with regard to your runlevel usage, while you can write scripts
for starting your networking mechanisms, and there are valid reasons
for doing so, you can also change your runlevel without rebooting by
executing, as root, 'init X' where x is the runlevel. So you can start
at runlevel 4, then use init 3 to drop to runlevel 3 and start those
scripts, then use either init 0 to shutdown, or init 6 to restart your
system.
</BLOCKQUOTE>
<P> This was the other thing people wrote to remind me: use init (or sysinit) to
switch runlevels without rebooting. It's very useful; in going from 4 (no
internet) to 3 (internet) it stops and restarts some services that look like
they could have been left alone, but it does the job in a one line command!
<P> Thanks for everyone's feedback.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">FYI: PS/2 Port Problem In 2.2 Kernel
</FONT> </H3>
Mon, 22 Nov 1999 16:12:20 -0800
<BR>From: Bovy, Steve &lt;<A HREF="mailto:Steve.Bovy@sterling.com">Steve.Bovy@sterling.com&gt;</A>
<P> In the past few months I have attempted to
install RedHat 6.0 Caldera 2.2 and Caldera 2.3
on my Compaq Presario 5630 Pentium Computer.
<P> What I discovered is that regardless of which distro,
or which mouse I use, any attempt to install with a
mouse attached to the ps/2 port always fails with
a "frozen" machine.
<P> Caldera support and the Caldera Knowledge base has finally
acknowledged that this problem is "real", and that they are
looking into it.
<!P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Filename extensions for web program listings ...
</FONT> </H3>
Sun, 21 Nov 1999 22:41:10 -0500
<BR>From: Jeff Rose &lt;<A HREF="mailto:whisper@iag.net">whisper@iag.net&gt;</A>
<P> I'm enjoying reading this issue of LG on my Palm Vx after downloading
your text version then using a small conversion util to format into PDB
format.
<H4>The <I>Linux Gazette</I> Editor wrote:</H4>
<P> Do you mean PDF? If so, which program do you use?
<H4>Jeff clarified:</H4>
<P> I meant *.pdb :) format using the attached 'txt2pdbdoc' utility. GNU
ZDoc, Aportisdoc, and other utilities convert quick and hotsync quick
for a nice 'mobile Linux-related Library'! ;-)
<BLOCKQUOTE><EM>
[<TT>txt2pdbdoc</TT> is at
<A HREF=http://homepage.mac.com/pauljlucas/software.html>
http://homepage.mac.com/pauljlucas/software.html</A>. -Ed.]
</EM></BLOCKQUOTE>
<P> To make things easier, I made a symbolic link from txt2pdbdoc to 2pdb,
so I can just type
<PRE>
$ 2pdb {filename.you.want.2.show.on.pda} {filename.original}
{outputfilename.pdb}
</PRE>
<!-- END tips -->
<P> <hr> <P>
<!--================================================================-->
<H4><font color="maroon">
Tips in the following section are answers to questions printed in the Mail
Bag column of previous issues.
</font></H4>
<!-- BEGIN tips.answers -->
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Terminal emulators
</FONT> </H3>
Sat, 30 Oct 1999 16:00:13 -0400
<BR>From: Michael Kohne &lt;<A HREF="mailto:mhkohne@discordia.org">mhkohne@discordia.org&gt;</A>
<P> If what you want is a telnet program for windows that's better than
Microsoft's, check
http://www.geocities.com/SiliconValley/Network/1027/
Kevterm is a very simple vt100 emulating telnet client. It's biggest
features are that it's small, and it works. I'm personally a big fan of
low feature count, but fully working software, and Kevterm is that in
spades. It does everything I need
<P> It's not very fancy, but I've found it to be very useful over time.
<H4>From: Richard Cohen &lt;<A HREF="mailto:vmlinuz@vmlinuz.org">vmlinuz@vmlinuz.org&gt;</A>:</H4>
<P> http://tucows.mirror.ac.uk/term95.html (or the same page at any more local
TUCOWS mirror) contains a list of telnet clients for Win95/98, including
some freeware and lots of shareware. I seem to remember having heard good
things in the past about Tera Term Pro (which is free and has a SSH
plug-in available, if you care about that).
<P><STRONG>From: Jonathan Hutchins &lt;<A HREF="mailto:hutchins@kc.net">hutchins@kc.net&gt;</A>:</STRONG>
<P> Look for a program called "TerraTerm" on your favorite shareware site.
There are modules for SSH connections available.
<P> Good terminal emulators can cost $250 per workstation, and can eat up a lot
of resources for graphic and keyboard mapping (IBM's Personal Communications
Suite, Reflections). TerraTerm will do 95% of what you want with a
reasonable footprint similar to Microsoft's Telnet.
<H4>From: Pierre Abbat &lt;<A HREF="mailto:phma@oltronics.net">phma@oltronics.net&gt;</A>:</H4>
<BLOCKQUOTE>
<P> I have a linux shell from my Win98 machine via a terminal login. I am
presently using telnet to do this, however this causes profound graphical
errors, no color, and other problems. I am looking for a better terminal. Any
suggestions?
</BLOCKQUOTE>
<P> Try TeraTerm. I got mine from srp.stanford.edu; it's a doctored version that
supports SRP authentication, though it doesn't encrypt as the SRP telnet for
Linux does. TeraTerm does colors, but the keyboard isn't perfect, and I have to
use u and d in less instead of pgup and pgdn.
<P> phma
<H4>From: Charles Hethcoat &lt;<A HREF="mailto:CHETHCOA@oss.oceaneering.com">CHETHCOA@oss.oceaneering.com&gt;</A>:</H4>
<P> If you are looking for a better telnet for a Windows machine, you might
check out Tera Term Pro:
<P> teranishi@rikaxp.riken.go.jp
<P> It is much nicer than the plain jane Telnet that comes with Windows.
<P> I am aware of no totally free X servers that run under Windows. If you
will settle for a nonfree but cheap Windows X server, try the MicroImages
X server 2.0 (or latest) from www.microimages.com. It's pretty plain, but
works fine for connecting to Linux X clients. And it's pretty inexpensive,=
too.
<P> Charles Hethcoat
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">LS120
</FONT> </H3>
Sun, 31 Oct 1999 04:25:32 +0100
<BR>From: Ghlenn Willard &lt;<A HREF="mailto:ghlenn@presidency.com">ghlenn@presidency.com&gt;</A>
<P> Ghlenn Willard (ghlenn@presidency.com):
<BLOCKQUOTE>
<P> I would like to know exactly what I need to input into the /etc/fstab concerning having OpenLinux 2.2 to see the
LS120 drive. My system has the 1.44 floppy drive at fd0, hard drive at hda and hda1, and the cdrom at hdc. I tried the
approach Caldera suggested for the owner of OpenLinux 1.3, it didn't work or I messed up, which is possible since I am
still a greenhorn at this.
</BLOCKQUOTE>
<P> I have two HDs, hda and hdc (IDE Primary 1, IDE Secondary 1), a CD-ROM,
hdb, (IDE Primary 2), and an LS120 as hdd (IDE Secondary 2), and it
works well with this /etc/fstab:
<PRE>
/dev/hdb /cdrom iso9660 ro,noauto,user 0 0
# This is for "DOS"-formatted disks - gets mounted with mount /B
/dev/hdd /B vfat noauto,posix,user 0 0
# This is for ext2-formatted disks - gets mounted with mount /E
/dev/hdd /E ext2 noauto,user 0 0
</PRE>
<P> Needless to say: the mounting points /B and /E must exist - beforehand.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Lilo gone
</FONT> </H3>
Sun, 31 Oct 1999 11:16:28 +0100
<BR>From: Ivo Naninck &lt;<A HREF="mailto:inaninck@solair1.inter.nl.net">inaninck@solair1.inter.nl.net&gt;</A>
<BLOCKQUOTE>
<P> My wife ran Norton antivirus and detected that the MBR was changed.
She checked the 'Repair' box. Now my LILO is gone. How do I install it
back into the MBR?
</BLOCKQUOTE>
Boot your rescue floppy and mount your root filesystem on for
example /mnt. Then run /mnt/sbin/lilo and that should fix it.
Then remove any software from/or your other OS(?) that is capable of
mucking
around with critical parts of the system.
<P><STRONG>From: Tomislav Filipcic &lt;<A HREF="mailto:tojo@softhome.net">tojo@softhome.net&gt;</A>:</STRONG>
<P> This can be fixed easily. Get a boot floppy (or get a friend to make one
for you) and use it boot linux. When you get to the prompt just type "lilo"
and the MBR will be fixed.
<H4>From: Zon Hisham Bin Zainal Abidin &lt;<A HREF="mailto:zon@mad.scientist.com">zon@mad.scientist.com&gt;</A>:</H4>
<P> Thank you everybody for helping me out with the LILO issue.
<P> Think I am gonna luv this Linux thingy. And the amount of support that I
have received...it's just fascinating. Keep up with the good work to
help newbies like me...so that I am able to help newer newbies in the
future.
<P> The latest problem that I face at the moment is the task of removing the
largest virus partition on my PC...that is the DOS partition :)
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Dialling up my ISP (Freeserve)
</FONT> </H3>
Mon, 01 Nov 1999 12:14:10 +0000
<BR>From: Maxwell Lock &lt;<A HREF="mailto:maxwell@reading.sgi.com">maxwell@reading.sgi.com&gt;</A>
<P> Hi there,
<P> To connect to Freeserve using RedHat, follow the instructions in the freeserve
HOWTO:
<P> http://www.damtp.cam.ac.uk/user/ig206/freeserve/
<P> and
<P> http://www.scottish.lug.org.uk/freeserve.html
<P> -Cheers, Max.
<H4>From: Steve Phipps &lt;<A HREF="mailto:steve@sjp1.freeserve.co.uk">steve@sjp1.freeserve.co.uk&gt;</A>:</H4>
<P> I use Freeserve with Red Hat Linux and find that it works perfectly
well.
<P> I have no idea what the problem is in your case, so I'll go through my
configuration in detail. Hopefully this will enable you to find the
fault - you can always copy my setup if all else fails!
<PRE>
First of all, ensure that the file /etc/hosts.allow contains the line
ALL: LOCAL
, that /etc/hosts.deny contains the line
ALL: ALL
, that /etc/resolv.conf conatins the lines
search .
nameserver 195.92.195.94
(the number is the IP address of Freeserve's nameserver) and that
/etc/hosts contains the line
127.0.0.1 localhost
Next you need a chat script, which should be placed in the file
/etc/ppp/chatscript. Mine, which is fairly basic, is as follows:
# Set abort conditions
ABORT 'NO CARRIER'
ABORT BUSY
ABORT 'NO DIALTONE'
# Set a nice long timeout because Freeserve can be a bit slow
TIMEOUT 120
# Reset modem
'' ATZ
# Dial (0845) 079 6699
SAY 'Dialling Freeserve...\n'
OK ATDT08450796699
# Log in to remote machine
CONNECT ''
SAY 'Connection established, logging in...\n'
ogin: <username>
word: <password>
# Log in complete
SAY 'Log in successful...\n'
</PRE>
<P> Obviously, replace <username> and <password> with the appropriate values
for your account. See man chat if you want to write your own script.
<P> Finally, you need to initiate PPP. I have a file called dialup in my
home directory which simply contains the command
<PRE>
exec pppd connect 'chat -v -f /etc/ppp/chatscript' -detach crtscts \
modem defaultroute /dev/ttyS1 38400
</PRE>
<P> See man pppd if you want to know what's going on here. To connect to
the Internet, make sure that you're in your home directory and enter
<PRE>
source dialup
</PRE>
<P> (you'll have to su first). You should now be connected! Once you're
finished, just hit Ctrl-c to terminate the connection.
<P> This should be enough to connect to Freeserve from a stand-alone
terminal. I'm assuming that PPP is installed on your machine and that
your modem is connected to the second serial port (/dev/ttyS1, or COM2
under DOS).
<P> If this still doesn't work, look in /var/log/messages. That should tell
you why the connection failed.
<P> Good luck!
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">At-command error message
</FONT> </H3>
Mon, 01 Nov 1999 12:14:10 +0000
<BR>From: Buz Cory &lt;<A HREF="mailto:helpdesk@buzco.penguinpowered.com">helpdesk@buzco.penguinpowered.com&gt;</A>
<P> On Tue, 28 Sep 1999 03:51:36 +0000, Ben <benvh@wish.net>
wrote regarding "AT-command error message ":
<BLOCKQUOTE>
Whenever I try to run "at" I get an error message, like so:
<PRE>
root@benzz:&gt; at 10:15 command
Only UTC Timezone is supported. Last token seen: command
Garbled time
</PRE>
This is actual output. My system _is_ on UTC timezone,
</BLOCKQUOTE>
<P> I think that the reference to "UTC" in the error message is to the
command line, not what your system clock is running.
<P> AFAIK, at uses *local* time unless you specify "UTC", and seems not to
accept any other time zones. It seems in your example to be trying to
interpret "command" as a time zone.
<BLOCKQUOTE>
the at man-page didn't help a bit.
</BLOCKQUOTE>
<P> I suggest that you read the man page again.
<P> If you don't know what "standard input" is, this could be the problem.
<P> From the man page:
"at and batch read commands from standard input or a specified file
which are to be executed at a later time, using /bin/sh."
<BLOCKQUOTE>
Someone suggested that I should write a file:
<PRE>
echo command&gt; file at 10:15 cat &lt; file
</PRE>
</BLOCKQUOTE>
<P> This is almost correct. Any of
<PRE>
echo command &gt; file ; at 10:15 cat &lt; file
echo command &gt; file &amp;&amp; at 10:15 cat &lt; file
or
echo command &gt; file
at 10:15 cat &lt; file
</PRE>
would work. (These are two separate commands, and must be seen by the
shell as such).
<BLOCKQUOTE>
but that wouldn't help, as "at" is still in there, and it's "at"
making trouble.
</BLOCKQUOTE>
<P> Not exactly, it's misuse of "at" that is making the trouble.
<P> All "at" expects on its command line is the time and in your example it
is trying to interpret what follows the time as part of the time.
<P> The examples above avoid this, but they are kludgey.
<P> If you wish to run the *same* command from "at", then make it a shell
script and use the "-f" option, eg:
<PRE>
at -f my-script noon
</PRE>
or
<PRE>
at noon &lt; my-script
</PRE>
<P> Otherwise, just use a pipe:
<PRE>
echo command | at noon
</PRE>
<P> Granted, this is non-intuitive, but it is the way "at" has worked for
over 20 yrs.
<BLOCKQUOTE>
Does anybody know what I'm doing wrong? Or just another way to
schedule tasks? I'm getting desperate now...
</BLOCKQUOTE>
<P> There is also another way to schedule tasks. "at" is for once-only
tasks. "cron" is for periodic tasks and works a whole different way.
<P> Hope this helps,<BR>
== Buz :)
<P><STRONG>From: Ben &lt;<A HREF="mailto:benvh@wish.net">benvh@wish.net&gt;</A>:</STRONG>
<BLOCKQUOTE>
All "at" expects on its command line is the time and in your example it
is trying to interpret what follows the time as part of the time.
</BLOCKQUOTE>
<P> This was the exact piece of information I was looking for. I didn't realize
"at" is interactive, and if anyone would have told me before, or if this
information was obvious from the man-page, I would have had my brain around the
concept of 'standard input' a lot sooner.
<P> Thanks again, Buz.
<H4>From: Buz:</H4>
<BLOCKQUOTE>
This was the exact piece of information I was looking for.
</BLOCKQUOTE>
<P> Good, but the following indicates you still don't quite get it.
<BLOCKQUOTE>
I didn't realize "at" is interactive,
</BLOCKQUOTE>
<P> It isn't, exactly, though it can be used that way. It is mostly
intended to be used as the end of a pipeline.
and if anyone would have told me before,
<BLOCKQUOTE>
<P> That's why I stuck in my 2 cents.
</BLOCKQUOTE>
<BLOCKQUOTE>
or if this information was obvious from the man-page,
</BLOCKQUOTE>
<P> It is (or should be), but only if you are already familiar with the
concept and workings of Standard Input.
<BLOCKQUOTE>
I would have had my brain around the concept of 'standard input' a lot
sooner.
</BLOCKQUOTE>
<P> As I mentioned above, you still don't seem to grok it in fullness. It is
intimately related to concepts like "pipes", "pipelines", "filters", and
"redirection".
<P> M$-DOS had these concepts, to but they don't work as well there as in
Un*x, DOS not being multi-tasking. Hardly anyone used them or even knew
about them.
<P> Now that I think about it, have not seen a good discussion of these for
a long time. (10 yrs or more?). Seems I might have to write one, but
don't want to put it in the body of this mail.
<P> You might go to "UnixHelp for Users" at
<A HREF=http://unixhelp.ed.ac.uk/>unixhelp.ed.ac.uk</A>
(please use one of their many mirrors). This site provides the best intro
to using Un*x that I have seen online, but far from the best possible.
In particular, their glossary leaves much to be desired.
<P> Or the Unix Version 7 Manuals at
<A HREF=http://plan9.bell-labs.com/7thEdMan/index.html>
plan9.bell-labs.com/7thEdMan/index.html</A>.
This will take some work to make readable, but you will learn quite a
bit in just making it readable. The documents here were all written by
the *original* Unix gurus at AT&amp;T about 1979. Not everything here is
still relevant, but most is. I plan to eventually have all this online
as HTML, but probably not till next year sometime.
<P> There are several HardCopy (book) resources available, but this email is
getting far too long.
<P> [...]
<P> You should try "man stdio" and then "man stdin" for a complete and
correct (if not terribly clear) description of the meaning and purpose
of "standard input", etc from the program's point of view.
This is written for "C" programmers, but most of it applies for any
language.
<P> I shall continue working on getting a <EM>good</EM>, <EM>clear</EM>
definition that is independent of OS and programming language.
<P> You might also try the section on "Text_IO" in the Ada definition, the
same concepts apply.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Connecting a Linux PC to an ADSL modem
</FONT> </H3>
Mon, 1 Nov 1999 09:45:15 -0600
<BR>From: Jonathan Hutchins &lt;<A HREF="mailto:hutchins@kc.net">hutchins@kc.net&gt;</A>
<P> Take a look at some of the Firewall/Router/IPForwarding HOWTO's.
<P> Basically what you need is to connect one PC running Linux to the ADSL
connection, then connect the other PC's to an ethernet segment that also
includes the connected PC. Run IPChains/IPMasq on the connected station,
and you have a firewalled router that connects your private LAN to the
internet using seamless TCP/IP.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Is SMP worth it?
</FONT> </H3>
Mon, 1 Nov 1999 09:39:03 -0600
<BR>From:
"Jonathan Hutchins" &lt;<A HREF=mailto:hutchins@kc.net>hutchins@kc.net</A>&gt;
<P> I haven't seen any benchmarks for Linux SMP, but generally you not only need
the SMP kernel, you need code that is optimized for the number of processors
you are running.
<P> The rule of thumb I know is from the NT universe, building and selling
servers, and that is that a second CPU results in about a 40% gain in
throughput. Be sure to compare the cost of a second CPU and the dual socket
motherboard against a 40% faster CPU (or maybe an Alpha?).
<P> You don't indicate how long these modeling sessions run, but if they're
reall clock hogs you might consider something like a Beowulf array using
less-than-state-of-the-art CPU's.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Lexmark printer drivers, and Zoom modem
</FONT> </H3>
Mon, 1 Nov 1999 09:45:15 -0600
<BR>From: Jonathan Hutchins &lt;<A HREF="mailto:hutchins@kc.net">hutchins@kc.net&gt;</A>
<P> Don't know about your Zoom modem - presumably you know enough to avoid
Winmodems and Plug-and-Pray devices. Could be that something like a NIC is
grabbing the port - Linux brings up the NIC before the serial port, so where
in DOS you get a modem but the NIC fails, in Linux you get the NIC but no
modem.
<P> As far as your Lexmark goes, 1) Hassle IBM to provide drivers, and 2) Set it
to emulate an HP printer and use the driver for that.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Linux classes
</FONT> </H3>
Mon, 1 Nov 1999 09:45:15 -0600
<BR>From: Jonathan Hutchins &lt;<A HREF="mailto:hutchins@kc.net">hutchins@kc.net&gt;</A>
<BLOCKQUOTE>
My question to all of you in the industry is this: What parts of Linux,
and the networking of same, are most important to you? Should there be
more concentration in TCP/IP fundamentals (which I have included),
specific Linux/*ix-based programs ( KDE, Gnome, Apache), or which? What
is it that you most desire in an entry-level (or not-so-entry-level)
employee candidate?
</BLOCKQUOTE>
<P> I think you should leave the TCP/IP stuff for a Networking class - it's
pretty independent of LINUX, and spending a lot of time on it would
shortchange the Linux specific material.
<P> I think there are two basic categories to Linux - First, setting a system
up, getting it running correctly and getting software installed for whatever
end-use is in mind. Second, ongoing administration - program updates,
troubleshooting, setting changes, maintaining things from routing tables to
firewall patches.
<P> I would look at the Microsoft "Installing and Configuring" classes for the
first level. Start with planning: hardware selection and compatibility,
selecting network topology and protocol, determining what services will run,
etc. Work with such indefinates as how to configure Xwindows for something
like the Asus SP97-V which isn't correctly supported by the install scripts.
Work on building install scripts for the various distribs like Linux and
Caldera that allow you to build your own. Mention common wierdnesses - like
the fact that Linux brings up Network cards first, then serial ports, which
is the opposite of DOS and means that in a conflict it will be the serial
port instead of the NIC that fails.
<P> Ongoing admin can be anything from finding module and library dependencies
to compiling custom kernels. How to keep the patches and updates current
without scrambling the system with multiple installations of common
libraries. Strategies for testing updates before rolling them out to
production.
<P> The first class would be most of what someone would need to maintain a
single-user workstation or a home router/server. Some topics wold cross
over - installing and updating new Xwindows software would be of concern to
the person setting up a new system and adding productivity software, to the
individual maintaining a single-user workstation, and to the system
administrator rolling out a new WordPerfect to a 100 user office. Probably
the basics would be covered in the first class, and the strategies for a
large rollout in the second.
<P> Anyway, there's what I think. Let us know what you end up with.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Diamond A50
</FONT> </H3>
Fri, 19 Nov 1999 17:19:13 -0500
<BR>From: Anthony J Placilla &lt;<A HREF="mailto:anthony_placilla@suth.com">anthony_placilla@suth.com&gt;</A>
<P> The Diamond A50 will work with a little configuration. You need to
modify /etc/X11/XF86Config.
Go to the "Graphics Device" section. You'll see a stanza that starts
with " Device configured by Xconfigurator"
Underneath the "Boardname" line add the following 3 line:
<PRE>
option "no_bitblt"
option "no_imageblt"
option "sw_cursor"
</PRE>
<P> the video ram line will probably be commented. Remove the # in front of
it, save &amp; exit the file.
<PRE>
startx
</PRE>
<P> Have fun
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Telnet Trouble
</FONT> </H3>
04 Nov 1999 14:03:58 -0600
<BR>From: Omegaman &lt;<A HREF="mailto:scotth@fastband.com">scotth@fastband.com&gt;</A>
<P> Jim,
The user shouldn't need to disable TCP wrappers. I have left both
messages in full for my explanation.
<P> --Sat, 25 Sep 1999 01:28:37 -0700
From: Jim Dennis (jimd@starshine.org)
<P> Dear Jim
<BLOCKQUOTE>
<BLOCKQUOTE>
Your email did help me to solve the problem with the telnet in
linux. It works fine now. Thanks a million.....
I have a small doubt. Let me explain...... My network has a NT
server, LINUX server and 20 windows 95 clients. I followed your
instructions and added the address of all the clients into the
/etc/hosts file on the LINUX machine and voila the telnet worked
immediately.
But the NT server was the one who was running a DHCP server and
dynamically allocating the addresses to the clients. The clients
were configured to use DHCP and were not statically given and ip
addresses. I managed to see the current DHCP allocation for each
client and add those address into the /etc/hosts file on the LINUX
server but my doubt is what happens when the DHCP address for the
client changes? Then again we'll have to change the address in the
/etc/hosts file right? This seems silly. Is there anyway to make the
LINUX hosts file to automatically pick up the DHCP address from the
NT server?
Also another important thing is I am still unable to ping from the
NT server to the LINUX server using the name. It works only with the
IP address. Is there any way to make the NT DHCP to recognize the
LINUX server?
</BLOCKQUOTE>
Well, either you shouldn't use dynamic addressing (DHCP) or you
should use dynamic DNS. You could also disable TCP Wrappers (edit
your /etc/inetd.conf to change lines like:
<PRE>
telnet stream tcp nowait root/usr/sbin/tcpd in.telnetd
</PRE>
... to look more like:
<PRE>
telnet stream tcp nowait root/usr/sbin/in.telnetd in.telnetd
</PRE>
</BLOCKQUOTE>
<P> There's no need to do this. hosts.allow and hosts.deny allow
network/netmask specifications. So lets say our user's DHCP assigns
from the simple class C 192.168.0.1 - 192.168.0.255. In hosts.allow we
can then put:
<PRE>
in.telnetd: 192.168.0.
</PRE>
<P> -- OR --
<PRE>
in.telnetd: 192.168.0.0/255.255.255.0
</PRE>
<P> you can also allow/deny based on host or domain name:
<P> in.telnetd: .domain.com
<P> Then you won't need mappings in /etc/hosts for the current DHCP
assigned address. You may want to do dynamic DNS if you need the
hostnames of the windows workstations. Then point the linux box's
resolv.conf at your NT server with the DNS mappings. Or, better
still, make the linux box your DHCP server/DNS server and use BIND 8's
dynamic DNS features.
<P> Windows also has a HOSTS file with a format identical to /etc/hosts in
the windows or winnt directory. You'll find the entry for localhost
already in it. You can add the linux box's IP there for name
resolution.
<BLOCKQUOTE>
(and comment out all of the services you don't need while you're at
it).
</BLOCKQUOTE>
<P> Definitely a good idea.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">DHCP and Dynamic DNS
</FONT> </H3>
Thu, 4 Nov 1999 15:17:38 -0600
<BR>From: Jonathan Hutchins &lt;<A HREF="mailto:hutchins@kc.net">hutchins@kc.net&gt;</A>
<P> Jim Dennis says:
<P> "But the NT server was the one who was running a DHCP server and dynamically
allocating the addresses to the clients. The clients were configured to use
DHCP and were not statically given and ip addresses. I managed to see the
current DHCP allocation for each client and add those address into the
/etc/hosts file on the LINUX server but my doubt is what happens when the
DHCP address for the client changes? Then again we'll have to change the
address in the /etc/hosts file right? This seems silly. Is there anyway to
make the LINUX hosts file to automatically pick up the DHCP address from the
NT server?
<P> Also another important thing is I am still unable to ping from the NT server
to the LINUX server using the name. It works only with the IP address. Is
there any way to make the NT DHCP to recognize the LINUX server? "
<P> Microsoft's answer to this problem is to run the Windows Internet Name
Service - WINS. This provides NetBIOS name resolution to dynamic addresses
as assigned by WindowsNT DHCP. The WindowsNT DNS system will also allow you
to provide Internet Name resolution for dynamic addresses. Since you're
mostly running WIndows95 clients, these clients can be pointed to the WINS
server via the variables on the DHCP server, and will be able to resove
addresses for TELNET and other services. (Be sure to take advantage of the
WINS node-type configuration in DHCP too - it reduces broadcast traffic for
name resolution.) If you need non-Windows applications or clients to
resolve names, you'll need the DNS system as well.
<P> Another solution is to go into the DHCP configuration and make each IP
Address assignment a "reserved" address - reserved for the MAC address of a
given machine. That way, you have the advantages of centralised
administration of Internet paramaters such as Gateway and DNS servers
without having the IP addresses change unless you tell them to.
<P> Finally, the Microsoft implementation of the LMHOSTS and HOSTS files allows
using an "INCLUDE" statement to link to a central address file (on the
server, for instance). This lets you use these files instead of WINS and
DNS (respectively), but maintain the tables in a single, central file.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">i740 AGP
</FONT> </H3>
Thu, 4 Nov 1999 15:08:46 -0500 (EST)
<BR>From: Gleef &lt;<A HREF="mailto:gleef@capital.net">gleef@capital.net&gt;</A>
<P> Hakon Andersson wrote:
<BLOCKQUOTE>
I wish to run my i740 AGP under Linux. I am a Linux newbie though. I was
wondering if you could tell me, or direct me onto some resources on how
to setup my i740, or which server to install during installation. I am
installing Redhat5
</BLOCKQUOTE>
<P> I currently have an i740 AGP system running under Linux. The problem is
that, back when Red Hat version 5 came out, Intel was refusing to release
information about that video chipset. There was a binary-only X Server,
but it was poor. Since then, Intel apparently opened up its NDA (with
Red Hat's urging, if I recall), and the source code for that X Server was
released. Since then, the source code has been cleaned up, and
incorporated into the standard SVGA server for XFree86.
<P> The i740 works very well with the XFree86 SVGA server, but only in
versions 3.3.4 and later. Red Hat 5 has a much earlier version, but it
probably can be upgraded with a little effort. You're probably better off
just using a more recent distribution, such as Red Hat 6.1.
<P> Best of Luck,
-Gleef
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">3-button mouse on X Window System
</FONT> </H3>
Thu, 4 Nov 1999 21:27:38 -0600
<BR>From: Alan Wormser &lt;<A HREF="mailto:n5lf@qsl.net">n5lf@qsl.net&gt;</A>
<P> Angelo:
<P> I use Red Hat 5.1, so your subdirectories may be a little different, but
here is a solution:
<P> 1. Log in as "root" so you can modify the configuration files for XWindows.
(As an alternative, you could log in as a regular user and use the "su"
command to get root access.)
<P> 2. Edit the file called "XF86Config" in the "/etc/X11" directory. This is
a regular text file that has all your X settings for mouse, keyboard,
monitor, and video card.
<P> 3. Find the "Pointer Section" which is about on line 125 (out of 383 lines
in my copy of the file).
<P> 4. Find the line that says, "# Emulate3Buttons", and remove the "#" sign.
The "#" indicates a comment and removing it turns the comment into a
command.
<P> 5. Save and exit and log back in as a regular user (never play around as
"root" -- it's too dangerous).
<P> I think that will fix xstart for you! Good luck!
<P> Alan Wormser
Austin, TX
<H4>From: &lt;<A HREF="mailto:rsmith@xs4all.nl">rsmith@xs4all.nl&gt;</A>:</H4>
<P> Dear Angelo,
<P> In Linux Gazette nr. 47, you write:
<BLOCKQUOTE>
Can anybody help me with this simple (I guess) problem? My three-button
mouse works very fine on the console, but it doesn't when I "startx".
What's going on? How can I solve this problem and start using the
middle mouse button under X? Any suggestion will be appreciated.
</BLOCKQUOTE>
<P> What's going on is that your gpm (console mouse daemon) is probably set
up differently from ths X Window System.
<P> Look for the file XF86Config (probably in /etc/X11/)
<P> Look for the "Pointer" section, and change the protocol from Microsoft
to MouseSystems, as shown below:
<PRE>
Section "Pointer"
# Protocol "Microsoft"
Protocol "MouseSystems"
Device "/dev/mouse"
EndSection
</PRE>
<P> That should do the trick.
<H4>From: Gerard Beekmans &lt;<A HREF="mailto:glb@dds.nl">glb@dds.nl&gt;</A>:</H4>
From: angico@yahoo.com:
<BLOCKQUOTE>
<P> Can anybody help me with this simple (I guess) problem? My three-button
mouse works very fine on the console, but it
doesn't when I "startx". What's going on? How can I solve this problem
and start using the middle mouse button under X?
Any suggestion will be appreciated.
</BLOCKQUOTE>
<P> Start by opening your XF86Config file. It's under one of these places
(under normal circumstances):<BR>
/etc/XF86Config<BR>
&lt;XRoot&gt;/lib/X11/XF86Config.hostname<BR>
&lt;XRoot&gt;/lib/X11/XF86Config<BR>
<P> Look for the section "Pointer"
<P> See if you have these (similair) lines:<BR>
Emulate3Buttons<BR>
Emulate3Timeout 50<BR>
<P> If you have them, comment them out (by putting #'s in front of them)
If you don't have them, you can try adding them.
<P> Exit X and restart it (and cross your fingers ;)
<P> If this doesn't work, could you tell me what kind of mouse (brand and
connection like serial mouse or ps/2 mouse) you're using?
And can you send me your XF86Config file too.
<H4>From: Joachim Noffke &lt;<A HREF="mailto:Joachim.Noffke@t-online.de">Joachim.Noffke@t-online.de&gt;</A>:</H4>
<P> The mouse configurations for the console and for X are independent from
each other. You probably have configured X with a different mouse type
that doesn't support three buttons. If your mouse works on the text
console, try using the same settings for X.
<P> To do this, check your "gpm" command in /etc/rc.d/rc.local (for
Slackware, filename may vary depending on your distribution) to find out
which mouse type is being used there (argument "-t"). Reconfigure the
mouse under X accordingly (i.e. rerun XF86Setup, xf86config, or whatever
you're using).
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Dual PIII Xeon performance
</FONT> </H3>
Sat, 6 Nov 1999 16:00:01 +0100 (CET)
<BR>From: &lt;<A HREF="mailto:rsmith@xs4all.nl">rsmith@xs4all.nl&gt;</A>
<P> Dear Nick,
<P> In issue 47 of the Linux Gazette, you wrote
<BLOCKQUOTE>
<P> I do some intensive (multi-week runs) ocean modeling on my Dell 610 w/
a PIII 500 Mhz Xeon. I am having a hard time finding out whether a
second PIII will improve the speed of a single process, or only for
multi-processes. Either way would help, but it would be nice to know
before laying out the $.
</BLOCKQUOTE>
<P> A second processor cannot really enhance the speed of a single process,
other than distributing all the processes on your PC over two
processsors. Remember that Linux is a multiuser/multitasking systems.
At any time several processes are waiting for processor time.
<P> If your application is capable of running multiple instances of itself,
working together on the same data-set, you would see the largest speed
increase.
<P> Remember that you need a kernel compiled for SMP to be able to use 5the
second processor. AFAIK, an SMP-able kernel doesn't work with a single
processor.
<P> Other things you could try to make your process run faster are:
<UL>
<LI> killing unnecessary daemons (e.g. inetd, sendmail and lpd) when you
don't need them.
<LI> give the process a higher priority (negative nice value) using
"nice". Mind you, the superuser has to do this.
</UL>
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">epson 800 printer driver
</FONT> </H3>
Sat, 6 Nov 1999 16:16:52 +0100 (CET)
<BR>From: &lt;<A HREF="mailto:rsmith@xs4all.nl">rsmith@xs4all.nl&gt;</A>
<P> Dear Linda,
<P> In the Linux Gazette nr. 47, you wrote:
<BLOCKQUOTE>
We need to install above and need a driver installer disk, can you
help. e:mail us or please call 01752 788099, we are desperate.
</BLOCKQUOTE>
<P> Linux doesn't have printer drivers as such. Printing services aren't
part of the Linux kernel.
<P> Most Linux users use Ghostscript (a postscript interpreter) as a way to
use their printer as a postscript printer. The Epson Stylus 800 is
supported by Ghostscript 5.5. Most modern distributions have this.
<P> Install Ghostscript, adapt your /etc/printcap so that all programs that
print via the printing daemon can access them.
<P> Read the Printing-HOWTO.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">KDE slower than windoze?
</FONT> </H3>
Sat, 6 Nov 1999 16:23:21 +0100 (CET)
<BR>From: &lt;<A HREF="mailto:rsmith@xs4all.nl">rsmith@xs4all.nl&gt;</A>
<P> Dear Sandra,
<P> In Linux Gazette nr. 47 you wrote:
<BLOCKQUOTE>
I've just installed linux on my Acer Notebook 370 and I thought
everthing works fine. But when I'm running KDE it takes e.g. about 5
minutes to open Netscape!!! Is anybody out there who knows what's wrong
with my installation???
</BLOCKQUOTE>
<P> How much memory does your notebook have? I'd say you would need at
least 16 MB to get a somewhat usable X environment, but 32 or 64 MB
would be better. It sounds like your system is swapping a lot to get
Netscape to load.
<P> I would recommend you switch from KDE to a less memory intensive Window
Manager (try fvwm1). Netscape itself is also quite big, although older
versions (3.x) are smaller then new ones.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">My Windows partition hasd full access for root only
</FONT> </H3>
Sat, 6 Nov 1999 14:34:00 -0500
<BR>From: Gerard Beekmans &lt;<A HREF="mailto:glb@dds.nl">glb@dds.nl&gt;</A>
<BLOCKQUOTE>
<P> I have 2 questions:
I have partitioned my HD in 4 partitions.
1.1 - Win98 (Filesystem is FAT-Win95) <BR>
2.Linux Swap <BR>
3.Linux OS <BR>
4.Personal Data (Filesystem is FAT-Win95) <BR>
Questions 1.<BR>
Both the FAT-Win95 Filesystem Partitoins get mounted properly in Linux
but the problem is that only root has
read/write/execute permission. The other users only have read/execute
permissions.How can I have it set up so that
everyone had r/w/x permission to the mounted filesystems (and all the
subdirectories within them)
</BLOCKQUOTE>
<P> Here's a solution. When you mount the partition, use this command:
<PRE>
mount -t vfat -o umask=000 partition mountpoint
</PRE>
<P> You might use a slightly differnet command (aside the -o umask=000
option). The thing is: you need to put -o umask=000 somewhere. This
command makes all files/directories mode 777 (r/w/x) for everybody
(owner, group and other).
<P> This doesn't add attributes which aren't originally present. Normally
when root mounts, the write-attribute is removed from every file when
you mount it (since root has usually umask 022 - group and other don't
get write permissions when new files are created. If you use umask in a
mount command every file that is on that filesystem will be treated like
it has just been created (to put it simple)). If a file is marked
read-only by Windows, the mount program will see that and will treat it
like that aswell. Therefore you can't write to files that are already
read-only, unless you're root.
<BLOCKQUOTE>
<P> Question 2.<BR>
If I access any file from the FAT-WIN95 filesystem and make a change to
it within Linux, when I boot in windows, that file is
marked as "read only". Any idea why this is happening and how I can stop
this from happening?
</BLOCKQUOTE>
<P> I've never seen this happen on my system. I usually don't even use the
umask=000 setting (since i hardly access the win95 partition at all. If i have
to do it, i just do it as root). My only guess is that your root's umask
has the first digit set to 2. If you type 'umask' at your prompt you
should see '022'. But I don't think this is the case here. Check it
anyway just to be sure :)
<P> Perhaps this umask=000 setting answers your 2nd question. Again, since
it doesn't happen here I can't test it either i'm afraid.
<BLOCKQUOTE>
<P> Maybe the two are related. Any help will be greatly appreciated.
</BLOCKQUOTE>
<P> You're most welcome. Hope all goes well. If you have more questions,
feel free to ask ;)
<H4>From: Joachim Noffke &lt;<A HREF="mailto:Joachim.Noffke@t-online.de">Joachim.Noffke@t-online.de&gt;</A>:</H4>
<P> If your FAT partitions are mounted automatically at boot time, all files
on them will belong to root. To change the permissions for other users,
edit your /etc/fstab file: in the two lines corresponding to your FAT
partitions (the ones which contain "vfat" or "msdos" in the third
column), add the mount option "umask=0" to the fourth column. This
should solve at least problem #1.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Tryin' to install a Diamond SupraExpress 56i V PRO
</FONT> </H3>
Sat, 6 Nov 1999 14:35:06 -0500
<BR>From: Gerard Beekmans &lt;<A HREF="mailto:glb@dds.nl">glb@dds.nl&gt;</A>
<BLOCKQUOTE>
<P> I have a problem with my new modem. I tried to install it under Red-Hat
5.2 but it doesn't work. My modem is an internal
Diamond Supra Express 56i V PRO and under W98 the default configuration
is irq 12 an I/O port 0x3e8. Under W98 it works
perfectly and i don't think this is a "winmodem"(isn't it?). Windows
"says" that under DOS it must be configured with: COM 3,
irq 4 and I/O port 0x3e8 (/dev/ttyS2 isn't it?)
I just want to know if this is a winModem or not and how can I install
it.
</BLOCKQUOTE>
<P> First we have to make sure wether it's a winmodem or not.
<P> How do you configure the modem? Do you need to change jumpers on the
modemcard itself to change IRQ's and the like? If so, then chances are
high that it is not a winmodem.
<P> Here's a second check.
<P> When you boot the computer, you get the BIOS tests output. It also
contains a list with comports it had found. If that lists the comport
of your modem, then you are sure that your modem is not a winmodem.
<P> I advise to put your modem on COM4 (IRQ3 I/O 2E8) since that works best
and in case you have a serial mouse it won't interfere with it (if you
have a serial mouse on COM1 and a modem on COM3, they both have the same
IRQ and that is a possible problem hazard). If you, however, have a PS/2
mouse, then you can safely leave it on com3.
<P> And yes, COM3 is /dev/ttyS2 under Linux.
<P> Have you tried minicom under Linux? It's a program similair to
Hyperterminal from Windows. You can use the program to send AT-commands
(modem commands) to a serial port and in that way you can determine if
the modem is responding or not.
<P> Good luck.
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Linneighbourhood
</FONT> </H3>
Thu, 11 Nov 1999 01:25:12 +0530 (IST)
<BR>From: Raj &lt;<A HREF="mailto:s_raj@flashmail.com">s_raj@flashmail.com&gt;</A>
<P> this is the rpm info extracted with the rpm -qip command
<PRE>
Name : gnomba Relocations: (not relocateable)
Version : 0.3 Vendor: (none)
Release : 1 Build Date: Thu Jul 2911:10:45 1999
Install date: (not installed) Build Host:otherland.darkcorner.net
Group : Utilities/Network Source RPM:gnomba-0.3-1.src.rpm
Size : 64461 License: GPL
Summary : Gnome Samba Browser
Description :
gnomba is a GUI network browser using the smb protocol. It allows users
to browse workgroups, machines, and shares in a "Network Neighborhood."
</PRE>
<P> i havn't installed this nor tested this
<P> if you find time pl send me the comments about this rpm
<P> raj
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">Compiling your own Linux distro.
</FONT> </H3>
Fri, 12 Nov 1999 21:04:49 +0200
<BR>From: Willem Brown &lt;<A HREF="mailto:willem@brwn.org">willem@brwn.org&gt;</A>
<P> Hi,
<P> I recently came across this on the web.
<P> The ROCK Linux Homepage: <A HREF=http://linux.rock-projects.com/>
linux.rock-projects.com</A>
<P> ----- snip README ------
<P> ROCK Linux is built by a few shell scripts. These scripts can download
all necessary sourcecode from the internet, compile the packages with
optimizations for your choice of processor, build the package files
and (optionally) create a CD-ROM image.
<P> ROCK Linux is a small distribution, but it's not a "mini distribution".
It comes with over 200 packages including X11 and the GNOME Desktop.
<P> ----- snip README ------
<P> These scripts is about 1.3MB in size.
<P> HTH
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">SiS
</FONT> </H3>
Sun, 21 Nov 1999 21:04:48 -0600
<BR>From: Alton W. Jones &lt;<A HREF="mailto:wljones@hex.net">wljones@hex.net&gt;</A>
<P> Your November column had some advice for a newbie struggling with an SiS
video assembly. I offer the folowing:
<P> For S.u.S.E.
Go to their site http://www.suse.com/ for drivers. I did this with
S.u.S.E. Linux 6.1. The drivers work, but can be installed only with
S.u.S.E. SaX. The other installation programs will not work. The
XF86Config file written is NOT compatible with xf86config, but is
required to get SiS up. My SiS 530 on-board setup is limited to 16-bit
color depth. Windows on the same computer has 32-bit color depth.
<P> For Red Hat 6.0, Open Linux 2.0, and Slackware 3.6
There are drivers at http://www.sis.com.tw/. There are also
instructions. I have not tried them, so you are on your own. Have fun.
<P> Regards,
William L. Jones, P.E.
wljones@hex.net
<P> <hr> <P>
<!--================================================================-->
<a name=""></a>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
ANSWER: <FONT COLOR="navy">RedHat Business Model
</FONT> </H3>
Mon, 1 Nov 1999 09:47:25 -0600
<BR>From: Jonathan Hutchins &lt;<A HREF="mailto:hutchins@kc.net">hutchins@kc.net&gt;</A>
<BLOCKQUOTE>
One part of my research is where I am analysing the business model of
Linux (from Redhat) . However I fear by going to Redhat's website the
information about it's product may be biased and I may not be able to
get an all rounded opinion.
</BLOCKQUOTE>
<P> Get your basic info from RedHat, state your thesis on line (newsgroups?) and
ask people to refute it. RedHat's pretty above-board, and most people don't
have too much argument about their policies.
<!-- END tips.answers -->
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
This page written and maintained by the Editor of the <I>Linux Gazette</I>.<BR>
Copyright &copy; 1999, <A HREF="mailto:gazette@ssc.com">gazette@ssc.com</A><BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">It's Only a One Day Conference...</font></H1>
<H4>By <a href="mailto:adler@ssadler.phy.bnl.gov">Stephen Adler</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
<CENTER><img src=gx/adler/TheBanner.jpg></CENTER>
<br CLEAR=all>
<SPACER TYPE=vertical SIZE=20>
<table align=right hspace=10 vspace=10>
<caption align=bottom><font size=-1>
A pile of conference badges. If you look closely, you'll see Maddog's
badge on top.
</font></caption>
<tr><td>
<img src=gx/adler/BadgesSmall.jpg>
</table>
It was sometime during the week of Oct 4th. The day was sunny, bright,
the sky a piercing light blue. I was walking north along Bell Avenue in
Brookhaven National Laboratory on my way to the bank. I had just
finished lunch and was savoring the walk. It was quiet, peaceful. The
first sunny, crisp days of fall had arrived. The peacefulness
surrounding me was so impressive. It had been 4 months since I've been
able to enjoy such a quiet moment.
<p>
"What do you mean there are a busload of people wandering lost around
the RHIC ring!" I replied to one of the organizers after being
interrupted from fidgeting with that damn PC projector. "That's what
I've been told, and <b>YOU HAVE TO DO SOMETHING!</b>" she replied. I
ran out to the lobby in a frantic disposition. One of my PHENIX
collaborators was walking around looking at the vendor
exhibits. "Please John, go out and find those wandering conference
attendees and give them a tour of the PHENIX detector!" He looked a
bit puzzled as I explained the situation to him, but was off in a rush
after he understood what was going on.
<br clear=right>
<p>
<center>
<table>
<caption align=bottom><font size=-1>
That's me making cables. One of those valuable Ph.D. analytical
skills I've picked up. The poster/demo room's IT infrastructure
needed to be assembled and thus there you have me making RJ45 cables.
</font></caption>
<tr><td>
<img src=gx/adler/RJ45Small.jpg>
</table>
</center>
<p>
That was October 2nd, the day of the Open Source/Open Science
conference. The whole day was a series of crises. The first crisis
started that morning when we fired up the projector which was hooked
up to the PC running Linux. The projected image jittered in such a way
as to give me a rather nasty headache. "This will not do!" I
exclaimed. Malcolm, one of the organizers swore again and again that
it was working great the night before. "Hooking up a another laptop or
PC is no easy feat" he warned me. It takes a good 20 minutes to figure
out the settings on the projector so that it will sync properly with
the video output. What to do - what to do. I had 15 minutes before the
conference started, and the only working PC/projector setup was
running Windows NT. What an embarrassment for an Open Source/Open
Science conference. I was not going to do my introductory talk with
the NT desktop brightly displayed behind me, as I used IE to down load
my presentation. I had my laptop setup on a table on the auditorium
stage from where I was going to run the conference. My intent was to
monitor the inbox of the osos account on that laptop, to which people
were to send their e-mail with questions I was to ask the speakers. I
took down my laptop, set it up next to the projector, plugged in the
video cable and pressed <em>fn</em>-<em>crt</em> which in theory
should enable the video output on my laptop. Nothing. A big blue box
shown on the screen with a clear message reading "No video sync." The
conference was to start in 10 minutes. I quickly booted my laptop into
windows 98, and back into Linux. The video projector came alive and
projected my GNOME desktop after logging into my account. 5 minutes to
go and I had a working Linux desktop environment projected onto the
screen for the audience to see and from which I would present the
introductory talk. Wheeewww. Crisis #48 averted....
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
A view of the RHIC tunnel with some of the invited OSOS'99 guests and
then some. Of those who I recognize are Gabor David of PHENIX on the
far left, John Hall 5th from left, Mark Galassi one over from John
Hall, followed by Fred Johnson of DOE, skip one and then Michael
Johnson of Red Hat and finally Bruce Perens.
</font></caption>
<tr><td>
<img src=gx/adler/RHICTunnelSmall.jpg>
</table>
The idea for this conference was begot back in early June after a
lunch I had with Sean McCorkle. As we walked out of the cafeteria,
Sean suggested that we put on an Open Source conference. This was the
same idea I had in the back of my head for a long time now. "I would
be glad to dedicate time for an Open Source conference," Sean told
me. He said it with a zealot's enthusiasm whence I knew he meant what he
said. With that bit of encouragement, I told him that we should
"explore" the idea further.
<p>
A couple of days later, Malcolm Capel, a big Linux user doing
structural biology work at the Light Source, Tim Sailer, a big Linux
(Debian) developer, who was working for the RHIC computing facility at
the time, Sean McCorkle, who does database work for the Human Genome
project and myself, who spends much too much time on these silly
write-ups, gathered during lunch to push forward this idea of
organizing an Open Source conference at the Lab.
<br clear=left>
<p>
<table align=right vspace=10 hspace=10>
<caption align=bottom><font size=-1>
Same gang, but now we are posing for a photo op in front of the STAR
detector. This is one of the two BIG detectors ready to study the
creation of the Universe at BNL. Maddog took this picture.
</font></caption>
<tr><td>
<img src=gx/adler/STARSmall.jpg>
</table>
"Let's get Maddog." "How about Bob Young." "Yea, IBM just released
its data visualization software under an Open Source copyright
license. Let's get them." "SGI has a bunch of Open Source projects,
XFS etc." "Hey, Lincoln Stein wrote the CGI perl module. He works at Cold
Spring Harbor Lab, that's right here on Long Island. He'd be a great
speaker!" And so the meeting went. By the time lunch was over I asked
the question, "So will it be worth having an Open
Source conference?" The consensus was yes, its worth the time
and effort. I can't remember who, but someone said that working on a
conference takes up all your time. This was in reference to a
conference which was recently held at BNL where 300 people came for a
week to talk about small angle scattering experiments at the Light
Source. The head organizer spent <em>all</em> his time working on the
conference. We blew that fact off. "It's only a one day conference."
(That phrase would be uttered many times between then and Oct. 2nd.)
"How much time could it possibly take?!" It was going to be a bunch of guys
from BNL plus a couple of outside speakers. "What's the big deal!"
<br clear=right>
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
I couldn't resist this photo. The PHENIX central magent system is in
the background, with its logo painted on top, and Bruce Perens
<em>Penguin Power</em> t-shirt logo in the forground. Nice juxtaposition of
symbols.
</font></caption>
<tr><td>
<img src=gx/adler/PHENIXSmall.jpg>
</table>
This brainstorming session stirred my blood for some action. I
fired off an e-mail to Bob Young, Maddog, and Richard Stallman. I had
met each one of them from previous meetings I strayed to earlier this
year. The e-mail outlined the idea for the conference and asked for
feedback. "Is this a good idea or not?" Bob replied within several
hours. He thought it was a good idea. Maddog got back a couple of days
later. He also thought it was a good idea. I didn't hear back from
Richard for a couple of months. (Some e-mail glitch was at fault and
the outcome turns out to be a whole 'nother chapter.)
<p>
With that positive feedback from Bob and Maddog, I asked to meet with
Mike Murtagh, the chair of the physics department. "It's a software
conference." I told him. "We spend too much of our time on software
not to talk about it." I told him about IBM and SGI and their software
work and about how our software affects our science work and how
people may be interested in what we do, etc. Mike was warming up to the
idea and it wasn't until about 45 minutes into this discussion that I
spoke the words "Open Source" and "Free Software." When I did, Mike
uttered a long "Ooohhh, that's what this is all about" with his
signature Irish accent. He had visions of people dressed in tie-dyed
tee shirts, purple colored rim sun glasses, and flower sack dresses
forming a "Free Software" commune on site during the
conference. "That's not quite the idea Mike, but it's close..." Mike
told me that he noticed that I didn't say "Open Source" or "Free
Software" until well into the discussion. I did that on purpose.
<p>
Getting other Lab officials involved in the conference was something I
didn't like. "They're going to hijack the idea and run away with it
and take all the credit for it!" I told Mike. Mike was sensitive to
this problem, but left me no choice. Either the Lab management was to
get involved and give their stamp of approval or there was going to be
no conference. "You can always reserve a conference room and invite
your speakers, but if you want the Lab's logo (and resources and money)
to back your conference, you have no choice but to get one of the
departments to back you." Mike continued, "If it were a Physics
conference or workshop, I could see the physics department backing you
up, but for this one, you need to go to ITD." (ITD is the Information
Technology Division.) I don't know why I was so jealous of this
conference idea. Who on earth would want to take over this Open Source
conference? No one in the Lab management had ever heard of the term
"Open Source" and they had no interest in the matter. (As it turned
out, this was mostly true. There were several "directors" in the
directors office (we have lots of directors) who, in the end, did show
interest.) I guess what I was worried about was that my efforts in
trying to promote this as a computing conference as much as an Open
Source conference would get those with computing empires at the Lab to
take note and take the conference over. Hindsight has proven that this
was the least of my worries.
<br clear=left>
<p>
<table align=center hspace=10 vspace=10>
<caption align=bottom><font size=-1>
Berkner Hall, the building where the conference took place, at about
7am the morning of the conference. That was the last quiet moment I
had before my crisis management skills were tested.
</font></caption>
<tr><td>
<img src=gx/adler/BerknerSmall.jpg>
</table>
<p>
<table align=right hspace=10 vspace=10>
<caption align=bottom><font size=-1>
Nice photo of Maddog starting his talk.
</font></caption>
<tr><td>
<img src=gx/adler/MaddogSmall.jpg>
</table>
From that meeting, Mike told me how to proceed. Make sure I get
ITD management to back the conference. I had to
broach the idea to them which meant getting ITD involved. We also
needed to get someone from the Directors Office involved as well. My
tendency was to go straight to the top, but Mike warned me that the
first thing anyone in the directors office would do is consult with
Don Fleming, the new Lab CIO and chair of ITD.
<p>
While I was pushing the idea of this conference through my contacts,
Sean and Malcolm were pursuing the idea of the conference through
Biology. From that we got two key people on the organizing
committee. Donna Zadow and Ann Emrick. They are pros in this
conference stuff, which I would later find out. "Let us worry about
getting the speakers here, you worry about the content of the
conference." That was a phrase they kept telling me. (And they were right.)
<br clear=right>
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
A picture of the LUG tables. The Conneticut Free Unix Group's table is
in the forground and the Long Island LUG is in the back. Larry
Augustin is hanging with the LILUG guys trading Linux war
storries. CFUG is working on getting X to run on the FreeBSD
setup. Give these guys a power strip and an RJ45 jack into the
Internet and they're set to go.
</font></caption>
<tr><td>
<img src=gx/adler/LUGSSmall.jpg>
</table>
After several weeks of having meetings to meet with X, Y and Z,
meeting with X, Y and Z and then having more meetings to meet with U,
V and W, we finally got 3 of the working folk of ITD involved. Tom
Schlagel, Ed McFadden and Susan McKeon. Ed really pushed the
conference idea. He wanted to set up meetings with Don Fleming and Jim
Glim, the new head of the Center for Data Intensive Computing. We
needed to get their OK for this conference to proceed. And at about
this time, word started to leak to them of the conference as well as
to Peter Paul, the big cheese in the Directors office. As I said, we
have many directors. At the top is the Lab director, Dr. John
Marburger. He had no interest in any of this, which was leaked to me
by his secretary when she called about a month later, to inform me
that he turned down my personal invitation to attend the conference
and VIP dinner. Under him there is Peter Paul, who is the
scientific lab co-sub director. There is another guy who is also a
co-sub director who is in charge of the non-scientific aspect of lab
management. The guy to talk to was Peter Paul. If we got his OK, then
we knew the conference would happen. But we wanted to make sure he
heard it from us, the original organizers. Not the head of ITD or
anyone else. We had the idea first, and we want to make sure Peter
knew that. (Again, I don't know why I was so jealous of this fact, but
I was.) So, Malcolm, Sean, Tim and I decided on a pre-emtive
strike. Instead of letting Peter hear about the conference from Don
Fleming, or anyone in ITD, we were going to go to him first. The guys
from ITD said that having this meeting with Peter Paul without someone
from ITD would make it look disorganized and could potentially derail
the conference. We didn't care, "This is just a <em>pre</em>-meeting"
to tell Peter what was coming down the pipe. "It's just a heads up
thing."
<p>
<table align=right vspace=10 hspace=10>
<caption align=bottom><font size=-1>
The SGI table. Chris Porter is on the left and Ken Howard of Comnet,
a local SGI reseller, is on the right. They're showing off their L1400
server.
</font></caption>
<tr><td>
<img src=gx/adler/SGISmall.jpg>
</table>
So I called Peter Paul's secretary, set up a meeting and within a day
we were talking to him in his office. "We want to have the accelerator
facility, the Light Source and the lab scientific infrastructure as a
backdrop to this conference." "It's a great way to promote the
computing efforts of the Lab." "Look, people use this same software on
their PC's at home that we use to do our research. This commonality is
a great way to get them into the lab and show them around." And so we
pitch the idea. "Wait a minute!" he said, shuffling over to his
Xterminal, groping for his mouse. Click, click, click. "Hmmm, October
2nd? I won't be here." Pause.... "But I don't have to be here for the
conference do I..." Finally after about 30 minutes of pitching the idea
to him, (some small/short heads up meeting this was, it was a full
blown presentation,) he asked, "Well, what do you want from me?" It
suddenly dawned on me what he was really asking, was "How much
<em>money</em> do you want from me?" After a brief pause to think
about what he was really asking for, I said. "We need money." I didn't
say anything about how much we needed. He just offered to kick in $2K
to get the conference going. He's got his own directors stash which he
can do with as he pleases and that afternoon he gave us, what turned
out to be, the last $2K he had in his scientific co-directors
fund. Looking back on this, that was quite a feat on our part. Peter
just donated $2K to help promote the use of "Open Source" software at
BNL. More importantly, we got the official backing from the Lab Mike
Murtagh told me I should get. But there was still work to be
done. Peter said that we got his blessing and money but we still
needed to get ITD to fully back the conference. This meant we needed to
get back with the ITD contingent of our organizing committee and
schedule a meeting with Don Fleming.
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
The AndoverNet reps read my Slashdot paper and wouldn't let me leave
without getting a picture taken with me. I tried to explain
to them that my /. paper was a bit of joke, but that didn't phase
them. They still wanted a picture with "Dr. Adler". What could I do?
</font></caption>
<tr><td>
<img src=gx/adler/AndoverNetSmall.jpg>
</table>
In the meantime, I set out to try and get other departments to
contribute money to the conference. Our eventual plan was to hit up
the vendors for money by selling ad space on our conference web site
and floor space in the auditorium lobby. But for now, we needed some
"startup" funds. Physics and the Light Source kicked in $2K each
without much fuss. Mike knew that I would need money. I asked if I
could put money in from my own computing funds for the physics
department. He OK'ed that. I sent an e-mail to the head of the Light
Source and that was all it took to get $2K out of him. Chemistry never
responded and I was told that Biology had no money. (But we did get 4
people from Biology on the organizing committee, a much more valuable
contribution. And we did eventually get $2K from Biology, thanks to
Ann Emrick, about a month later which was a real help.) Mike Murtagh
told me that I could ask one of the physics secretaries to help with
the conference and I was able to recruit Bonnie Sherwood, another gold
nugget. The other missing component of this conference was a
budget. Ann Emrick worked up a MS Excel spread sheet with a bunch of
costs she could think of. "You need XXX for lunch, the conference
banners will be that much, the buses will cost this much." She had the
figures pretty much on the ball. The total cost of the conference, if
we did get 450 people to attend, would be $25K. The biggest single and
unpredictable cost was the food which was going to be $25 per
person. If we added a $25 entrance fee, the cost would be $15K. We got
$6K in the bag and needed $9K more to go.
<p>
<table align=center vspace=10 hspace=10>
<caption align=bottom><font size=-1>
A shot of the panel disussing how we can get DOE and BNL to GPL the software
they write, among other issues. From left to right are Maddog, Larry Augustin,
Oggy Shentov, Mike Johnson, Bruce Perens, and Fred Johnson.
</font></caption>
<tr><td>
<img src=gx/adler/panelSmall.jpg>
</table>
<p>
This set the stage for the crucial meeting with Don Fleming. We knew
the numbers, we had a rough idea of who we were going to invite, the
date of the conference and all we really needed now was someone to
sign the lab conference paper work. In order to have a conference at
the Lab, you are required to fill out a form, get a head of a
department to sign it and submit it to staff services who works within
the director's office. This will then get an account created where one
can deposit money and more importantly, spend it.
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
Mark Galassi on the left, Constantine Olchanki with is back to us and
Sean McCorkle on the right are blowing off some steam after the
conference finished. We are siting around waiting for rides to the
Bellport where we had our VIP dinner.
</font></caption>
<tr><td>
<img src=gx/adler/MusicSmall.jpg>
</table>
The meeting we had with Don Fleming was a small one. Tom Schlagel was
there, along with Ed McFadden, Sean McCorkle and myself. We pitched
the idea to Don. Don got into the Open Source bit. Microsoft vs the
"Free Software" community was a theme he picked up on. He saw this as a
way of promoting ITD and the new computing initiatives the Lab was
embarking on. After about 30 minutes or so he wanted to know "What do
you want from me." Again, that question popped up which really meant,
"How much money do you want from me." We pull out the spread sheet,
showed him the figures. "We have $6K from other departments, the
conference will cost $15K" I started. I then I told him we would try
and raise as much money from outside sources as possible, implying
that this would repay any money he gave us. "OK he said, I'll cover
the remainder." Meaning that he would give us up to $9K for the
conference and he would sign that form needed by Staff Services.
<p>
Bingo! That was it! We had our conference! There was no turning back
now!
<blockquote><tt> *commit* *commit* *commit* *awwuuuugah*
*commit* *commit* *commit*<br><br>
Its a shootin war now, boys.
</tt></blockquote>
Was one e-mail Sean McCorkle fired off to our internal organizers
e-mail list. Just after that meeting, I had to give a talk to the
PHENIX detector council. The head of the online controls group, the
group I worked in for the PHENIX experiment, touted this talk as some
kind of opportunity to get in front of the senior scientist of the
experiment and "get some exposure." I was on such a high going into
that talk, that they must of thought I had lost it. I was so giddy
during that presentation. There is always some kind of tension in the
PHENIX experiment coming from a competitive attitude within the
various subgroups. This manifests itself through criticism of ones work
as being insufficient, late, not working or whatever angle of attack
your colleague conjures up at the moment. The speaker before me was
one such notorious colleague who would be quick to "qualify" any
statements I said about my particular project for the PHENIX
detector. As it turned out, I wouldn't care less what <em>anyone</em>
in that room thought about what I was presenting. And I was talking
away, at a mile a minute, bouncing around the front of the room,
making jokes about the work, heading off "suggestions" from my
notorious colleague with out a pause, and all the time I had one
thought screaming in the back of my mind. I had just raised $15K to
put on an Open Source conference at the Lab. "PHENIX detector council,
eat your heart out!" Of course I never said that to them, but they
must have known something was going on.
<p>
<table align=right vspace=10 hspace=10>
<caption align=bottom><font size=-1>
Malcolm Capel setting up and testing the display projectors used for
the conference.
</font></caption>
<tr><td>
<img src=gx/adler/CapelSmall.jpg>
</table>
The next step was to try and raise money from the Linux business
community. I got a copy of the Linux Journal and made a list of every
company who advertised there. I then split up the companies into 3
groups of which I was in charge of calling up 1/3 of them. The other
2/3rd's were delegated out to two others in the organizing
committee. Sean McCorkle snagged someone from Microway. He asked me to
follow through with them. I spent a couple of days working down my
list. I learned a valuable lesson during this part of the fund raising
campaign. One of the hardest things to do is call someone up you don't
know and try and sell them on the idea of giving you money. It is a
humiliating experience with a capital H. I have gotten a gazillion
calls from vendors trying to sell me their products and I usually keep
their pitch short and send them on their way. Now it was my turn to be
on the other end of the phone. Most of the time I couldn't get through
to the person in charge of promotions. A lot of the times all I could
do was send e-mail to these people and never get a reply. But there was
the occasional time I did get through to somebody. The first one I
did get through was KAI. I managed to pitch the conference to someone
important there. A week later, I got an e-mail that they were
interested in the coffee break sponsorship. Another victory celebration
erupted immediately.
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
Bonnie Sherwood and Elaine Dimasi pictured the day before the
conference as they sorted out the badges for the registrants.
</font></caption>
<tr><td>
<img src=gx/adler/SherwoodDimasiSmall.jpg>
</table>
Through out all this, we kept brining up the idea of getting a "major
sponsor" for the conference. They would contribute the full amount
needed to organize the conference and this would free up our time to
organize it rather than wasting precious time on this fund raising
task. "Ask Red Hat, they got lots of money." Was one comment. "These
guys are flush in Venture Capital funds." Referring to the general
Open Source business community like VA Linux and others. So it was
left to me to try and contact Red Hat and VA Linux. I knew Jim Gleason
of VA Linux from the NYLUG so I contacted him. He gave me names,
numbers and e-mail address of those over in corporate HQ who could
make the decisions. I contacted (via e-mail) Bob Young and pitched
the idea. He warmed up to it. VA Linux after a couple of days told me
that they could only be a minor sponsor. "All our funds have been
committed for the year" I was told. Fair enough, we were pushing to
fund a conference about 3 months before it was to take place. (Its now
mid July.) Also, everyone in Linux land was getting ready for the
Linux World Expo in San Jose CA (early August) and I knew that OSOS
would have to take a back seat to that event until it was over.
<p>
Parallel to raising money for the conference, we started to worry
about promoting it. When we first started working on organizing it, I
thought that a couple of postings on Slash Dot, Linux Today, Linux
Weekly News, Freshmeat and some well chosen news groups would be all
that we needed. WRONG! The first thing we needed to do was get the
word out to those who worked at the lab. "Simple!" I thought. BNL has
a Public Affairs office (PA) who's sole purpose is to promote the
Laboratory. I would just use those resources.
<p>
<table align=right vspace=10 hspace=10>
<caption align=bottom><font size=-1>
Lars Ewell on the left, who's my office mate, and Martin Purschke, who
does online work for the PHENIX experiment are pretending to show off
a poster which is going to be presented at the conference. The poster
was made by Martin.
</caption>
<tr><td>
<img src=gx/adler/EwellPurshkenSmall.jpg>
</table>
"You can't use the term Open Source. Nobody know what it is." I was
told by PA, in response to our text for the BNL e-mail announcement I
wanted them to send out lab wide. "What do you mean I can't use the
term Open Source. It's an Open Source conference. It's in the Title!"
I argued. "Also, no one knows what source code is. You can't use that
term either" they continued. "We asked someone here what they thought
source code was and they said it must be some kind of government
specification for plumbing. Sorry, you can't use it" PA said. I
couldn't believe what I was up against. PA continued, "Also, we don't
e-mail lab wide announcement of conferences. No body is interested in
conferences, and that is not our job. We do have a special e-mail
list which people sign up to where we can post your announcement
too. It has about 800 people signed up" they boasted. I checked out who
was on the list and it was slim pick'ns as far as laboratory
scientists and engineers went. I had never heard of this announcement
e-mail list which PA was telling me about so how would the rest of the
lab know about it. And I have been at the lab for over 10 years!. So
be it, we did our best to reword the text for our e-mail announcement
to the Lab, replacing the terms Open Source and source code and let
them send out the e-mail to the their 800 list subscribers. This
generated about 30 hits on our web site of which about 5 were
interested in the conference. We had to do something. We used the lab
channels and came up empty handed. Furthermore, of all the people I
asked, no one had gotten our e-mail announcement. And I asked all my
colleagues who I worked with who I knew would be interested in it. This
left us with little recourse but to SPAM the Lab. We were left with no
choice. We were going to get the word out to the Lab via e-mail no
matter how high the obstacles PA and Lab management were going to
throw up in our path. So, after about 2 hours of perl scripting, I
was able to generate a list of over 5000 e-mail addresses of anyone
who in one way or other was involved with the Laboratory. After
setting the mailing in motion, (I had to send out the e-mails slowly
since there was the possibility of crashing the NT mail exchange server
of the Lab and if the OSOS SPAMing did so, we would be in <em>big</em>
trouble. It had happened once before with a situation not related to
our conference and thus our caution) we got a healthy hit rate on our
web site and everyone I talked to had received notice of the
event. Sorry Public Affairs, but we just had to do it. You left
us no choice in the matter.
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
The photo of Eliane Dimasi, Bruce Perens and Jon "maddog" Hall during
the pre-registration dinner.
</font></caption>
<tr><td>
<img src=gx/adler/RegDinnerSmall.jpg>
</table>
But that was just the beginning of our efforts to get the the word
out. We spent a healthy 2 weeks generating our own mailing list of
colleges and Universities through out the NE to which we would
snail-mail a flier announcing the conference. But we realized that we
needed to do more. We further realized that we didn't budget a penny
to advertise the conference. By this time, I was able to get KAI, SGI,
Portland Group and others to sponsor the conference. We had generated
about 5K in sponsorships at this point. So we decided to spend all
those funds on advertising. Also, this was just around the Linux World
conference. It turned out that Donnie Barns was talking with VA Linux
during Linux Expo, about a possible joint major sponsorship. A week
later I got e-mails from VA Linux and Red Hat that they were
interested. This sent chills down my spine. This was the mother load!
The organizing committee huddled and tried to figure out how we would
"package" a major sponsorship. It was rather easy. We would put
their names and logos on every bit of real estate we owned, on the web,
on every banner, conference bag and brochure we would print. Anywhere
and everywhere we could think of, Red Hat's and VA Linux's logo would
be there. They like it, and we got $25K. Thank God, because we spent
it <em>all</em> on advertising.
<p>
<table align=right vspace=10 hspace=10>
<caption align=bottom><font size=-1>
Bill Horn talking about openDX.
</font></caption>
<tr><td>
<img src=gx/adler/HornSmall.jpg>
</table>
The NY Times science section and Newsday took up the lion's share of
advertising funds. We also got 10 days of prime time space on WSHU,
the local public radio station broadcasting out of Connecticut. My
guess is that we got word out about the conference to well over
100,000 people. In the end over 200 people showed up, a 10^-3 effect
which is what I expected. The important thing was not so much that we
got over 200 people to attend the conference, but that hundreds of
thousands of people saw the Brookhaven Laboratory logo associated with
Open Source software along with Red Hat and VA Linux. In a country of
250 million people, hundreds of thousands are not large numbers, but
you have to start somewhere. And the long term effects of this "brand
name" association are yet to be known but I'm sure it will be
positive. (Dr. John Marburger, the director of the Laboratory, should
be very grateful of us for what we did here.)
<br clear=left>
<br clear=right>
<p>
<table align=left vspace=10 hspace=10>
<caption align=bottom><font size=-1>
"Where are those PC's!"<br>
Jim Gleason and Ari of VA Linux screwing around for a photo op in the
basement of the Physics building while we were looking for Xterminals.
</font></caption>
<tr><td>
<img src=gx/adler/JimAriSmall.jpg>
</table>
By the time the spots on NPR started airing and the ads in the NY
Times and Newsday started to appear, the registration rate started to
pick up. It peaked the weekend before the conference. All that was
left was to make sure we put on a good show for the attendees. (Ehmm,
I meant to say a good "conference".)
<p>
"What do you mean the VA Linux PC's are stuck in NYC?" I asked Jim
Gleason. Those were the PC's we were going to use for the Post/Demo
room. "Its a union thing" he replied. "The Fed Ex guy wasn't allowed to
cross the corridor to pickup the boxes. Only a union guy could do
that." Where are are we going to get replacements? "Sean, Ed,
Heeeelp!" (Sean McCorkle, Ed McFadden and I managed to scrounge up
enough Xterminals from around the Lab to cover the missing VA Linux
boxes.) "What to do you mean we have to have to conference photo in
the back of Berkner. I want it taken just out side the main entrance!"
I told Ann Emrick. "Sorry, the photographer said there was too much
sun light" she replied. Who ever heard of too much sun light!
<br clear=left>
<p>
<table align=right vspace=10 hspace=10>
<caption align=bottom><font size=-1>
The VIP Dinner. From left to right are Steve Adler (me), Larry
Augustin; CEO and co-founder of VA Linux, an attendee, Sean McCorkle,
Ari of VA Linux, Ed McFadden, Maddog and Bruce Perens. My stiff drink
is hidden behind that carafe.
</font></caption>
<tr><td>
<center>
<img src=gx/adler/VipDinnerSmall.jpg>
</center>
</table>
And so October 1st and 2nd went, one crisis situation after
another. The day flew by and before I knew it, what remained of the
speakers and who ever I could find hanging around after the
conference, were seated at <em>The Bellport</em>, for our "VIP"
dinner. It was all over at that point. I had a stiff drink which I
rarely do. "A whiskey on the rocks please, and make it a double."
Everyone seemed to have a good time there. I spent most of my time
reminiscing about DEC hardware with Maddog, Larry Augustin, and Bruce
Perens.
<p>
The following week I started to hear feedback on the conference. As
best as I can tell, it turned out to be a great success. The most
admirable compliment came from Tom Kirk, the associate director for
Nuclear and High Energy Physics. (He makes all the decisions
regarding future nuclear and high energy experiments at the Lab. In
other words, he's an important guy.) He told me that the conference,
when looked back several years from now, would be considered as a
key turning point on the topic of Open Source and science. I also got
word that a lot of good things were said about the conference through
out the directors office.
<p>
<table align=left>
<caption align=bottom>
<font size=-1>
There I am on the left with Sean McCorkle on the right. Cheers to the
Open Source/Free Software world from BNL!
</font>
</caption>
<tr><td>
<img src=gx/adler/SteveSeanSmall.jpg vspace=10 hspace=20>
</table>
So there I strolled along Bell Avenue, heading north towards the
bank. A bright breezy day. The surrounding trees vibrated in fall color.
Peace and quiet. "So what's next?" was a thought I was trying to avoid. I
was recovering from my 4 month marathon organizational project. I was
going to have to heal some open wounds I had left with my colleagues
over in PHENIX. They were threatening to take my name off the
authorship list of the PHENIX experiment for skipping out on all their
meetings and generally blowing them off. Finally, I was going to have
to think about the future. "Open Source/Open Science 2K. Hmmm that has
a nice ring to it."
<br clear=all>
<P>
<FONT SIZE=-1><EM>
I would like to thank Matthew Prete, Joe Louderback and Andrew Pimlott
for their corrections to the grammar and spelling of this
article. Thanks guys.
</EM></FONT>
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, Stephen Adler<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">SAMBA, Win95, NT and HP Jetdirect</font></H1>
<H4>By <a href="mailto:blanchas@cadvision.com">Eugene Blanchard</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
<P> I am running a computer routing lab that is used to teach routing
fundamentals on proprietary equipment. It consists of an 18 seat lab with 9
PCs, 1 server and 1 HP LaserJet 4050N with a HP Jetdirect&nbsp; print server
card installed. The server is running Slackware 4.0 with Linux 2.2.6 on it.
Eight of the PCs are running WinNT 4.0 SP5 and one PC is running Win95a.
<p>My requirements for the Linux server are as follows:
<ul>
<li>run as a workgroup server not as a primary domain controller</li>
<li>run as master browser</li>
<li>share each user's home directory</li>
<li>share a common directory among users called public</li>
<li>share the server's CD ROM drive</li>
<li>share the HP LaserJet printer</li>
</ul>
There was a choice of using NFS and configure each client to connect to
the Linux server or to use SAMBA and only configure the server. During
the normal operation of the lab, the clients are regularly rebuilt, rebooted and
reconfigured. It was felt that by running SAMBA services, the Linux server
would be transparent to the clients and allow the simplest client install.
<p>
This article will describe how I used SAMBA to:
<ul>
<li>setup SAMBA to run on a Slackware Linux server</li>
<li>share drives</li>
<li>connect and logon from Win95</li>
<li>connect and logon from WinNT using encrypted passwords</li>
<li>how to connect Linux to HP Jetdirect print server</li>
<li>how to share a Linux printer using SAMBA</li>
</ul>
<p><i>NOTE: This is not a "howto" type of article but an example of a working configuration
and the process used to configure SAMBA</i><p>
<hr WIDTH="100%">
<h2>
Installing SAMBA</h2>
The installation process will vary depending on which distribution of Linux
you are running. Under Slackware, select SAMBA during the installation
process or if you are adding SAMBA to an existing system, use the pkgtool
program.
<p>
Change to the Slackware CD, cd to /slakware/N11. Type pkgtool
and "Install packages from current directory". For all other distributions,
this article will assume that you have SAMBA properly installed on your
system.
<p>
SAMBA is started under Slackware by the rc script "/etc/rc.d/rc.samba":
<p>
<pre>
#
# rc.samba: Start the samba server
#
if [ -x /usr/sbin/smbd -a -x /usr/sbin/nmbd ]; then
echo "Starting Samba..."
/usr/sbin/smbd -D
/usr/sbin/nmbd -D
fi
</pre><p>
The smbd program provides SMB/CIFS services to clients. SMB (Server Message
Block) is the services that Win95 and NT clients use to connect over networks.
The new name for SMB is the Common Internet File System (CIFS).
<p>
The nmbd program is a NETBIOS name server to allow NETBIOS over
IP naming services to clients.
<p>
Typing "ps -aux" at the command prompt allows us to view the processes
that are running and to see if smbd and nmbd are actually present:
<p>
<pre>
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.2 220 128 ? S Oct21 0:02 init
root 2 0.0 0.0 0 0 ? SW Oct21 0:00 [kflushd]
root 3 0.0 0.0 0 0 ? SW Oct21 0:00 [kpiod]
root 4 0.0 0.0 0 0 ? SW Oct21 0:00 [kswapd]
<SNIP>
root 101 0.0 0.5 1544 380 ? S Oct21 0:00 /usr/sbin/smbd -D
root 103 0.0 0.9 1196 584 ? S Oct21 0:03 /usr/sbin/nmbd -D
<SNIP>
root 8113 0.4 0.9 1164 616 ttyp0 S 11:14 0:00 -bash
root 8120 0.0 1.1 2272 744 ttyp0 R 11:14 0:00 ps -aux
</pre>
<hr>
<h2>
SAMBA Configuration File</h2>
The configuration file for SAMBA is /etc/smb.conf and there are many
examples configurations available in /usr/doc/samba-2.0.3/examples. <p>
The /etc/smb.conf can be divided into
3 general sections:
<ul>
<li>Global</li>
<li>Shares</li>
<li>Printers</li>
</ul>
The <b>Global</b> section deals with global parameters such as workgroup
name, netbios name, IP interface used. For example:
<p>
<pre>
# Global parameters
workgroup = E328 # workgroup name
netbios name = E328-00 # Linux server's netbios name
server string = %h - Linux Samba server # comment shown in Win's Network Neighborhood detail view
interfaces = 192.168.1.3/24 # NICs + subnet mask (24 = 255.255.255.0)&nbsp;
encrypt passwords = Yes # Required for NT (Win95 will work with encrypted or not)
null passwords = No # Must have a password
log file = /var/log/samba. # location of samba log files (many!)
max log size = 50 # maximum size of each log file
socket options = TCP_NODELAY # Speeds up convergence of netbios
os level = 33 # Gives a higher browse master "priority"
preferred master = Yes # This server is the browsemaster
guest account = pcguest # guest account name
hosts allow = 192.168.1. 127. # networks allowed to access this server using SMB
</pre>
The <b>Shares</b> section deals with sharing file directories. For example:
<p>
<pre>[homes]
comment = Home Directories # comment shown in Win's Network Neighborhood detail view
path = %H # automatically display user's home directory as SMB share
valid users = %S # Only user is allowed to access this directory
read only = No # can read/write
create mask = 0750 # permissions given when creating new files
browseable = No # only show user's home directory not "homes" folder
[public]
comment = Public Files # comment shown in Win's Network Neighborhood detail view
path = /home/ftp/pub # path to public directory
guest ok = Yes # anyone can access this directory
[cdrom]
comment = Cdrom on E328-00 # comment shown in Win's Network Neighborhood detail view
path = /cdrom # path to cdrom drive
guest ok = Yes # anyone can access cdrom drive, public share
</pre><p>
The <b>Printers</b> section deals with sharing printers. For example:
<p>
<pre>[lp]
comment = E328-Laser # comment shown in Win's Network Neighborhood detail view
path = /var/spool/samba # path to spool directory
print ok = Yes # allowed to open, write to and submit to spool directory
</pre><p>
You can manually create the /etc/smb.conf file if you know what each of
the entries mean or you can use the web GUI called <b>SWAT</b> (SAMBA Web
Administration Tool). An added bonus of using SWAT was the online help
files that described each of the choices available. I understand that SWAT
is installed automatically with all versions of SAMBA from 2.0 and up.
<p>
<hr>
<h2>
Running SWAT</h2>
The following instructions are taken directly from the /usr/doc/samba-2.0.3/swat/README
file:
<p>
<pre>Running via inetd
-----------------
You then need to edit your /etc/inetd.conf and /etc/services to enable
SWAT to be launched via inetd.&nbsp;
In /etc/services you need to add a line like this:
swat 901/tcp
the choice of port number isn't really important except that it should
be less than 1024 and not currently used (using a number above 1024
presents an obscure security hole depending on the implementation
details of your inetd daemon).
In /etc/inetd.conf you should add a line like this:
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
One you have edited /etc/services and /etc/inetd.conf you need to send
a HUP signal to inetd. On many systems "killall -1 inetd" will do this
on others you will need to use "kill -1 PID" where PID is the process
ID of the inetd daemon.
Launching
---------
To launch SWAT just run your favourite web browser and point it at
http://localhost:901
Note that you can attach to SWAT from any IP connected machine but
connecting from a remote machine leaves your connection open to
password sniffing as passwords will be sent in the clear over the
wire.
You should be prompted for a username/password when you connect. You
will need to provide the username "root" and the correct root
password.
</pre><p>
Once SWAT is up and running, you should see the following:
<p>
<img SRC="gx/blanchard/samba.gif">
<p>
The menu buttons are pretty self-explanatory and there are excellent help screens available.
A quick break down of the menus:<p>
<ul>
<li>Home: Takes you to the main page
<li>Globals: Allows you to configure the global parameters
<li>Shares: Allows you to configure directory shares
<li>Printers: Allows you to configure printers based on the /etc/printcap file
<li>Status: Allows you to start and stop the smbd and nmbd server and show the status.
<li>View: Views the /etc/smb.conf file
<li>Password: Allows you to change the server password and account.
</ul><p>
Whenever changes are made to the configuration in the Global, Shares and Printer section,
the changes must be <b>committed</b> using the commit button/icon on the respective page.
Otherwise the /etc/smb.conf file is not modified.<p>
Once the changes are committed (/etc/smb.conf modified), the smbd and nmbd server should be
restarted. The Status menu has options that allow the servers to be stopped and restarted.<p>
<img SRC="gx/blanchard/start.gif"><p>
I found that a good way of understanding the process that was going on was to view the
/etc/smb.conf file as I made changes using the View button in SWAT.<p>
<hr>
<p>
<h2>Usernames</h2><p>
It is very important that the usernames and passwords are the same for both the Windows and
Linux environments. The synchronization of the Linux passwords with the SMB encrypted passwords
is done using the shell script mksmbpasswd.sh which is found in the /usr/lib/samba/private.<p>
<i>Note: For Slackware, the directory for SAMBA is /usr/lib not the standard /usr/local directory.</i><p>
The following information is taken from the /usr/doc/samba-2.0.3/docs/textdocs/ENCRYPTION.txt file:<p>
<pre>
The smbpasswd file.
-------------------
In order for Samba to participate in the above protocol it must
be able to look up the 16 byte hashed values given a user name.
Unfortunately, as the UNIX password value is also a one way hash
function (ie. it is impossible to retrieve the cleartext of the users
password given the UNIX hash of it) then a separate password file
containing this 16 byte value must be kept. To minimise problems with
these two password files, getting out of sync, the UNIX /etc/passwd and
the smbpasswd file, a utility, mksmbpasswd.sh, is provided to generate
a smbpasswd file from a UNIX /etc/passwd file.
To generate the smbpasswd file from your /etc/passwd file use the
following command :-
cat /etc/passwd | mksmbpasswd.sh >/usr/local/samba/private/smbpasswd
</pre><p>
The problem that I found with this step was that I expected that it would automatically
recognize shadowed passwords and place them in the smbpasswd file. Unfortunately, it didn't
and I had to manually enter in the passwords using the smbpasswd command. Luckly, I had only
only about 10 passwords to enter in. There is probably a method of doing this automatically
and I am just not aware of it.<p>
Once completed, I was able to use Network Neighborhood and point and click on the Linux directory
shares without being prompted for a username and password.<p>
<hr>
<h2>Configuring the HP JetDirect Card using Linux</h2><p>
Getting Linux and the HP JetDirect card to work was surprisingly easy. The JetDirect card is a print server
card that fits into the HP 4050N printer. The first step is to configure the HP JetDirect card and printer.
The standard install disk does not contain support for Linux but there is a WebAdmin tool that you can download
from HP's website: <A HREF="http://www.hp.com/support/net_printing">http://www.hp.com/support/net_printing</a>.
I chose to do it manually by using telnet and the built-in webserver of the JetDirect card.<p>
<b>Telneting to the JetDirect Card</b><p>
In order to telnet to the JetDirect card, you need to configure the printer's IP address. The default IP address
is 192.0.0.192 which most likely will not be a valid address on your network. The HP 4050N printer allows you to
to configure the IP address through the printer's status window. Select "JetDirect Menu" from the Menu button and
then follow the directions for configuring the network. After the IP address is set, configure the subnet mask in
a similar manner. <p>
Telnet to your printer's IP address. You have two choices when telnetting in, you can view the current settings
of the printer by typing "/" or viewing the help menu using "?" as shown by the following:<p>
<pre>
Please type "?" for HELP, or "/" for current settings
>/
===JetDirect Telnet Configuration===
Firmware Rev. : G.07.20
MAC Address : 00:10:83:1b:41:c7
Config By : USER SPECIFIED
IP Address : 192.168.1.10
Subnet Mask : 255.255.255.0
Default Gateway : 192.168.1.1
Syslog Server : Not Specified
Idle Timeout : 120 Seconds
Set Cmnty Name : notachance
Host Name : E328-LASER
DHCP Config : Disabled
Passwd : Enabled
IPX/SPX : Disabled
DLC/LLC : Enabled
Ethertalk : Disabled
Banner page : Disabled
>?
To Change/Configure Parameters Enter:
Parameter-name: value <Carriage Return>
Parameter-name Type of value
ip: IP-address in dotted notation
subnet-mask: address in dotted notation
default-gw: address in dotted notation
syslog-svr: address in dotted notation
idle-timeout: seconds in integers
set-cmnty-name: alpha-numeric string (32 chars max)
host-name: alpha-numeric string (upper case only, 32 chars max)
dhcp-config: 0 to disable, 1 to enable
ipx/spx: 0 to disable, 1 to enable
dlc/llc: 0 to disable, 1 to enable
ethertalk: 0 to disable, 1 to enable
banner: 0 to disable, 1 to enable
Type passwd to change the password.
Type "?" for HELP, "/" for current settings or "quit" to save-and-exit.
Or type "exit" to exit without saving configuration parameter entries
</pre><p>
The first thing that you should do is type "passwd" and add an administrator password to the printer.
Next configure the default gateway and then the host name. The rest will be configured
using the printer's built-in webserver.<p>
<b>HP JetDirect Webtool</b><p>
<IMG SRC="gx/blanchard/hpweb.gif"><p>
The HP JetDirect webtool has 6 menu tabs available:<p>
<ul>
<li>Status Tab<p>
Displays current status of printer including network stats<p>
<li>Identity<p>
Displays current software/hardware revisions, host name, IP address, etc..<p>
<li>Configuration<p>
Allows configuration of TCP/IP (default protocol), IPX/SPX, DLC/LLC, Ethertalk and SNMP.<p>
<li>Security<p>
Allows changing of the administrator password and SNMP community name.<p>
<li>Diagnostics<p>
Displays statistics and information on TCP/IP, IPX/SPX, DLC/LLC, Ethertalk, printer and Jetdirect.<p>
<li>Support<p>
Takes you to the HP support website.
</ul><p>
<hr><p>
<h2>Printing from Linux to JetDirect</H2><p>
In order to print from Linux to the JetDirect print server, an entry was made in the /etc/printcap file.
I made a new spool directory called /usr/spool/lj4050n but the default /usr/spool/lpd should really be used.
The directory /usr/spool is a softlink to /var/spool.<p>
The following is a listing of the /etc/printcap file that was used to communicate with the HP JetDirect print
server:<p>
<pre>
# HP Laserjet 4050n
lp|lj4050n:\
:lp=/dev/null:sh:\
:mx#0:\
:sd=/usr/spool/lj4050n:\
:rm=e328-laser.domainname.com:rp=text:
</pre><p>
Where:<p>
<ul>
<li>lp|lj4050n:\<p>
indicates the default default printer "lp" with an alias/description of "lj4050n". If there was a space
in the alias, it would automatically be detected as a description.<p>
<li>:lp=/dev/null:sh:\<p>
indicates that the printer is not connected to a physical port<p>
<li>:mx#0:\<p>
indicates that there is no maximum file size to send to the printer<p>
<li>:sd=/usr/spool/lj4050n:\<p>
indicates the path to the spool directory<p>
<li>:rm=e328-laser.domainname.com:rp=text:<p>
indicates the domain name of the printer to send print jobs to and what format to send it in. The choices were
text or raw for HP printers. I found that the printer was intelligent enough that it automatically detected whether it
was a text file, postscript file or PCL file.
</ul><p>
<hr><p>
<h2>Configuring Windows for Linux Shared Printer</h2><p>
>From Network Neighborhood, double-click on the Linux server's shared printer icon. Windows will ask you to configure the
printer. I shared the printer's configuration CD on the Linux box and went to the disk1 folder to find the INF file.
The printer configuration/installation will stop and display a message something to the tune that it "can't find disk2"
just go up a directory to find the disk2 folder. It will finish the installation
and you are done. I usually run a Print Testpage to ensure that it works properly.<p>
The normal installation procedure is to run the setup utility from the CD. This installs megabytes of data on to the
client which was not what I wanted. I only wanted the print driver and found that the above method gave me a quick,
clean and simple printer configuration.<p>
<hr><p>
<h2>Summary</h2>
It was surprisingly easy to configure SAMBA and have it meet the lab's objectives. When I first ran SAMBA, it took less than 10
minutes to communicate with Win95. This was amazing as I had no prior experience with it. <p>
In configuring the lab environment, I ran into a few problems, some annoying and some took a bit of work to sort but all were solved.<p>
An example of one of the annoying problems was having the [homes] folder show up as a share on a client. It was identical
to the client's home directory. Selecting "Browseable = No" in the Global section of /etc/smb.conf solved that.<p>
The most frustrating problem was finding out the the smbpasswd file did not automatically convert passwords from shadow files.
I kept getting asked for a username and password whenever I tried to connect to a network share. All the documentation indicated that
I was doing everything correct. Manually entering each username's password using the smbpasswd program solved this.
I am sure that there is an automatic process for this, as this would
not be acceptable if there more than my 10 generic user accounts.<p>
All in all, I was able to configure the network quicker and easier than if I used an NT server and the Linux server is
totally transparent to the user. Here's an interesting point: this article has taken longer to write than it did to configure
the network.<p>
</body>
</html>
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, Eugene Blanchard<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">LinuxThreads Programming</font></H1>
<H4>By <a href="mailto:matt@martine2.difi.unipi.it">Matteo Dell'Omodarme</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
<h2 align=center>Some theory...</h2>
<b>Introduction</b><p>
LinuxThreads
is a Linux library for multi-threaded programming. LinuxThreads
provides kernel-level
threads: threads are created with the <em>clone()</em> system call and
all scheduling is done in the kernel. It
implements the Posix 1003.1c
API (Application Programming Interface) for threads and runs on any
Linux system with kernel 2.0.0
or more recent, and a suitable C library.
<p>
<b>What are threads?</b>
<p>
A thread is a sequential flow of control through a
program. Thus multi-threaded programming is a
form of parallel programming where several threads of control are
executing concurrently in the program.
<p>
Multi-threaded programming differs from Unix-style multi-processing in
that all threads share the
same memory space (and a few other system resources, such as file
descriptors), instead of running in
their own memory space as is the case with Unix processes.
So a context switch between two threads in a single process is
considerably cheaper than a context
switch between two processes
<p>
There are two main reasons to use threads:
<OL>
<LI> Some programs reach their best performance only expressed as
several threads that communicate together (i.e. servers), rather than
a single flow of instructions.<P>
<LI> On a multiprocessor system, they can run in parallel on
several processors, allowing a single program to divide its work
between different processor. Such programs run faster than a single-thread
program which can exploits only a CPU at a time.<P>
</OL>
<b>Atomicity and volatility</b>
<p>
Accessing the memory shared from threads require some care, because
your parallel program can't access shared memory
objects as they were in ordinary local memory.<p>
<em>Atomicity</em> refers to the concept that an operation on an object is
accomplished as an indivisible, uninterruptible, sequence.
Operations on data in shared memory can occur not atomically,
and, in addition of that, GCC compiler will often performs some
optimizations, buffering values of shared variables in registers,
avoiding the memory operations needed to ensure that all processors
can see the changes on shared data. <p>
To prevent GCC's optimizer from buffering values of shared memory
objects in registers, all objects in shared memory should be declared
as having types with the <em>volatile</em> attribute, since
volatile objects reads and writes that require just one word access will
occur atomically.<p>
<b>Locks</b>
<p>
The load and store of the result are
separate memory transactions: ++<em>i</em> doesn't always work to
add one to a variable <em>i</em>
in shared memory because other processors could access <em>i</em>
between these two transactions. So, having two processes
both perform ++<em>i</em> might only increment <em>i</em> by one,
rather than by two.
<p>
So you need a system call that prevents a thread to work
on a variable while another one is changing its value. This
mechanism is implemented by the lock scheme, explained just below.<br>
Suppose that you have two threads running a routine which change the
value of a shared variable.
To obtain the correct result the routine must:
<ul>
<li> assert a lock on variable <em>i</em>
<li> modify the value of the locked variable
<li> remove the lock
</ul>
When a lock is asserted on a variable only the thread which locked the
variable can change its value. Even more the flux of the other thread
is blocked on the lock assertion, since only one lock at a time is
allowed for a variable. Only when the first thread remove the lock the
second one can restart asserting its own lock.<p>
Consequently using shared variables may delay memory activity from other
processors, whereas ordinary references may use local cache.
<h2 align=center>... and some practice</h2>
<p>
<b>The header pthread.h</b>
<p>
The facilities provided by LinuxThreads are available trough the
header /usr/include/pthread.h which declare the prototypes of the
thread routines.<p>
Writing a multi-thread program is basically a 2 step process:
<ul>
<li> use the pthread routines to assert locks on shared variables and
generate the threads.
<li> create a structure for all the parameters you must pass to the
thread subroutine
</ul>
Let's analyze the two steps starting from a brief description of
some basic pthread.h routines.<p>
<b>Initialize locks</b>
<p>
One of the first actions you must accomplish is initialize all the locks.
POSIX locks are declared as variables of type <em>pthread_mutex_t</em>;
to initialize each lock you will need, call the routine:
<pre>
int pthread_mutex_init(pthread_mutex_t *mutex,
const pthread_mutexattr_t *mutexattr);
</pre>
as in the costruction:
<pre>
#include &lt;pthread.h&gt;
...
pthread_mutex_t lock;
pthread_mutex_init(&amp;lock,NULL);
...
</pre>
The function
<em>pthread_mutex_init</em> initializes the mutex object pointed to
by mutex according to the mutex attributes specified in
mutexattr. If mutexattr is NULL, default attributes are
used instead.<p>
In the continuation is shown how to use this initialized locks.<p>
<b>Spawning threads</b>
<p>
POSIX requires the user to declare a variable of type
<em>pthread_t</em> to identify each thread. <br>
A thread is generated by the call to:
<pre>
int pthread_create(pthread_t *thread, pthread_attr_t *attr,
void *(*start_routine)(void *), void *arg);
</pre>
On success, the identifier of the newly created thread is
stored in the location pointed by the thread argument, and
a 0 is returned. On error, a non-zero error code is
returned.<p>
To create a thread running the routine <em>f()</em> and pass to <em>f()</em>
a pointer to the variable <em>arg</em> use:
<pre>
#include &lt;pthread.h&gt;
...
pthread_t thread;
pthread_create(&amp;thread, NULL, f, &amp;arg).
...
</pre>
The routine <em>f()</em> must have the prototype:
<pre>
void *f(void *arg);
</pre>
<b>Clean termination</b>
<p>
As the last step you need to wait for the termination of all the
threads spawned before accessing the result of the routine
<em>f()</em>. The call to:
<pre>
int pthread_join(pthread_t th, void **thread_return);
</pre>
suspends the execution of the calling thread
until the thread identified by th terminates.<br>
If thread_return is not NULL, the return value of th is
stored in the location pointed to by thread_return. <p>
<b>Passing data to a thread routine</b>
<p>
There are two ways to pass informations from a caller routine to a
thread routine:
<ul>
<li> Global variables
<li> Structures
</ul>
The second one is the best choice in order to preserve the modularity
of the code.<br>
The structure must contain three levels of information; first of all
informations about the shared variables and locks, second
informations about all data needed by the routine; third an
identification index distinguishing among threads and the number of
CPU the program can exploit (making easy to provide this information
at run time).<p>
Let's inspect the first level of that structure; the information passed
must be shared among every threads, so you must use pointers to the
needed variables and locks. To pass a shared variable <em>var</em> of
the type <em>double</em>, and its lock, the structure must
contain two members:
<pre>
double volatile *var;
pthread_mutex_t *var_lock;
</pre>
Note the use of the volatile attribute, specifying that not pointer
itself but <em>var</em> is volatile.<p>
<b>Example of parallel code</b>
<p>
An example of program which can be easily parallelized using threads is the
computation of the scalar product of two vectors. <br>
The code is shown below with comments inserted.
<pre>
/* use gcc <progname> -D_REENTRANT -lpthread to compile */
#include&lt;stdio.h&gt;
#include&lt;pthread.h&gt;
/* definition of a suitable structure */
typedef struct
{
double volatile *p_s; /* the shared value of scalar product */
pthread_mutex_t *p_s_lock; /* the lock for variable s */
int n; /* the number of the thread */
int nproc; /* the number of processors to exploit */
double *x; /* data for first vector */
double *y; /* data for second vector */
int l; /* length of vectors */
} DATA;
void *SMP_scalprod(void *arg)
{
register double localsum;
long i;
DATA D = *(DATA *)arg;
localsum = 0.0;
/* Each thread start calculating the scalar product from i = D.n
with D.n = 1, 2, ... , D.nproc.
Since there are exactly D.nproc threads the increment on i is just
D.nproc */
for(i=D.n;i&lt;D.l;i+=D.nproc)
localsum += D.x[i]*D.y[i];
/* the thread assert the lock on s ... */
pthread_mutex_lock(D.p_s_lock);
/* ... change the value of s ... */
*(D.p_s) += localsum;
/* ... and remove the lock */
pthread_mutex_unlock(D.p_s_lock);
return NULL;
}
#define L 9 /* dimension of vectors */
int main(int argc, char **argv)
{
pthread_t *thread;
void *retval;
int cpu, i;
DATA *A;
volatile double s=0; /* the shared variable */
pthread_mutex_t s_lock;
double x[L], y[L];
if(argc != 2)
{
printf("usage: %s &lt;number of CPU&gt;\n", argv[0]);
exit(1);
}
cpu = atoi(argv[1]);
thread = (pthread_t *) calloc(cpu, sizeof(pthread_t));
A = (DATA *)calloc(cpu, sizeof(DATA));
for(i=0;i&lt;L;i++)
x[i] = y[i] = i;
/* initialize the lock variable */
pthread_mutex_init(&amp;s_lock, NULL);
for(i=0;i&amp;lt;cpu;i++)
{
/* initialize the structure */
A[i].n = i; /* the number of the thread */
A[i].x = x;
A[i].y = y;
A[i].l = L;
A[i].nproc = cpu; /* the number of CPU */
A[i].p_s = &amp;s;
A[i].p_s_lock = &amp;s_lock;
if(pthread_create(&amp;thread[i], NULL, SMP_scalprod, &amp;A[i] ))
{
fprintf(stderr, "%s: cannot make thread\n", argv[0]);
exit(1);
}
}
for(i=0;i&lt;cpu;i++)
{
if(pthread_join(thread[i], &amp;retval))
{
fprintf(stderr, "%s: cannot join thread\n", argv[0]);
exit(1);
}
}
printf("s = %f\n", s);
exit(0);
}
</pre>
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, Matteo Dell'Omodarme<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">A Brief History of the 'ls' command</font></H1>
<H4>By <a href="mailto:enf@pobox.com">Eric Fischer</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
The <tt>ls</tt> command, which lists files,
is one of the most essential
utilities for Unix and Linux users and, not surprisingly, one of the
oldest. In its earliest form it was called <tt>listf</tt>
and was available
on the Massachusetts Institute of Technology's Compatible Time Sharing
System (CTSS) by July, 1961. By 1963, there were a few options that could be
used to vary what <tt>listf</tt> would list:
<p>
<table>
<tr>
<td><tt>listf</tt></td>
<td>list files, newest first</td>
</tr>
<tr>
<td><tt>listf rev</tt></td>
<td>list files, oldest first</td>
</tr>
<tr>
<td><tt>listf</tt> <i>file</i> <i>extension</i></td>
<td>give information about the named file</td>
</tr>
<tr>
<td><tt>listf</tt> <i>month</i> <i>day</i> <i>year</i></td>
<td>list files older than the given date</td>
</tr>
</table>
<p>
In 1965, listf was extended to recognize ``<tt>*</tt>'' as a way to list all
files that matched a specific pattern, with further improvements to
the pattern matching in an updated version dated January 3, 1966.
The 1966 version also generalized the syntax and added lots of
options, including:
<p>
<table>
<tr>
<td><tt>listf (file)</tt></td>
<td>list only files, not links</td>
</tr>
<tr>
<td><tt>listf (auth)</tt> <i>user</i></td>
<td>list files created by the given user</td>
</tr>
<tr>
<td><tt>listf (made)</tt> <i>mmddyy</i> [<i>mmddyy</i>]</td>
<td>list files created between the given dates</td>
</tr>
<tr>
<td><tt>listf (srec)</tt></td>
<td>list by size</td>
</tr>
<tr>
<td><tt>listf (smad)</tt></td>
<td>list by date of last modification</td>
</tr>
<tr>
<td><tt>listf (rev)</tt></td>
<td>list in reverse order</td>
</tr>
<tr>
<td><tt>listf (long)</tt></td>
<td>list in long format</td>
</tr>
</table>
<p>
When CTSS was superseded by Multics, the <tt>listf</tt> command
was renamed to <tt>list</tt>, which could optionally be
abbreviated to <tt>ls</tt>. The early version of
<tt>ls</tt> had fewer options than late versions of
<tt>listf</tt> had, but still included, along with a few others:
<p>
<table>
<tr>
<td><tt>list -all</tt></td>
<td>(<tt>ls -a</tt>)</td>
<td>list everything</td>
</tr>
<tr>
<td><tt>list -date_time_modified</tt></td>
<td>(<tt>ls -dtm</tt>)</td>
<td>list by date of last modification</td>
</tr>
<tr>
<td><tt>list -reverse</tt></td>
<td>(<tt>ls -rv</tt>)</td>
<td>list in reverse order</td>
</tr>
</table>
<p>
When Bell Labs dropped out of Multics development in 1969 and work began on
Unix, only the abbreviated name of <tt>list</tt>, <tt>ls</tt>, was
retained. The First Edition (November 3, 1971) Unix manual documented
the following options for <tt>ls</tt>, all of which are still available today:
<p>
<table>
<tr>
<td><tt>ls -l&nbsp;&nbsp;</tt></td>
<td>list in long format</td>
</tr>
<tr>
<td><tt>ls -t</tt></td>
<td>sort by time modified</td>
</tr>
<tr>
<td><tt>ls -a</tt></td>
<td>list everything, including names starting with `<tt>.</tt>'</td>
</tr>
<tr>
<td><tt>ls -s</tt></td>
<td>include the size of files in the listing</td>
</tr>
<tr>
<td><tt>ls -d</tt></td>
<td>list directories' names, not their contents</td>
</tr>
</table>
<p>
By the Fifth Edition (manual page dated March 20, 1974) the list of
options for <tt>ls</tt> had expanded to include:
<p>
<table>
<tr>
<td><tt>ls -r&nbsp;&nbsp;</tt></td>
<td>list in reverse order</td>
</tr>
<tr>
<td><tt>ls -u</tt></td>
<td>use access time, not modification time</td>
</tr>
<tr>
<td><tt>ls -i</tt></td>
<td>list i-number for each file</td>
</tr>
<tr>
<td><tt>ls -f</tt></td>
<td>don't sort the listing at all</td>
</tr>
</table>
<p>
The Sixth Edition (May, 1975) added one more:
<p>
<table>
<tr>
<td><tt>ls -g&nbsp;&nbsp;</tt></td>
<td>list group IDs in the long format listing</td>
</tr>
</table>
<p>
In May and August, 1977, Bill Joy made some modifications of his own to
<tt>ls</tt> at the University of California, Berkeley, which he
subsequently distributed as part of the First Berkeley Software
Distribution, 1BSD. The most dramatic difference with this version of
<tt>ls</tt> was that it listed files in multiple columns rather than
only listing one name per line. The options to control this new format
were:
<p>
<table>
<tr>
<td><tt>ls -1&nbsp;&nbsp;</tt></td>
<td>list one name per line (no columns)</td>
</tr>
<tr>
<td><tt>ls -c</tt></td>
<td>list in columns</td>
</tr>
<tr>
<td><tt>ls -x</tt></td>
<td>list in columns, but sort across, not down</td>
</tr>
<tr>
<td><tt>ls -q</tt></td>
<td>show control characters as `<tt>?</tt>'</td>
</tr>
<tr>
<td><tt>ls -m</tt></td>
<td>everything on one line, separated by commas</td>
</tr>
</table>
<p>
There was some controversy over whether it was appropriate to
include code to print in columns as an integral part of <tt>ls</tt>
or whether
instead the formatting into columns should be done by a separate program
into which the output of <tt>ls</tt> (or any other program) could be piped.
<p>
At the beginning of 1979, Bell Labs released Seventh Edition Unix. Its
version of <tt>ls</tt> did not incorporate the controversial changes,
and had one new option
that conflicted with a letter that Joy had also used:
<p>
<table>
<tr>
<td><tt>ls -c&nbsp;&nbsp;</tt></td>
<td>use inode change time, not modification time</td>
</tr>
</table>
<p>
A new Berkeley version of <tt>ls</tt>, dated August 26, 1980 and released with
4.0BSD, resolved the conflict by capitalizing the option to list in
columns: <tt>ls -C</tt>. It also added to what the manual was
by this time calling ``an unbelievable number of options:''
<p>
<table>
<tr>
<td><tt>ls -F&nbsp;&nbsp;</tt></td>
<td>mark directories with `<tt>/</tt>', programs with `<tt>*</tt>'</td>
</tr>
<tr>
<td><tt>ls -R</tt></td>
<td>recursively list subdirectories</td>
</tr>
<tr>
<td><tt>ls -b</tt></td>
<td>show control characters as their ASCII codes</td>
</tr>
</table>
<p>
Another revision in 4.2BSD (July 28, 1983) removed the <tt>-m</tt>,
<tt>-b</tt>, and <tt>-x</tt>
options -- but not before System V Release 2 had added all three of these
to its own repertoire of options.
They temporarily stayed alive there, but
none of the three survived POSIX standardization
so the 4.2BSD version of <tt>ls</tt> is essentially <tt>ls</tt>
as we know it today.
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, Eric Fischer<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Advanced Programming in Expect: A Bulletproof Interface</font></H1>
<H4>By <a href="mailto:dlf@cotse.com">David Fisher</a></H4>
</center> <P> <HR> <P>
<!-- END header -->
<P><EM>Links to the scripts in this article are included in the Linux Gazette.
Off-site links to Expect manual pages are indicated by a "(*)" after the
link.</EM>
<h2>
<b><font face="Arial"><font size=+0>Introduction:</font></font></b></h2>
This article assumes the reader has a thorough understanding of the basics
of the Expect scripting language and is looking for advanced solutions.
For more on Expect, see:
<dir><a href="http://www.cotse.com/dlf/man/expect/index.html">http://www.cotse.com/dlf/man/expect/index.html</a> (*)</dir>
In the design of automated systems using the Expect programming language,
one of the more difficult hurdles many programmers encounter is ensuring
communication with ill-behaved connections and remote terminals. The <a href="misc/fisher/send_expect.txt">send_expect</a>
procedure detailed in this article provides a means of ensuring communication
with remote systems and handles editing and rebroadcast of the command
line. Where a programmer would usually send a command line and then expect
the echo from the remote system, this procedure replaces those lines of
code and provides the most reliable interface I have come across. Features
of this interface include:
<ul>
<li>
Guarantees transmission via remote system echo</li>
<li>
Tolerates remote terminal control codes and garbage characters in the echo</li>
<li>
Persistence of attempts and hierarchy of methods before declaring a failure</li>
<li>
Interactively edits and retransmits command lines that cannot be verified</li>
<li>
Maintains its own moving-window diagnostics files, so they are small and
directly associated with the errors</li>
</ul>
Communication with local processes (i.e. those running on the same workstation
as the expect process) is typically not problematic and does not require
the solutions detailed in this article. External processes, however, can
create a number of problems that may or may not affect communication, but
will affect an automated system's ability to determine the success of the
communication. In cases where it is corrupted, it is not always immediately
obvious: a corrupted command may trigger an error message, but data which
has been corrupted may still be considered valid and the error would not
show up immediately, and may cause a variety of problems. This is why it
is necessary to ensure that the entire string that is transmitted is properly
received echoed by the remote system.
<p>
The basic idea of this interface is to send the command string except
for its terminating character (usually, a carriage return) and look at
the echo from the remote system. If the two can be matched using the regular
expressions in the expect clauses, then the terminating character is sent
and transmission is considered successful. If success cannot be determined,
the command line is cleared instead of being sent, and alternative transmission
modes are used.
<p>
In many cases, nothing more than expecting the exact echo of the string
is sufficient. If you're reading this article, though, I suspect that you've
encountered some of the problems I have when programming in Expect, and
you're looking for the solution here. If you're just reading out of interest,
the problems arise when automating a session on a machine off in a lab,
or on the other side of the world. Strange characters pop up over the connection,
and the terminal you're connected to does weird things with its echo, but
everything is working. It becomes very difficult to determine if what was
sent was properly received when you have noise on the connection, terminal
control codes inserted in the echo, and even server timeouts between the
automation program and the remote session. This interface survives all
of that, and if it can't successfully transmit the string, it means that
the connection to the remote system has been lost.
<p>
The code provided in this article is executable, but needs to be incorporated
into any system in which it is to be used. Ordinarily, system-dependent
commands need to be added based on the needs of the target system. Also,
this code uses simple calls to the
<a href="http://www.cotse.com/dlf/man/TclCmd/puts.htm">puts</a> (*)
command to output status messages - these should be changed to use whatever
logging mechanism is used by the rest of the system. A final caveat, and
I can't emphasize this enough: always wear eye protection.
<h2>
<hr WIDTH="100%"><b><font face="Arial"><font size=+0>Setting Up The Interface:</font></font></b></h2>
The procedures provided in this article are:
<ul>
<li>
<a href="misc/fisher/send_expect_init.txt">send_expect_init</a></li>
<li>
<a href="misc/fisher/send_only.txt">send_only</a></li>
<li>
<a href="misc/fisher/send_expect.txt">send_expect</a></li>
<li>
<a href="misc/fisher/send_expect_report.txt">send_expect_report</a></li>
</ul>
The interface is initialized with the send_expect_init procedure, which
sets up all the globals required by the other procedures. See the section
on controlling the behavior of the interface for an explanation of the
parameters. The send_expect_init procedure is run once, at the beginning
of execution (before the interface is to be used). It may be run a second
time to restore settings, if necessary.
<p>
The send_only procedure is a wrapper for the
<a href="http://www.cotse.com/dlf/man/expect/exp_send.htm">exp_send</a> (*)
command, and is used by send_expect to transmit strings. The only time
this procedure is called directly is for strings that are not echoed, such
as passwords, and multi-byte character constants, such as the telnet break
character (control-]).
<p>
The send_expect procedure is the actual interface between the automated
system and its remote processes, and is detailed in the next section.
<p>Finally, the send_expect_report procedure is used at the end of execution
to output the statistics of the interface for debugging. This procedure
may also be run during execution, if incremental reports are needed.
<h2>
<b><font face="Arial"><font size=+0>Using The send_expect Procedure</font></font></b></h2>
Once the interface has been initialized using send_expect_init, and a process
has been spawned, it is ready to be used with the syntax:
<blockquote>send_expect id command;</blockquote>
where
<blockquote>id = the spawn id of the session on which to send the command
<br>command = the entire command string including the terminating carriage-return,
if any.</blockquote>
This syntax, and the implementation of the expression-action lists, support
multiple-session applications.
<p>
Many people who follow the documented examples tend to write the same
kind of error-prone code, because they follow the example as if it's the
best example, instead of just a simple example. Examples are kept uncluttered
by the little details that make the difference between bulletproof code
and code that will eventually fail. The examples provided in this article
are simple examples but with more attention to detail, and where warranted
a complete implementation is provided as an example. The send_expect procedure
usually replaces only two lines of code in an existing system.
<p>
The full syntax for properly using the interface is actually:
<blockquote>if { [send_expect $id $command] != 0} {
<br>&nbsp;&nbsp;&nbsp; ## handle your error here
<br>}</blockquote>
<p><br>
<hr WIDTH="100%"><b><font face="Arial">How It Works:</font></b>
<p>The interface uses four different transmission modes, in order:
<ul>
<li>
send the entire string and hope for the best (fastest, but least reliable)</li>
<li>
send the entire string using the <a href="http://www.cotse.com/dlf/man/expect/send_slow.htm">send_slow</a> (*)
list</li>
<li>
send the string in blocks of eight characters</li>
<li>
send the string one character at a time (slowest, but most reliable)</li>
</ul>
If a mode fails, the command line is cleared by sending the standard control-U,
the expect buffer is cleared, and the next mode is tried. Each mode except
the last one can also have a failure tolerance set, using:
<dir>sendGlobals(ModeXFailMax), where X is either 1,2 or 3.</dir>
If this max value is set to a positive number, once the failures for that
mode exceeds this value, it is no longer used. If it is set to 0, then
each mode is tried for each transmission, regardless of the number of failures.
Each of the modes uses the send_only procedure as a wrapper for exp_send.
If this procedure returns an error, it most likely means that the connection
was lost, and the spawn id is checked to see if the session is still active.
The error is returned to send_expect, which in turn returns an error to
the calling procedure.
<p>
For local processes and robust remote connections, mode 1 is usually
sufficient. If the remote system is a bit slow, mode 2 may be required.
Mode 3 has proven invaluable when connected to routers and clusters which
provide rudimentary terminal control. Mode 4 is rarely required, but acts
as a backup to mode 3.
<h2>
<hr WIDTH="100%"><b><font face="Arial"><font size=+0>Moving Window Diagnostics</font></font></b></h2>
Expect provides a means of controlling the output of its internal diagnostics
and expression-matching attempts using the command "<a href="http://www.cotse.com/dlf/man/expect/exp_internal.htm">exp_internal</a>" (*).
The send_expect interface makes use of this command to create a diagnostics
output file for each transmission attempt - for each attempt, a new diagnostics
log file is created using exp_internal -f. If transmission is successful,
the file is deleted. If it fails, the file is renamed using the syntax
<blockquote>send.n.i.command.diags</blockquote>
where
<dir>n = the number of the failure
<br>i = the spawn id of the channel that had the failure
<br>command = the first word of the command string that failed to get sent
properly.</dir>
If you've ever read a 30 Megabyte log file with all of the diagnostics
from the beginning to the end of execution, you'll understand why this
is necessary. The diagnostics files created using this method are usually
less that 2 Kilobytes, and since they are directly associated with failures
(because the window file is deleted for successful transmissions), debugging
is far more efficient.
<p>
The moving window diagnostics file is the fastest and smallest way to
implement full diagnostics output during the execution of a send command.
If the transmission succeeds, this file is deleted. If there is a failure,
this file is closed and renamed, and on the next invocation of the send
command a new file is created. This results in very small files (comparatively)
with all of the diagnostics from expect and the user-defined messages,
from the very beginning of the attempt to send the command.
<p>
Ideally, if there are no failures during execution, there should be
no more than one send diagnostics file in existence at any time, named
send.diagnostics. If there are diagnostics files, each is associated with
a particular failure and should be used in debugging that failure.
<h2>
<hr WIDTH="100%"><b><font face="Arial"><font size=+0>
Controlling The Behavior Of The Interface:</font></font></b></h2>
The sendGlobals array contains all of the parameters used by the interface,
and may be modified at runtime to control how the interface works. This
section will cover the meanings of these parameters and how they may be
modified. See
<a href="misc/fisher/send_expect_init.txt">send_expect_init</a>
for the initial values of these parameter.
<p>
The failure limit elements (Mode1FailMax, Mode2FailMax, and Mode3FailMax)
determine how many failures are permitted for modes 1, 2 and 3 (respectively).
A value of zero disables this limitation, and any positive integer sets
the maximum number of failures for that mode before it is no longer used
by the interface. There is no failure limit for the last mode.
<p>
The element useMode allows the system to determine which transmission
mode should be used first, so that the less reliable modes (the first and
second) can be bypassed. Allowable values for this parameter are 1, 2,
3, or 4. Invalid values will be replaced by the default mode (1).
<p>
If transmission errors are not considered fatal, the sendErrorSeverity
element may be specified to a more tolerant value. Note that this parameter
is not used internally, so if the automated system does not access this
value, it won't affect the interface.
<p>
The kill element defines the command line kill character, which is defaulted
to the Gnu-standard control-U.
<p>
The diagFile parameter names the temporary internal diagnostics file
(generated from exp_internal).
<p>
The logDiags allows disabling of all diagnostics output for faster execution,
but be forewarned that disabling this feature well make debugging much
more difficult.
<p>
The sleepTime parameter, when set to a positive integer, causes the
interface to sleep for the designated amount of time before starting transmission.
This is useful if the automated system appears to be going faster than
the remote system can handle - the consistent loss of characters in the
transmission phase usually indicates a speed and synchronization problem,
and this parameter is provided as an allowance for such cases.
<p>
The interval and delay elements represent the two items in the send_slow
list, which is used by the second and third modes.
<p>
For experimentation purposes, it is recommended that these parameters
be modified by the automated system at runtime, rather than directly editing
the defaults in the initialization procedure. Once valid settings are found
the defaults may be changed to reflect them.
<h2>
<hr WIDTH="100%"><b><font face="Arial"><font size=+0>Failures:</font></font></b></h2>
When the send_expect procedure returns a failure, it indicates an unreliable
connection to the remote system, and manual verification will confirm this.
Such a failure is fatal to the reliability of any automated system, and
must be corrected before the system can run properly.
<p>
If the procedure itself appears to be malfunctioning, the diagnostics
files that were created during the failure should help in debugging. This
interface has yet to fail with a reliable connection.
<br>&nbsp;
<br>&nbsp;
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, David Fisher<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">Linux, Java and XML</font></H1>
<H4>By <a href="mailto:eoinlane@esatclear.ie">Eoin Lane</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
<p align="justify"><b>Abstract:</b><i>This article is a basic introduction to the new web markup
language XML and the transformation language XSL. Here I show
how the Apache web server can be configured using the servlet engine
JServ, to do client side XML/XSL transformation using Apache's Cocoon servlet.</i></p><p align="justify">Future updates for this article will be located at <A HREF="http://www.inconn.ie/article/cocoon.htm.">http://www.inconn.ie/article/cocoon.htm</A> <BR>(The domain name is currently non-functional but is expected soon.)</p><h2 align="left">Introduction</h2><p align="justify"><i>The eXtensible Markup Language</i> (XML) is a powerful new web markup language (ISO approval in February 1999). It is a powerful way of separating web content and
style. A lot has been written about XML, but to be used effectively in web design the technologies behind it must be understood. To this end I have added my own two pence worth to the already
vast amount of literature out there on the subject. This article is not
a place to learn XML, nor is it a place where the capabilities of XML are
explored to their fullest, but is is a place where the technologies behind XML can be
put in practice immediately.</p><p align="justify">Before I go any further, I should recommend the two sites where
definitive information on XML can be obtained. The first is the <i>World
Wide Web Consortium (W3C) site </i><A HREF="http://www.w3.org/">http://www.w3.org/</A>. The W3C are responsible for the XML specification. The second site is the
XML <i>frequency asked
questions</i> site (<A HREF="http://www.ucc.ie/xml/">http://www.ucc.ie/xml/</A>)
which will answer any other questions. I also recommend the XML
pages hosted by IBM,
<A HREF="http://www.ibm.com/xml/">http://www.ibm.com/xml/</A>,
where you will find a wide range of excellent tutorials and articles on XML.</p><p align="justify">The original web language, SGML (around since 1986) is the mother of all mark-up
languages. SGML can be used to document any
conceivable system; from complex aeronautical design to ancient Chinese
dialects. However, it
suffers from being over complex and unwieldy for routine web
applications. HTML is basically a very cut down version
of SGML, originally designed with the scientific publishing community
in mind. It is a
simple mark-up language (it has been said "anyone with a pulse
can learn it") and with the explosion of the web it is clear that the people with pulses have spoken. Since its foundation the web has
grown in complexity and it has long outgrown its lowly beginning in the
scientific community.</p><p align="justify">Today web pages need to be dynamic, interactive,
back-ended with databases, secure and eye catching to compete in an ever
more crowded cyberspace. Enter XML, a new mark-up language to deal
with the complexities of modern web design. XML is only 20 percent as
complex as SGML and can handle 80 percent of SGML situations (believe me
when you are talking about coding ancient Chinese dialects, 80 percent
is plenty). In the following section I will will briefly compare two markup examples, one in HTML and the second is XML, demonstrating the benefits of an XML approach. In the final section I will show you
how to set up an Apache web server to serve an XML document so
that you may begin immediately to start using XML in your web design.</p><h2 align="left">HTML</h2><p align="justify"> The following example is a very simple HTML document that everyone will be familiar with:
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;html></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3366FF">&lt;head></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;title></font><font color="#33CC00">This
is my article</font><font color="#3333FF">&lt;/title></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;/head></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;body></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;h1
align="center"></font><font color="#33CC00">This is my article</font><font color="#3333FF">&lt;/h1></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;h3
align="center"></font><font color="#33CC00">by</font> <font color="#3333FF">&lt;a
href="mailto</font>:<font color="#33CC00">eoinlane@esatclear.ie</font><font color="#3333FF">"></font><font color="#33CC00">EoinLane</font><font color="#3333FF">&lt;/a>&lt;/h3></font>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;/body></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/html></font>
<br>&nbsp;
Two important points can be made about this document.
<ul><li> The content and style are tied together in the document.</li><li> It would be very difficulty for a search program to search
this document and extract the mail address of Eoin lane.</li></ul>
XML addresses these two issues.
</p><h2 align="left">XML</h2><p align="justify">The XML equivalent is as follows:
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#3333FF">&lt;?xml
version="1.0"?></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;page></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;title></font><font color="#33CC00">This is my article</font><font color="#3333FF">&lt;/title></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;author></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;name></font><font color="#33CC00">Eoin Lane</font><font color="#3333FF">&lt;/name></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;mail></font><font color="#33CC00">eoinlane@esatclear.ie</font><font color="#3333FF">&lt;/mail></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/author></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
...</font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/page></font>
</p><p align="justify">The first thing to note is that this document, along with all
other valid XML
documents, is <i>well formed</i>. To be a <i>well formed</i>
document every tag must have an open and close brace. A program
searching for the mail address then has only to locate the text in between
the opening and closing tags of <i>mail</i>.
</p><p align="justify">The second and crucial point is that this XML document contains just data. There is nothing in this document
that dictates how to display the author's name or his mail address. In practice it is easier to
think about web design in terms of data and presentation separately. In
the design of medium to large web sites, where all the pages have the
same look and only the data is changing form page to page, this is
clearly a better solution. Also it allows a division of labour where, style and content can be
handled by two different departments, working independently. It also allows the possibility of having one set of data with a number of ways of presenting
it.</p><p align="justify">
An XML document can be presented using two different methods. One is using a Cascading Style Sheet (CSS) (see <A HREF="http://www.w3.org/style/css/">http://www.w3.org/style/css/</A>) to markup up the text in
HTML. The second is using a transformation language called XSL, which
converts the XML document into HTML, XML, pdf, ps, or
Latex. As to which one to use, the W3C (the people responsible for these specification) has this to say:<p align="center"><b>Use CSS when
you can, use XSL when you must.</b></p> They go on to say:
<p align="justify"><i>The reason is that CSS is much easier to use, easier to
learn, thus easier to maintain and cheaper. There are WYSIWYG editors
for CSS and in general there are more tools for CSS than for XSL. But
CSS's simplicity means it has its limitations. Some things you cannot
do with CSS, or with CSS alone. Then you need XSL, or at least the
transformation part of XSL.</i></p><p align="justify"><i>So what are the things you cannot do with
CSS? In general everything that needs transformations. For example, if
you have a list and want it displayed in lexicographical order, or if
words have to be replaced by other words, or if empty elements have to
be replaced by text. CSS can do some text generation, but only for generating small things, such as numbers of section headers.</i></p></p><h2 align="left">XSL</h2><p align="justify"> XSL <A HREF="http://www.w3.org/style/xsl/">(eXtensible Stylesheet
Language)</A> is
the language used to transform and display XML documents. It is not yet finished so
beware! It is a complex document formating
language that is itself an XML document. It can be further subdivided
in two parts: transformation (XSLT) and formatting objects (sometimes
referred to as FO, XSL:FO or simply XSL). For the sake of simplicity I
will only deal with XSLT here.</p><h3 align="left">XSL Transformations (XSLT)</h3><p align="justify">As of the 16th of November 1999 the World Wide Web Consortium
has announced the publication of XSLT as a W3C Recommendation. This
basically means that XSLT is stable and will not change in the
future. The above XML document can be transformed into a HTML document and
subsequently displayed on any browser using the following XSLT file.
<p><font color="#3333FF">&lt;?xml version="1.0"?></font>
<br><font color="#3333FF">&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0"></font><font color="#3333FF"></font>
<p><font color="#3333FF">&nbsp; &lt;xsl:template match="page"></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;html></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; &lt;head></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp; &lt;title></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsl:value-of
select="title"/></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp; &lt;/title></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; &lt;/head></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; &lt;body bgcolor="#ffffff"></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp;&nbsp; &lt;xsl:apply-templates/></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; &lt;/body></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;/html></font>
<br><font color="#3333FF">&nbsp; &lt;/xsl:template></font><font color="#3333FF"></font>
<p><font color="#3333FF">&nbsp; &lt;xsl:template match="title"></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;h1 align="center"></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; &lt;xsl:apply-templates/></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;/h1></font>
<br><font color="#3333FF">&nbsp; &lt;/xsl:template></font><font color="#3333FF"></font>
<p><font color="#3333FF">&nbsp; &lt;xsl:template match="author"></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;h3 align="center"></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; by &lt;xsl:apply-templates/></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;/h3></font>
<br><font color="#3333FF">&nbsp; &lt;/xsl:template></font><font color="#3333FF"></font>
<p><font color="#3333FF">&nbsp; &lt;xsl:template match="mail"></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;h2 align="left"></font>
<br><font color="#3333FF">&nbsp;&nbsp;&nbsp; &lt;xsl:apply-templates/></font>
<br><font color="#3333FF">&nbsp;&nbsp; &lt;/h2></font>
<br><font color="#3333FF">&nbsp; &lt;/xsl:template></font><font color="#3333FF"></font>
<p><font color="#3333FF">&lt;/xsl:stylesheet></font><font color="#3333FF"></font>
</p><p align="justify">To learn more about XSLT, I recommend the XSLINFO site
(<A HREF="http://www.xslinfo.com/">http://www.xslinfo.com/</A>
as a good starting point. Also I found the <A HREF="http://metalab.unc.edu/xml/books/bible/updates/14.html">revised Chapter 14 from the
XML
Bible</A>
to be very good. This revision is based on the specifications that
eventually became the recommendation.</p><p align="justify">With the arrival of the next generation of browsers,
<i>i.e.</i> Netscape 5 (currently under construction <A HREF="http://www.mozilla.org">http://www.mozilla.org/</A>)
this transformation with be done client side. When an XML
file is requested the
corresponding XSL file will be sent along with it, and the transformation will be done by
the browser. Currently there are a lot of browsers only capable of
displaying HTML, and until then the transformation must be done server
side. This can be accomplished by using Java
servlets (Java server side programs).</p><p align="justify">The Cocoon servlet is such a
servlet, written by some very clever people at Apache (<A HREF="http://www.apache.org/">http://www.apache.org/</A>). It basically takes
an XML document and transforms it using a XSL document. An example of
such a transformation would be to convert the XML document into HTML
so that the browser can display it. So if your web
server is configured to run servlets, and you include the cocoon
servlet, then you can start designing your web pages using XML. The rest of this article will show exactly how to do this.</p><h2 align="left">How do I do it?</h2><p align="justify">I have tested the following instructions on a fresh installation of Red Hat 6.0, so I know it works.</p><h3 align="left">Apache Web Server</h3><p align="justify">First set up the Apache web server. On Red Hat this comes
pre installed but I want you to blow it away using: <font color="red" face="serif" size="3"><p>rpm
-e --nodeps apache</p></font> and do not worry about the error
messages. Next get a hold of the most recent Apache (<A HREF="http://www.apache.org/">http://www.apache.org/</A>) (currently verison 1.3.9) and copy it somewhere handy. I put mine in
<font color="black" face="serif" size="4">/usr/local/src</font>. Tar and unzip the file using:
<font color="red" face="serif" size="3"><p>tar zxvf apache_1.3.9.tar.gz</p></font> This will
expand the installation into the directory
<font color="black" face="serif" size="4">/usr/local/src/apache_1.3.9</font>. Change into this directory
and configure, build and install the application using the
following:<font color="red" face="serif" size="3"><p>./configure --prefix=/usr/local/apache
--mandir=/usr/local/man --enable-shared=max</p></font><font color="red" face="serif" size="3"><p>make</p></font><font color="red" face="serif" size="3"><p>make install</p></font>
This will install apache into the directory
<font color="black" face="serif" size="4">/usr/local/apache</font> and the important file to note here is
<font color="black" face="serif" size="4">http.conf</font> which can be found in the directory
<font color="black" face="serif" size="4">/usr/local/apache/conf</font>. This file contains most of the
important information necessary to run apache correctly. It contains
information on: where to serve the web documentsfrom, virtual web
servers and folder aliases. We will be returning to this file shortly so become familiar with it's general
layout. At this stage I had to reboot Linux and then start Apache using the following
instruction <font color="red" face="serif" size="3"><p>/usr/local/apache/bin/apachectl start</p></font>
To test it, point your web browser to <A HREF="http://localhost/">http://localhost/</A> and
you're in business, hopefully!
For good web design and planning I would refer you to an article that
I found invaluable in setting up my own web site: <A HREF="http://www.linuxgazette.com/issue43/gibbs/Web_Design.html">Better Web Site
Design under
Linux</A></p><h3 align="left">Java and JSDK</h3><p align="justify">As of October, IBM have released the Java Development Kit 1.1.8 for
Linux. It claims to be faster than the corresponding Blackdown's
(<A HREF="http://www.blackdown.org/">http://www.blackdown.org/</A>)
and Sun's
JDKs. Download IBM JDK (see
<A HREF="http://www.ibm.com/java/">http://www.ibm.com/java/</A>).
Again tar and unzip this into the
<font color="black" face="serif" size="4">/usr/local/src/jdk118</font> directory. Next, download the
<A HREF="http://java.sun.com/products/servlet/">JavaSoft's JSDK2.0</A>, the solaris version (not JSDK2.1 or any other flavours you might be
tempted to get) and tar and unzip it - again I put it in
<font color="black" face="serif" size="4">/usr/local/src/JSDK2.0</font>. Add the following or equivalent
to <font color="black" face="serif" size="4">/etc/profile</font> to make them available to your system.
<p><font color="blue" face="serif" size="3"><i>JAVA_HOME="/usr/local/src/jdk118"<br></i></font><font color="blue" face="serif" size="3"><i>JSDK_HOME="/usr/local/src/JSDK2.0"<br></i></font><font color="blue" face="serif" size="3"><i>CLASSPATH="$JAVA_HOME/lib/classes.zip:$JSDK_HOME/lib/jsdk.jar"<br></i></font><font color="blue" face="serif" size="3"><i>PATH="$JAVA_HOME/bin:$JSDK_HOME/bin:$PATH"<br></i></font><font color="blue" face="serif" size="3"><i>export PATH CLASSPATH JAVA_HOME JSDK_HOME<br></i></font></p>
To test them
run: <font color="red" face="serif" size="3"><p>java -version</p></font> at the command prompt, and you should get back the
following message <p align="left"><font color="brown" face="serif" size="3"><i>java version "1.1.8"<br></i></font></p> and to test the servlet development kit run:
<font color="red" face="serif" size="3"><p>servletrunner</p></font> and if all goes well you
should get back the following: <p align="left"><font color="brown" face="serif" size="3"><i>servletrunner starting with settings:<br></i></font><font color="brown" face="serif" size="3"><i>port = 8080<br></i></font><font color="brown" face="serif" size="3"><i>backlog = 50<br></i></font><font color="brown" face="serif" size="3"><i>max handlers = 100<br></i></font><font color="brown" face="serif" size="3"><i>timeout = 5000<br></i></font><font color="brown" face="serif" size="3"><i>servlet dir = ./examples<br></i></font><font color="brown" face="serif" size="3"><i>document dir = ./examples<br></i></font><font color="brown" face="serif" size="3"><i>servlet propfile = ./examples/servlet.properties<br></i></font></p>
We are now ready to install Apache's servlet engine, ApacheJServ.</p><h3 align="left">ApacheJServ</h3><p align="justify">Again, download the latest ApacheJServ (version 1.0 at this time,
although version 1.1 is in it's final beta stage) from Apache's Java Site
(<A HREF="http://java.apache.org/">http://java.apache.org/</A>)
and expand it into <font color="black" face="serif" size="4">/usr/local/src/ApacheJServ-1.0/</font>. Configure, make and
install it using the following instructions: <font color="red" face="serif" size="3"><p>./configure
--with-apache-install=/usr/local/apache --with-jsdk=/usr/local/src/JSDK2.0</p></font><font color="red" face="serif" size="3"><p>make</p></font><font color="red" face="serif" size="3"><p>make install</p></font>
When this has successfully completed add the following line to the end
of the <font color="black" face="serif" size="4">http.conf</font> file that I refereed to earlier during the Apache web
server installation: <p><font color="blue" face="serif" size="3"><i>Include /usr/local/src/ApacheJServ-1.0/example/jserv.conf<br></i></font></p>and restart the web server using:
<font color="red" face="serif" size="3"><p>/usr/local/apache/bin/apachectl restart</p></font> Now
comes the moment of truth, point your web browser to
<A HREF="http://localhost/example/Hello">http://localhost/example/Hello</A>
and if you get back the following two lines:<p align="left"><font color="brown" face="serif" size="3"><i>Example Apache JServ Servlet<br></i></font><font color="brown" face="serif" size="3"><i>Congratulations, Apache JServ is working!<br></i></font></p>
then you are almost home.</p><h3 align="left">Cocoon</h3><p align="justify">Finally, download the latest version of Cocoon (version 1.5 at this time) from Apache's Java Site
(<A HREF="http://java.apache.org/">http://java.apache.org/</A>).
Cocoon is distributed as a Java jar file and can be extracted using the command
<i>jar</i>. First, create the directory
<font color="black" face="serif" size="4">/usr/local/src/cocoon</font> and then expand the cocoon jar file
into it:
<font color="red" face="serif" size="3"><p>mkdir /usr/local/src/cocoon</p></font><font color="red" face="serif" size="3"><p>jar -xvf Cocoon_1.5.jar</p></font>
Now comes the tricky part of
configuring the JServ engine to recognise a file with a
<font color="black" face="serif" size="4">.xml</font> extension and to use the cocoon servlet process and
serve them.
</p><p align="justify">Locate the file <font color="black" face="serif" size="4">jserv.properties</font> which you will find in the
directory <font color="black" face="serif" size="4">/usr/local/src/ApacheJServ-1.0/example/</font> and at
the end of the section that begins:<p><font color="blue" face="serif" size="3"><i># CLASSPATH environment
value passed to the JVM<br></i></font></p> add the following:<p><font color="blue" face="serif" size="3"><i>wrapper.classpath=/usr/local/src/cocoon/bin/xxx.jar<br></i></font></p>
In the case of Cocoon 1.5 this means adding the following three lines:<p><font color="blue" face="serif" size="3"><i>wrapper.classpath=/usr/local/src/cocoon/bin/fop.0110.jar<br></i></font><font color="blue" face="serif" size="3"><i>wrapper.classpath=/usr/local/src/cocoon/bin/openxml.106-fix.jar<br></i></font><font color="blue" face="serif" size="3"><i>wrapper.classpath=/usr/local/src/cocoon/bin/xslp.19991017-fix.jar<br></i></font></p>
Although these files will change with different versions. The next file to locate is the <font color="black" face="serif" size="4">example.properties</font> file,
again found in the <font color="black" face="serif" size="4">/usr/local/src/ApacheJServ-1.0/example/</font>
directory and add the following line:
<p><font color="blue" face="serif" size="3"><i>repositories=/usr/local/src/cocoon/bin/Cocoon.jar<br></i></font></p>
In my <font color="black" face="serif" size="4">example.properties</font> file it meant changing the line:
<p><font color="blue" face="serif" size="3"><i>repositories=/usr/local/src/ApacheJServ-1.0/example<br></i></font></p>
to the following:
<p><font color="blue" face="serif" size="3"><i>repositories=/usr/local/src/ApacheJServ-1.0/example,/usr/local/src/cocoon/bin/Cocoon.jar<br></i></font></p>
Also add the following line to the end of the
<font color="black" face="serif" size="4">example.properties</font> file:
<p><font color="blue" face="serif" size="3"><i>servlet.org.apache.cocoon.Cocoon.initArgs=properties=/usr/local/src/cocoon/bin/cocoon.properties<br></i></font></p></p><p align="justify">The JServ engine is now properly configured and all that is left
for us to do it to tell Apache to direct any call to an XML file (or
any other file you want Cocoon to process) to the Cocoon servlet. For
this we need the JServ configuration file,
<font color="black" face="serif" size="4">jserv.conf</font> mentioned earlier (again in the same directory). Include the following line: <p><font color="blue" face="serif" size="3"><i>ApJServAction .xml
/example/org.apache.cocoon.Cocoon<br></i></font></p></p><p align="justify">In order to
access the cocoon documentation and examples add the following lines to
the <i>alias</i> section of
your <font color="black" face="serif" size="4">http.conf</font> file:
<p><font color="#3333FF"><font size=+0>Alias /xml/ "/usr/local/src/cocoon/"</font></font><font color="#3333FF"><font size=+0></font></font>
<p><font color="#3333FF"><font size=+0>&lt;Directory "/usr/local/src/cocoon/"></font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; Options Indexes
MultiViews</font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; AllowOverride
None</font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; Order allow,deny</font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; Allow from all</font></font>
<br><font color="#3333FF"><font size=+0>&lt;/Directory></font></font><font color="#3333FF"><font size=+0></font></font>
<p><font color="#3333FF"><font size=+0>Alias /xml/ example/"/usr/local/src/cocoon/example/"</font></font><font color="#3333FF"><font size=+0></font></font>
<p><font color="#3333FF"><font size=+0>&lt;Directory "/usr/local/src/cocoon/example/"></font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; Options Indexes
MultiViews</font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; AllowOverride
None</font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; Order allow,deny</font></font>
<br><font color="#3333FF"><font size=+0>&nbsp;&nbsp;&nbsp; Allow from all</font></font>
<br><font color="#3333FF"><font size=+0>&lt;/Directory></font></font><font face="serif"><font color="#3333FF"><font size=+0></font></font></font>
<p align="justify">
Restart the web browser for this to take effect:
<font color="red" face="serif" size="3"><p>/usr/local/apache/bin/apachectl restart</p></font>
Now point your browser to <A HREF="http://localhost/xml/">http://localhost/xml/</A>
to browse the documentation and
<A HREF="http://localhost/xml/example/">http://localhost/xml/example/</A>
to try out the examples. If Cocoon complains about a exceeding a memory limit then open the file <font color="black" face="serif" size="4">cocoon.properties</font> found in the <font color="black" face="serif" size="4">/usr/local/src/cocoon/</font> directory. Find the line <p><font color="blue" face="serif" size="3"><i>store.memory = 150000<br></i></font></p>and change it to something lower like 15000. To try out the PDF examples, which I think
are very cool, you have to have Acrobat Reader installed as a
netscape plug-in, but it is worth the extra effort to get this
working.
</p><h2 align="left">Cocoon 2</h2><p align="justify">The Cocoon 1.x series has basically been a work in progress.
What started out as a simple servlet for static XSL transformation has grown into
something much more. With this ongoing development, design
considerations taken at the beginning of the project are now hampering future
developments as the scale and the scope of the project becomes
apparent. To add to this, XSL is also a work in progress,
although the current version of XSLT has become a W3C Recommendation (as of November, 16 1999).
</p><p align="justify">Cocoon 2 intends to address these issues and provide us with a
servlet for XML transformations that is scalable to handle large quantities
of web traffic. Web design of medium to large sites in the
future will be based entirely around XML, as its benefit become apparent, and the Cocoon 2 servlet will hopefully provide us with a way to use it effectively.</p><h2 align="left">Conclusions</h2><p align="justify"><p align="justify">Even as I have
been writing this article, Apache have opened a new site dedicated exclusively to
XML
(see <A HREF="http://xml.apache.org/">http://xml.apache.org/</A>).
The cocoon project has obviously grown beyond all expectations, and with
the coming of Cocoon 2 will be a commercially viable servlet to
enable design of web sites in XML to become a reality. The people at
Apache deserve a lot of credit for this so write to them and thank them,
join the mailing list and generally lend your support. After
all this is open source code and this is what Linux is all about. </p></body></html>
<!-- This page was served in 5463 milliseconds by Cocoon 1.5 -->
<DL>
<DT> <A HREF="misc/lane/lane.xml">lane.xml</A>
<DD> An XML version of this article.
<DT> <A HREF="misc/lane/lane.xsl">lane.xsl</A>
<DD> Its XSL style sheet.
<DT> <A HREF="misc/lane/lane.xml.txt">lane.xml.txt</A>
<DD> A text version of the XML source.
<DT> <A HREF="misc/lane/lane.xsl.txt">lane.xsl.txt</A>
<DD> A text version of the XSL source.
</UL>
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, Eoin Lane<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">DHCP for the Home Network</font></H1>
<H4>By <a href="mailto:jpollman@bigfoot.com">JC Pollman</a> and <a href="mailto:bill.mote@bigfoot.com">Bill Mote</a></H4>
</center>
<P> <HR> <P>
<!-- END header -->
<p>Tired of lugging that laptop from the office to home only to find that
once you get there you have to boot your M$ operating system, change your
network settings to work with your home network, and then ... ah-hem REBOOT?!&nbsp;
I was!&nbsp; [Enter DHCP from stage left.]<font color="#000000">&nbsp;&nbsp;
If </font>your <font color="#000000">office and home environments are configured
correctly, DHCP is a</font>bout to be your new best friend!
<p><b>Disclaimer: </b>This article provides information we have gleamed
from reading the books, the HOWTOs, man pages, usenet news groups, and
countless hours banging on the keyboard. It is not meant to be an all inclusive
exhaustive study on the topic, but rather, a stepping stone from the novice
to the intermediate user.&nbsp; All the examples are taken directly from
our home networks so we know they work.
<p><b>How to use this guide:</b>
<ul>
<li>
Words encapsulated by square brackets like [Enter] indicate the depression
of a key on the keyboard or a mouse button [Mouse1]</li>
<li>
Words encapsulated by squiggly brackets like {your name here} indicate
data that will/should be substituted with "real" data</li>
<li>
Text depicted in italics are commands you, the user, should type at a prompt</li>
</ul>
<b>Prerequisites:</b> This guide assumes that you have at least DHCP 2.0
installed and that your local IP network is setup and functioning.
<p><b>DHCP@Home, why? </b>Convenience.&nbsp; I was fed up with changing
network configurations when I came home and then subsequently went back
to the office.&nbsp; It was completely unacceptable to add a bolt-on utility
to manage these settings for me.&nbsp; Then one day it hit me.&nbsp; We
use DHCP at work.&nbsp; Why shouldn't I use it at home!&nbsp; It'll give
me an IP address on the local network, the necessary DNS information, and
the correct gateway.
<p><b>DHCP@Work, why?</b>&nbsp; This one is a little easier to justify
than simply being inconvenienced.&nbsp; I worked at a facility with ~600
workstations.&nbsp; On the 1st day with the company I had to setup my own
machine and get it on the network.&nbsp; It took nearly 30-minutes for
an ill-equiped network administrator, I'll leave his name out of this article
since he's still providing network services for a local company, to find
an empty IP address that I could statically assign to my system.&nbsp;
He had paper print outs of 3-complete Class-C networks (192.168.[1-3].[1-254]).&nbsp;
It doesn't take higher math to figure out that there's over 750 addresses
available.&nbsp; 255 of which were on the network segment I was on.
<p>His process:
<blockquote>1. Find an open slot on the printed copy
<br>2. Verify it was open in his electronic copy
<br>3. Ping the address to verify no one was on it
<br>4. Give it to me, write it on the paper and enter it electronically</blockquote>
That was Friday.&nbsp; Monday morning I had an IP Conflict.&nbsp; Real
accurate system.&nbsp; All I knew about DHCP was that I had to select it
to get an IP address from my ISP at home.&nbsp; I had no idea how it worked
nor if we could use it to fix this `problem'.&nbsp; I joined forces with
a different network services group in the company, they educated me, and
we did a full frontal assault on every machine.&nbsp; DHCP is running to
this day ...
<p><b>IP Numbering Schemes:&nbsp; </b>If you've decided to run DHCP at
home then be smart about it.&nbsp; Figure out a numbering scheme and stick
with it.&nbsp; You'll know exactly what's on your network just by seeing
the IP address.&nbsp; This advice holds more weight in the corporate world
where you're likely to be hosting more machines.&nbsp; Anyway, this is
what I use at home and it closely resembles work as well:
<p><tt><u>IP Address Range&nbsp;&nbsp;&nbsp;&nbsp; Hosts</u></tt>
<p><tt><font color="#3333FF">* Important machines and network equipment
*</font></tt>
<p><tt>&nbsp;&nbsp;&nbsp; .001&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Your router (if present)</tt>
<br><tt>&nbsp;&nbsp;&nbsp; .002 - .009&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network
equipment (switches and hubs)</tt>
<br><tt>&nbsp;&nbsp;&nbsp; .010 - .075&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Servers</tt>
<br><tt>&nbsp;&nbsp;&nbsp; .076 - .099&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Network
Printers</tt>
<p><tt><font color="#3333FF">* User workstations *</font></tt>
<p><tt>&nbsp;&nbsp;&nbsp; .100 - .254&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DHCP
range</tt>
<br>&nbsp;
<p>Sticking with a scheme like the one above will make visual scans of
your logs much easier since you'll likely notice an oddball IP address
doing something it's not supposed to or not capable of, i.e., a printer
trying to telnet into your machine?&nbsp; Not likely ... and a good indicator
that you didn't read last month's article on security!
<p><b>Are you ready?</b>&nbsp; Type the following command at a shell prompt:
<br>&nbsp;
<blockquote><i>whereis dhcpd[Enter]</i></blockquote>
You should see output similar to the following line.&nbsp; If not, then
you still need to install DHCP.&nbsp; Get to it and come back here:
<blockquote>dhcpd: /usr/sbin/dhcpd /etc/dhcpd.conf&nbsp; /etc/dhcpd.leases
/etc/dhcpd.leases~</blockquote>
<p><br><b>/etc/dhcpd.conf:</b> This is where we start.&nbsp; This file
is the key to it all and it's extremely simple in design.&nbsp; Here's
what mine looks like:
<br>&nbsp;
<center><table BORDER COLS=1 WIDTH="50%" BGCOLOR="#FFFFFF" NOSAVE >
<tr NOSAVE>
<td BGCOLOR="#3366FF" NOSAVE>
<h1>
<b><font color="#FFFFFF">/etc/dhcpd.conf</font></b></h1>
</td>
</tr>
<tr NOSAVE>
<td BGCOLOR="#3366FF" NOSAVE>September 18, 1999</td>
</tr>
<tr NOSAVE>
<td BGCOLOR="#3366FF" NOSAVE>Author: Bill Mote</td>
</tr>
<tr NOSAVE>
<td ROWSPAN="2" NOSAVE>default-lease-time 36000;
<br>max-lease-time 7200;
<br>option subnet-mask 255.255.255.0;
<br>option broadcast-address 192.168.1.255;
<br>option routers 192.168.1.10;
<br>option domain-name-servers 192.168.1.10;
<br>option domain-name "mynetwork.cxm";
<p>subnet 192.168.1.0 netmask 255.255.255.0 {
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; range 192.168.1.100 192.168.1.254;
<br>}&nbsp;</td>
</tr>
</table></center>
<p><b>/etc/dhcpd.leases: </b>We now need to give the dhcp server somewhere
to start.&nbsp; We do so by creating an empty leases file.&nbsp; Type the
following command at a shell prompt:
<blockquote><i>touch /etc/dhcpd.leases[Enter]</i></blockquote>
Below is a `live' dhcpd.leases file from my system.&nbsp; Please note that
your file will be empty until a DHCP client successfully obtains an IP
address from your server.
<br>&nbsp;
<br>&nbsp;
<center><table BORDER COLS=1 WIDTH="50%" NOSAVE >
<tr NOSAVE>
<td BGCOLOR="#3366FF" NOSAVE>
<h1>
<font color="#FFFFFF">/etc/dhcpd.leases</font></h1>
</td>
</tr>
<tr NOSAVE>
<td BGCOLOR="#3366FF" NOSAVE>September 18, 1999</td>
</tr>
<tr NOSAVE>
<td BGCOLOR="#3366FF" NOSAVE>Author: {auto generated by dhcpd}</td>
</tr>
<tr NOSAVE>
<td BGCOLOR="#FFFFFF" NOSAVE>lease 192.168.1.100 {
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; starts 6 1999/09/18 17:27:36;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ends 6 1999/09/18 17:37:36;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hardware ethernet 00:60:08:e3:60:03;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; uid 01:00:60:08:e3:60:03;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; client-hostname "NoFear";
<br>}</td>
</tr>
</table></center>
<p><b>Let's go already!&nbsp; </b>It's what you've been waiting for.&nbsp;
Time to startup the dhcp server and get a client running.&nbsp; Type the
following command at a shell prompt:
<blockquote><i>/usr/sbin/dhcpd[Enter]</i></blockquote>
That's it for the server side.&nbsp; Now onto client configuration.
<p><b>M$ client:&nbsp;</b> For the purposes of this article I'm going to
assume that you've got mostly M$ machines connected to a linux server.
<p>The Microsoft client is actually very easy to configure.&nbsp; Follow
these mouse clicks:
<br>&nbsp;
<blockquote><i>Start -> Settings -> Control Panel -> Network</i></blockquote>
Find the `TCP/IP protocol for your network adapter'.&nbsp; Highlight it
get to the properties window by pressing [Mouse1] on the `Properties' button.&nbsp;
Since pictures are better than words I'll use the following 3 pictures
to illustrate how your TCP/IP settings should be configured:
<br>&nbsp;
<br>&nbsp;
<br>
<br>
<center>
<p><img SRC="gx/pollman/ip_address.gif" HSPACE=3 VSPACE=3 height=441 width=356>
<br><img SRC="gx/pollman/gateway.gif" HSPACE=3 VSPACE=3 height=441 width=356>
<br><img SRC="gx/pollman/dns.gif" HSPACE=3 VSPACE=3 height=441 width=356></center>
<p><br>
<br>
<br>
<br>
<br>
<br>
<br>
<p>After a quick M$ reboot you should be golden!&nbsp; For more info on
DHCP see the <font color="#FF6666"><a href="http://www.linuxhq.com/HOWTO/mini/DHCP.html">DHCP-minihow-to</a></font>.&nbsp;
Notice in the opening sentence of this paragraph the word, "should".&nbsp;
Well, here's what I've found.
<br>&nbsp;
<blockquote>DHCP and Win98 SE (second edition) -- [Bill steps onto his
soap box] Nothing like a little competition to spark the boys in Redmond,
eh?&nbsp; The impression was the *everyone* was setting up Linux boxes
to share their internet connections at home.&nbsp; Microsoft responds in
short order with Internet Connection Sharing included in Win98 SE.&nbsp;
Quite frankly, I loved it.&nbsp; I used it to get our church computers
running from a single dial connection and it's working great.
<p>However, Win98 SE's ICS seems to be doing something a little off the
wall when it comes to DHCP.&nbsp; My Win98 SE machine at home assigns an
IP address to my NIC if it can't find a DHCP server.&nbsp; In the old days
Win9x would use it's last known IP address as long as the lease hadn't
expired ... not any more.
<p>If you have problems getting your Win98 SE box to get an IP address
then you may want to assign it a permanent address.&nbsp; What about the
numbering scheme you ask?&nbsp; You `could' set a small range aside at
the bottom or top of the range, but still above our default .100 (like
.100 - .105).
<p>If you still want the box to have an IP address assigned by DHCP then
you can do the following:
<blockquote>
<ul>
<li>
Give the Win98 SE box an IP address on your network.&nbsp; Don't worry
it'll just be temporary.</li>
<li>
Wait a couple of days (haven't narrowed the time down yet)</li>
<li>
Set the machine back to DHCP</li>
</ul>
</blockquote>
Ridiculous?&nbsp; Yes.&nbsp; I just haven't looked for a way to permanently
fix the problem.&nbsp; There's probably some undocumented Win9x registry
tweak ...&nbsp; If anyone knows send it to my e-mail address below please!</blockquote>
<br>Next month we will be discussing Linux Client Side DHCP.
<p><br>
</body>
</html>
<!-- *** BEGIN copyright *** -->
<P> <hr> <P>
<H5 ALIGN=center>
Copyright &copy; 1999, JC Pollman, Bill Mote<BR>
Published in Issue 48 of <i>Linux Gazette</i>, December 1999</H5>
<!-- *** END copyright *** -->
<H4>
"Linux Gazette...<I>making Linux just a little more fun!</I>"
</H4>
<P> <HR> <P>
<!--===================================================================-->
<center>
<H1><font color="maroon">The Back Page</font></H1>
<!-- H4>By <a href="mailto:%(email)s">%(author)s</a></H4 -->
</center>
<ul>
<li><a HREF="#authors">About This Month's Authors</a>
<li><a HREF="#notlinux">Not Linux</a>
</ul>
<a name="authors"></a>
<P> <HR> <P>
<!--======================================================================-->
<center><H3><font color="maroon">About This Month's Authors</font></H3></center>
<P> <HR> <P>
<!--======================================================================-->
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Steven Adler</H4>
While not building <a href="http://www.phenix.bnl.gov">detectors</a>
in search of the quark gluon plasma, Steve Adler spends his time either
4 wheeling around the lab grounds or writing articles about the people
behind the open source movement.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Eugene Blanchard</H4>
Eugene is an Instructor at the Southern Alberta Institute of
Technology in Calgary, Alberta, Canada where he teaches electronics,
digital, microprocessors, data communications, and operating
systems/networking in the Novell, Windows and Unix worlds. When he is not
spending quality time with his wonderful wife and 18 month old daughter
watching Barney videos, he can be found in front of his Linux box. His
hobbies are hiking, backpacking, bicycling and chess.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Eric Fischer</H4>
Eric currently lives in Chicago, Illinois and is employed by RootsWeb, Inc. He
was formerly involved in the development of the Vim text editor.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">David Fisher</H4>
Dave has been working as a software consultant for 12 years doing development,
QA, and automation in both military and commercial projects. He also designs
strategic games and is a published musician.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Eoin Lane</H4>
Eoin is the managing director of <a href="http://www.inconn.ie/">InConn
Technologies Ltd</a>., an intranet document management company. After completing
his Ph.D., in chemical physics Eoin saw the potential of using a Linux
server to centrally manage documents, from this he decided to set up the
company InConn Technologies Ltd., to explore this technology commercially.
Eoin specialises in XML solutions for complex document and knowledge management
problems.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">JC Pollman and Bill Mote</H4>
JC has been playing with Linux since kernel 1.0.59. He spend way too much
time at the keyboard and even let his day job - the military - interfere once in
a while. His biggest concern about linux is the lack of documentation for the
intermediate user. There is already too much beginner's stuff, and the
professional material is often beyond the new enthusiast.
<P> Bill is the Technical Support Services manager for a multi-billion dollar
publishing company and is responsible for providing 1st and 2nd level
support services to their 500+ road-warrior sales force as well as their
3,500 workstation and laptop users. He was introduced to Linux by a good
friend in 1996 and thought Slackware was the end-all-be-all of the OS world
... until he found Mandrake in early 1999. Since then he's used his
documentation skills to help those new to Linux find their way.
<P>
<H4><IMG ALIGN=BOTTOM ALT="" SRC="../gx/note.gif">Bob Reid</H4>
Rob is doing his Ph.D. in Astronomy at the University of Toronto, where he
was a system administrator on the side for a while along with running his own
Linux boxes at home and school since 1995.
<a name="notlinux"></a>
<P> <hr> <P>
<!--====================================================================-->
<center><H3><font color="maroon">Not Linux</font></H3></center>
<P> <HR> <P>
<!--======================================================================-->
<IMG ALT="[ Penguin reading the Linux Gazette ]"
SRC=../gx/lg-penguin.gif ALIGN=right>
<P>
<P> This issue is short on articles because the Thanksgiving weekend pushed
the deadline too far forward for some of the authors. Articles by <I>LG</I>
regulars Bill Bennet, Slambo, Sean Lamb and Anderson Silva will be in the
January issue.
<P> Since the <I>Linux Gazette</I> Spam Count has been
hovering steadily at 26-28%, I decided to look at a new statistic this month:
the <STRONG><I>Linux Gazette</I> Bounce Count</STRONG>. This is the number
of messages that were undeliverable on the 5500-member <tt>lg-announce</tt>
mailing list. Bounce count: 1034 messages, creating a wopping 7.5 MB
file of error messages. Most of these were because of the mail loop created by
the jankog@penatex.si address, which is now unsubscribed. There are still some
problems which duplicate messages on the list. We are currently trying to pin
down where these messages are being generated from.
<P> Today is the first day of the World Trade Organization meetings her in
Seattle, and the protesters stated a day earlier than expected, on Sunday.
Nothing unusual to report so far that you won't find in the papers.
<P> Finally, a tongue twister from my boss Dan Wilder. Say it three times
fast:
<BLOCKQUOTE><FONT FACE=arial,helvetica>
How many nets could a Netwinder wind if a Netwinder could wind nets?
</FONT></BLOCKQUOTE>
<p><hr><p>
<center>
<I>Linux Gazette</I> Issue 47, September 1999,
<A HREF="http://www.linuxgazette.com/">http://www.linuxgazette.com</A><BR>
This page written and maintained by the Editor of <I>Linux Gazette</I>,
<A HREF="mailto:gazette@ssc.com"> gazette@ssc.com</A>
<H5>Copyright &copy; 1999 Specialized Systems Consultants, Inc.<br>
</center>
<P>