Subject: Linux-Admin Digest #48
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 11 Sep 94 01:18:59 EDT

Linux-Admin Digest #48, Volume #2                Sun, 11 Sep 94 01:18:59 EDT

Contents:
  Re: Monitoring TTY's .. (Tracy R. Reed)
  Re: RFH: ping only works for root (Uwe Bonnes)
  Price/Performance of Overdrive versus Pentium (Ben Eng)
  Re: Monitoring TTY's .. (Pete Deuel)
  Re: What would be faster Dx-50 or DX2-66?  ([email-masked])
  Re: DOMM 4 Linux /X is OUT !!! (Stephen David  Wray)
  Re: DOMM 4 Linux /X is OUT !!! (Timothy J. Kordas)
  SLIP w/Dynamic IP Addresses (Tony Schwartz)
  compiling 1.1.46+ ... I went to .50 :) (Steve Kneizys)
  Re: Kermit's Bug (Darrel Hankerson)
  Re: Kermit's Bug (Al Longyear)
  mosaic for linux? (Jacek A. Ponarski)
  Drives with too many heads (Stephen Vance)
  Linux and WinTrump problems. (Mark Swanson)
  UDP checksome errors in /usr/adm/messages (Joe Beiter)
  How can I filter remote print jobs? (Bruce Alan Fraser)
  uucp-1.05 problem (Markus Leist)
  Re: setting up route and get rid of SIOCADDRT anoying message... (Christophe Person)
  xlock-shadow source ? (Srini Seetharam)

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

From: [email-masked] (Tracy R. Reed)
Crossposted-To: comp.os.linux.misc
Subject: Re: Monitoring TTY's ..
Date: 9 Sep 1994 02:50:53 GMT

Alpha / Omega Enterprises ([email-masked]) wrote:
:     There is some software available for this, but I have found a quick 
: way to monitor access is to login as that user and then press the up 
: arrow key.  Keep pressing it, and it will show you all of the commands 
: that the particular user executed in their last session.  Of course it 
: will not monitor what they did in different editors, and mail programs, 
: but it is better than nothing.

If seeing the commands the user issued is what you want, just patch the 
accounting patch into your kernel. It works quite nicely on my machine. 
Now I have to write some perl scripts to condense all of the info.

=============================================================================
Mr. Tracy Reed         |Every artist is a cannibal.| Why did dad cry 
San Diego State Univ.  |Every poet is a thief.     |  when I gave him
Aerospace Engineering  |All kill their inspiration |  Willmaker 1.0?
[email-masked] |And sing about their grief.|
[email-masked]      |-U2 IRC-Maelcum /me smiles |  
=============================================================================

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

From: [email-masked] (Uwe Bonnes)
Subject: Re: RFH: ping only works for root
Date: Sat, 10 Sep 1994 19:04:06 GMT

Dave Spring ([email-masked]) wrote:
> I'm sure it's my own fault but....

> I'm running 1.1.18 from slackware 2.0 and tried to tighten up the permissions
> on the executables (I've got lots of novice users on my news server). Somehow,
> I've managed to stop everyone except root from doing ping, and rlogin. The
> error is 'socket: Operation not permitted' . I've checked permissions on the 
> executables (I'd expect a different error anyway) and all the shared libraries
> I can find. What's I find just as strange is that telnet and ftp work ok.

> Does anyone have any clues or suggestions ?

From what I know, ping must run suid root:
-r-sr-xr-x   1 root     bin          8716 Feb 12  1994 /bin/ping
-- 
Uwe Bonnes  [email-masked]

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

From: [email-masked] (Ben Eng)
Subject: Price/Performance of Overdrive versus Pentium
Date: 10 Sep 1994 18:57:51 GMT

I am currently running Linux with a 486DX33, and I am getting around
a 16.7 bogomips rating.  I have the option of upgrading by simply
plugging in a 486DX2/66 or an Overdrive processor into the
motherboard to replace the CPU.  Is there a significant performance
advantage of going with the Overdrive processor as compared to the
486DX2/66?  What are people's opinions on the price/performance ratios
of these two alternatives?  Would it be more cost effective to simply
go with a full upgrade to a PCI motherboard with a Pentium processor?

Ben
--
e-mail: [email-masked] or [email-masked] (Ben Eng)
UofT EngSci 9T2            ``We are all masochists here.''
Home: (613)-567-9983       Work: (613)-567-4740

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

From: [email-masked] (Pete Deuel)
Crossposted-To: comp.os.linux.misc
Subject: Re: Monitoring TTY's ..
Date: Fri, 9 Sep 1994 02:55:50 GMT

>: way to monitor access is to login as that user and then press the up 
>: arrow key.  Keep pressing it, and it will show you all of the commands 
>: that the particular user executed in their last session.

>that is if you know their password ;-) instead try as 'root' to look at their
>.bash_history file in their $HOME directory.

Nah.  root don't need no stinking password!  Just "su" to the other user as 
root..  I can't however confirm whether up arrow works, though.

I wouldn't even ttysnoop!

Pete

===================================================
     "Actually, I'm a lab mouse on stilts..."

     E-mail:  [email-masked]
===================================================

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

Subject: Re: What would be faster Dx-50 or DX2-66? 
From: [email-masked]
Date: Fri, 09 Sep 94 14:25:53 MDT

In article <[email-masked]>, <[email-masked]> writes:
> Relay-Version: ANU News - V6.1B9 05/16/94 VAX/VMS V1.5; site asa.org
> Path: 
asa.org!csn!magnus.acs.ohio-state.edu!math.ohio-state.edu!sdd.hp.com!swrinde!sg
iblab!spool.mu.edu!mnemosyne.cs.du.edu!nyx10.cs.du.edu!not-for-mail
> Newsgroups: comp.os.linux.admin
> Subject: Re: What would be faster Dx-50 or DX2-66?
> Message-ID: <[email-masked]>
> From: [email-masked] (Steven Pritchard)
> Date: 8 Sep 1994 23:06:00 -0600
> References: <[email-masked]> <[email-masked]>
> Organization: University of Denver, Math/CS Dept.
> NNTP-Posting-Host: nyx10.cs.du.edu
> Lines: 30
> 
> [email-masked] (Greg Cisko) writes:
> 
> >In article [email-masked], [email-masked] (Daniel Gelinas) writes:
> >> 
> >> I'm debating wether or not a DX-50 would be faster than a dx2-66 for
> >> multi-tasking considering the 50 functions at 50 and the 66 functions
> >> at 33.
> 
> >In most cases, with 256K cache (essential in a DX2) the DX2 66 will be 
faster
> >than the DX50. DX2's acheive the "clock-doubling" via CPU cache hits. I 
gained
> >huge performance increases (in norton sysinfo and 3dbench) by going from 0K
> >external cache to 256K. Generaly, when the CPU is excercised, a DX2 66 CPU 
will
> >be faster than a DX50.
> 
> In addition, the 33 MHz motherboard will allow for VESA local bus, which 
> I would highly recommend getting.  Actually, every motherboard I've seen 
> lately that'll go to 50 MHz is a 33/40/50 MHz (sometimes even 20 & 25) 
> with local bus.  The VLB slots won't work at 50 MHz, though.

This is not true.  The definition supports 2 VLB slots at 50MHZ and 3 at 33MHZ.
I have seen 486DX50 VLB motherboards on the market.

> 
> Don't cheat yourself.  Get a DX/33, DX/40, or a DX2/66.
> 
> Steve
> 
> 
> 
> 
> -- 
> [email-masked]             |  Steven
> [email-masked]             |  Pritchard
> GCS/M/S d? p+ c++(++++) l++ u+(-) e+ m+(---) s/+ !n h--- f+ g+ w@ t++ r- y?
> 

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

From: [email-masked] (Stephen David  Wray)
Subject: Re: DOMM 4 Linux /X is OUT !!!
Date: 11 Sep 1994 00:14:47 GMT

> X-DOOM for Linux is OUT !!!!!!!!!
> 
> check sunsite.unc.edu:/pub/Linux/Incoming/linxdoom.tgz
> and doom1.wad

Yup -- I got it, and it *starts* to run...
only very soon into it, it dies saying "broken pipe"
I'm *not* running it as root.. should I be?
This seems dubious...

Any suggestions?

Thanks! (BTW -- it starts off *looking* impressive :)

---
**********************T***H***E***L***E***M***A**********************
 44. For pure will, unassuaged of purpose, delivered from the lust of
    result, is every way perfect. -- LIBER AL vel LEGIS
******************************IN*LVX*********************************
Stephen Wray <[email-masked]>
Department of Computer Science,phone: x8359, fax: +64 9 373 7453
University of Auckland, Private Bag 92019, Auckland, New Zealand.

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

From: [email-masked] (Timothy J. Kordas)
Subject: Re: DOMM 4 Linux /X is OUT !!!
Date: 11 Sep 1994 00:37:25 GMT

Stephen David  Wray ([email-masked]) wrote:
: > X-DOOM for Linux is OUT !!!!!!!!!
: > 
: > check sunsite.unc.edu:/pub/Linux/Incoming/linxdoom.tgz
: > and doom1.wad

: Yup -- I got it, and it *starts* to run...
: only very soon into it, it dies saying "broken pipe"
: I'm *not* running it as root.. should I be?
: This seems dubious...

: Any suggestions?

the sndserver program in the distribution needs to be in your path...
I think.

-Tim
--
Timothy J. Kordas                              |  [email-masked]
Electrical Engineering and Applied Physics     |
Case Western Reserve University                |  PGP public key available
Cleveland, Ohio 44106                          |  via finger

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

From: [email-masked] (Tony Schwartz)
Subject: SLIP w/Dynamic IP Addresses
Date: Sat, 10 Sep 1994 01:12:49

If anyone has a DIP script that would assist in establishing a SLIP connection 
with a provider that allocated dynamic IP addresses, please send a copy over.

Thanks in advance.

Tony Schwartz
Portland

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

From: [email-masked] (Steve Kneizys)
Crossposted-To: comp.os.linux.help,comp.os.linux.development
Subject: compiling 1.1.46+ ... I went to .50 :)
Date: 8 Sep 94 23:43:21 EST

In article <[email-masked]>, [email-masked] (Dougal Campbell) writes:
> In article <[email-masked]>, Carlos Dominguez said something like:
>> I'm trying to compile the latest/greatest kernel in order to
>> get support for my 1mb/sec QIC80/floppy controller.
> 
>> I got the 1.1.45 kernel, applied all the patches sequentially from
>> 46 to 49 to my 45 source tree, and whenever I do a make dep I always 
>> get this.
> 
>> ksyms.c:13:  linux/blkdev.h: No such file or directory
>> make[1] *** [dep] Error 1
> 
>> I did a diff between a ksyms.c and a ksyms.c.orig and the diffs were
>> that statement and a "BLOCK DEVICE" section towards the end.
> 
>> Can/Should I compile even with this dependency error?
> 
> I ran across the same thing when I compiled the 1.1.49 kernel.  The
> patches seem to not place some of the files correctly. If you look in 
> directory you applied the patches from (probably /usr/src or 
> /usr/src/linux) I'd bet that you'll see some stray .h and .c files.
> Look at what source files the make fails on, look at the paths, and move
> the stray files to their proper directories.
> 

Just did this, except I went to 1.1.50 release.  I started with the 1.1.45
tar file, and did the patches 46 through 50 sequentially from the /usr/src
directory.  Then I moved the .c and .h files (I think they were just
blkdev.h, ncp.h, ni52.h and ni52.c) created in /usr/src to the subdirectory
linux/include/linux, then moved entry.S to /usr/src/linux/kernel directory.
Did the standard makes and it booted on the first try!  Did it by modem
too...brave soul I am :)

Take care!

Steve...
============================================================================
|    Steve Kneizys                            [email-masked]       |
|    Director                                 P.O. Box 1000                |
|    Academic Computing                       Collegeville, PA 19426       |
|                                             Phone (215) 489 4111 x 2244  |
|    Ursinus College                          FAX   (215) 489 0634         |
============================================================================

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

From: [email-masked] (Darrel Hankerson)
Subject: Re: Kermit's Bug
Date: Sun, 11 Sep 1994 01:55:14 GMT

In article <[email-masked]> [email-masked] (Lee-Yiaw Ting) writes:

   I tried to use a script to perform auto ASCII pattern transmission. 
   However, the OUTPUT command does not seem to work for sending HEX 00. Any 
   idea? Is this a bug?

   Command I used : output \4\0\1\2\3\5\6\7
                    output \4\8\9\10

   Result : only \4 were transmitted!
   Kermit software : C-Kermit 5A(188), 23 Nov 92, POSIX Numeric 501188.

Here's a note from the author. It comes from the OS/2 version, but perhaps
it will help.

  Date: Fri, 9 Sep 94 15:43:17 EDT
  From: Frank da Cruz <[email-masked]>
  To: "OS/2 C-Kermit Developers and Testers" <[email-masked]>
  Subject: C-K 190 Beta.22

  [OS/2-specific information]
  It is now possible to OUTPUT a NUL (0).  New syntax for the OUTPUT command
  treats \N (note: not \0) as a command to send a NUL.
  [more OS/2-specific information]

--
--Darrel Hankerson [email-masked]

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

From: [email-masked] (Al Longyear)
Subject: Re: Kermit's Bug
Date: Sun, 11 Sep 1994 01:58:11 GMT

[email-masked] (Lee-Yiaw Ting) writes:

>I tried to use a script to perform auto ASCII pattern transmission. 
>However, the OUTPUT command does not seem to work for sending HEX 00. Any 
>idea? Is this a bug?

>Command I used : output \4\0\1\2\3\5\6\7
>                 output \4\8\9\10

>Result : only \4 were transmitted!

Kermit uses C strings. The string terminated at the NUL character.

If you wish to send a NUL to the remote, then use \N with version
5A(190). Earlier versions than this will not accept the sequence.

output \4\N\1\2\3\5\6\7
         ~~

Some remotes will ignore the framing error and see the NUL character
if you send them a break. I DO NOT RECOMMEND THIS IN ALL CASES,
however, it may work if you use the \B sequence to send a break.

If you want 5A(190), the source to cku190 is on kermit.columbia.edu in
the test directory. It will build if you simply issue 'make linux' or
'make linuxtcp' if you want to include 'telnet' mode of kermit.
-- 
Al Longyear           [email-masked]

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

From: [email-masked] (Jacek A. Ponarski)
Subject: mosaic for linux?
Date: 11 Sep 1994 03:58:17 GMT

Hi, 
Is there a mosaic version for linux.  Or maybe some other w3 client.  
Thanks in advance,

--Jacek

--

=====================================================
=====================================================
                   Jacek A. Ponarski
                University of Connecticut

tel. (203)429-8651   email: [email-masked]          
     (203)877-8655   [email-masked]  
fax  (203)429-8651

*****************************************************
  To be or not to be, what was the question again?
=====================================================
=====================================================

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

From: [email-masked] (Stephen Vance)
Subject: Drives with too many heads
Date: 9 Sep 1994 04:26:13 GMT

I hate to post this subject again, and heartily apologize in advance; I did
not think that it would apply to me.  I am trying to install Linux on a new
laptop (Slackware 1.2).  Using the 'bare' boot disk, I get the message

hd.c:  ST-506 interface disk with more than 16 heads detected
  probably due to non-standard sector translation. Giving up.
  (disk 1: cyl=524; sect=63; head=32)

I looked at the source and there is no explanation.  This leaves me unable
to fdisk.  Could someone *please* be kind enough to post or e-mail what I
need to do to get around this???

Thanks in advance,
Steve

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

From: [email-masked] (Mark Swanson)
Subject: Linux and WinTrump problems.
Reply-To: [email-masked] (Mark Swanson)
Date: Fri, 9 Sep 1994 03:58:57 GMT

Linux works perfectly - well, numerous bugs but ...- with WinTrump 1.0 Beta.
This is registered and works fine.  However, WinTrump 1.0 Alpha #18 does not
work with Linux.  Alpha #18 works with Annex term servers, SCO systems, and
suns.  Tried Linux 1.1.49, 1.1.45, 1.1.46 with and without the PC TCP/IP
compatibility option.
What does work with Alpha #18?  Everything except DNS queries!!!!!
Here's a tcpdump of 1.0 Beta. (Which works)
04:56:18.462987 204.50.9.1 > test.bed.net: icmp: echo reply
04:56:18.533315 test.bed.net > 204.50.9.1: icmp: echo request

Now, with Alpha #18, I get:
05:12:58.101099 test.bed.net.1024 > 204.50.9.1.domain: 1+ (46)
05:12:58.132287 modem.bed.net.domain > test.bed.net.1024 1 NXDomain* 0/1/0 (107)
05:13:02.092096 test.bed.net.1025 > 204.50.9.1.domain: 2+ (34)
05:13:02.095127 modem.bed.net.domain > test.bed.net.1025: 2* 1/0/0 (50)

Esentially, it doesn't work.  Absolutely everything else works.  I'm at wits
end.  Any help would be greatly appreciated.
--
Mark Swanson.    [email-masked]
Linux FREE BBS V.Fast 24,000bps.  Ottawa, Canada. (613)-829-1941

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

From: [email-masked] (Joe Beiter)
Subject: UDP checksome errors in /usr/adm/messages
Date: 7 Sep 1994 12:17:32 -0400

I've been seeing the message "nodename kernel: UDP: bad checksum"
in the /usr/adm/messages file. Some nodes are getting this quite frequently
with it being repeated many times.. It almost always followes a line that
says "nodename in.rshd[somenumber]: connect from local.nethost.com"

Is this a problem? Anyone know where I might look for a source of the
problem if it is a problem?  Thanks for anyhelp.. I'll be trying to monitor
this huge group for a response but email would be welcome :)

- JoeB

-- 
-=@=-=@=-=@=-=@=-=@=-=@=-=@=-=@=-=@=-=@=-=@=-
 Joe Beiter   Cosmic Internet Communications 
 [email-masked]
 My views and my opinions are my views and my opinions.

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

From: [email-masked] (Bruce Alan Fraser)
Subject: How can I filter remote print jobs?
Date: 09 Sep 1994 17:18:56 GMT

I have a situation in my office where we have 5 printers in our office
connected to Novell Print queues and an lpd.nlm that processes print
requests from my linux network.  I need a way to filter printer data
before it gets to the lpd on my server.  My current setup is to use
lpr and a remote printer definition in my printcap.  Unfortunately,
this doesn't allow the data to be filtered through the apsfilter I was
using for two page printouts and Postscript conversions.

Someone suggested setting up two printer definitions, one local and
one remote and have the local one send its output ot the remote,
prefiltered.  I haven't been able to get this to work as of yet.  Can
someone give me an explicit example of how this is done or suggest
some alternative method that would allow filtering?  I like the output
produced by apsfilter.  Also, does anyone know where there is a version
of apsfilter later than v2.3?

Thanks,

Bruce Fraser
[email-masked]

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Markus Leist)
Subject: uucp-1.05 problem
Date: Sat, 10 Sep 1994 15:23:43 GMT

hi!

there is a problem with my uucp-system

a foreign uucp host an my system have uucp-connections via uucp-1.05
in case of my initalized uucp-call, we have i-protocol and 1600cps in both
directions.
in case of the foreign hosts call, my system can receive with 1600cps but is
only able to send with 100cps! here we have i-protocol, too!

both systems: 386-40 14400/V42.bis UUCP-1.05 (compiled many times :-( )

any ideas

thx
Markus
-- 
-- Markus Leist - Tel.: 49 2065 53668 
-- [email-masked] (privat) 
-- [email-masked] (uni)

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

From: [email-masked] (Christophe Person)
Subject: Re: setting up route and get rid of SIOCADDRT anoying message...
Date: 10 Sep 1994 23:38:06 -0500

I pulled my hairs of with this for a week and finally discovered that it was
because of LILO (don't have any answer to this yet)

The problem was that I installed LILO on my root/boot partition instead of
in the MBR.

The worse is that this setting is an option of the Slackware 2.0 setup
procedure.

ARGGHH!!! But now it works fine.

Christophe Person
<a href="http://dirac.bcm.tmc.edu/people/chrisp.html">
My WEB Page</a>

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

From: [email-masked] (Srini Seetharam)
Subject: xlock-shadow source ?
Date: 10 Sep 1994 21:17:01 GMT

I recently installed the shadow suite for my linux box.
It runs great. except when  I locked the screen.

bzzzzt !  forgot to install xlock-shadow.

I have been going nuts lookin for the source and/or binaries of
xlock-shadow.

please help...

srini

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