Subject: Linux-Admin Digest #212
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Tue, 18 Oct 94 08:13:59 EDT

Linux-Admin Digest #212, Volume #2               Tue, 18 Oct 94 08:13:59 EDT

Contents:
  Re: PCNFS and file locking (Florian la Roche)
  Re: again: record sound (Christopher M. May)
  How can I make my modem a login port? (Dan Vieira)
  XFree86 3.1+XTerm problem (Saila Marjut Loikas)
  Re: PASSWD and User Problems (Joerg Mertin)
  [Q] why does /var/adm/wtmp grow and grow and grow ... (Dirk Eddelbuettel)
  nenscript and lpr in Linux (Timothy E. Onders)
  Non-root users writing to mounted Dos volumes (Jeremy Fischer)
  Re: Linux NOT logging people out on hangup (Bart Kindt)
  Advices needed for debugging linux lockup (Yan Xiao)
  Re: ISDN and Linux (Bart Kindt)
  Re: Need XF3.1 compiled Mosaic (Karsten Steffens)
  lp problems..... (Kieran Coughlan)
  Adaptac 2842A VL SCSI-II (Kenneth M. Wong)
  Adaptac 2842A VL SCSI-II adapter (Kenneth M. Wong)
  archie: archie failed: Timed out (dirsend) (Andrew_R._Mitz)
  Re: /tmp/ is not cleaned up (Scott Jennings)
  Re: Telnet in is slow (Scott Jennings)
  Re: WHERE'D MY MAIL GO?!!? (Scott Jennings)

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

From: [email-masked] (Florian la Roche)
Subject: Re: PCNFS and file locking
Date: 18 Oct 1994 00:01:51 +0100

Alan Cox ([email-masked]) wrote:
: In article <[email-masked]> [email-masked] (Michael C. Loewen) writes:
: >   No one has (yet) written a lock manager (rpc.lockd) for Linux.  High
: >praise to the first one through the gate!

: Find the spec - writing it is easy, finding an example and the protocol spec
: is not.

: Alan

I have uploaded a file called "nfs3.ps" into ftp.funet.fi:~Linus/net-source.
It contains the specs for NFS version 3. Linux and all (?) other operating
systems (I just know Linux...) still use version 2 of NFS.

That file contains also a description of the locking functions. More specific:
It contains all changes from the old to this newer protocol...
But at the end of the file is a list of some good other books. One is said
to be written about an example implementaion of NFS version 2 together with
all thjose file locking things...

This subject came up some time ago on one of the Linux mailing lists.
Two persons have contacted me about further details. One wanted to write
those file locking functions for Linux and one needed the information for
some other (commercial?) stuff...

Florian

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

From: [email-masked] (Christopher M. May)
Subject: Re: again: record sound
Date: 17 Oct 1994 22:48:01 GMT

[email-masked] wrote:

: I tried many times trying to record a sound to file, but failed.
: ( dd , srec vplay, mixer , but don't know how to use mixer command)
: Could some one kindly show exactly what the commands are for recording
: sounds from microphone to a file? ( i have PAS16 sound card)

These usually work for me, though it's probably easier to use 
xvmixer.
Some of these commands may or may not be necessary depending on
the default status of your mixer...

mixer -rec line
mixer line 0
mixer +rec mic
mixer rec 75
mixer pcm 0
mixer synth 0
mixer cd 0
mixer mix 75
mixer pcm2 0

srec -S -s44 -b16 -t10 test

The above srec command will sample 44Khz stereo 16bit, for 10 seconds
and store the data in "test". The t option is not necessary, you can
just use control-c to stop recording.

Playback can be accomplished with splay (the same binary as srec,
just copied to splay, or vice-versa, I can't remember which)

splay -S -s44 -b16 test

I use an external analog mixer and have the pas connected in the tape2
loop of my stereo.  Beware of Feedback! (don't set your line volume
too high, it should be off when playing back pcm sounds...)

I used to have lots of weird sounds (from sunsite....)
play from my rc.local.  I got tired of the same sounds over and 
over.  It would be cool if someone made an audio "fortune" which 
played a random sound on login.... pretty simple really...

--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab

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

From: [email-masked] (Dan Vieira)
Subject: How can I make my modem a login port?
Date: 15 Oct 1994 22:51:01 -0700

    Pretty much self-explanatory.  How can I allow people to dial in and
get a login screen?

Thanks in advance,
Dan

-- 
*                      | "If it is now the belief of my fellow men, who     
* Dan Vieira           |  call themselves the public, that their good 
* [email-masked]   |  requires victims, then I say:  The public good
*                      |  be damned!  I will have no part of it!" -- Ayn Rand

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

Crossposted-To: comp.windows.x.i386unix
From: [email-masked] (Saila Marjut Loikas)
Subject: XFree86 3.1+XTerm problem
Reply-To: [email-masked]
Date: Mon, 17 Oct 1994 18:08:00 GMT

I've installed XFree86 3.1 just ten days ago to my Linux (1.1.53)
machine.
Now I've fighted with this problem for nine days and I'm getting tired.

Every normal shell program I'm trying to run under xterm (jove, less,
joe,
tin, elm, just name it and it won't work) just goes into background
automagically and says:

[1]+  Stopped (tty output)      jove

... and that's it, I've tried to change termcap other related
configuration files without success. I can see that in xterm window
my tty-setting aren't really what they should be (normally console
has -ignbrk and brkint, but xterm has ignbrk and -brkint so this
may be problem), so I tried to run 'stty sane' - result: I've got
'stty sane' as background process.

Thanks for your time.

Saila

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

From: [email-masked] (Joerg Mertin)
Crossposted-To: comp.os.linux.help
Subject: Re: PASSWD and User Problems
Date: 14 Oct 1994 23:56:41 GMT
Reply-To: [email-masked]

In comp.os.linux.help Bob Collie ([email-masked]) wrote:
: PLEASE EXCUSE THE CROSSPOST (col.admin, col.help)

: I just edited my /etc/passwd file from root and I changed the UUCP user 
: from having a password to * and I now have major system troubles.  No 
: users are recognized (i.e. via su, login, finger, etc.) on my system 
: besides the root user.  What can I do?  Please help, as I am in dire need.

Well, this also happened to me one time. I noticed however, that you
can only modify the /etc/group File manualy. The passwd & shadow files
as the are modified since the with the useradd & usermod tools
provided with your login packages. Take a backup copy, replace the
original, RTFM and change your entries -> should work then.

: Bob Collie
: [email-masked]

--
Solong & Happy Hacking
************************************************************************
*   Joerg Mertin          :   [email-masked] (Home)      *  
* in Berlin Spandau at    :   [email-masked]        *
* Stardust's Linux System :   Data, Fax & Voice 49 30 3615569          *
************************************************************************
`Fatal Error: Found [MS-Windows] System -> Terminating Virus...'

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

From: [email-masked] (Dirk Eddelbuettel)
Subject: [Q] why does /var/adm/wtmp grow and grow and grow ...
Date: 17 Oct 1994 20:52:15 GMT

Please help: the file /var/adm/wtmp grow endlessly. 
I have reset it last on Oct 11 but it already grew up to two megabytes 
again. I looked at virtually every file in /etc, but I still haven't the 
slightest clue why this happens.

Kernel 1.1.45 on MCC distrib. if that matters.

Help greatly appreciated. Bye,
-- 
Dirk Eddelbuettel                                   
<[email-masked]>                     

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

From: [email-masked] (Timothy E. Onders)
Subject: nenscript and lpr in Linux
Date: Mon, 17 Oct 1994 22:23:33 GMT

I'm having trouble getting nenscript 1.13++ (from sunsite) to work
as an input filter with lpr.  I have two printers in printcap:
        lp - a serial-connected laser printer with if=/usr/bin/nenscript -p-
        PostScript - an unfiltered connection to the same laser printer.

The following cases work:
        nenscript README
        cat README | nenscript
        cat README | nenscript -

The following cases print blank pages
        lpr README
        lpr -Plp README
        cat README | nenscript -p- | lpr -PPostScritp

When the ouput files from 'nenscript README' and 'lpr README' are diff'ed,
there is no difference (except the title and header time).

It seems like some kind of problem with Linux pipes.  I'm running 1.1.49.

                                        Thanks,
                                        Tim Onders
                                        Audio Design Engineer
                                        [email-masked]

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Jeremy Fischer)
Subject: Non-root users writing to mounted Dos volumes
Date: Mon, 17 Oct 1994 23:10:36 GMT

I have a volume /share that is a dos partition I use to keep items
that I use in both dos and linux. The problem is that I need to allow
other users besides root to write to the volume.

I read the man page on fstab and mount...changing "defaults" to rw in
the fstab do nothing...

Any ideas would be most helpful.

Thanks,
Jeremy

-- 
====================================================================
[email-masked] ---> NetFox <---
http://bronze.ucs.indiana.edu/~jeremy/home.html
====================================================================

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

Crossposted-To: comp.os.linux.development
From: [email-masked] (Bart Kindt)
Subject: Re: Linux NOT logging people out on hangup
Date: Sun, 16 Oct 1994 17:56:24 GMT

In article <[email-masked]> [email-masked] (Matthias Urlichs) writes:

>In comp.os.linux.development, article <[email-masked]>,
>  [email-masked] (Bart Kindt) writes:
>> 
>> I am running a multi-line SLIP dialin server. For months we have had problems 
>> that sometimes the "sliplogin" program was not getting killed.  We finally 
>> found that the problem is in the Kernel " close() " function; this function 
>> does sometimes *not return*.  We have fixed the problem with a patch that 
>> re-kills the program after a 15 second timeout, when it is still 'alive'.

>Ahem... if close() really doesn't return, a kill won't make any difference.

The patch sets a times just before close(0) and if the system does not return 
from close(0) the timer will execute an exit(1). It works well, and happens 
about 25% of the time.

>Anyway, a cursory look at 1.1.53 doesn't reveal any loops the close could
>hang in.

But it does happen... all the time.

>Which kernel/sliplogin version are you using? 

Kernel 1.1.52, just trying to get 1.1.54 to work, which has a bunch of TCP bug 
fixes in it, but I cannot compile it because a file is missing in the patch.  
Argh!

I use sliplogin 1.2, with the patch. Sliplogin 1.3 has the patch now build-in 
on my request. (plus dynamic IP allocation!)

Bart.

====================================================================================
Bart Kindt (ZL4FOX) System Operator, Efficient Software NZ LTD, Dunedin, New Zealand
====================================================================================

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

From: [email-masked] (Yan Xiao)
Crossposted-To: comp.os.linux.help
Subject: Advices needed for debugging linux lockup
Date: 18 Oct 1994 00:48:45 GMT

Our linux boxes have been frozen for a number
of times.  The problem gets to the point
where our trust in the serious use of Linux
is shaken.  I have xclock running, and whenever
the machine seems to be slow, I look up the
clock and pray: "please, please don't freeze
again".

Our system is Dell DX2-66 PCI, with on board video
system (ATI Mach32) and 3com509. 16MB RAM.  The machine
is connected to a hub by twisted pairs, in an environment
of a local Novel network (about 6 DOS boxes).

It seems that lock up occurs in the following conditions:
1. mail arrives (we run sendmail -bd -q 15m)
2. ftp sessions
3. remote X-windowing.
It was also suggested that running X-window may contribute
to the lockup.

We started at linux 1.1.47 and 1.1.52.  After sluggish 
network response (plus lockup), we backed to 1.0.8. 
We suspect network problems, in particular caused by those 
Novel networked PC's.  Is there a way for one to debug
the lock up problem?

If you cannot help directly, could you please give some
pointers as to where to turn to get help?

Thanks
=================================
Yan Xiao, Ph.D.
Anesth. Research Lab, U. of Maryland, Baltimore, MD.

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

From: [email-masked] (Bart Kindt)
Subject: Re: ISDN and Linux
Date: Sun, 16 Oct 1994 18:02:47 GMT

In article <[email-masked]> [email-masked] (Serge Solski u) writes:

>        I noticed some talk before here about ISDN. A local service 
>provider is going to be using ISDN in the near future, and I'd like to 
>use it (a lot cheaper than 56K.)

>        What is entailed in using ISDN with Linux? I take it there's an 
>ISDN card for the computer. How does Linux use the card? Does it treat it 
>like an ethernet card, or something else?

>        Bell tells me I'll need an ISDN Terminal Adapter. What is that, 
>and will I have that when I have the card? They give me an NT-1, whatever 
>that is. 

>        I get two "B" channels. Does one ISDN card only use one "B" 
>channel? Can I use another ISDN card to have two 64K links to my service 
>provider (assuming I pay them twice)?

>        Is there any other information about ISDN that I'll need. Anyone 
>putting together a FAQ for this? 

>        Much thanks for any information anyone can give.

Contact:

[email-masked]

who is considering writing a ISDN Driver for a ISDN card.  As far as I know, 
there is *no* ISDN card driver for Linux at this time.

Bart
====================================================================================
Bart Kindt (ZL4FOX) System Operator, Efficient Software NZ LTD, Dunedin, New Zealand
====================================================================================

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

From: [email-masked] (Karsten Steffens)
Subject: Re: Need XF3.1 compiled Mosaic
Date: 13 Oct 1994 06:58:00 GMT

Michael R. Widner ([email-masked]) wrote:
: I'm looking for Mosaic for Linux compiled and linked to XFree 3.1 libraries.
: Of course I can get Mosaic for XF2.x anywhere, but I don't have any of
: the XFree 2.x stuff on my system, and I'm not real keen on putting the
: libs on just to run Mosaic.

I'm sorry but you won't get a X11R6 Mosaic in the next few weeks. From other
threads in the c.o.l.* you can learn that Metrolink does not plan to
issue an upgrade of 1.2.4 for R6. C.Groeschel of their staff officially stated 
in <[email-masked]> that the reason is that Motif 2.0 will come 
out soon (which will itself be based on X11R5) and Motif 2.1 later on is 
likely to be a genuine X11R6 implementation.

What about the other Motif-sellers (Swim)? Didn' read anything, it seems
as if most people are using Metrolink.

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] (Kieran Coughlan)
Subject: lp problems.....
Date: 17 Oct 1994 21:35:27 -0500

Hi,

I'm trying to set up my supervisor's machine for printing and I'm having
problems with the parallel port.

At first, the kernel didn't even have the support added in but I thought
rebuilding would be the answer (inside every big problem, there are hundreds
of little ones waiting to get out...). Anyway, now the kernel boots and
(correctly) recognises lp1 but when I try to cat to it the machine just sits
there like the attached device is missing.. Sick thing is, I performed this
operation on another Linux machine we have earlier on today and I had no
problems at all.

Anyway, if anyone has experience with this kind of problem, I'd really
appreciate an e-mail 'cos this has to be done in the morning..

Machine is running a 1.0.8 kernel and also has a cdrom and tape drive
attached (incase this might be some kind of iospace error)..

Thanks in advance,

Kieran.

Kieran Coughlan, Department of Mech. Eng., University College Galway, IRELAND. 

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

From: [email-masked] (Kenneth M. Wong)
Subject: Adaptac 2842A VL SCSI-II
Date: Mon, 17 Oct 1994 21:09:55 GMT

Hi, netters 

Here is my problem... I'm trying to install the slackware linux 2.0.1 on my
486 machine, but I have trouble making my linux boot disk recognize
my Adaptac 2842A VL SCSI adaptor, needless to mention my FAST SCSI-II harddisk
and SCSI-II CD-ROM. I tried to look up the solutions by downloading SCSI-HOWTO,
but it doesn't mention any things about work-around on Adaptac 2842A.
Please help...

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

From: [email-masked] (Kenneth M. Wong)
Subject: Adaptac 2842A VL SCSI-II adapter
Date: Mon, 17 Oct 1994 21:12:37 GMT

Hi, netters 

Here is my problem... I'm trying to install the slackware linux 2.0.1 on my
486 machine, but I have trouble making my linux boot disk recognize
my Adaptac 2842A VL SCSI adaptor, needless to mention my FAST SCSI-II harddisk
and SCSI-II CD-ROM. I tried to look up the solutions by downloading SCSI-HOWTO,
but it doesn't mention any things about work-around on Adaptac 2842A.
Please help...

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

From: [email-masked] (Andrew_R._Mitz)
Subject: archie: archie failed: Timed out (dirsend)
Reply-To: [email-masked]
Date: Tue, 18 Oct 1994 01:34:53 GMT

I just downloaded archie and gopher binaries from sunsite.  Gopher
seems fine but my archie queries always come back with:

archie failed: Timed out (dirsend)

Where do I start looking to correct this problem?

Thanks.
-- 
============================================================================
Andrew Mitz, Biomedical Eng., National Institutes | Opinions are mine alone 
of Health Animal Center, Poolesville, MD          | [email-masked]       
============================================================================

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

From: [email-masked] (Scott Jennings)
Subject: Re: /tmp/ is not cleaned up
Date: 16 Oct 1994 01:44:22 GMT

Rob Ransbottom ([email-masked]) wrote:

: >It will if you add this to /etc/rc.d/rc.local:
: >( cd /tmp ; rm -rf * )

: >Since I'm not the admin for your machine, it would be presumptuous of 
: >me to clear out your /tmp automatically.  What if you'd put something 

: I can appreciate your consideration.  

I use this in /var/spool/cron/crontabs/root :

# This touches a filename in the temp directory so that you can see cron is
# working if the timestamp is current. Comment it out if it bugs you. :^)
# I touch named.pid so the next entry won't clobber it.
# annoys me that named puts it *there* in the first place
* * * * *       touch /tmp/named.pid

# remove temp files older than 12 hours, every hour.
30 * * * * find /tmp/ -mmin +720 -exec rm -rf {} \;

 -smj

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

From: [email-masked] (Scott Jennings)
Subject: Re: Telnet in is slow
Date: 16 Oct 1994 01:46:36 GMT

Orjan Stromberg (connor@tekla) wrote:
: The lines out are as fast as you can possible wish, but as soon as I try to
: telnet in to the machine it goes SLOOW. People have been telnetting into the
: machine, and stopped at the login for five minutes. If I check locally, they
: are logged in, but they are still stuck on the login-screen.

Are they using BASH?

Try deleting the .bash_history file and see what happens...

 -smj

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

From: [email-masked] (Scott Jennings)
Subject: Re: WHERE'D MY MAIL GO?!!?
Date: 16 Oct 1994 01:49:35 GMT

Matt Preston ([email-masked]) wrote:
: I'm currently using SMAIL with my Linux system using SLIP and
: It seems that when I send mail to systems that don't use SMTP, my mail 
: never gets sent.  I sometimes I never get a response back that the mail 
: was never sent.  For example, my mail never hits America Online Users 
: (althought thats good news ;) )  If i send to lets say [email-masked] my 
: mail never gets there and I never get an error message back.

: Is it because I cant SMTP to that site.  It happens to sites that I can't 
: particularly SMTP and I can't telnet to.

: Can I change this somehow?  Any help is appreciated.

You need to enable MX record lookups.  We had to comletely recompile
smail here to enable that feature, but it is the *only* way to deliver
email on the internet.

 -smj

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

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