Files
2024-02-19 00:23:35 -05:00

790 lines
29 KiB
Plaintext

From: Digestifier <Linux-Admin-Request@senator-bedfellow.mit.edu>
To: Linux-Admin@senator-bedfellow.mit.edu
Reply-To: Linux-Admin@senator-bedfellow.mit.edu
Date: Fri, 7 Oct 94 14:14:21 EDT
Subject: Linux-Admin Digest #157
Linux-Admin Digest #157, Volume #2 Fri, 7 Oct 94 14:14:21 EDT
Contents:
Re: Blockmode and ATA-2 supports (Mark Lord)
Re: Linux and X Windows (Martin Schulze)
Xterminals with Linux as X server (Srini Seetharam)
Yggdrasil Fall '94 sendmail->UUCP broken (Aaron Michael Cohen)
Re: Bug in Linux 'mv'? (Richard Lindner)
Re: Ethernet NE2000 clone installation problem (Malcolm B. Sylvester)
Re: SCSI vs IDE (Michael Blair Mathers)
Re: Xfig (Geoff Kuchera)
Re: RLOGIN security - more info! (Sam Oscar Lantinga)
Re: RLOGIN security - more info! (Gregory Trubetskoy)
Re: Recommendation: Partitioning Linux (Florian Schmidt)
SLIP through terminal concentrator? (Marko Schuetz)
Re: corba for linux (Jens Krauss (Steinfath))
Re: Xterminals with Linux as X server
Re: Linux as KingGod NFS Server to DOS Slaves (Juergen Prang)
Q: XF86-3.1 and font scaling (Oliver Mai)
Help me identify these error messages. (Mubashir Cheema)
Configuring 1.1.8 Kernel error (John Behneman)
[TERM] Some ideas (Joel M. Hoffman)
TERM: a few questions (Joel M. Hoffman)
----------------------------------------------------------------------------
From: mlord@bnr.ca (Mark Lord)
Subject: Re: Blockmode and ATA-2 supports
Date: 7 Oct 1994 13:02:52 GMT
In article <CxAuF6.F6u@utu.fi> tatulund@utu.fi writes:
< I have a VLB-IDE controller (Promise DC-2000), which
< is also WD1003 compatible. Hopefully, because othervise
< Linux wont work. Hovever it would be nice to have
< for exsample support for blockmode access (alias multiple
< mode). Now swapping is damned slow compared to
Multiple Mode is/has-been supported under linux for some time now.
Patches for 1.0.x are available as ide20.patch.gz on many sites,
and kernels 1.1.32 and higher have the support built-in. To enable it,
you'll need hdparm-1.x.tar.gz, where 'x'=4 for linux 1.1.32-1.1.51,
or 'x'=5 for linux 1.1.52 and higher.
--
mlord@bnr.ca Mark Lord BNR Ottawa,Canada 613-763-7482
------------------------------
Crossposted-To: comp.windows.x.i386unix
From: schulze@merkur.ruhr.de (Martin Schulze)
Subject: Re: Linux and X Windows
Date: Wed, 5 Oct 1994 15:45:17 GMT
Bob Collie (collieb@iia.org) wrote:
: PLEASE EXCUSE THE CROSSPOST (comp.os.linux.admin,comp.windows.x.i386unix)
: I have downloaded the X and XAP disk sets from tsx and I cannot find the
: file startx or the xinit file. Can someone help me...do I need to
: download xd or xv disks also?
Hi,
i suggest you have also installed the disks on your system.
Then you should be able to find your startx-script in the /usr/bin/X11
directory.
If it is not in this location it could be in /usr/X386/bin or in /usr/X11/bin.
On my linux 1.0.8 (Slackware 2.??) Distribution the last directories are
symbolic links to /usr/bin/X11.
If you've found it you should set your PATH to the estimated directory.
If you can't find your file in one of these directories it is also possible
that you got an corrupt diskset. Maybe the archive has been updated before you
finish your copy.
Tschau
Martin
--
===============================================================================
Martin Schulze
Am Gardenkamp 51 Internet: schulze@merkur.ruhr.de
44227 Dortmund
------------------------------
From: srini@igt.com (Srini Seetharam)
Subject: Xterminals with Linux as X server
Date: 6 Oct 1994 23:08:20 GMT
I need to setup some Xterminals using multiple Linux machines
as possible servers.
The Xterminals are capable of handling the windowing capability.
The Xterminals broadcast an XDMCP when booted.
The Linux machine responds with a (willing to manage) message.
Currently, the Linux machines respond to it
BUT the windows are managed by the
Linux machine. As one can guess, once many Xterminals are served
by a single Linux machine, it is soon overwhelmed.
I am running Xfree 2.1 , Slackware 1.2 with Kernel 1.1.13
The window manager used is fvwm.
How do I get the Linux machine to respond to the XDMCP, but let
the Xterminals manage their windows ?
Is this even possible ?
I have seen it work with a SUN running Openlook / SunOS.
I have tried changing the Xaccess and Xserver files in the
/usr/X11/lib/X11/xdm directory but cannot figure it out.
The man pages were a little help in initailly setting up
what I have running but I cannot figure out how to let the
Xterminals manage their own windows.
Please help
srini
srini@igt.com
------------------------------
From: acohen@world.std.com (Aaron Michael Cohen)
Subject: Yggdrasil Fall '94 sendmail->UUCP broken
Date: Fri, 7 Oct 1994 15:25:22 GMT
Has anybody gotten the automatic routing of outgoing internet
mail over the UUCP server at Yggdrasil to work?
This is supposed to be set up and work "out of the box", but it doesn't.
I otherwise have a fully working system, and except for the fact that the
installation instructions in the manual are only loosely correlated with
the actual install script, the installation went smoothly.
I have gotten all the errata sheets and made the fixes, except for
the item which talks about the wrong path for the inet daemon.
I fixed the rc.net file so that my machine name is set correctly from
the /etc/hostname file. I'm not sure if this is what the errata sheets
meant.
I don't know squat about configuring smail and uucp, but as far as I have
tracked it down:
1. The uux process is called every 10 minutes and puts a note in it's
log file /usr/spool/uucp/.Log which says "no work".
2. The sendmail process puts messages that I send to internet addresses
into /usr/spool/smail/msglog with each message having the note "DNS BIND
failure unkown address", or something like that.
3. I don't have a network card.
4. Under the control-panel setup for UUCP, the yggdrasil entry has a
phone number of "32", this can't be correct.
Well, I'm stumped, any help would be appreciated. I've sent a couple
of email messages to yggdrasil, but I haven't gotten any replies.
Aaron.
------------------------------
From: rjl@spectre.apana.org.au (Richard Lindner)
Subject: Re: Bug in Linux 'mv'?
Date: Thu, 6 Oct 1994 23:26:25 GMT
Christopher Gori (cgori@isengard.stanford.edu) wrote:
: (cdw@cci.com (Craig Woodward)) wrote:
: >In article <jeffpkCwpnwG.89K@netcom.com>,
: >>
: >>TYpically UNIX mv does not work across volumes. I'm suprised it doesnt
: >>error out on you. The standard way to move things across volumes is to
: >>use tar to copy it, and then rm -r the original.
: >
: > What about `cp -arp * /splat`? Much simpler then tar.
: >
: > -Woody
: NO NO NO
: cp doesn't copy symlinks. If you want a completely messed up file tree, go
^^^^^^^^^^^^^^^^^^^^^^^^^
hmm - could've fooled me (and cp - better tell it that it's getting it wrong!!)
--
Richard Lindner - System Manager Upper Murray Public Access Unix
rjl@spectre.apana.org.au PO Box 1555, Wodonga, Vic. 3689, Oz
Data: 060 208773 Fax: 060 562105 Voice: 060 562072 (bh) 060 208813 (ah)
------------------------------
Crossposted-To: comp.os.linux.help
From: sylveste@nosc.mil (Malcolm B. Sylvester)
Subject: Re: Ethernet NE2000 clone installation problem
Date: Thu, 6 Oct 1994 01:52:14 GMT
Sender:sylveste@humu.nosc.mil
Followup-To:
Distribution:
Organization: NCCOSC RDT&E Division, San Diego, CA
Keywords:
In article <edwardmCwyy9w.4z8@netcom.com> edwardm@netcom.com (Edward F. Munro) writes:
>Herbert Rosmanith (herp@wildsau.idv.uni-linz.ac.at) wrote:
>: Aka Zodiac (mcsdc2smt@zippy.dct.ac.uk) wrote:
>: : In article <34k7df$2va@mis.cpc.ku.ac.th>, oanek@ku.ac.th (Anek Vorapanya) writes:
>: : > Dear all,
>[snip]
>: : > IP Protocols: ICMP, UDP, TCP
>: : > PPP: version 0.2.7 (4 channels) NET02D OPTIMIZE_FLAGS
>: : > TCP compression code copyright 1989 Regents of the University of California
>: : > PPP line discipline registered.
>: : > SLIP: version 0.7.5 (4 channels)
>: : > CSLIP: code copyright 1989 Regents of the University of California
>: : > Net2Debugged PLIP 1.01 (from plip.c:v0.15 for 0.99pl12+, 8/11/93)
>: : > plip1: configured for parallel port at 0x378, IRQ 7.
>: : > NE*000 ethercard probe at 0x300: 00 00 e8 c1 15 0a
>: : > eth0: NE2000 found at 0x300, using IRQ 5.
>: : > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>: : > * Autoprobing found the first (and my only) Ethernet card. Fine..
>
>: : yes....but merely DETECTING THE CARD Does *NOT* mean it is fine...it just means
>: : it has found the card...
>
>
>: In this case, it *DOES INDEED* mean the card is fine.
>
>
>: : > ne.c:v0.99-15k 3/3/94 Donald Becker (becker@super.org)
>: : > Linux version 1.0.9 (root@fuzzy) #3 Fri Jul 8 21:01:56 CDT 1994
>: : > ...
>: : >
>: : > Sep 7 10:48:44 init[1]: Entering runlevel: 5
>: : > Going multiuser...
>
>======> : : > SIOCADDRT: Network is unreachable <=====
>[snip]
>: : > eth0 Link encap UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
>: : > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
>I had this same problem, the answer for me was to upgrade ifconfig.
>After all, the kernel probe found the currect HWaddr, it only makes sense
>that there is a problem with ifconfig.
>
>BTW, I too was using a NE2000 clone.
>
>edwardm@netcom.com
>
I too have had this same problem, only with a 3c503 card. I have tried
changing the ifconfig but so far with no luck. Have you any suggestions
on what upgrade to make to ifconfig.
sysveste@humu.nosc.mil
------------------------------
From: mathers2@cps.msu.edu (Michael Blair Mathers)
Subject: Re: SCSI vs IDE
Date: 5 Oct 1994 04:21:32 GMT
: If all you're going to do is add another drive, stay IDE. There really
: isn't any speed difference between them anymore. You'll hear people
: scream that when they updated to SCSI, things got faster. But, they're
: probably comparing an older IDE drive with a new VLB SCSI card. I
: recently added a SCSI drive. I now have a 500MB IDE drive, and a 1GB
: SCSI-2 drive. I have a SCSI-2 ISA controller, and enhanced IDE
: controller. The SCSI drive has a faster spin rate, lower access time,
: higher transfer rate (it's newer), but the IDE drive outperforms the
: SCSI drive by about 150K/sec.
Is that a decent SCSI card? My ISA SCSI card only gets me about 1800k per
second but thats because I have a cheapo one. I tried my drive on a good
one and got 5000kps.. (I have DEC 1.6 GB SCSI-2) that's non F/W.
Sure Enhanced IDE is quite a bit faster than standard IDE. But there is
quite a bit of jury-rigging the card, drive, and softwares have to do to
put that together. Many problems occur with Enhanced IDE, as IDE actually
has a limit of 512MB size partitions (i believe that is the number) A couple
of my friends who went Enhanced IDE and now regret it. They've had problems
with managing their partitions. (this is on large GB drives). Everyone
talks about the new Enhanced IDE but no one mentions SCSI-3.. If you really
want to scream.... go SCSI-3.
: However, if you want to have more than 2 hard drives, or a CD-ROM, go
: SCSI. Keep in mind, that most SCSI cards have BIOS on them that scan
: the drive chain everytime you reboot (which is necessary for SCSI HDs).
: It usually takes 5-30 seconds for the card to do this, and you're
: sitting there waiting the whole time. If you're using DOS, you'll need
: to load several device drivers to ASPI, int 13, CAM, etc support eating
: up conventional memory.
That is just not true. My SCSI reads my chain in less than 2 seconds. My
mouse takes longer to initialize. It is not necessary to run ANY device
drivers. They are optional. As are many Enhanced IDE DOS drivers. BIOS
is not usually required to be enabled if you are not using DOS as other
OS's many times have drivers specifically written for each card. (as in the
case of Linux) If you decide for SCSI, I'll recommend not cheaping out on
the host adapter.. makes a big difference even for ISA boards.. If you got
VLB go for it.
: I bought SCSI for the CD-ROM, and disabled the bios on the card. I
: purchased a SCSI hd because I thought they were faster for multitasking.
: This hasn't proved to be so.
A CD-ROM is a CD-ROM.. I don't see how a CD-ROM with access times of 300-350
ms and transfer rates of 500kb/s can hardly be much faster depending on the
type of bus, SCSI or IDE.. Use your head.
Anyways, I doubt your going to get many answers.. <sorry> You seemed to
have known it was a debate, and evidently it really is... :)
Good luck.
-Mike
------------------------------
From: geoff@jacobs.mn.org (Geoff Kuchera)
Subject: Re: Xfig
Date: 5 Oct 1994 04:16:03 GMT
John Gotts (john@jgotts.ccs.itd.umich.edu) wrote:
: dietmar mueller (muellerd@eos.informatik.uni-bonn.de) wrote:
: : A friend of mine has installed Linux V.1.0.9.
: : His problem appears while starting Xfig. On loading the program the whole
: : Main Memory is allocated for the needs of swapping until the lower bound of
: : 80 K is reached, without starting Xfig. The Failure Message : "Font Type
: : ... not found" is being displayed and because of the lack of memory space
: : the Xserver shuts down with error message.
: : Does anyone have an idea why this can happen and how this phenomen can be
: : prevented?
: --
: cd /var/X11/lib/X11/app-defaults
: ln -s Fig-color Fig
Then go into the file Fig and get rid of the #include "Fig"
This statement causes an infinate loop that is what kills your system...
--
===============================================================================
Geoff Kuchera Internet: geoff@abu.mn.org <-- Linux
421 Van Buren Ave North #226 Tele: +1 612 945-9842
Hopkins, MN 55343
===============================================================================
------------------------------
From: slouken@cs.ucdavis.edu (Sam Oscar Lantinga)
Subject: Re: RLOGIN security - more info!
Date: 5 Oct 1994 21:08:57 GMT
Gregory Trubetskoy (grisha@cais.cais.com) wrote:
: This is regarding my earlier post about the possibilty
: of making an .rhosts file in the bin directory.
: The resulting .rhosts looked like this (I wonder what the zeros mean):
: localhost username 0
: b 0 0
He used a feature of elm. "autoreply" I think.
I've seen this before, but don't remember the specifics. You can use
the same hole to get root, though as I said, I don't remember how it is
done. I don't have elm on my system, and I recommend that you make sure
that none of the binaries in the elm system are suid root.
Heh.
-Sam
------------------------------
From: grisha@cais.cais.com (Gregory Trubetskoy)
Subject: Re: RLOGIN security - more info!
Date: 7 Oct 1994 00:51:42 GMT
Sam Oscar Lantinga (slouken@cs.ucdavis.edu) wrote:
: : localhost username 0
: : b 0 0
: He used a feature of elm. "autoreply" I think.
: I've seen this before, but don't remember the specifics. You can use
: the same hole to get root, though as I said, I don't remember how it is
: done. I don't have elm on my system, and I recommend that you make sure
: that none of the binaries in the elm system are suid root.
I think you are on the right track. There was a line in the
.bash_history: whereis tin, which I think I deleted, assuming it's
irrelevant... elm is a link to tin, which is setuid to root...
--
================================================================
Gregory Trubetskoy grisha@cais.com
================================================================
------------------------------
From: F.SCHMIDT@BIONIC.zer.de (Florian Schmidt)
Subject: Re: Recommendation: Partitioning Linux
Date: Thu, 06 Oct 1994 11:54:32 +0000
marshall giguere (giguere@dracma.mrnews) wrote:
> I'm setting up a Linux system and would like some recommendations
> about partitioning. I plan to run with a X and a network in the future.
> 1. Is it necessary to have both root and usr partition?
> 2. What's the necessary size for a root partition.
it certainly is not necessary to use seperate partitions for / annd /usr.
but there are probably some good arguments for it (i don't know them (except
for a safer root-partition (fs-corruption is more probable on a heavy used
/usr-partition than on a root-partition, which is mainly used at startup)).
i use the same partition for both, and am happy with it....
--
ja! ich bin ein HONK! na und? ..... irc: moses (c u on #germany)
GMU -d+ -p+ c++ l+ u--- e* m--- s++/+ !n f? g+ w+ t+ r y+
------------------------------
From: marko@hisplace.rhein-main.de (Marko Schuetz)
Subject: SLIP through terminal concentrator?
Date: Thu, 6 Oct 1994 08:00:40 GMT
Here's a subject I'd like some comment or help on:
I have a modem connected to a terminal concentrator connected to a
linux box and want to enable SLIP logins. I followed the NAG 1.0 on
setting up the client as well as the server side, but it does not
work (all packets sent by ping are dropped).
Marko
--
---
Marko Sch"utz / Koselstr. 7 / D 60318 Frankfurt / Germany
marko@hisplace.rhein-main.de / Tel: +49 69 5971621
------------------------------
From: krauss@charlie.igd.fhg.de (Jens Krauss (Steinfath))
Subject: Re: corba for linux
Date: 7 Oct 1994 09:21:04 GMT
Reply-To: igd.fhg.de
In article <36k2b7$6hu@louie.udel.edu>, chavey@stimpy.eecis.udel.edu (Laurent Chavey) writes:
> Is there any ongoing project trying to use the corba specs to
> write a distributed object server,client for linux. If so,
> can someone finger me to it. Thank you.
>
to me, too!!!
thanks
ciao Jens
------------------------------
From: chris@cosmic.uga.edu ()
Subject: Re: Xterminals with Linux as X server
Date: 7 Oct 1994 01:16:07 GMT
Srini Seetharam (srini@igt.com) wrote:
: How do I get the Linux machine to respond to the XDMCP, but let
: the Xterminals manage their windows ?
: Is this even possible ?
: I have seen it work with a SUN running Openlook / SunOS.
Part of the answer to this lies in the Xtubes. If the Xterminal doesn't
have a local(either downloadable or in firmware) window manager the
answer is you can't. However most of the Xterminals i've worked with
do.
In the .xsession file in each users account we have a line that says:
/usr/local/bin/startwm
this file consists of:
#!/bin/sh
if ( echo $remhost | grep -q 200 ) || ( echo $remhost | grep -q ncd ) then
/usr/local/bin/ncdlaunchd -display $DISPLAY &
echo ncd >> temp.log
echo $DISPLAY >> temp.log
exec rsh $remhost wm >> temp.log
elif ( echo $remhost | grep -q 177 ) || ( echo $remhost | grep -q quadra ) then
echo quadra >> temp.log
exec xterm -geometry 80x24+10+10 -ls
else
echo hds >> temp.log
echo $remhost >> temp.log
rsh $remhost -n mwm >> temp.log
fi
As you can tell it tries to guess which terminal it is on and the start
the appropriate software(ncdlaunch and rsh wm for the ncd or rsh mwm for
the hds
: Please help
I hope this did.
------------------------------
From: prang@du9ds4.fb9dv.uni-duisburg.de (Juergen Prang)
Subject: Re: Linux as KingGod NFS Server to DOS Slaves
Date: 5 Oct 94 23:25:34 GMT
pit@p2.lxs.baboon.ch (Peter Berger) writes:
>Kevin Martinez <lps@rahul.net> wrote:
> > I am successfully using the Tsoft NFS client software. It is available with
> > support for several TCP/IP stacks. It can be found at various MS-DOS archive
> > sites. A new version was just announced in the comp.protocols.nfs newsgroup.
>Well, I use this one, too. For now just for files of the filebase of my
>fidonode.. But to use that seriously there should be consistent dates and times
>of the files. Did you solve that?
Another (shareware) DOS NFS client is xfs. It is available for anonymous
ftp from
ftp.uni-duisburg.de: /pub/pc/nfs/xfs186.zip
The same directory also contains Tsofts nfs257 and support programs
like bwnfsd and pcnfsd for proper authorization at the NFS server.
Juergen
--
Juergen Prang | prang@du9ds4.fb9dv.uni-duisburg.de
University of Duisburg |********************************************
Electrical Engineering | Logic is a systematic method of coming
Dept. of Dataprocessing | to the wrong conclusion with confidence
------------------------------
From: mai@x4u2.desy.de (Oliver Mai)
Subject: Q: XF86-3.1 and font scaling
Date: 7 Oct 1994 09:13:48 GMT
It seems to me that scaling of postscript fonts has changed with
XFree86 3.1. For example, my favourite editor (ez) uses as default
the font -adobe-times-medium-r-normal--*-140-*-*-p-*-iso8859-1
for typesetting text. XFree86 2.1 supplied the font
-adobe-times-medium-r-normal--14-140-75-75-p-74-iso8859-1
in stead, which I have installed in *.pcf.Z format.
XFree86 3.1 in contrast scales the font
-adobe-times-medium-r-normal--0-0-0-0-p-0-iso8859-1,
which I have in *.pfa format (from Adobe Type Manager), to the
appropriate size. In principle, of course, it is just fine that X
now shows exactly the right font (better WYSIWYG with ez).
[Somehow the font specification above seems to be uniquely
defined in spite of all the wildcard characters. I don't know
too much about fonts in X.] The problem is the fact that it now
takes quite a long time for (e.g.) ez to come up the first time,
because the scaling of the fonts requires lots of cpu resources
(in fact, I can't even move my mouse cursor as long X is scaling
the fonts on my i486DX33 ...). And, even worse, when I close
ez and restart it later, X has to do all the scaling again.
Now my questions:
1) Is it true that font scaling has changed with XFree86 3.x (or
X11R6), or was there just a problem in my font setup before?
2) Is it possible to tell X to scale the most frequently used PS
fonts when X is started and keep them in memory even when there
are no applications using them. I didn't find anything about it
in the manpages.
Thanks a lot for all response,
Regards,
Oliver Mai
------------------------------
From: cheema@earth.sparco.com (Mubashir Cheema)
Subject: Help me identify these error messages.
Date: 3 Oct 1994 22:43:25 -0500
Dear fellow Linux users, I need help with identifying the following few
errors that have been showing up alot lately. Since they are not doing
any apparent damage I wasn't too concerned. But thought I'd some expert
opinion on what do they actually mean and how can they be fixed.
Thanks for any help that you can provide.
=====================
1 - in.telnetd[2888]: gethostbyname(annex05.acc.iit.edu): lookup failure
2 - Sep 29 23:43:28 earth named[48]: Lame delegation to '' from [144.122.1.1]
(server for '122.144.IN-ADDR.ARPA'?) on query on name '1.130.122.144.in-addr.arpa'
3 - Sep 30 10:39:51 earth inetd[46]: accept (for ident<28>Sep 30 10:39:51
inetd[46]: accept (for ident): Try again
4 - Oct 1 22:03:10 earth named[48]: recvfrom: Connection refused
=====================
Mubashir Cheema - new, expanded .sig - cheema@sparco.com
------------------------------
From: John Behneman <jfb@unicomp.net>
Crossposted-To: comp.os.linux.misc
Subject: Configuring 1.1.8 Kernel error
Date: Fri, 07 Oct 94 08:11:40 PDT
I am trying to build a new kernel with CD-ROM support which wasn't built in.
I get the following message during the make zImage:
fs/fs.o: Undefined symbol _ext_read_super referenced from text segment
_ifs_read_super referenced from text segment
make *** [ tool/zSystem ] Error
I am new to linux and figure there maybe something I am doing wrong or over
looking. Any help would be appreciated! Bye the way I'm using the Walnut Creek
CDROM Toolkit for Linux "stuff".
Thanks....
======================
John Behneman
jfb@unicomp.net
======================
------------------------------
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: [TERM] Some ideas
Date: Fri, 7 Oct 1994 13:30:39 GMT
I finally set up term. I like it a lot. I've also set things up now
that I just type "rxvt" at the prompt, and I get a login shell,
automatically. Likewise for the other clients. For those who are
interested, here's what I did:
The hardest part is writing an auto-login routine. The routine has to
deal with (at least on my site) busy modems, modems that don't answer,
modems that answer but don't work, rlogin commands from an annex box
that report "no pty's, try again" etc. I decided to use a kermit
script. The problem is that even kermit's advanced scripting commands
aren't enough. So I redirected kermit's output to a file and
periodically scanned the file for errors or success. Alas, this trick
means that I can't use "script" in kermit (because for some reason the
output of script never makes it to the log file), only "input." At
any rate, the general idea is to write a script that starts kermit in
the background, noting its PID. That script than scans the kermit
output file for any possible errors (BUSY, NO CARRIER, ERROR) until it
finds CONNECT. If it finds CONNECT, it exits. Other similar sections
scan for subsequent login errors (no pty's) until a successful login
is achieved.
Here's what I think is the novel part of my setup. I put all of my
term binaries in a special directory. They never get run directly.
Rather, I wrote a short shell-script term.any, which I linked to all
of the binaries. Term.any checks to see if a term connection is
already up. If it is, it just runs the binary associated with $0. If
it's not up, it starts a term connection. I use another directory to
coordination this activity, with files term.is.up, term.is.working or
nothing to indicate the status of term.
Now I can just type "rxvt" and get a shell, no matter what. Likewise,
I can use "tfinger" whenever I please.
If you want more details, send e-mail.
-Joel
(joel@wam.umd.edu)
--
=============================================================================
|_|~~ Germany, Europe. 1943. "The diameter of the bomb was 30 centimeters,
__|~| 16 Million DEAD. and the diameter of its destruction, about 7
meters, and in it four killed and 11 wounded.
cnc Bosnia, Europe. 1993. And around these, in a larger circle of pain
cnc HOW MANY MORE? and time, are scattered two hospitals and one
cemetery. But the young woman who was buried in
the place from where she came, at a distance of more than
than 100 kilometers, enlarges the circle considerably. And the
lonely man who is mourning her death in a distant country incorporates
into the circle the whole world. And I won't speak of the cry of the orphans
that reaches God's chair and from there makes the circle endless and godless."
=============================================================================
Tell Clinton to stop the genocide: president@whitehouse.gov
------------------------------
From: joel@wam.umd.edu (Joel M. Hoffman)
Subject: TERM: a few questions
Date: Fri, 7 Oct 1994 13:35:51 GMT
I have a few questions about term and termnet. I got term up and
running a few nights ago (see my previous post), and all of the normal
clients work fine. I also downloaded termnet, but those clients don't
work. They fail for various reasons. XGopher can't find an
initialziation file. Xarchie silently dies. Ytalk can't find any
outside addresses, etc. Some program "cannot find term directory."
Others can. Are there any docs on these programs. Where did they
come from? Where does the term support come from?
Secondly, is is possible to do NFS mounts over term?
Thirdly, I have termncftp running, but I like the ordinary ftp I've
come to know and love. Are there any versions that will work with
term?
Thanks for any help.
-Joel
(joel@wam.umd.edu)
--
=============================================================================
|_|~~ Germany, Europe. 1943. "The diameter of the bomb was 30 centimeters,
__|~| 16 Million DEAD. and the diameter of its destruction, about 7
meters, and in it four killed and 11 wounded.
cnc Bosnia, Europe. 1993. And around these, in a larger circle of pain
cnc HOW MANY MORE? and time, are scattered two hospitals and one
cemetery. But the young woman who was buried in
the place from where she came, at a distance of more than
than 100 kilometers, enlarges the circle considerably. And the
lonely man who is mourning her death in a distant country incorporates
into the circle the whole world. And I won't speak of the cry of the orphans
that reaches God's chair and from there makes the circle endless and godless."
=============================================================================
Tell Clinton to stop the genocide: president@whitehouse.gov
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: Linux-Admin-Request@NEWS-DIGESTS.MIT.EDU
You can send mail to the entire list (and comp.os.linux.admin) via:
Internet: Linux-Admin@NEWS-DIGESTS.MIT.EDU
Linux may be obtained via one of these FTP sites:
nic.funet.fi pub/OS/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Admin Digest
******************************