Subject: Linux-Admin Digest #13
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Fri, 2 Sep 94 09:13:31 EDT

Linux-Admin Digest #13, Volume #2                 Fri, 2 Sep 94 09:13:31 EDT

Contents:
  Re: Driver for Intel's EtherExpress Card (Alan Cox)
  HELP: Linux hangs up ... continued (Jozsef Kadlecsik)
  when comes the new dosemu ??? (Ralf Liebenow)
  Xconfig for Diamond SS24X ... (Tony Wang)
  Socket gets reset w/httpd on Linux (David Dailey)
  Re: Testing a pointer (Thomas Quinot)
  Re: Problems with uuname/sendmail (Thomas Quinot)
  Re: Logging in over network from DOS? (Thomas Quinot)
  Re: What is my root password???????? (Thomas Quinot)
  Re: Which is better: tar->gzip or gzip->tar? (Jason Rimmer)
  NFS/pormapper security bug and fix (Linux) (Thomas Koenig)
  Re: Is it possible to have NFS via TERM (Bill C. Riemers)
  Re: Admin utils for linux ? (Safuat Hamdy)
  Re: Which is better: tar->gzip or gzip->tar? (Henry Ware)
  Re: Crond annoyance (Matt Warnock)
  Re: Term 1.19 Makeing it on SunOS 4.1.3 (Lei Zhou)
  Re: Term 1.19 Makeing it on SunOS 4.1.3 (Lei ZHOU)
  NCR53c810 Problems!! (Jean-Paul Chia)

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

From: [email-masked] (Alan Cox)
Subject: Re: Driver for Intel's EtherExpress Card
Date: Thu, 1 Sep 1994 11:10:43 GMT

In article <[email-masked]> [email-masked] (R. Alan Whitehurst) writes:
>Has anyone written a driver for the Intel EtherExpress ethernet card?

Yep its in the current kernel (I believe in the ALPHA test driver section).

Alan

-- 
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  [email-masked]   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''

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

From: [email-masked] (Jozsef Kadlecsik)
Subject: HELP: Linux hangs up ... continued
Date: 1 Sep 1994 11:43:38 GMT

Hi,

As I wrote earlier, our Linux system hangs up occasionally and we simply
have been unable to figure out why (everything works fine).

Last day when one of ours logged in, the following message appeared:

panic: kernel trap (ignored)

Could somebody explain when the system prints out this message?
Maybe that could help us to find finally the reason of our problems.

Additionally, we get this "failed" message at every boot (But WHAT failed???)

Aug 30 12:23:51 cern kernel: Calibrating delay loop.. ok - 33.22 BogoMips
Aug 30 12:23:51 cern kernel: failed

(Slackware 2.0; 486 DX2/66, Adaptec AHA154CF, Quantum drives, Sony CDU-561 CD-ROM,
SMC 8216 Ultra netwok card)

Thank you your help in advance,
Jozsef Kadlecsik

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

From: [email-masked] (Ralf Liebenow)
Subject: when comes the new dosemu ???
Date: 1 Sep 1994 14:41:41 GMT

   Hi  !

   Does anybody know when the new dosemu is available ? I'm just
   asking, because at this moment we're using Kernel 1.1.25 with dosemu0.52
   and we want to upgrade to the newest kernels, but dosemu isn't running
   with these kernels. I've read that this is a bug in dosemu [ perhaps not
   really a bug ] and that the new one will work with the newest kernels.
   So I kept looking at sunsite and tsx11 for the least few weeks but no new
   dosemu was there. Does anybody know, where to look, to find the most 
   up-to-date Version of dosemu ?

             Thanks in advance

                       Ralf

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

From: [email-masked] (Tony Wang)
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Xconfig for Diamond SS24X ...
Date: 1 Sep 1994 23:54:00 GMT

Hello there:

        I remembered someone posts an Xconfig file is specific for the 
"Diamond SS24X", and it can display in 1024x768 mode by adjusting the 
freq of the vga card.

        I can not remembered where I got that file because it has been a while. 
I tried the sunsite, but it seems not there. I can only find the generic one 
for Diamond, and I can not make it to display in 1024x768 mode.

        Can anyone who has this file send me a copy or tell me where I can find
this file?

        Any help will be very much appreciated.

have a nice day, :)

Tony Wang
e-mail: [email-masked]

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

From: [email-masked] (David Dailey)
Crossposted-To: comp.infosystems.www
Subject: Socket gets reset w/httpd on Linux
Date: 1 Sep 1994 22:34:05 GMT
Reply-To: [email-masked]

I currently use dip 3.3.7 lilo to connect to my internet slip service provider.
I am able to ftp, telnet, ... just fine through the connection.  
I have a httpd server setup to serve documents to Mosaic users.  When I access
the server locally, all is ok.  Also, access from a remote Sun and PC with
winsock works.  However, access from three other locations gives the
error "Socket has been reset".  I have run on two different httpd servers, and
their logs say that all is ok.  The only thing in common is that all of the
errors have shown up on PC's (but not all PC's).  I don't believe it is the
server.  The PC's are all running WinMosaic 2.0.  Does anyone know of a protocol or kernel anomaly that may be causing my problems?  I am REALLY pulling hair over this one.  Thanks so much to anyone with advice...

---
====================================================================
DAVID DAILEY                    PHONE: 301-212-9784
                                MAIL: [email-masked]
Rockville, MD                         [email-masked]
                                      [email-masked]
====================================================================

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

From: [email-masked] (Thomas Quinot)
Subject: Re: Testing a pointer
Date: 30 Aug 1994 22:18:53 +0200

Le Prostetnic Vogon [email-masked] écrit :
 
> Is there a command/function in C to test if a pointer is pointing to
> accessable memory?

Install a nice handler for SIGSEGV, and try to read/write the object to 
which the pointer points :-)
-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Thomas Quinot)
Subject: Re: Problems with uuname/sendmail
Date: 31 Aug 1994 23:40:24 +0200

Le Prostetnic Vogon [email-masked] écrit :
 
> : dovey:~$ sendmail -bt
> : > [email-masked]
> : [email-masked] ... 
> : temporary failure: router uucp_neighbors: 
> : read error in output from `/usr/bin/uuname'

[...]

> You need to run /usr/lib/smail/tools.linux/mkconfig as root and answer 

I'd be interested in knowing the cause of that problem. Ideas anyone ?

(If this was already posted recently, please email to avoid bandwidth
waste :-) )
-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Thomas Quinot)
Subject: Re: Logging in over network from DOS?
Date: 31 Aug 1994 23:43:49 +0200

Le Prostetnic Vogon Sebastian W. Bunka écrit :
 
> choose the IP numbers yourself, otherwise you have to ask for a domain 
> number at an international organization (don't ask me which).

It's the InterNIC : [email-masked]
-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Thomas Quinot)
Subject: Re: What is my root password????????
Date: 31 Aug 1994 23:45:56 +0200

Le Prostetnic Vogon Greg Cisko écrit :
 
> All that is neccissary is to boot up in "single user mode". On a SUN
> I think you would give "vmunix -s" to boot in singleuser. (I only had

For Linux, you have to pass the "single" argument to the kernel.

At the LILO prompt, just type "linux single" (if your image's name is 
"linux").

-- 
Thomas QUINOT                       |  "Un roi sans divertissement est un
<[email-masked]>      |             homme plein de misère."
Linux - choice of a GNU generation  |                          Jean GIONO

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

From: [email-masked] (Jason Rimmer)
Subject: Re: Which is better: tar->gzip or gzip->tar?
Date: Thu, 1 Sep 1994 18:39:37 GMT

        If I'm not mistaken, gzip only compresses 1 file.  In other words,
if you have a group of files, gzip will only zip one of the files.  TAR's
functionality is very different from GZIP, where gzip is a compression 
product, TAR's function is to combine many files (and in different 
trees) into one file.
        So your question is really moot, as tar and gzip are really
different things entirely.  If you have many files to zip, you should use
TAR to combine them into one file, and then use gzip to zip the resulting
file. 

Jeff Arnholt ([email-masked]) wrote:
: For best compression on previously uncompressed files,
: which is better: tar * | gzip, or gzip * | tar?
: IE, is it best to tar compressed files, or compress
: a tar file of uncompressed files?  Does gzip -r * work
: better than either solution?

: I'm looking for the most robust method to archive groups
: of files.

: ---
:    
: Jeff Arnholt: mail [email-masked]   
: Mayo Medical and Graduate Schools        
: 200 1st St. SW, Rochester, MN 55905

-- 
[email-masked]
Eclectic Technologies

"I want to die peacefully in my sleep like my
 grandfather, not screaming in terror like his
 passengers."
        -Anonymous(?)

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

Crossposted-To: comp.os.linux.announce,comp.security.unix,de.comp.os.linux
From: [email-masked] (Thomas Koenig)
Subject: NFS/pormapper security bug and fix (Linux)
Reply-To: [email-masked]
Date: Thu, 1 Sep 1994 16:26:54 GMT

There is a security bug in Linux NFS implementations.

This problem lets any user on the Internet gain access to file systems
which can be mounted on the local host.  Apparently (from discussions
on comp.security.unix) it is being actively exploited.

There are two possible fixes to this problem:

- Install a fixed portmapper, which is now available from sunsite.unc.edu,
  and mirrors.  For the LSM, see below.

- As an emergency fix, make sure that it's impossible to mount the NFS
  exported directories locally; you'll need to edit /etc/exports for
  this. Try

# mount localhost:/exported/directory /mnt

and

# mount yourhostname:/exported/directory /mnt

to see wether you're vulnerable.  For secrity purposes, it is best
to restrict exporting NFS filesystems to exactly specified hosts
you trust, even if it's readonly.

Also note that there's a bug in all libc versions up to 4.5.26 (at
least) which throws the portmapper into a forking loop under some
conditions.  To avoid this, you'll need to use one of the newer kernels
with the CONFIG_I_AM_A_BROKEN_BSD_WEENIE option, or apply the (binary)
patch to libc 4.5.  26 contained in portmap_3_rpcfix.shar.gz (to be
found in sunsite's Incoming).

Begin3
Title:          portmap
Version:        3
Entered-date:   1994-08-31
Description:    This is a replacement portmap to fix some security holes
                in the original protocol.  Don't install any of the "old"
                portmap versions.  It also features access control to
                the portmapper via /etc/hosts.allow and /etc/hosts.deny.
                The *shar files contain source; apply portmap_3.patch
                and compile.  You'll also need the libwrap.a from the
                tcp_wrappers package.
                To install the binaries, for which you need libc >= 4.5.26,
                copy portmap_3_bin.tar.gz to /tmp, then do (as root)
                # cd /
                # gzip -c -d /tmp/portmap_3_bin.tar.gz
Keywords:       NFS portmap security patch
Author:         Wietse Venema ([email-masked])
Maintained-by:  Thomas Koenig ([email-masked])
Primary-site:   sunsite.unc.edu /pub/Linux/network/daemons/
                        24604   portmap_3_bin.tar.gz
                        30737   portmap_3.shar.Z
                         1738   portmap_3.BLURB
                         1932   portmap_3.lsm
                       103443   tcp_wrappers_6.3.shar.Z
                         1230   portmap_3.patch
                         2528   portmap_3_rpcfix.shar.gz
Alternate-site: tsx-11.mit.edu  /pub/linux/sources/sbin
                        24604   /pub/linux/binaries/sbin/portmap_3_bin.tar.gz
                        30737   portmap_3.shar.Z
                         1738   portmap_3.BLURB
                         1932   portmap_3.lsm
                       103443   tcp_wrappers_6.3.shar.Z
                         1230   pormtap_3.patch
                         2528   portmap_3_rpcfix.shar.gz
Original-site:  ftp.win.tue.nl /pub/security/
                        1738    portmap_3.BLURB
                       30373    portmap_3.shar.Z
                      103443    tcp_wrappers_6.3.shar.Z
Platform:        Linux
Copying-policy:  BSD-Style
End
--
Thomas Koenig, [email-masked], [email-masked].
The joy of engineering is to find a straight line on a double
logarithmic diagram.

--
Send submissions for comp.os.linux.announce to: [email-masked]
Be sure to include Keywords: and a short description of your software.

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

From: [email-masked] (Bill C. Riemers)
Subject: Re: Is it possible to have NFS via TERM
Date: 1 Sep 94 17:51:46 GMT
Reply-To: [email-masked]

>>>>> "Jagadeesh" == Jagadeesh Krishnamurthy Venugopal <[email-masked]> writes:

    >> Is it possible to have NFS via TERM-connected network ?

    Jagadeesh> I am not too certain about this but I remember having
    Jagadeesh> read somewhere that NFS is a connectionless protocol
    Jagadeesh> and term is only for connection priented services, so I
    Jagadeesh> dont think you can get one.

    Jagadeesh> But who knows!

That was true with term 1.X versions.  Term 2.X supports
connectionless protocals.  However, NFS requires binding
to a port < 1024 on a machine that is connected with a
networking protocal supported by the kerenel.  So for right
now, NFS still won't work over term.  I've heard rummors
that the PCNFS protocal does not have this restriction,
but I've yet to see a free PCNFS driver.  So at present
I can't test this assertion.  If anyone knows of a free
PCNFS driver, please send me a reference where I can get
the source code, and I'll try to get term 2.1 to support
it.  As a secondary alternative, someone can try to write
a driver equivlent to Ange-ftp on the remote machine and
NFS on the local machine.   However, that would be a rather
major project that I'm not prepared to tackle yet.

                          Bill

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

From: [email-masked] (Safuat Hamdy)
Subject: Re: Admin utils for linux ?
Date: 1 Sep 1994 10:19:05 GMT

Darrel Hankerson ([email-masked]) wrote:
:    I heared about some tools writen with tcl/tk, but that's long ago and 
:    I've never seen them.

: You may be thinking about UserMaint. These are used in the Yggdrasil
: distribution, and they are nicely done. (There is a problem in editing
: GID, however.)

Could anybody please so kind and give us a pointer to an anonymous
ftp server where this is stored as a separate package? I scanned the 
directories of ftp.yggdrasil.com but I didn't find anything (and,
of course, I don't want to get the whole large package by ftp).

: I've seen recent reports of several different projects. I'm new
: to Linux, but UserMaint looks like a very good starting point. 

We would very much like to examine that user interface.

Thank you.
--
S. Hamdy                        ([email-masked])

 Baba baby mama shaggy papa baba bro baba rock a shaggy baba sister
shag saggy hey doc baba baby shaggy hey baba can you dig it baba baba

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

From: [email-masked] (Henry Ware)
Subject: Re: Which is better: tar->gzip or gzip->tar?
Date: 31 Aug 1994 20:50:39 -0400

In article <[email-masked]>, Jeff Arnholt <[email-masked]> wrote:
>For best compression on previously uncompressed files,
>which is better: tar * | gzip, or gzip * | tar?
>IE, is it best to tar compressed files, or compress
>a tar file of uncompressed files?  Does gzip -r * work
>better than either solution?

tar * | gzip will give a smaller output because the headers will be
compressed & because the file is larger, minimizing gzip's own headers. 
You can get the same effect by using the GNU tar -z option.  gzip -r
recursively gzips files: it does not create a single file. 

>I'm looking for the most robust method to archive groups
>of files.

Thats a different and stickier question.  I don't know that either of
these is especially robust.

-Henry

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

From: [email-masked] (Matt Warnock)
Subject: Re: Crond annoyance
Date: 1 Sep 1994 16:20:56 -0700

In article <[email-masked]>,
Matthew Dillon <[email-masked]> wrote:
>    Damn It!  Doesn't anybody read instructions?
>
>    I very CLEARLY state in the README file that the proper way to start
>    crond from your rc file is:
>
>    /usr/bin/crond -l8 >>/var/log/cron 2>&1
>
>    If you don't do that, then you deserve the log messages you get on your
>    VC1 !
>
>                                               -Matt

Point well taken, I should have looked up the README, but it was a Slackware
install, and I'm not sure the README was on the disk.  Could be, but...
I think the problem occured when I moved to a new version of Slackware,
trying to keep all the /etc stuff as is, and changing out the binaries from
underneath.  Probably a dangerous move at best.  Thus I think we had your
crond running from Vixies' config files.  Pure recipe for disaster.

Still, by way of suggestion, READMEs are great but I prefer man pages, as
they tend to stick around after the source code has been compiled, installed
and deleted.  Your man page explained the options pretty well, but the above
suggestion in the man page would have been nice.  Just a thought. ;^)

-- 
W. Matthew Warnock, Attorney ([email-masked])          Tel:408.778.7273 
60 West Main Avenue, Suite 12A, Morgan Hill CA  95037-4553  Fax:408.778.7989

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

From: [email-masked] (Lei Zhou)
Subject: Re: Term 1.19 Makeing it on SunOS 4.1.3
Date: Wed, 31 Aug 1994 19:34:47 GMT

I strongly recommand you to use a different version of TERM. I wasted a
whole weekend and couldn't make it to work on Sun. Right now I'm using
term2.04 available on sunsite: pub/Linux/Incomings. So far everything I
have tried works very well. I also recommend you to read the README and
INSTALL files in the term package and man term, man trsh, man
term_setup, etc. The TERM-HOWTO on the sunsite is misleading and
confusing.  A. Daviel ([email-masked]) posted a very simple but 
very efficient term-howto which I liked very much. Patrick Reijnen is
working on a new TERM-HOWTO, which will probably be available soon.

Lei Zhou ([email-masked])

In article <[email-masked]> [email-masked] (Brian Curti Harvell) writes:
>Hi has anyone made term 1.19 on SunOS 4.1.3 I am now and I am not 
>getting it to work. It was a charm on the linux box. If so could you
>let me know what you did or uuencode it and send it to me.
>Thanks
>Brian
>-
>

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

From: [email-masked] (Lei ZHOU)
Subject: Re: Term 1.19 Makeing it on SunOS 4.1.3
Date: Thu, 1 Sep 1994 01:41:10 GMT

In article <[email-masked]> [email-masked] (Brian Curti Harvell) writes:
>Hi has anyone made term 1.19 on SunOS 4.1.3 I am now and I am not 
>getting it to work. It was a charm on the linux box. If so could you
>let me know what you did or uuencode it and send it to me.
>Thanks
>Brian
>-
>

I strongly recommand you to use a different version of TERM. I wasted a
whole weekend and couldn't make it to work on Sun. Right now I'm using
term2.04 available on sunsite: pub/Linux/Incomings. So far everything I
have tried works very well. I also recommend you to read the README and
INSTALL files in the term package and man term, man trsh, man
term_setup, etc. The TERM-HOWTO on the sunsite is misleading and
confusing.  A. Daviel ([email-masked]) posted a very simple but
very efficient term-howto which I liked very much. Patrick Reijnen is
working on a new TERM-HOWTO, which will probably be available soon.

Lei Zhou ([email-masked])

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

From: [email-masked] (Jean-Paul Chia)
Subject: NCR53c810 Problems!!
Date: 2 Sep 1994 20:29:18 +0800

I have a PCI Pentium, and a SC-2000 PCI SCSI-2 card, and I've got it 
working in DOS, but I can't get Linux to reconize it.. BTW, I'm using 
kernel version 1.1.44 And I have the NCR53c7,8xx Driver..

And I get this error:

scsi -ncr53c7,8xx : at PCI bus 0, device 6, function 0
scsi -ncr53c7,8xx : warning : revision of 0 is less than 1
scsi -ncr53c7,8xx : NCR53c810 at memory 0x30000000, io 0x0000, irq 0
scsi0 : IRQ0 not free, detaching
scsi : 0 hosts

Please help! :)
- JP

--
        Jean-Paul Chia                      TheWiz @ IRC
        Drasnian Technologies,  Perth, Western Australia
        PH +61-9-447-6261             FAX +61-9-447-4098
        [email-masked], [email-masked]

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

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