From:     Digestifier <Linux-Admin-Request@senator-bedfellow.mit.edu>
To:       Linux-Admin@senator-bedfellow.mit.edu
Reply-To: Linux-Admin@senator-bedfellow.mit.edu
Date:     Sat, 7 May 94 08:15:21 EDT
Subject:  Linux-Admin Digest #621

Linux-Admin Digest #621, Volume #1                Sat, 7 May 94 08:15:21 EDT

Contents:
  Workround for problem in Curses in Emacs over telnet (B.A.McCauley@bham.ac.uk)
  Re: How To Turn Off IP Forwarding? (Matthew Dillon)
  Re: Getting rid of zombies (Matthew Dillon)
  Re: Got cron problems? Read on (Matthew Dillon)
  Re: DX4/100 vs. pentium _VLB_ benchmark results? (Byron A Jeff)
  Re: help needed with segmentation fault in mailx-5.3b (Gerrit Nieuwenhuizen)
  Re: Curously missing commands: nohup, date, stty (Roger L. Grotle)
  Re: IRQ and Base Address for Starlan Card (Mark Bergman)
  Re^2: Printing Problems. (HIGGINS@DELBOX.ZER.DE)
  ifconfig eth0 [..] : SIOCSIFFLAGS: Try again (raarts@netland.nl)
  Re: How can one capture console message dur (Andrew R. Tefft)
  Re: [PROBLEM] dip-3.3.7-uri, 57600bps & ZyXEL 6.12 (Rob Janssen)
  Re: MultiProccessor Support? (Rob Janssen)
  Re: Adaptec 2842VL support? (Rob Janssen)
  Re: Multi-Port board (Rob Janssen)
  Re: POP Mail Client (Steven Buytaert)

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

From: B.A.McCauley@bham.ac.uk
Subject: Workround for problem in Curses in Emacs over telnet
Date: 05 May 1994 08:35:26 GMT

I noticed that when I telnet into my Linux box from an ANSI (aka
vt320) terminal emulator (usually, but not always, Kermit for DOS) the
screen updates were not perfect. The reson for this is that every
LF character is being interpreted as a CR LF.

The workround for this is simply to modify the "do" characteristic in
/etc/termcap for the vt family of terminals from "^J" to "\E[B".

I think that this reveals a bug either in curses or the pty handler
since using the same release of emacs with the same /etc/termcap on a
different Unix (AIX) does not have this problem. AFAIK there is a call
that can be used on tty devices to contol how ^J is to act, perhaps
this is not working for telnet pty devices. 

Has anyone else experienced similar problems or have a better idea
what is going on?
--
    \\   ( )   No Bullshit!   | Email: B.A.McCauley@bham.ac.uk
 .  _\\__[oo       from       | Phones: +44 21 471 3789 (home)
.__/  \\ /\@  /~)  /~[   /\/[ |   +44 21 627 2171 (voice) 2175 (fax)
.  l___\\    /~~) /~~[  /   [ | PGP-fp: D7 03 2A 4B D8 3A 05 37
 # ll  l\\  ~~~~ ~   ~ ~    ~ |         A1 93 FE EA BE E3 2A 91
###LL  LL\\ (Brian McCauley)  | More: finger bam@wcl-rs.bham.ac.uk

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

From: dillon@apollo.west.oic.com (Matthew Dillon)
Subject: Re: How To Turn Off IP Forwarding?
Date: 4 May 1994 18:47:30 -0700

In article <2q86ci$uf@usenet.pa.dec.com> vore@decatl.alf.dec.com writes:
:
:It appears that Linux 1.0 (Slackware 1.2.0) comes configured with IP Forwarding
:turned on by default.  This is unfortionately wreaking havok with our routers
:and right now I'm running without an ethernet port.
:
:How does one turn IP Forwarding off?  I'd imagine that it's something that 
:might need changes to one(or more) .c or .h files & recompiling the kernel,
:but havn't been able to figure out exactly where.  Any assistance would 
:be greatly appreciated, here or via mail.  Will summarize results.
:
:-- 
:Steven Vore
: vore@decatl.alf.dec.com 
:______________________________________________________________________________
:Opinions & ideas expressed here are not necessarily those of Digital Equipment
:Corporation                                           
:------------------------------------------------------------------------------
:For further information on Digital and how we can help with your Internet
:projects, send mail to info@digital.com or see http://www.dec.com/info.html 
:______________________________________________________________________________

    If you are running routed, don't... it's broken.  IP forwarding in of
    itself is unlikely to be the problem.

                                                -Matt

-- 

    Matthew Dillon              dillon@apollo.west.oic.com
    1005 Apollo Way
    Incline Village, NV. 89451  ham: KC6LVW (no mail drop)
    USA                         Sandel-Avery Engineering (702)831-8000
    [always include a portion of the original email in any response!]


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

From: dillon@apollo.west.oic.com (Matthew Dillon)
Subject: Re: Getting rid of zombies
Date: 4 May 1994 18:50:36 -0700

In article <1994May4.134059.49871@power.ci.uv.es> mulet@mulet.algebr.uv.es () writes:
:Hi linuxers, I'd like to know how to get rid of zombies (kill -9
:"pid" doesn't work)
:Thanks in advance
:
:#       Pep Mulet i Mestre                                          #
:

    A zombie is created when a process exits and the parent has not yet read
    its exit status.  If you have a number of hanging zombie processes, the
    only way to kill them is to kill the parent process that is keeping them
    there.

    You can find the parent process with 'ps l' or 'ps al'... the PPID 
    field is the PID of the parent process.  (You can also use pstree, 
    I think).  Killing the parent will kill all zombies under it.  Of
    course, if you are getting zombie processes then there is probably
    a bug in the parent :-)

                                        -Matt

-- 

    Matthew Dillon              dillon@apollo.west.oic.com
    1005 Apollo Way
    Incline Village, NV. 89451  ham: KC6LVW (no mail drop)
    USA                         Sandel-Avery Engineering (702)831-8000
    [always include a portion of the original email in any response!]


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

From: dillon@apollo.west.oic.com (Matthew Dillon)
Subject: Re: Got cron problems? Read on
Date: 4 May 1994 18:55:38 -0700

In article <m0pykae-0000boC@kitana> kitana!sysop@caprica.com (JL Gomez) writes:
:I've been having loads of problems with shell scripts running
:Slackware's crond which is V2.
:
:I've upgraded to V3 of vixie-cron and all my problems went away.
:
:So, if you have problems, I suggest you upgrade cron.
:The source can be found at sunsite.unc.edu as cron3.0pl1.tar.gz
:
:I've e-mail Patrick for this suggestion.
:
:Good luck!
:-- 
:sysop@kitana.org

    I've also written, completely from scratch, a crontab/crond for people
    who do not like the complexity of vixie cron.  It's on sunsite.unc.edu
    in pub/Linux/Incoming as dcron22.tgz and dcron22.lsm.  One of the major
    differences is that my cron runs everything with /bin/sh instead of
    the user shell, which makes crontabs portable and workable for 'special'
    users without having to resort to what I consider to be silly hacks.
    Read the README and man page for more info.

                                                -Matt

-- 

    Matthew Dillon              dillon@apollo.west.oic.com
    1005 Apollo Way
    Incline Village, NV. 89451  ham: KC6LVW (no mail drop)
    USA                         Sandel-Avery Engineering (702)831-8000
    [always include a portion of the original email in any response!]


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

From: byron@cc.gatech.edu (Byron A Jeff)
Subject: Re: DX4/100 vs. pentium _VLB_ benchmark results?
Date: Thu, 5 May 1994 02:03:24 GMT

In article <vhv07118-040594183944@mac18.110.sw-building.uh.edu>,
Rhetoric the Persuader <vhv07118@menudo.uh.edu> wrote:
>In article <1994May04.145532.14008@taylor.wyvern.com>,
>mark@taylor.wyvern.com (Mark A. Davis) wrote:
>
>> A DX4/100 is still accessing memory as a 25 Mhz 486.
>
>The DX4 is a triple speed chip, not a quadruple speed chip.  Go fig.

This is correct.

>
>> I am still looking for a DX2/100, which would access memory as a 50 Mhz 486...
>
>I doubt you'll find one.  It's just not cost effective, yet, to produce a 
>50 Mhz subsystem.  Maybe in a few more years.

This is not. The DX4 has a 50 Mhz x 2 mode to give you 100 Mhz internal and
50 Mhz bus.

BAJ
>-- 
>Rhetoric the Persuader    vhv07118@menudo.uh.edu
>
>"Please Sir, I'd like some more."  --Oliver Twist


---
Another random extraction from the mental bit stream of...
Byron A. Jeff - PhD student operating in parallel!
Georgia Tech, Atlanta GA 30332   Internet: byron@cc.gatech.edu

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

From: nieuwhzn@dxgsia.cern.ch (Gerrit Nieuwenhuizen)
Subject: Re: help needed with segmentation fault in mailx-5.3b
Date: Tue, 3 May 1994 19:33:27 GMT

In <Cp0wEx.3A0@cbfsb.cb.att.com> ncherry@cbnewsg.cb.att.com (neil j.cherry) writes:

>In article <2pofit$tm@dancysoft.jpl.nasa.gov> root@dancysoft.jpl.nasa.gov (The Root of all Evil) writes:
>>In article <KIRK.94Apr23103741@speech.braille.uwo.ca>,
>>Kirk Reiser <kirk@speech.braille.uwo.ca> wrote:
>>>I was wondering if anyone has run into the segmentation fault error
>>>with the mailx-5.3b package.
>>Yep.  The solution is the use the statically linked version that comes with
>>the package. I don't know why statically linked programs won't segfault when
>>a shared library one will.  Can anyone explain this to me?

>I'm curious, to all the people who've had segmentation faults on a regular
>basis: What version of Linux were you running and what vendor package did
>you use? (ie. SLackware, SLS, TAMU, Debian, etc.).

>NJC

Same problem here. I'm using PAW (a big data analysis package) to
look at my data even when I'm traveling around with a Linux notebook.
The newest version of PAW is using shared libraries and I don't get
PAW to work because of a segmentation fault. With the statically linked
version I had no problems. 
The problem could be related to the only 4 Meg of memory in my notebook.
When using my old 386 with 8 Meg at home everything seems to be OK.
Sorry that I can't give solutions, only problems.

                        Greetings, Gerrit


                                Gerrit J. van Nieuwenhuizen
                                CERN-PPE-IO
                                Building 595, R-004
                                CH-1211  Geneve 23
                                Switzerland
                                nieuwhzn@dxgsia.cern.ch
                                  (or NIEUWHZN@VXWA80.CERN.CH)
                                tel.: +41 22 767 4740
                                fax : +41 22 782 4897



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

From: edb05@oliven.bih.no (Roger L. Grotle)
Subject: Re: Curously missing commands: nohup, date, stty
Date: 7 May 1994 11:06:18 GMT

Howard Hoffer (marlin@u.washington.edu) wrote:
> I have been compiling a list of things that I am used to doing
> on my Sun SparcStation that I can't do on my Linux setup.

> date was one command I used to check the date and time.

> nohup for executing a process, then logging off without the 
>    process terminating

> stty for changing your backspace character and setting number
>    of bits per character and numerous other things.

Are you sure that you've got your search path right?

--
==========================+==================================
 Computers can never      |  edb05@bih.no
 replace human stupidity  |  Roger Lexau Grotle 
==========================+==================================


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

From: bergman@panix.com (Mark Bergman)
Subject: Re: IRQ and Base Address for Starlan Card
Date: 4 May 1994 01:33:22 -0400

In article <0097D95B.D4599100@vms.csd.mu.edu> 2761jaegerm@vms.csd.mu.edu writes:
>Hello all,
>       Just wondering if anyone knows the IRQ and base address I should try
>with a AT&T Starlan network card.  I will post if I get it right!
>                               Thanks
>                                       Jaegs

I can tell you the IRQ/base address on the 7 cards I have, and their
corresponding jumpers, but it sure would be easier to do it the other
way around...  Let me know the revision and jumper settings on your
card, I'll see if I have a card with the same revision, set the jumpers
to match, and the tell you what the diagnostics disk reports.

I'm _very_ interested in using these cards under Linux, with a mixed
DOS/Linux network.  Let me know what you are trying, and if you have any
DOS or Linux drivers.

I may have a cheap source for hubs if you are interested...

----
Mark Bergman    Biker, IATSE #1 Stagehand, (former) Unix user support grunt
718-855-9148    
I want a newsgroup with a infinite S/N ratio! Now taking CFV on:

rec.motorcycles.stagehands.pet-cockatiel-owners.pinballers.ex-unix-supporters
        2 So Far

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

From: HIGGINS@DELBOX.ZER.DE
Subject: Re^2: Printing Problems.
Date: Thu, 05 May 1994 21:42:00 +0200

xjzhu@math.uwaterloo.ca meinte am 02.05.94
zum Thema "Re: Printing Problems.":

> In article <gpiercey.767806103@morgan>,
> Gary Piercey <gpiercey@morgan.ucs.mun.ca> wrote:
> >The first thing it suggests to do is cat a text file to the parallel
> >device.  So I type:              cat file.txt >/dev/lp0
> >as root and I get the error   bash: /dev/lp0: No such device
> >So I check the /dev/  directory and it exists along with lp1 and lp2.
> >I only have one parallel port on my computer so I assumed it was lp0.  I
> >tried lp1 and experienced the same error.
> >/etc/printcap so I haven't fooled around with it yet.  I don't
> >understand why I can't print a text file using cat file.txt >/dev/lp0.
> >Can anyone enlighten me about printing under Linux.  Please e-mail me
> >with your response.  I do not regularly monitor this newsgroup.
> >
> >Gary Piercey
> >garyp@garfield.cs.mun.ca
>
> Similarly problem here, except my printer is a dot matrix printer.
> One thing different is that I could use cat file > /dev/lp1
> While the printer is on LPT1, it should be /dev/lp0 instead, isn't it?
> XJ
The Solution:

  The first possible/recognized parallel port is on the optional
  Hercules-Graphic-Card. In modern PC's this card is no longer
  present, but possible along with a VGA-Card.
  This Hercules-Card posessed a parrallel-port, which will be
  the first par-port in the case, the card is installed.
  So lp0 is this optional port, lp1 is the first par-port not
  on the herc-card etc.


Ciao
  Higgins

--
You can escape the gates of hell, say DOG and WINDOG,

         USE LINUX   :-)     !
## CrossPoint v3.0 ##

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

From: raarts@netland.nl
Subject: ifconfig eth0 [..] : SIOCSIFFLAGS: Try again
Date: Sat, 7 May 1994 10:29:00 GMT

I get the above error. What does it mean? What can I do?
I can provide more information.

thanks,
Ron


-- 
NetLand Internet Services - Email, Usenet, gopher, WWW, ftp, telnet etc
We can also set up an Internet-connected BBS for your organisation
Info: +31-(0)20-6943664, dial-up +31-(0)20-6940350, Email: help@netland.nl

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

From: teffta@cs690-3.erie.ge.com (Andrew R. Tefft)
Subject: Re: How can one capture console message dur
Reply-To: teffta@cs690-3.erie.ge.com
Date: Tue, 3 May 1994 19:40:04 GMT

In article 767834860@reading, shrchin@reading.ac.uk (Jonathan. H. N. Chin) writes:
>shmuel@io.org (Shmuel Weidberg) writes:
>>Simply press shift pgup to access the scroll-back buffer.
>
>Doesn't work on my machine.
>At least not while I am running X and switch back to vc1.

True, the scrollback buffer gets cleared when you switch vc.

---

Andy Tefft               - new, expanded .sig -     teffta@cs690-3.erie.ge.com



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

Crossposted-To: comp.dcom.modems,
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: [PROBLEM] dip-3.3.7-uri, 57600bps & ZyXEL 6.12
Date: Sat, 7 May 1994 09:09:32 GMT
Reply-To: pe1chl@rabo.nl

In <DELMAN.94May6115546@mipgsun.mipg.upenn.edu> delman@mipg.upenn.edu (Delman Lee) writes:

>Hi! I am having problems with my autologin script for dip since I
>upgraded to the latest ZyXEL 6.12 ROM. The dip autologin script works
>fine with my old 6.00 ROM.

>I am using dip-3.3.7-uri (18 Apr 94), Linux 1.1.11, a ZyXEL U-1496E
>modem.

>As I understand it, in dip-3.3.7, setting the speed to 57600 means
>that the port speed is set to 38400 and then a flag (spd_hi) is set in
>the serial driver to use 57600 when 38400 is requested. Basically
>elminating the need to run "setserial /dev/cua1 spd_hi" before
>starting dip.

[...]

>Anybody out there having a similar problem? Any Linuxers that uses dip
>and have a ZyXEL modem with the latest ROM?

I wrote that addition to DIP (the 57600 bps setting internal to DIP),
and my own modem is a ZyXEL running the 6.11 firmware.  I have not had
problems with it.  Maybe I'm in for some trouble at the next upgrade?

I have seen some problem with automatic speed detection in this and
other modems before.  The crucial point is that there has to be some delay
(silence) BEFORE each AT command.  It often does not work ok when you
send a command to the modem immediately after detecting an OK response.
In another program (a voice answering machine I wrote for the ZyXEL), I
first wait for the <lf> in the OK<cr><lf> sequence, and then wait another
20ms before sending the next command.
In DIP, there are much longer delays in certain places, but you can also
send rapid commands by programming your own script, and maybe this confuses
the modem.

With 6.11 in the modem, I use scripts like this for dialling:

  # Set the desired serial port and speed.
  port ttyS5
  if $errlvl != 0 goto modem_trouble
  speed 76800

  # Reset the modem and terminal line.
  # This seems to cause trouble for some people!
  reset
  init ATM3

  if $errlvl != 0 goto modem_trouble
  dial 123456
  if $errlvl != 0 goto modem_trouble
  wait CONNECT 60
  if $errlvl != 0 goto modem_trouble

This works ok.  Note that I do not attempt to use "send AT, wait for OK"
sequences, but use the higher-level commands that have built-in waits.

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: MultiProccessor Support?
Date: Sat, 7 May 1994 09:47:00 GMT
Reply-To: pe1chl@rabo.nl

In <2q728r$7rr@charm.magnus.acs.ohio-state.edu> ewalton@magnus.acs.ohio-state.edu (Elaine Walton) writes:

>However, for tightly coupled MPUs process distribution can be managed solely by
>the OS.  Using a fork() (a loosely coupled connection) an MPU calls the OS to
>pass the I/O pipe data through shared queues (standard semiphore control is a
>must).  Yet, threads are different matter.  The compiler MUST lock all 
>critically sectioned shared data.  Otherwise, there will be no control.  
>Consider the following example:

>          Thread #1                      Thread #2
>        --------------                ----------------
>CPU TIME1  MOV AX, SharedData             ??????
>        2  ADD AX, #20                    MOV AX, SharedData
>        3  MOV SharedData, AX             SUB AX, #30
>        4   ????????????                  MOV SharedData, AX

>If SharedData began with #50, what would be the result?  Even the Pentium's
>cache snooping won't help here.  The compiler must tell the other processors to
>wait for that section of memory.  Under normal circumstances, the case above
>will probably not happen, unless several processors are working on matrix
>arithmetic.  HOWEVER, its that possibility of data corruption is really
>annoying. ;)

I think it is the responsibility of the programmer, not the OS or the
compiler, to avoid cases like the above.  When writing concurrently
running threads, one should use semaphores or other locking mechanisms to
avoid concurrent modification to the same data.
This has little to do with multiprocessing, it will be necessary with
preemptive multithreading as well.

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Adaptec 2842VL support?
Date: Sat, 7 May 1994 09:48:36 GMT
Reply-To: pe1chl@rabo.nl

In <jmcnamCp8IB6.40I@netcom.com> jmcnam@netcom.com (Joe McNamara) writes:

>    Does anyone have a driver/patch for the latest version of linux that 
>will recognize a Adaptec 2842VL fast scsi-ii controller?  If so, please 
>leave some info.  I have 400megs of unpartitioned space waiting for it.  

No.
(or at least, if anyone does they are still testing it and have not released
it for general use)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Multi-Port board
Date: Sat, 7 May 1994 09:49:35 GMT
Reply-To: pe1chl@rabo.nl

In <2q6a8g$7dd@vixen.cso.uiuc.edu> roth@ux4.cso.uiuc.edu (Roth Mark Daniel) writes:

>I am looking for a good multi-port board with 6-8 serial ports on it.
>It needs to have the CTS/RTS flow control signal lines and (of course)
>16550 UARTs.  And, naturally, it needs be supported by Linux.

>A friend of mine has an 8-port board by Boca which lacks the flow
>control lines, but I have heard that they make a 6-port version with
>these pins.

I am using that board (the ioAT66) and it works ok with Linux.

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: buytaert@imec.be (Steven Buytaert)
Subject: Re: POP Mail Client
Date: Sat, 7 May 1994 11:47:56 GMT

Carlo James Calica (calica@cae.wisc.edu) wrote:
: I'm looking for a POP Mail Client that runs under Linux.  I can
: find a POP server no problem but I need a client.

  Carlo,

  Search around somewhere in the Slackware distribution. I use
  the popclient from there. It's simple, straightforward and
  small. It supports both POP 2 and POP 3 protocols...
  First download the 00index file to check where it is.

  --Stef

--
Steven Buytaert 

phone   : +32 16 281 271
fax     : +32 16 281 584
e-mail  : buytaert@imec.be

"Asking a paracommando to hand in his gun with the enemy
is like asking a nun to perform a public striptease."

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


** 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: Linux-Admin-Request@NEWS-DIGESTS.MIT.EDU

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

    Internet: Linux-Admin@NEWS-DIGESTS.MIT.EDU

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