Subject: Linux-Admin Digest #128
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 1 Oct 94 09:14:11 EDT

Linux-Admin Digest #128, Volume #2                Sat, 1 Oct 94 09:14:11 EDT

Contents:
  Re: Special Sale On QNX! (Matthew Donadio)
  Crashes on writes (Karsten Johansson)
  HD won boot. Help! (Wade Maxfield)
  Re: NCSA Httpd server on Linux (Jason McNeill)
  Re: /dev/audio: No such file or directory (Hannu Savolainen)
  Re: Term problems (Kevin Lentin)
  Trakker 250 and Linux???? (TJ Dulka)
  Problems finding libX11.so.3 (Larry Slane)
  [HELP] Cannot Login to Linux Box (Habibie Sumargo)
  X-windows
  Re: X-windows (Nick Pearson)
  Re: Replacing finger information (Michael Kellen)
  Looking for Serial Printer Accounting for Linux (Vince Taluskie)
  Re: how to install SCSI tape drive (Karsten Steffens)
  Slackware 2.0.1 on CD-ROM! Trans-Ameritech Release 4 !!! (Roman Yanovsky  [email-masked])
  how to set up my Linux box as a GATEWAY? (Donald Burr)

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

From: [email-masked] (Matthew Donadio)
Subject: Re: Special Sale On QNX!
Date: 28 Sep 1994 20:02:54 GMT

Wallace Roberts ([email-masked]) wrote:
[ stupid flame stuff deleted ]
: "Ignorance can be cured; stupidity, on the other hand, is hereditary."

I love it when someone flames another even after a few of the previous
posts (in this case, including one from Dan H., the creator of QNX)
state that the article is a forgery.

--
Beaker aka Matt Donadio   | Life is short,     ---   __ o    __~o    __ o
[email-masked] |    ride like    ----    _`\<,   _`\<,   _`\<,
--- Penn State Cycling ---|      the wind.    ---  ( )/( ) ( )/( ) ( )/( )
====================================URL: http://mxd120.rh.psu.edu/~donadio

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

From: [email-masked] (Karsten Johansson)
Subject: Crashes on writes
Date: Mon, 26 Sep 1994 16:45:19 GMT

Help!

I have 2 hard drives.  The smaller hard drive is my /home directory.  For
whatever reason, if I copy/move large files onto that drive, Linux crashes. 
It goes into guru meditation mode, in which you can type anything you want
on the screen, you will not get a prompt.

This happened on my other system as well, so I am very sure it is a general
Linux problem.  I am using IDE drives.

Any hints?  Any patches to fix this?  I am using Linux Slackware v.1.0, with
no patches on the kernel.

Please email any replies.  I don't get to read the newsgroup too often, so I
miss a lot of info.

-- 
There are those who are born UNIX     |  Karsten Johansson
Those who are made UNIX               |  416/691-9838
And those who become UNIX             |
For the kingdom of heaven's sake      |  Matthew 19:12

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

From: [email-masked] (Wade Maxfield)
Subject: HD won boot. Help!
Date: 28 Sep 1994 02:38:02 GMT

        OOPS! wrong button.  I picked up previous subject.  Flame on!
>
>
>       I got the Yggdrasil fall 94 cdrom, ftp'd rev B of the boot disk & errata.
>I got a new 540 meg Maxtor HD, partitioned it w/ 4 partitions 270,100,100,30.75
>/dev/hda4 is swap partition /dev/hda1 is /home  (no /usr partition specified)
>
>       I created the boot floppy during the install process.  I set the boot flag
>on /dev/hda1.  I can boot from floppy, but not from HD.  The HD boot gives me
>"Missing Operating System."  I tried the Halt command.  It did not work.  I can boot
>from floppy, and access the entire system, so I have a working system.
>
>       I have a 386 DX 25 w/math co.  8 meg ram.  AMI bios (I switched from
>bios ram 0030:00 to 1k Dos after reading errata, no change).  I installed most of
>the errata from the Yggdrasil ftp site.  The /usr changes did not work due to
>the stuff being on cdrom.
>
>       CDRom is Sony CDR-33A, and it works fine.  I have X windows working.
>
>       What do I do?  
>
>       What do I do with the vmlinux that I ftp'd from Yggdrasil?
>(ie: can I copy it over the one on the (newly made copy of the) boot floppy, and 
>LILO it?  Should I?)
>
>Thanks ahead of time
>Wade Maxfield
>[email-masked]
>

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

From: [email-masked] (Jason McNeill)
Crossposted-To: comp.infosystems.www.misc
Subject: Re: NCSA Httpd server on Linux
Date: 30 Sep 1994 05:32:34 GMT

 >In article <[email-masked]> Pascal Cleve, [email-masked]
 >writes:

 >>Has anybody compiled and ran the NCSA HTTPD server on Linux.  Any 
 >>advice would be appreciated.

One caveat: some (all?) Linux distributions do not have the user
"nobody" and group "nogroup".  I created them, gave them bare minimum
privileges, and set them up as user and group in "httpd.conf".  It
seems more secure than running httpd as root (but perhaps I'm
just giving myself a false sense of security).

On our SPARC, many programs require "nobody" and "nogroup" to work.

--
Jason D. McNeill
MS 293, Dept. Chem.
University of California
Berkeley, CA 94720
(510) 642-6389
[email-masked]

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

From: [email-masked] (Hannu Savolainen)
Subject: Re: /dev/audio: No such file or directory
Date: Wed, 28 Sep 1994 20:10:56 GMT

<[email-masked]> writes:

>Could you tell what version of kernel and detailed steps to
>install the driver? I tried once, but when compiling the driver
>programs, it complained one variable undefined. I assigned it a
>"reasonable" number and it compiled, but i only hear some noise

Please folks, don't make this kind of fixes inside kernel since
IT'S REALLY DANGEROUS. The kernel and it's drivers are designed to compile
without errors. This kind of compiling error is 99% sure indication that
there are serious error on your installation. For example the driver is not
compatible with your current kernel at all. It could also be possible that
some sources are from older version than the others. 

The _ONLY_ safe reaction in this kind of situation is to perform the 
installation from the beginning. If it doesn't help then the next step
is to ask for help usinig comp.os.linux.help.

Running kernel compiled using this kind of trick causes almost certainly
serious crach sooner or later.

The error "/dev/audio: No such file or directory" means that you have to create
the device files (/dev/audio etc) using the script at the end of
linux/drivers/sound/Readme.linux.

Hannu
-- 
=============================
Hannu Savolainen
[email-masked]
"Hackers don't use factory prebooted DOS."

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

From: [email-masked] (Kevin Lentin)
Subject: Re: Term problems
Date: 28 Sep 1994 02:58:53 GMT

Bryan Wright ([email-masked]) wrote:

> After that, both linechecks hang.  I start the remote linecheck as:

>       $ linecheck 2> /tmp/linecheck.remote

> and the local linecheck as:

>       $ linecheck < /dev/modem > /dev/modem 2> /tmp/linecheck.local

So far so good.

> When the remote linecheck first starts, it spits out an 'A' on the screen.
> As soon as the local linecheck starts up, the remote linecheck spits out:

>  B

AHAH! Got it. You must run linecheck like you would term. Once the remote
starts, suspend your comms program and run linecheck locally otherwise
they'll grapple with the modem.

-- 
[==================================================================]
[ Kevin Lentin                   |___/~\__/~\___/~~~~\__/~\__/~\_| ]
[ [email-masked]  |___/~\/~\_____/~\______/~\/~\__| ]
[ Macintrash: 'Just say NO!'     |___/~\__/~\___/~~~~\____/~~\___| ]
[==================================================================]

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

From: [email-masked] (TJ Dulka)
Subject: Trakker 250 and Linux????
Date: 30 Sep 1994 18:13:42 GMT

The title says it all, does anybody know if the Colorado Trakker 250,
parallel port tape drive is supported in Linux?

--
      _/_/_/_/_/_/     _/_/_/_/_/_/              
          _/               _/               T.J. Dulka     
         _/           _/  _/                Software Consultant    
        _/  _/         _/_/   _/            [email-masked]      

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

From: [email-masked] (Larry Slane)
Subject: Problems finding libX11.so.3
Date: 28 Sep 1994 20:42:43 GMT

Currently I have the Walnut Creek Yggd. version (Fall 94).  I want
to run everything (especially X) from my hard drive.  For some 
reason the system cannot find the file libX11.so.3 when I run
xinit.  "find" sees the file on the hard disk ok and so does
 "which".  I have my XFILESEARCHPATH set to the hard disk, but
 this doesn't help.  If I remount the CD it all works fine
but the speed is absolutely unacceptable.   Are there other
evironment variables or paths that need to be set?  Any help
at all will be appreciated!!

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

From: [email-masked] (Habibie Sumargo)
Subject: [HELP] Cannot Login to Linux Box
Date: 27 Sep 1994 23:37:28 GMT

Hi,

I have linux 2.0 run for about a month or so.  All the users complain that
they cannot login to the Linux box lately.  As a root, I logged in to the 
machine and tried to finger the users and found that the finger daemon 
complained with no such user.  I looked into the /etc/passwd file and sure
the user's account is listed.  Can someone please email me the solution?

Thank you very much.
[email-masked]

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

From: [email-masked] ()
Subject: X-windows
Date: Thu, 29 Sep 1994 07:56:04 GMT

I am trying to use xdm, so the users can boot directly into X.  It runs
great, except it loads the openlook window manager by default.  I want
it to load Motif (or any other wm for instance).  I've searched through
all of man pages on xdm and none of them mention the window manager.
None of the xdm config files mention a windows manager.  The .xinitrc
loads Motif.  Motif comes up fine if I don't use xdm and type startx.

Any suggestions?

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

From: nick%ruly46.leidenuniv.nl (Nick Pearson)
Subject: Re: X-windows
Date: 29 Sep 1994 08:39:50 GMT

How about looking into setting up XDM ?

It's there to do exactly what you want ... 

Nick
--

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

     Nick Pearson                     *     Tel.  071-276073
     System Administrator             *     Fax   071-276075
     Department of Human Genetics     *          +++
     Leiden University                *     email [email-masked]
     Holland                          *     or [email-masked]

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

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

From: [email-masked] (Michael Kellen)
Subject: Re: Replacing finger information
Date: 28 Sep 1994 19:25:26 GMT
Reply-To: [email-masked] (Michael Kellen)

In comp.os.linux.admin,

 [email-masked] (Mark 'Enry' Komarinski) writes:
>
>Replace the in.fingerd -w with a shell script or something that prints
>out the information you want.  You can take out the /usr/sbin/tcpd
>too, but that introduces more security risks, and if yr going to close off
>finger, you'll want that security then.

A better solution is to USE the features of tcpd.

There are two files which determine whether or not a daemon gives out
information under tcpd:  hosts.allow and hosts.deny     (hosts_access(5))

You might like to do this:

<hosts.deny>:
fingerd: ALL : cat nofinger.text

<hosts.allow>:
fingerd: .your.domain

This says:  if anyone in my domain tries to finger accept the connection,
            otherwise, cat some text at them.

-- 
I've got them on the list. I've got them on the list.
   And they never will be missed. They *never* will be missed.
  
                                   -- Gilbert & Sullivan, _The Mikado_

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

From: [email-masked] (Vince Taluskie)
Subject: Looking for Serial Printer Accounting for Linux
Date: 28 Sep 1994 15:09:04 -0500

I'm interested in getting an account package that will work with a
serial postscript printer so that I can charge user accounts for the
pages that they print.

I'm trying to compile the lprps-2.5 package (I was using lprps under
Ultrix until that machine died recently).  Does anyone have a working
version of this or another utility to do postscript page accounting ?

Here's the output from a make or lprps:

cc -O  -o lprps lprps.c
lprps.c: In function `ioflush':
lprps.c:214: `FREAD' undeclared (first use this function)
lprps.c:214: (Each undeclared identifier is reported only once
lprps.c:214: for each function it appears in.)
lprps.c:214: `FWRITE' undeclared (first use this function)
lprps.c:215: `TIOCFLUSH' undeclared (first use this function)
lprps.c: In function `strsignal':
lprps.c:349: warning: type mismatch with previous external decl
/usr/include/signal.h:28: warning: previous external decl of `sys_siglist'
make: *** [lprps] Error 1

Suggestions on what's wrong ?

Thanks in Advance,

-- 
Vince Taluskie
UT Physics Computer Group     [email-masked]
UNIX Systems Administration   http://www.ph.utexas.edu/~taluskie/home.html
 
   "It's easier to be a result of the past than a cause of the future"

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

From: [email-masked] (Karsten Steffens)
Crossposted-To: comp.os.linux.development
Subject: Re: how to install SCSI tape drive
Date: 30 Sep 1994 06:47:38 GMT

Woody Weaver ([email-masked]) wrote:
: I can talk to the card fine: $ mount -t iso9660 /dev/sr0 /mnt 
: mounts the CD ROM normally, and gives me access.  However, I don't have any
: st0 devices.  I tried 
: $ mknod /dev/st0 c 46 0
: (and a couple of other minor numbers, 8 and 128) but each time I try
: $ mt -f /dev/st0 fsf
: or whatever, I get "/dev/st0: No such device".  Am I being particularly
: dense? What is the fix?

Who the hack told you that 46 was the correct major device number?
Try 9 instead, and it should work. 

BTW: the official lists of device-numbers can be found in:

/usr/src/linux/include/linux/major.h

This is official because its the one that the kernel incorporates during
compilation...

Karsten

--
==================>         Karsten Steffens         <=====================
   [email-masked]          |      [email-masked]
Marl - close to Recklinghausen     |         Institut fuer Kernphysik
  North of the Ruhrgebiet          |   Westf.Wilhelms-Universitaet Muenster

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

From: [email-masked] (Roman Yanovsky  [email-masked])
Subject: Slackware 2.0.1 on CD-ROM! Trans-Ameritech Release 4 !!!
Date: 29 Sep 1994 00:58:21 GMT

Trans-Ameritech Systems announcing the Linux Plus BSD  CD-ROM Release 4.

The company that pionered the Slackware distribution on a CD-ROM, the "live"
file-system and DOS-assisted installation procedures is proud to announce
a new revolutionary Installation Free (tm) release of Linux. 

We hope you will find it easy to install and use. This CD-ROM has one feature  
not found on any other distribution of Linux: it is possible (and very easy!)
to start running Linux from your hard drive WITHOUT GOING THROUGH THE NORMAL
INSTALLATION ROUTINE! It will work with ANY CD-ROM that DOS can read. The only
assumption that the automated procedure makes,is that you have an IDE drive C:
with at least 20 MB of disk space to automatically put a Linux system with
X-windows on! We call this a Test Drive. After going through this, you can
add software by a normal "setup" procedure or you can decide to dedicate a
partition to Linux.

The Release 4 is based on the brand new release of Slackware  2.0.1 that is
considered by the author (Patrick Volkerding) to be very stable and a major 
milestone. The full Slackware tree (145 MB compressed!) is provided as well
as the Slackware sources tree. And of course the Trans-Ameritech trademark
"live" filesystem that can be used to save disk space. In addition to the
many kernels of all flavors that come with Slackware, we provide a number of
kernels based on the post-code-freeze Linux kernel 1.1.50. It has many 
desirable features not found in the 1.0.x kernels standard with most 
distributions:  
        Considerable improvements in disk performance - SCSI and IDE
        Support for huge IDE disks (over 1024 cylinders).
        Support for the IDE CD-ROMs (NEC 260).
        Standard support for UMSDOS filesystem.
        Way too much more to list here.

The highlights of this release:

        DOOM for Linux!!!
        Read-only Double-Space filesystem!
        NCR PCI SCSI.
        IDE CD-ROM support.
        TGIF - Xlib based interactive 2-D drawing facility under X11. 
        An X server for et4000/w32-based boards. 
        Software for the Ham Radio enthusiasts.
        Two sets of compilers and libs - 4.4.4 and 4.5.26
        Kernels from 1.0.9 to 1.1.50.
        qfax 1.0
        Jazz 1.0 - a  comfortable MIDI sequencer 
        Easy configuration of Xwindows.
        New NTeX 1.2
        BSD Sendmail 8.6.9
        util-linux-1.10
        term 2.1.0
        calc2.9.3t8 - arbitrary precision calculator. 
        irsim - An event-driven logic-level simulator for MOS circuits 
        DOSEMU 52.3 beta for the new kernels.

        FreeBSD packages 1.1

Other important software:
        GNU emacs 19.25 and 19.26 for tty and X.
        Interviews - text and graphics utilities
        ANDREW

If you prefer to go through a much more flexible custom installation, an MSDOS
based program provided on the CD-ROM ("install.exe") will help you make the 
right choice of a boot kernel depending on the hardware that you have and will
actually create the two floppies to be used for Linux installation. 
Furthermore, the "setup" script modified by the Trans-Ameritech, will put the 
kernel used during the installation on your hard disk for use with actual 
operation. This guarantees that all the hardware that worked during the 
installation will continue to work afterwards.   

The important documentation is uncompressed and ready to read under DOS before
installing Linux on the CD-ROM.

Pricing:

The price for our current (Release 4) Linux Plus CD is $30

Below is the ordering information.

You can order by email, by phone (408)727-3883 or FAX (408)727-3882.
(email: [email-masked])

If you prefer to send a cheque/money order, our address is:

Trans-Ameritech Systems, Inc.
2342A Walsh Ave
Santa Clara, CA 95051
USA

If you order with a credit card (VISA, M/C, American Express) please indicate
the card number, expiration date and your mailing address.

The order will be processed and the CD shipped the same day.

Shipping and handling in US is $5, Canada/Mexico $6, Overseas $8.
COD is available in the US only for $4.50

California residents please add sales tax.

Anual subscriptions (4 Regular Releases) are available for $80 plus s&h.
(note: there are 4 shipments in a subscription)
Example subscription in US is: $80 + $5 * 4 = $100
Subscription in Europe/Japan etc. is: $80 + $8 * 4 = $ 112

If you have any further questions, please contact us at 

Trans-Ameritech Systems, Inc.
2342A Walsh Ave
Santa Clara, CA 95051
USA

Phone (408)727-3883 
FAX   (408)727-3882.
email: [email-masked]

Note: Unix is registered trademark of Unix System Labs. All product 
names referenced herein are trademarks of their respective companies.

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

Crossposted-To: comp.os.linux.misc
From: [email-masked] (Donald Burr)
Subject: how to set up my Linux box as a GATEWAY?
Date: Wed, 28 Sep 1994 00:40:28 GMT

Greetings, *.

I've put together a little home network, consisting of several DOS PC's 
(running TCP/IP packages) and my Linux box.  I have my own set of IP 
addresses assigned from the NIC (192.160.60.xxx, Class C).

My Linux machine has a PPP connection (through a local Internet service 
provider) to the rest of the Internet.

I would like my Linux box to act as a "gateway" between my local 
network, and the rest of the Internet.

The details:

All of my machines are assigned addresses in the 192.160.60.xxx range.

My Internet service provider assigns my Linux box it's own address when 
it dials in -- usually something like 199.201.128.101.

All of the DOS PC's are set so that they use my Linux box as the gateway 
(i.e. if you try to use an IP address not on the local network, it gets 
sent through the gateway).

Picture of network setup:

                         +------------------+
                         | beach.silcom.com |
                         | PPP provider     |
                         | Gateway to Inet  |
                         +------------------+
                                  |
                                  |  ppp0 over /dev/modem
                                  |
                     +--------------------------+
                     | ncc-1701-d.starfleet.org |
                     | Linux box w/eth0 and ppp0|
                     +--------------------------+
                                  |
                                  |  eth0
                                  |
                            +-------------+
                            | 10BaseT HUB |
                            +-------------+
                             /    |      \
                            /     |       \
                   +--------+ +--------+ +--------+
                   | DOS PC | | DOS PC | | DOS PC |
                   +--------+ +--------+ +--------+

Can anyone help me out here?  How do I set up my /etc/rc.d/* scripts, 
network configs (/etc/hosts, /etc/networks, etc.) for this configuration?

Please respond by email ([email-masked]) -- thanks!

-- 
Donald Burr, ROCKWELL NETWORK SYSTEMS
7402 Hollister Avenue, Goleta, CA 93117  (805)968-4262 x154
EMAIL: [email-masked]  //  PAGER: 897-2809; type your phone number, then [#]
                  Makers of the NETHOPPER router/modem -- email for more info!

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

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