Subject: Linux-Admin Digest #22
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 4 Sep 94 19:14:05 EDT

Linux-Admin Digest #22, Volume #2                 Sun, 4 Sep 94 19:14:05 EDT

Contents:
  periodic execution (richard)
  Re: Does anybody have NN running under Linux ? (John Henders)
  Re: DNS & 'format error no SOA record...' (Charles Lopes)
  [Q] No route to host? (Gus J Grubba)
  Re: [Q] chmod setting in /var/spool/mail (Charles Lopes)
  Re: pppd works but... (Alan Tsang)
  WU-FTP Question (Ralph J. Folz)
  Re: Does anybody have NN running under Linux ? (Sprag Johnson)
  Re: periodic execution (John Norris)
  WHAT's the problem? was: Re: _setutent: can't find file or dir (jon)
  Re: WHAT's the problem? was: Re: _setutent: can't find file or dir (Matthew Donadio)
  Re: Whats the best _CHEAP_ ISA video card (Marc Fraioli)
  [HELP] Diskless, can I boot off a remote fileserver? ([email-masked])
  Re: about wtmp (Anthony J. Stuckey)
  QTERM TERMINAL CONFIGURATION SOFTWARE? (Serge Solski u)
  XVGA for Trident (Paul Julie)
  Kernel panic with PCI-SCSI ! (Kay Hamacher)
  Mail - From vs Route (David E. Filip)
  Re: [SLIP] Overruns? (Uri Blumenthal)
  Re: Host routing patches for DIP... anyone interested? (Uri Blumenthal)
  Re: ftape don't compile (1.1.49) (Karl-Heinz Fandrey Elektro0Energievers. 5353)
  linux & ISDN (Sterling Ledet)

----------------------------------------------------------------------------

From: [email-masked] (richard)
Subject: periodic execution
Date: 4 Sep 1994 08:21:50 -0400

I have a program that i want to execute every 5 minutes, if, and only if,
i have a slip connection up.  at present, i have a script which makes the
slip connection, then executes the following:

while [ 1 = 1 ]
do
  getpop
  sleep 300
done

1) is there a better way?

2) how can i kill a bunch of programs - i.e., how can i write a
script that gets the pids of a bunch of programs, then kills 'em?

------------------------------

Crossposted-To: comp.os.linux.misc
From: [email-masked] (John Henders)
Subject: Re: Does anybody have NN running under Linux ?
Date: Sat, 3 Sep 1994 03:35:20 GMT

In <[email-masked]> [email-masked] (Matt Midboe) writes:

>with nn. I had very little problems compiling nn-6.5.0 on Linux, but
>you will have to make your own s-linux.h file. If the other site uses
>NOV then you will get to see NN speed along over the nntp connection.

        There's a s-linux.h file in newspak.

-- 
                  John Henders - Wimsey Information Services
               http://www.wimsey.com/ (teletimes, gnn and more)
                  GAT/MU/AE d- -p+(--) c++++ l++ u++ t- m--- 
                       e* s-/+ n-(?) h++ f+ g+ w+++ y*

------------------------------

From: [email-masked] (Charles Lopes)
Subject: Re: DNS & 'format error no SOA record...'
Date: 3 Sep 1994 12:01:56 GMT

In article <[email-masked]>, crocker@opine (MATTHEW CROCKER) writes:
|> My SOA record looks like this: (from memory)
|> ;
|> ; Origin : crocker.com
|> ;
|> @    IN      SOA     dns.crocker.com. (
                                        ^^^^ should be at the end of the next line

|>                      matthew.crocker.com.
|>                      1       ; serial
|>                      4000    ; refresh
|>                      4000    ; expire
|>                      4000    ; minimum
|>                      )

See my comment above.

-- 

 ------------------
 Charles Lopes                       | Internet: [email-masked]
 Computing Officer                   | Phone: +44 (0504) 265621
 Faculty of Informatics              | Phone extension: 5315
 Magee College, University of Ulster | Office: MB023

------------------------------

From: [email-masked] (Gus J Grubba)
Subject: [Q] No route to host?
Date: 3 Sep 1994 10:14:02 GMT

I'm having some problems when trying to reach certain sites. If I ping,
I get a "No route to host" error message. When I traceroute, I see the
hops all the way to the target host and then it times out. One specific
such site is autodesk.com. When I asked my network provider sysadm, he,
obviously, said the problem is "at the other end" and the conversation
died right there.

Question: Where do I find more about all this routing that goes on 
between sites? How to debug a routing problem? And finally, how to send 
a bag of rotten cabbage to your sysadm through email? :)

==============
[email-masked]

------------------------------

From: [email-masked] (Charles Lopes)
Subject: Re: [Q] chmod setting in /var/spool/mail
Date: 3 Sep 1994 12:14:24 GMT

In article <[email-masked]>, [email-masked] (B.Bottarelli) writes:
|> Hei dude!!
|> We have installed Slackware Linux 1.0.8 on a 486 based PC.
|> I have notice this _strange_ chmod setting into the directory 
|> /var/spool/mail
|> 
|> drwxrwxr-x   2 root     mail         1024 Sep  1 16:07 ./
|> drwxr-xr-x  19 root     root         1024 Jun  6 11:34 ../
|> -rw-rw----   1 paolo    staff           0 Sep  1 13:47 paolo
|> -rw-rw----   1 marco    guest           0 Jul 25 16:06 marco
|> -rw-rw----   1 stefan   guest       10706 Jun 17 15:02 stefan
|> -rw-rw----   1 pier     guest           0 Aug 31 00:00 pier
|>     ^^------- ????????????
|> This means that all the user in the same group can read their mail each 
|> other and this in in contrast with the privacy rules. I can change the modes 
|> via chmod every time I add a new user, but is there a way to avoid this 
|> automagically?? 
|> 
|> Thank you.
|> Bruno.
|> 
Perhaps one of your programs dealing with mail can't run safely setuid root and
so need to be setgid to group mail (or daemon). In this case you need to "chgrp"
the mail boxes to mail. I advice you to set the "setgid" flag of your spool as
well so new mailboxes will get created with ownership to group mail.
        Charles.
-- 

 ------------------
 Charles Lopes                       | Internet: [email-masked]
 Computing Officer                   | Phone: +44 (0504) 265621
 Faculty of Informatics              | Phone extension: 5315
 Magee College, University of Ulster | Office: MB023

------------------------------

From: [email-masked] (Alan Tsang)
Subject: Re: pppd works but...
Date: 4 Sep 1994 16:06:00 GMT

Kent A Vander Velden ([email-masked]) wrote:
: In <[email-masked]> [email-masked] (Alan Tsang) writes:

: Ok, got this set of net-tools and have noticed a problem.

: /tmp|Sun8:49am} hostname
: dial221.tele
: /tmp|Sun8:52am} domainname
: dial221.tele

Change the "domainname" to "dnsdomainname" and you will get the domain.

Regards

------------------------------

From: [email-masked] (Ralph J. Folz)
Subject: WU-FTP Question
Date: 4 Sep 1994 16:09:13 GMT

I am trying to compile the wu-ftp daemon on my Linux box which
is running Slackware  Linux 1.1.18.  Can anyone tell me where
I can find a patch so this will compile correctly ??

Thanks.

--
=========================================
Ralph J. Folz
Boston University
Multimedia Communications Laboratory
[email-masked]
=========================================

------------------------------

Crossposted-To: comp.os.linux.misc
From: [email-masked] (Sprag Johnson)
Subject: Re: Does anybody have NN running under Linux ?
Date: Sun, 4 Sep 1994 16:12:12 GMT

In <[email-masked]> [email-masked] (Matt Midboe) writes:

>In article <[email-masked]>,
>Martin Schulze <[email-masked]> wrote:
>>[email-masked] (Mubashir Cheema) writes:
>>
>>
>>} Hello world,
>>
>>} I need to know if anybody out therr is using nn under Linux.
>>} I can't get our nn to read news off of a remote site. Any help
>>} will ne greatly appreciated.

>Actually I'd recommend getting it from:

>    ftp.uwa.edu.au                    /pub/nn/beta/nn-6.5.0.b3.tar.gz

>Kim Storm no longer maintains nn and the version that most places have
>is still 6.4.18. This newer nn is much nicer I have found as it
>supports NOV so you don't have to run all the extra database programs
>with nn. I had very little problems compiling nn-6.5.0 on Linux, but
>you will have to make your own s-linux.h file. If the other site uses
>NOV then you will get to see NN speed along over the nntp connection.

>Matt
        I'm still pretty new to linux...can you e-mail me your s-linux.h file,
or at least tell me what has to be defined?  I tried and I can't get it to
compile (all kinds of errors).
        Thanks!
        Brian
        [email-masked]
-- 
******************************************************************************
* Brian 'Nautical' Wheeler - These are my opinions, do you hear me?  MINE!
* cat flames > /dev/null                    "Wombats are our friends" - Me
******************************************************************************

------------------------------

From: [email-masked] (John Norris)
Subject: Re: periodic execution
Date: 04 Sep 1994 16:36:36 GMT

>> I have a program that i want to execute every 5 minutes, if, and
>> only if, i have a slip connection up.  at present, i have a script
>> which makes the slip connection, then executes the following:

>> while [ 1 = 1 ] do getpop sleep 300 done

>> 1) is there a better way?
Maybe put it in CRON ? like this:

0,5,10,15,20,25,30,35,40,45,50,55  * * * * /home/foo/.bin/nettest host
And in nettest file test with ping utility if the host responds, if
not, execute the script that brings up slip connection.

>> 2) how can i kill a bunch of programs - i.e., how can i write a
>> script that gets the pids of a bunch of programs, then kills 'em?

#!/bin/sh
ps wxa | grep "slip"| awk '{ print $1 }' > /tmp/$$
kill -9 `cat /tmp/$$`
rm /tmp/$$

This for example finds anything with *slip* in it from ps and kills
them.

         
--

*******************************************************************************
Work tel : +358-0-663 200
Beeper   : 9200-866260 (inside finland, answering service+beeper 24h/day)
Snailmail: merimiehenkatu 20 a 14, Helsinki 15, Finland
email    : [email-masked]
fax      : +358-0-6121255 Attn: John Norris.

*******************************************************************************

------------------------------

Crossposted-To: comp.os.linux.help
Subject: WHAT's the problem? was: Re: _setutent: can't find file or dir
From: [email-masked] (jon)
Date: 3 Sep 94 13:49:10 -0500

In article <[email-masked]>,
Paul Pershing <[email-masked]> wrote:

>Hello. I tried this query over in .help, but to no avail. Someone, please
i'm re-posting it to help, also.  sorry, Ian.

>help. For no reason *I am aware of,* every time I login as root or any
>other user on my system (Slackware 1.0.8), the system displays this
>message before it starts my shell:

>_setutent: Can't open utmp file: No such file or directory.
>
I was just about to post the same question!!! i'm using 1.1.49 kernel
compiled with: gcc 2.5.8 & 2.6.0.

>I've pored over the docs I have, but can't find any reference.
me too.
>Can someone supply some light?
yeah, can y'all??

>Thanks,
>Paul Pershing
>-- 
>------------------------------------------------------- paul pershing --------
>"When you get tangled up, you just tango on."         | [email-masked]
>----Editorial Design/Systems, Rocky Mtn. News, Denver | [email-masked]
>
>-- 
>
>------------------------------------------------------- paul pershing --------
>"When you get tangled up, you just tango on."         | [email-masked]
>----Editorial Design/Systems, Rocky Mtn. News, Denver | [email-masked]
>

------------------------------

From: [email-masked] (Matthew Donadio)
Crossposted-To: comp.os.linux.help
Subject: Re: WHAT's the problem? was: Re: _setutent: can't find file or dir
Date: 4 Sep 1994 17:16:53 GMT

Problem:
_setutent: Can't open utmp file: No such file or directory.

Your libc is looking for utmp in a different place than where you have
it.  It will either be /etc/utmp or /var/adm/utmp, depending on what
you have in <paths.h>.  Check the _PATH_UTMP macro in this file, and
touch utmp in either /etc or /var/adm depending on what is defined.

--
Beaker aka Matt Donadio   | Life is short,     ---   __ o    __~o    __ o
[email-masked] |    ride like    ----    _`\<,   _`\<,   _`\<,
--- Penn State Cycling ---|      the wind.    ---  ( )/( ) ( )/( ) ( )/( )

------------------------------

From: [email-masked] (Marc Fraioli)
Crossposted-To: comp.os.linux.misc
Subject: Re: Whats the best _CHEAP_ ISA video card
Date: 4 Sep 1994 18:05:54 GMT
Reply-To: [email-masked]

In article [email-masked],  [email-masked] (Mark A. Horton KA4YBR) writes:
>It's not an accelerated card, but the little beastie is FAST! - the Trident
>8900CL with 1MB... you can get them for about $60.00 and I've seen them
>run rings around some so-called accelerated cards!  I dunno how they do it,
>but they do!
>
Not sure how the 8900CL differs from the 8900C, but I had an 8900C and it
was truly pathetic.  Its speed was fine in DOS, but under Windows, OS/2,
and Linux/X it was horrible.  Scrolling in an xterm or shell window took
forever, and shot the CPU meter through the roof.  I now have an Orchid
Fahrenheit 1280+ with 1 Meg and an S3 chip, and I scroll like blazes
without affecting the CPU at all.  It does have that font bug (I'm still
running XFree 2.0), but I hardly care.  I use restorefont from SVGAlib
and I have no trouble.  The card cost me about $150 mail order, and that
was almost a year ago.  I'm talking ISA here in both cases, on a 486DX33.
I get about 58,000 xstones now, which is more than 10 times as many as
I got with the Trident.

---
Marc Fraioli          | "They couldn't hit an elephant at this dist- " 
[email-masked]         |    - Last words of Union General John Sedgwick,
                      |    Battle of Spotsylvania Court House, U.S. Civil War

------------------------------

From: [email-masked]
Subject: [HELP] Diskless, can I boot off a remote fileserver?
Date: Sun, 4 Sep 1994 18:46:03 +0100 (BST)

If there exists an FAQ answer sheet, a HOWTO, or some other document, which
explains this subject, *please* tell me where it is.

Otherwise, please help!

I want to install Linux on a server/client network at a university in South
America. The clients are 386s without hard drives, they boot from floppies and
attach to the 1Gbyte fileserver (which is a 486) using Novell netware. The
cards are NE2000. What would be great is to put Linux on a partition on the
fileserver and create boot floppies for the clients so that they can boot off
that partition and become diskless Linux workstations. Is this possible?
If so, I would be really grateful for some pointers, to the relevant software
(maybe included the Slackware distribution?) or documentation.
Steve.

P.S. I am not there yet but will be taking Slackware 2.0 (including XFree86) on
a bunch of floppies.

------------------------------

From: [email-masked] (Anthony J. Stuckey)
Subject: Re: about wtmp
Date: 4 Sep 1994 18:27:27 GMT

XiaoFei Wang <[email-masked]> writes:
>How do I use wtmp? It is a binary file. 
>The only manual I have is 
>================================================================
>UTMP(5)             Linux Programmer's Manual             UTMP(5)
>NAME
>       utmp, wtmp - login records
>SYNOPSIS
>       #include <utmp.h>
>...
>================================================================

        Usually, you use "last", "lastcomm", "sa", or any of several other
programs which will do readable summaries of it.
--
Anthony J. Stuckey              [email-masked]
"And if you frisbee-throw a universe where does it go?" -- Steve Blunt.
GCS/S -d+@ p c(++) l u+ e+(-) m+(*) s+++/-- !n h(*) f+ g+ w+ t+@ r y?
KiboNumber == 1

------------------------------

From: [email-masked] (Serge Solski u)
Subject: QTERM TERMINAL CONFIGURATION SOFTWARE?
Date: Sun, 4 Sep 1994 19:15:28 GMT

        I'm looking for some software that will configure dial-in users 
terminals. My school uses a program called "QTERM" to do this. It's not a 
script, but a compiled executable (so I can't steal it :-).) Does this 
exist for Linux? I checked on sunsite, but they didn't appear to have it.

        In another related question: How can I give my dial-in users an 
ansi terminal type. "ansi.sys" and it's varients in TERMCAP don't really 
work that great. Is it possible for them to have colour like the console 
does? 

        -Mark
-- 
"Key chuckles. 'If Skinny Puppy, in terms of the movie _Alien_, is a
chest-burster, then Doubting Thomas is more of a face-hugger,' he informs,
as if that were an explanation."
                                                        -Keyboard, Jan '92

------------------------------

From: [email-masked] (Paul Julie)
Subject: XVGA for Trident
Date: Thu, 1 Sep 1994 20:11:38 GMT

--

I have a Trident 8900CL card, and the configuration automatically
made it 800x600 256 colours.  However, I know my card will handle
1024x768 because I am running windows.  

Has anyone calculated those magic numbers for the trident card,
so it will run 1024x768 256 colours (and the motif manager is pannable)??

I heard there is a 50pg document on how to calculate it.  It would
be must easier if someone has done this already.

My hardware 486 33Mhz, Trident 8900CL, Sony 14 inch monitor (model unknown)

Thanks,

===================================================
The Toronto Stock Exchange

Paul Julie - Applications Specialist

Telephone:      1-416-947-4569
E-mail:         [email-masked]  
===================================================

------------------------------

From: [email-masked] (Kay Hamacher)
Crossposted-To: comp.os.linux.help
Subject: Kernel panic with PCI-SCSI !
Date: 4 Sep 1994 09:24:15 GMT

Hi!
After having some not locatingable trouble with my SCSI-HD, I want to cp
some files from the new installation (SCSI) to my old one (IDE) in order
to use this until problems are solved. I used find -atime to check which
files I had changed in these days. Suddenly the system crashes as several
times before :-( But now the kernel was able to write a message
"Kernel panic: EXT2-fs panic (device 8/2): ext2_find_entry: buffer head pointer
is NULL" So I think the bug must be found either in the NCR_Driver or in
the Ext2. I am using Linux 1.1.47.
What would you recommend in order to work with my SCSI-HD ?

Kay

-- 
==========================================================================
Kay Hamacher                                 Phone   : ++ 49 2332 80650
Milskotter Str. 19                           Fax     : ++ 49 2332 83518 
58285 Gevelsberg                             InterNet: [email-masked]  
Federal Republic of Germany - European Union                  

      Viele Menschen sind zu gut erzogen, um mit vollem Mund zu sprechen,
      aber sie haben keine Bedenken, es mit leerem Kopf zu tun. (Oscar Wilde)   

------------------------------

From: [email-masked] (David E. Filip)
Subject: Mail - From vs Route
Date: Sun, 4 Sep 1994 16:57:08 GMT

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= David E. Filip                 | Internet: [email-masked]            =
= ColorNet Information Systems   | UUCP    : ...uupsi!colornet!dfilip       =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

------------------------------

From: [email-masked] (Uri Blumenthal)
Subject: Re: [SLIP] Overruns?
Date: 1 Sep 1994 21:02:26 GMT
Reply-To: [email-masked]

I'm sorry to disappoint you - but those weren't OVERRUNS!
That's the number of compressed header packets! Of course,
when you disabled header compression, this number dropped
down to zero...

Your "ifconfig" lies to you (:-).
--
Regards,
Uri.            [email-masked]     N2RIU
============
<Disclaimer>

------------------------------

From: [email-masked] (Uri Blumenthal)
Subject: Re: Host routing patches for DIP... anyone interested?
Date: 1 Sep 1994 21:08:51 GMT
Reply-To: [email-masked]

The new (just released) DIP-3.3.7g-URI supports proxy arp now.
It may help with your routing, I think...
--
Regards,
Uri.            [email-masked]     N2RIU
============
<Disclaimer>

------------------------------

From: [email-masked] (Karl-Heinz Fandrey Elektro0Energievers. 5353)
Subject: Re: ftape don't compile (1.1.49)
Date: 4 Sep 94 21:35:52 GMT

Try getting ftape-1.13bpatch. You should find it on sunsite.

                Willi

[email-masked]

------------------------------

From: [email-masked] (Sterling Ledet)
Subject: linux & ISDN
Date: 4 Sep 1994 21:51:25 GMT

I recently set up a linux server on my mostly Mac network at my office
(which is also my home). I was thinking about getting a higher speed
link to the Internet and the most practical alternative seems to be
ISDN.

I can get an ISDN line from my local phone company (BellSouth) for
about $60 per month. I don't know what the total hardware costs would
be. 

What is required to set up an ISDN line with linux? Does the necessary
software exist? What would be the necessary hardware?

Sterling Ledet                                         (404) 325-3338
Sterling Ledet & Associates                       fax: (404) 636-8477
2176 Heritage Drive                         email: [email-masked]
Atlanta, GA 30345  www: ftp://ftp.netcom.com/pub/sjledet/www/sjl.html

------------------------------

** 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: [email-masked]

You can send mail to the entire list (and comp.os.linux.admin) via:

    Internet: [email-masked]

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
******************************