Files
oldlinux-files/docs/mail-archive/linux-admin/Volume2/digest8
2024-02-19 00:23:35 -05:00

566 lines
20 KiB
Plaintext

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: Thu, 1 Sep 94 02:13:27 EDT
Subject: Linux-Admin Digest #8
Linux-Admin Digest #8, Volume #2 Thu, 1 Sep 94 02:13:27 EDT
Contents:
Re: 4P Serial on same IRQ ? (Rob Janssen)
DNS & 'format error no SOA record...' (MATTHEW CROCKER)
Re: FTape problems (Conner 250) (Michael James Porter)
xmkmf failed. (Alex Y. Chang)
Set up a newsgroup on Linux (Ti Co Nuong)
Re: Q: NFS, Linux -> Macintosh (Wayne Walker)
Setting up Smail for SLIP (was Help setting up Smail for Linux) (John Alonzo Breen)
Re: Crond annoyance (Matt Warnock)
Re: Swap Space... a simple question. (Norbert J. Girardi)
Which is better: tar->gzip or gzip->tar? (Jeff Arnholt)
Re: [Q] Routing Problem/Question! (Jerry Ablan)
Where is newgrp source code? (Admin)
Re: Is it possible to have NFS via TERM (Jagadeesh Krishnamurthy Venugopal)
Re: How to kill the unkillable ? (Preston William Gilchrist)
Re: Linux hangs up and no trace why (Jim Gifford)
Re: Testing a pointer (Kai Petzke)
Re: Shutting down when running in runlevel 6 (X) (sharpe randall k)
----------------------------------------------------------------------------
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: 4P Serial on same IRQ ?
Reply-To: pe1chl@rabo.nl
Date: Wed, 31 Aug 1994 19:36:45 GMT
In <340vpr$c7e@quandong.itd.adelaide.edu.au> mayfield@itd.adelaide.edu.au (rob) writes:
>Ive set up an MS400 card with all 4 ports on irq7, using the AA4RE interrupt
>sharing mod (4x1n4148, 1x4.7kOhm etc).
>Every time I use setserial to set the serial irq's to 7, it locks up the whole
>machine (I know it warns about this).
>I have no parallel ports, scsi is on 5. Ive tried it as ttyS0-3, and also with
>a dual port S0-1 with the 4 port at S2-5, as well as removing the 2 port and
>just trying the 4 port as ttyS4-7 et al. same results all the time. I also tried
>the IRQ commoned to 2/9 instead of 7 (2 is a standard setting for the MS400, 7
>has to be engineered :-)
I would expect it to work that way. I have used such a card myself in the
past, but not with Linux. The card I use now is not that different from it.
Note that you must pass the flag '^fourport' to all setserial commands
on ttyS4 and above, as they are defaulting to AST Fourport cards which will
cause trouble.
I would put the board in the ttyS4-7 region to avoid it being autodetected
with the wrong interrupts at boottime.
Rob
--
=========================================================================
| Rob Janssen | AMPRnet: rob@pe1chl.ampr.org |
| e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU |
=========================================================================
------------------------------
From: crocker@opine (MATTHEW CROCKER)
Subject: DNS & 'format error no SOA record...'
Date: 31 Aug 1994 14:37:23 GMT
I'm trying to setup named on a linux system (it will be on the
internet in a week or so). I try to run named but I get errors in my
syslog saying that I haven't defined a SOA record. I followed the
examples in the NAG and I've stared at named.boot & named.hosts but I
still can't see whats wrong (I do have a SOA record, makes perfect
sense to me...) Are there file permissions that need to be set?
Is there something stupid that I'm overlooking?
My SOA record looks like this: (from memory)
;
; Origin : crocker.com
;
@ IN SOA dns.crocker.com. (
matthew.crocker.com.
1 ; serial
4000 ; refresh
4000 ; expire
4000 ; minimum
)
IN A dns.crocker.com.
IN MX rmc1.crocker.com.
[...]
The numbers for refresh & expire etc are not what I have in the file,
I'll have to get the actual files and post them in a few days...
Any hints? Can anybody send me their working named.boot etc?
just tar & gz & uuencode them to my email...
mcrocker@twain.ucs.umass.edu
Thanks
-Matt/2
--
-Matthew S Crocker "The mask, given time, comes
mcrocker@twain.ucs.umass.edu to be the face itself." -anonymous
*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*OS/2*
*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*linux*
------------------------------
From: mike@strauss.udel.edu (Michael James Porter)
Subject: Re: FTape problems (Conner 250)
Date: 31 Aug 1994 10:47:44 -0400
There are several things that you need to think about:
1. As mentioned, the 'CONNERBUG' flag may need to be defined in the
source. When the CONNER (DOS and WINDOWS) program formats the
floppy, it writes an incorrect value in the header. If you
bought a preformatted tape, you shouldn't have this problem.
2. Look at the messages produced by the driver. I'm pretty sure you
can see them by running dmesg, or maybe they end up in a file
in /var/adm - I forget. In any case, they'll tell you a lot.
3. I often have to erase the tape - mt -f /dev/ftape erase before
using tar.
In article <CvCxzF.FDJ@mcdgs01.cr.usgs.gov>,
Rob Fugina <rfugina@mcdgs01.cr.usgs.GOV> wrote:
=>I've been slowly trying to get one thing working at a time since I installed
=>Linux on my PC several months ago. I am currently stuck on FTape. I have
=>a Conner 250MB tape drive. I have also just done a clean install of the
=>Slackware 2.0.0 distribution. The command 'mt -f /dev/ftape retension' works
=>fine, but to tar to the /dev/ftape device results in 'I/O error'. The Conner
=>manual suggests a jumper be removed from the drive for Unix operating systems
=>that has something to do with auto-positioning. This didn't make a difference.
=>Can anybody give me some hints as to why it's not working?
=>
=>Rob
=>
=>--
=>Rob Fugina, Systems Analyst ** I think, therefore I am not politically correct.
=> rfugina@mcdgs01.cr.usgs.GOV, robf@umr.edu, robf@cs.umr.edu, robf@ee.umr.edu
=> GE/CS d-(---) p c++++ l++ u++ e- m+ s+/- n--- h-- f? !g w+ t+ r y?
=> http://mcmcweb.cr.usgs.gov/~rfugina/
------------------------------
From: ytchang@magnus.acs.ohio-state.edu (Alex Y. Chang)
Subject: xmkmf failed.
Date: Wed, 31 Aug 1994 04:51:35 GMT
Hi, there:
Recently, My linux box crashed because of the faulty harddrive. After I
reinstall the system(almost very thing), the xmkmf ceases to function. Each
time I tried to complie an X application using xmkmf. I got,
cpp:No input files. And, I get an empty Makefile. I have tried to reinstall
XFree2.1 from the scratch. The problem still won't go away. Does anyone have
the same problem? Please email me if you know what is going on. Thanks in
advance.
Alex
------------------------------
From: kimxuyen@haden.EECS.Berkeley.EDU (Ti Co Nuong)
Subject: Set up a newsgroup on Linux
Date: 31 Aug 1994 21:54:04 GMT
Hi, I am new to Linux so please bear with me.. :(
I have a PC running Linux and I would like to setup a
local newsgroup on the machine. The reason is there are
some people using the machine at diff. time during a day.
My machine has no network connection. So how to setup a
local newsgroup so that people can "rn aa.bb.cc"?
I don't want to use email
Thanks in advance. I would appreciate if someone emails me
the solution (I don't access this newsgroup ofter)
Thanks again.
.
------------------------------
From: novare@crl.com (Wayne Walker)
Subject: Re: Q: NFS, Linux -> Macintosh
Date: 30 Aug 1994 21:58:48 -0700
John Lamp (jw_lamp@tasman.cc.utas.edu.au) wrote:
: Tony A Rippy <tr2n+@andrew.cmu.edu> writes:
: > I have a similar question. Is there a project in the works to
: >support the mounting of a Macintosh disk? (f.e. like mounting a MSDOS
: >floppy) Right now, whenever I want to transfer data between MAC/PC disks
: >I have to find a Mac with a superdrive and transfer to an MSDOS disk,
: >and _then_ take it to Linux. I was just wondering if at a time loooong
: >down the road if Linux will have mount support for other OS's.
: Doubt it. Mac disks! Better to use Fetch on the a Mac connected by TCP/IP
: to the linux box and use the "put file" command (or button). Fetch will
: binhex the file on the way.
: Now if what you want to do is convert the file, rather than make a disk
: image, that's a different prospect entirely.
: --
: -- jw_lamp@postoffice.utas.edu.au : John Lamp --------------------------------
: Oh oh. Better make myself look big.
: --------------------------------- http://131.217.21.97/jw_lamp/jw_lamp.html --
------------------------------
From: jab3@motel6.cec.wustl.edu (John Alonzo Breen)
Crossposted-To: comp.mail.smail
Subject: Setting up Smail for SLIP (was Help setting up Smail for Linux)
Date: 31 Aug 1994 21:01:01 GMT
In article <33og7t$835@pop0.rain.rg.net>,
Paul Bingman <paul@edgewood.portland.or.us> wrote:
>
>First off, please take a few minutes and fix your email return address.
>I think it's pretty unlikely that you are really on the registered domain
>of "myhost.subdomain.domain".
By sheer coincidence, I was reading this newsgroup to ask this very
question (which probably isn't limited to smail, but it's the one I'll
be using).
How should one configure hostname/return address on SLIP connections?
The hostname/ip address I'm assigned changes everytime I make the
connection; besides, I don't really want replies sent here - I want
them sent to a host that's up most of the time. And other users may
want to have replies sent to other hosts. And having something like
"myhost.subdomain.domain" in the headers looks ugly, even if replies
aren't going there.
So...is there a way to have the From: field (or alternately, the
Reply-to: field) set differently on a user-by-user basis? I'm using
the version that came with Linux Slackware 1.2 (version 3.something,
maybe?) but I'm assuming this is a fairly generic question.
[I realize a thorough reading of the smail manual would answer most of
this, but I've only been able to locate a 1988-vintage copy of it, and
it won't print on our laser printer for some reason. Can someone
point me to where I can get the latest manual, without having to
download the whole distribution?]
Thanks.
--
John A. Breen
jab3@cec.wustl.edu
--
John A. Breen | I teleported home one night with Ron & Sid & Meg.
jab3@cec1.wustl.edu | Ron stole Meggie's heart away, and I got Sidneys's leg.
| - Douglas Adams
------------------------------
From: mwarnock@garlic.com (Matt Warnock)
Subject: Re: Crond annoyance
Date: 31 Aug 1994 18:00:29 -0700
In article <33vsmv$lc9@nkosi.well.com>,
Patrick J. Volkerding <gonzo@magnet.mednet.net> wrote:
>In article <33uq7b$pbd@agate.berkeley.edu>,
>Greg Jesus Wolodkin <greg@muttley.EECS.Berkeley.EDU> wrote:
>>The fact that it's Dillon's crond isn't the problem at all -- as far as I
>>can tell it's just Slackware 2.0's install. Try "ps -aux | grep cron" and
>>you'll find you have two of them running. One is started in rc.M, I think,
>>and the other is in rc.inet2.
Not so. ONly one running, but it poops on the screen all the time.
But only on VC1. Still, its an annoyance.
--
W. Matthew Warnock, Attorney (mwarnock@garlic.com) Tel:408.778.7273
60 West Main Avenue, Suite 12A, Morgan Hill CA 95037-4553 Fax:408.778.7989
------------------------------
From: girardi@rniil.rni.sub.org (Norbert J. Girardi)
Subject: Re: Swap Space... a simple question.
Date: Wed, 31 Aug 1994 18:19:24 GMT
George W. Pogue (gwp@dithots.org) wrote:
: I've been monitoring the free command over the past several weeks, more to get
: an understanding of how memory is affected than to troubleshoot; But, I've run
: across something interesting enough to look for an answer.
[ woes about 1 MB permanently in swap, deleted ]
: I would like to see the system give back the 1M, or does the system use it
: and never return it? If it keeps it, why? Sure, its not a big deal, I just
: want to understand better.
It really is no big deal. One time in the 33 days your system needed
all the real memory, so some *unused* processes got swapped out.
Since then they are *sleeping* in swap because nobody woke they up :-)
Of what use would it be to swap those *sleeping* processes back into
real memory?
Look at a ps -ax from my box:
PID TTY STAT TIME COMMAND
[snip]
38 con S 0:00 /usr/sbin/syslogd
40 con SW 0:00 (klogd) # <- look here
42 con SW 0:00 (inetd) # <- and here
44 con SW 0:00 (lpd) # <- and here, too
56 p 4 S 0:00 -bash
47 con S 0:00 /usr/sbin/crond
57 p 5 S 0:00 /sbin/agetty 38400 tty5
[snip]
Processes 40, 42 and 44 are swapped out.
42 [ inetd ] is in swap because the other system in my 2 boxes mini net
is off.
44 [ lpd ] is in swap because I have not printed anything since I needed
real memory for something serious ( viewing dirty pictures with xv ;-) )
40 [ klogd ] is in swap because the kernel didn't want to talk to me
in the meantime.
As soon as any of these -swapped out- processes gets a "WAKE-UP" by the
kernel they will return into real memory.
- Norbert
--
SSSSSS SQUAREDANCE is FRIENDSHIP set to MUSIC.
S QQSQQQ Norbert J. Girardi < girardi@rniil.rni.sub.org >
SSSQSS Q Voice: +49 621 493417 (h) +49 621 381-3260 (w)
QQQQQQ If you know how to REPAIR YOUR SQUARE :-) drop me a line
------------------------------
From: arnholt@mayo.edu (Jeff Arnholt)
Subject: Which is better: tar->gzip or gzip->tar?
Date: 31 Aug 1994 16:23:02 GMT
Reply-To: arnholt@mayo.edu
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 arnholt@mayo.edu
Mayo Medical and Graduate Schools
200 1st St. SW, Rochester, MN 55905
------------------------------
From: munster@cboe.com (Jerry Ablan)
Crossposted-To: comp.os.linux.help,comp.os.linux.misc
Subject: Re: [Q] Routing Problem/Question!
Date: 31 Aug 1994 10:14:25 -0500
Once upon a time, Alan Cox wrote:
: In article <330mv3$pa@kevorke.cboe.com> munster@news.cboe.com (Jerry Ablan) writes:
: >Packets coming in for 198.160.147.* are not being routed from the sl0 device
: >to the eth0 device, and vice versa. Packets from 198.160.147.27 are getting
: >to .28, but are not utilizing the default route, they just die!!
: Have you got a 1.1.x kernel and not got IP routing enabled in the config?
: Also make sure its not packets going out and the other end of the slip
: link not having a route back.
Yes that was exactly the problem. It's all fixed now. Thanks.
--
.----------------------------------------------------------.
| Jerry Ablan Chicago Board Options Exchange |
| Sr. Systems Developer LaSalle at Van Buren |
| Distributed Systems Division Chicago, IL. 60605 |
|----------------------------------------------------------|
| "I have always believed that I was slightly saner than |
| most people. Then again, most insane people think |
| this." -- Truman Capote |
|----------------------------------------------------------|
| GAT: d--(?) -p+ c++++ l++ u+ c+(*) m+(++) s++/++ !n |
| h---(--) f+ g+++ w++ t++ r++ y**(--) |
`----------------------------------------------------------'
------------------------------
From: admin@mrcsb.com (Admin)
Subject: Where is newgrp source code?
Date: 31 Aug 1994 20:46:06 GMT
I need the source code for an executable in /usr/bin It is: newgrp
and I haven't been able to find it at ftp.cdrom.com or tsx-11.mit.edu
in the linux-sources directory and would like to know where it may be
found. THANKS FOR THE HELP LANCE PURDY
admin@photon.mrcsb.com
------------------------------
From: jkvg@everest.ccs.neu.edu (Jagadeesh Krishnamurthy Venugopal)
Subject: Re: Is it possible to have NFS via TERM
Date: 31 Aug 94 22:35:37
> Is it possible to have NFS via TERM-connected network ?
I am not too certain about this but I remember having read somewhere that NFS
is a connectionless protocol and term is only for connection priented
services, so I dont think you can get one.
But who knows!
--
Jagadeesh K. Venugopal
Graduate Student, College of Computer Science
Northeastern University
Boston, MA 02115
xmosaic url: http://www.ccs.neu.edu/home/jkvg
------------------------------
From: pwg7503@tamsun.tamu.edu (Preston William Gilchrist)
Subject: Re: How to kill the unkillable ?
Date: 31 Aug 1994 00:42:36 -0500
I'm sure some processes might be unkillable, but almost all I have encountered
that could not be killed with plain kill could be kill with the following:
kill -KILL <process>
This should do for most things.
--
Preston Gilchrist Texas A&M University, Computer Science
E-Mail: mystic@tamu.edu http://tamsun.tamu.edu/~pwg7503/
------------------------------
From: jgifford@moe.coe.uga.edu (Jim Gifford)
Subject: Re: Linux hangs up and no trace why
Date: 1 Sep 1994 02:57:00 GMT
Mark Krischer (mkrisch@avalanche.mpce.mq.edu.au) wrote:
: In article <342438$khg@dawn.mmm.com>, uspra016@mmm.com (John Sundberg) writes:
[stuff deleted...]
: i think i know what the "failed" is from.
Great, I also get this with 1542b
: i had it as well until i fixed the setting for my Adaptec SCSI. check the SCSI FAQ. it's
: not the simplest thing to read--but hey, it's a document for running UNIX :) anyway, there
: are some notes about adding command line parameters to LILO. when i fixed that, the CD-ROM
: worked and "failed" went away, to be replaced by information concerning the CD-ROM hookup.
: hope that helps.
It would help a lot more if our newsserver didn't eat any character past
column 80.
Oh well, to be so close yet so far .....
Later,
Jim
------------------------------
From: wpp@marie.physik.tu-berlin.de (Kai Petzke)
Subject: Re: Testing a pointer
Date: 31 Aug 94 19:01:01 GMT
rob@pe1chl.ampr.org (Rob Janssen) writes:
>In <014320JJFWNEAXUEJBGU@cml.com> dsnider@cml.com writes:
>>Is there a command/function in C to test if a pointer is pointing to
>>accessable memory? GDB can tell you if a pointer's contents are
>>"unaccessable"... so there must be a way.
>Just catch SIGSEGV and dereference it?
Well, a bit of a brute force method. But you could try the following:
- Use brk() to obtain the end of the BSS area. If your pointer is
below that address, it is valid (except for QMAGIC executables,
which start at address 0x1000, not 0).
- Write a function, which declares one automatic variable, and returns
the address of that variable as a void *. Then compare your pointer
to that address. If your pointer is higher than this, and lower than
0xc0000000, then it is on the stack.
--
Kai Petzke | How fast can computers get?
Technical University of Berlin |
Berlin, Germany | Sol 9, of course, on Star Trek.
wpp@marie.physik.tu-berlin.de |
------------------------------
From: sharpe@uxa.cso.uiuc.edu (sharpe randall k)
Subject: Re: Shutting down when running in runlevel 6 (X)
Date: 1 Sep 1994 03:13:10 GMT
"Eric Jeschke" <jeschke@cs.indiana.edu> writes:
>Check out
> man xmodmap
>to learn how to remap keys under X. You can do this in your
>own .xinitrc or in the Xdm scripts.
>--
>Eric Jeschke | Indiana University
>jeschke@cs.indiana.edu | Computer Science Department
I was looking for a more global solution. I have found one:
*ttyModes: intr ^C quit ^\\ erase ^? kill ^U eof ^D start ^Q stop ^S susp ^Z rprnt ^R lnext ^V flush ^O weras ^W
in the XTerm file in app-defaults. I also put stty sane in the global
shel scripts, /etc/csh.login, /etc/profile, /etc/ksh???
This solved the problem for me so far, at least with xterms and xterms
-Cl
------------------------------
** 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
******************************