Subject: Linux-Admin Digest #20
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 4 Sep 94 02:13:32 EDT

Linux-Admin Digest #20, Volume #2                 Sun, 4 Sep 94 02:13:32 EDT

Contents:
  Re: FTAPE...Im' soo close, yet so far???? (Michael James Porter)
  Re: Using an Exabyte with Linux
  Re: [HELP]  NIGHTMARE CONFIGURING THE NETWORK WITH A 3C503/16 PLEASE HELP !! (David Miller)
  Re: Is it possible to have NFS via TERM ? (Mr AJ Bradley)
  Re: Which is better: tar->gzip or gzip->tar? (Tom Griffing)
  What kernel/dosemu/netutils is stable? (Matt Warnock)
  Re: Hostname on Slackware 2.0 (Mark A. Horton KA4YBR)
  modurated newsgroups (Hans Petter Fasteng)
  RE: PLIP: Laptop to Desktop ([email-masked])
  RE: FTP via TERM ([email-masked])
  Re: Xconfig for Diamond SS24X ... (Karl J. Runge)
  MediaVision SCSI and MediaVision CDROM - not good (StepheP)
  [ALERT] Password problem with Linux (Jerry Ablan)
  Re: Mysterious serial port. (Park Medical Systems)

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

From: [email-masked] (Michael James Porter)
Crossposted-To: comp.os.linux.misc
Subject: Re: FTAPE...Im' soo close, yet so far????
Date: 1 Sep 1994 23:51:13 -0400

Define FLOPPY_HACK, I think.

In article <[email-masked]>,
RYAN  Colin Patrick <[email-masked]> wrote:
=>Hello,
=>
=>
=>I'm trying to get ftape to go and have run into a snag. I have kernel 1.0.0, 
=>ftape -1.13.b and modutils 0.99.15.pl1. I have succesfully complied the 
=>modules and went throught the drv. hello world test without any problems.
=>I'm pretty sure that make made it to the end of the compile as ftape.o does
=>exist. The problem is when I do 'insmod ftape.o'. I get:
=>
=>darkstar:/usr/src/ftape-1.13b# insmod ftape.o
=>_enable_irq undefined
=>_disable_irq undefined
=>_free_dma undefined
=>_free_irq undefined
=>_request_dma undefined
=>_irqaction undefined
=>
=>Whats up??
=>
=>Thanks ahead....Colin Ryan: [email-masked]
=> 
=>
=>

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

From: <[email-masked]>
Subject: Re: Using an Exabyte with Linux
Date: Fri, 2 Sep 94 12:06:48 CST
Reply-To: <[email-masked]>

On 31 Aug 1994 21:17:12 +0200, 
root  <[email-masked]> wrote:

>
>Hi together,
>
>Unfortunately it seems that linux don't like such a beast :-(
>I plugged it in and everything seems to be okay. While booting the
>kernel tells me Target 5  Exabyte Model: EXB-8200 Rev. 4.25  SCSI-1
>But when I try to access the device nothing happens.
>The streamer had been connected to an old SUN but I haven't got any
>documentation. Did I miss something or doesn't Linux support Exabytes?
>
>By the way, of cause I created the device files.

We use an 8200 also. It gets accessed as /dev/rmt0. The only problem is that
sometimes, the SCSI cable connections aren't "tight" or other flakey cable
problems. Reconnect, Reboot and it runs. This sequence may take a couple
of tries but...

======================================================================
Robert J Brashear                            [email-masked]
Technical Services Manager                   [email-masked]
The One-Off CD Shop Minneapolis              [email-masked]
                                             612-374-4643 (voice)
                                             612-374-3901 (fax)

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

From: [email-masked] (David Miller)
Crossposted-To: comp.os.linux.development,comp.os.linux.help
Subject: Re: [HELP]  NIGHTMARE CONFIGURING THE NETWORK WITH A 3C503/16 PLEASE HELP !!
Date: 3 Sep 1994 16:18:01 -0400

Christophe Person ([email-masked]) wrote:
: Hi,

:       I am still stuck since a week with a network problem and I pull my hairs
: off (and eat my nails also). Please help !!!!!!!!

:       I was running slackware 1.2 without problem for a while and upgraded
: my system WITH THE ORIGINAL/FULL DISTRIBUTION from sunsite.unc.edu. Since, I
: can't anymore boot my new kernel with my 3C503 card.

:       I get this #$&#*$&!   SIOCADDRT Invalid Argument ass soon as I try to
: access it.

        Check your version of libc when you install those new NetKit
programs as they depend on some newer semantics in the libc calls...
Just my 2 cents...

Later,
David S. Miller
[email-masked]
[email-masked]
[email-masked]
[email-masked]
[email-masked]

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

From: [email-masked] (Mr AJ Bradley)
Subject: Re: Is it possible to have NFS via TERM ?
Date: 2 Sep 1994 10:49:25 GMT

>You are wrong. Term versions 1.x only had TCP. Starting with version 2.0.0 now also UDP is available.

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

All of which is true!

Maybe someone can put together a termNFS FAQ or something.. i'd love
to mount /var/news and /var/mail!

Adam Bradley- 3nd Year Comp Sci       |
 Monash University- Clayton Campus    | "The  time I spend all by myself,
  Melbourne Victoria, 3162.           |     is often spent with you"
   email- [email-masked]|        (John  Denver)
    Linux - XFree86 - Term            |

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

From: [email-masked] (Tom Griffing)
Subject: Re: Which is better: tar->gzip or gzip->tar?
Date: Fri, 2 Sep 1994 04:10:52 GMT

In article <[email-masked]>, Jeff Arnholt <[email-masked]> wrote:
>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.

For me, the order doesn't make much difference, except
that it's easier to use GNU-tar like so:

    tar czf {outputFileOrDevice} {fileSpec}

and

   tar xzf {inputFileOrDevice}

Works for me!

--
 _____________________________________________________
| Thomas L. Griffing       |                          |
| [email-masked]         |  (214) 352-3441          |
|__________________________|__________________________|

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

From: [email-masked] (Matt Warnock)
Subject: What kernel/dosemu/netutils is stable?
Date: 1 Sep 1994 21:38:59 -0700

I need working dosemu and net stuff for a LAN.  It doesn't have to
talk to the Internet (yet) though I would like to use term.  After
being unable to get dosemu working with 1.0.9, I upgraded to 1.1.48
and dosemu pre53pl16.  Now dosemu works great, but a simple ping with
the old net stuff crashed the system.  So I upgraded to net utils
1.1.46 (the most recent I could find); after reboot the system crashes
within seconds after the daemons load, giving an error "tried to kfree
memory that was never kmalloced" or some such, then swapper killed.

Is there some combination that works?  Please advise.  Remember, I
need all three (dosemu, kernel, and net stuff).

Thanks in advance!

-- 
W. Matthew Warnock, Attorney ([email-masked])          Tel:408.778.7273 
60 West Main Avenue, Suite 12A, Morgan Hill CA  95037-4553  Fax:408.778.7989

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

From: [email-masked] (Mark A. Horton KA4YBR)
Subject: Re: Hostname on Slackware 2.0
Date: Fri, 2 Sep 1994 01:57:38 GMT

Jagadeesh Krishnamurthy Venugopal ([email-masked]) wrote:
: Could someone please tell me how to get slackware to recognize my system name?
: The hostname and domainname commands are broken, (Changing one changes the
: other) and at login time regardless of what I do I get something like this--

: Welcome to Linux 1.0.9
: (none) Login:

: In spite of anything I do the (none) above refuses to get replaced by my
: hostname. Could someone in the know please clue me in on the reason? Could it
: be that I ruined something when I recompiled my kernel to make it recognize my
: ps/2 auxiliary port mouse?

: Thanks for your help.

: --
: Jagadeesh K. Venugopal
: Graduate Student, College of Computer Science
: Northeastern University 
: Boston, MA 02115
: xmosaic url: http://www.ccs.neu.edu/home/jkvg

Simply put your qualified hostname in /etc/HOSTNAME... the initialisation
routines will parse it out of there.  Or you can (as root of course) invoke
"setup" and perform a "Configure" on your system including configuring 
networking (or simply run netconfig again), answer the questions, and you're
set.

- m
--
"Linux!     Guerrilla UNIX Development     Venimus, Vidimus, Dolavimus."
============================================================
Mark A. Horton       ka4ybr             [email-masked]
P.O. Box 747 Decatur GA US 30031-0747         [email-masked]
+1.404.371.0291                     33 45 31 N / 084 16 59 W

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

From: [email-masked] (Hans Petter Fasteng)
Subject: modurated newsgroups
Date: Sat, 3 Sep 1994 23:17:01 GMT

I have bean linked with UUCP to a site on the net that feeds us news and
mail, and I just whant to know if I have to configure moderated newsgroups
compleatly right on my site, or is this taken cear of on the net, from some
more intelligent site on the way?

-Hans

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

From: [email-masked]
Subject: RE: PLIP: Laptop to Desktop
Date: 31 Aug 94 03:31:46 GMT

In Article <[email-masked]>
[email-masked] (Dr. Raimund K. Ege) writes:
>I have been folloing the recent discussions on PLIP setup
>and after reading the HOWTOs and getting a cable made (following
>the pin-out as described in NET-2-HOWTO) dared to try:
>
>the desktop (sierra) is a 486/66 running Linux 1.1.18,
>the laptop (oblivion) is a 486/25 running Linux 1.0.8.
>
[Chomp]
>
>What did I do wrong ?
>Are the 2 kernel versions compatible in using PLIP ?
>Could it be that my laptop has a wrong parallel port chip
>(something to that effect was mentioned in the NET-2-HOWTO,
> the laptop is a Midwest Micro Elite subnotebook) ?
>
>Any help is appreciated.
>
>-- 
>Raimund K. Ege                             School of Computer Science

I believe you are correct about the kernel versions being incompatible.  I also
believe that version 1.1.18 has some problems with PLIP.  The newer kernel
versions (1.1.4*) have pretty stable PLIP implementations, but I've found that
kernel version 1.0.9 is by far the fastest PLIP kernel that I've seen. 
Probably 1.0.8 is just as fast.

Also, you may want to check your cable.  Here's the pinout of mine, from a 
document I found via veronica.

\begin{plip.doc}

  This is the wiring diagram for the cable necessary to link two
  machines together by their parallel ports.  This is the same wiring
  diagram used by a Turbo LapLink cable, available for sale from many
  PC parts outlets.

  1 - 1
  2 - 15
  3 - 13
  4 - 12
  5 - 10
  6 - 11
  7 nc
  8 nc
  9 nc
  10 - 5
  11 - 6
  12 - 4
  13 - 3
  14 - 14
  15 - 2
  16 - 16
  17 - 17
  18 nc
  19 nc
  20 nc
  21 nc
  22 nc
  23 nc
  24 nc
  25 - 25 (ground)

\end{plip.doc}

Your ifconfigs and routes look good.

Good luck!

Dave

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
```````````````````````````````````````````````````````````````````````````````
     _/_/_/_/     _/_/        _/_/   _/_/_/_/       David M. Del Signore
      _/    _/     _/_/    _/_/       _/    _/      University of Toledo
     _/     _/    _/ _/  _/ _/       _/     _/          Toledo, Ohio
    _/     _/    _/  _/_/  _/       _/     _/ 
   _/    _/     _/   _/   _/       _/    _/      [email-masked]
_/_/_/_/     _/_/        _/_/   _/_/_/_/      [email-masked]
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
```````````````````````````````````````````````````````````````````````````````

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

From: [email-masked]
Subject: RE: FTP via TERM
Date: 31 Aug 94 03:38:11 GMT

In Article <[email-masked]>
[email-masked] (Jagadeesh Krishnamurthy Venugopal) writes:
>Hi.
>I have been pretty successful at setting up a telnet service to my Linux
>machine using the term package, from school. So anyone who telnets to a
>specified port to my school machine automatically connects to my home linux.
>This was done by tredir 5000 23 on my school account.
>
>Unfortunately redirecting FTP this way fails. Ftp logs the user in but then
>hangs and has to be killed. I have absolutely no idea why this is so.
>
>If anyone has telnet and ftp running via term, could you please clue me in on
>this?
>
>Thanks,
>Jagadeesh

I believe the problem is that ftp opens two tcp connections to a site, and the
problem is that you can only specify one alternate port to connect to.  From 
etc/services:

ftp-data    20/tcp
ftp         21/tcp

I'm not sure what port ftp-data tries to connect to if you specify an alternate 
port for ftp.  

Dave

,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
```````````````````````````````````````````````````````````````````````````````
     _/_/_/_/     _/_/        _/_/   _/_/_/_/       David M. Del Signore
      _/    _/     _/_/    _/_/       _/    _/      University of Toledo
     _/     _/    _/ _/  _/ _/       _/     _/          Toledo, Ohio
    _/     _/    _/  _/_/  _/       _/     _/ 
   _/    _/     _/   _/   _/       _/    _/      [email-masked]
_/_/_/_/     _/_/        _/_/   _/_/_/_/      [email-masked]
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
```````````````````````````````````````````````````````````````````````````````

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

From: [email-masked] (Karl J. Runge)
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: Re: Xconfig for Diamond SS24X ...
Date: 3 Sep 1994 23:14:39 GMT

In article <[email-masked]>, [email-masked] (Craig Bates) writes:
|> >Hello there:
|> 
|> >        I remembered someone posts an Xconfig file is specific for the 
|> >"Diamond SS24X", and it can display in 1024x768 mode by adjusting the 
|> >freq of the vga card.
|> 
|> >        I can not remembered where I got that file because it has been a while. 
|> >I tried the sunsite, but it seems not there. I can only find the generic one 
|> >for Diamond, and I can not make it to display in 1024x768 mode.
|> 
|> >        Can anyone who has this file send me a copy or tell me where I can find
|> >this file?
|> 
|> >        Any help will be very much appreciated.
|> 
|> 
|> 
|> >have a nice day, :)
|> 
|> >Tony Wang
|> >e-mail: [email-masked]
|> 
|> 
|> I would like a copy also please.  I just can't get it to go in 1024x768 mode.
|> 

Um, I don't really like the idea of giving out Xconfigs, I figure everyone
should "roll their own" with the spreadsheet template provided by the
XFree distributions combining with your Monitor Specs. Check it out if you
haven't already.

My Diamond SS24X was purchased in Nov 1992. My monitor is a MicroScan 4A/ADI
15" purchased at the same time. I used the "freq" program to set a Clock at
80MHz. This is a bit over specs for my Monitor. But it hasn't blown in over
a year of this (and I'd like an excuse to buy a 17" anyway ;-). DIAL DOWN
the value from 80MHz TO BE SAFE. I have lower (e.g. 72 75 77 MHz modes there
as well, try them first, I am pretty sure they work for my setup)

Here is the relevant portion of my Xconfig. Ignore the 1072x768 mode I cooked
up: I use it to completely fill the monitor screen. I got 1152x900 to work
as well, but the characters weren't crisp enough and led to eyestrain.

Good luck and BE CAREFUL. Read your Monitor's user manual and use the
spreadsheet first, that's how I made these! 

# The graphics drivers
# First the 8-bit colour SVGA driver
#
vga256

  ViewPort      0 0
#  Modes                "640x480" "800x600" "1024x768" "1152x900"
  Modes         "1072x768" "1024x768" "640x480" 

## Clocks 25 28 31 50 72 75
## ClockProg "/usr/X386/diamond/freq" 25
#
# Next the 1-bit mono SVGA driver
#
vga2

  Virtual       800 600
  ViewPort      0 0
  Modes         "640x480"
#  Modes        "800x600" "640x480"

#

# Hardcode the clocks for faster more reliable startups.
#Clocks 25 28 32 36 40 48 50 65
#

# And last,  the database of video modes
#
ModeDB
#
# name        clock   horizontal timing     vertical timing      flags
 "640x480"     25      640  664  760  800    480  491  493  525
               28      640  640  728  776    480  480  482  493
               31      640  664  704  832    480  489  492  520
 "800x600"     36      800  824  896 1024    600  601  603  625
               40      800  840  968 1056    600  601  605  628
               50      800  856  976 1040    600  637  643  666
 "1024x768i"   44     1024 1040 1216 1264    768  777  785  817  Interlace
 "1024x768"    65     1024 1032 1176 1344    768  771  777  806
               72     1024 1074 1220 1328    768  768  785  800
               75     1024 1048 1184 1328    768  771  777  806
               77     1024 1024 1264 1384    768  768  771  788
               80     1024 1072 1312 1344    768  783  786  830
#               80     1072 1104 1288 1360    768  783  786  830
#               80     1024 1128 1376 1400    768  768  780  789
               85     1024 1032 1152 1360    768  784  787  823
 "1072x768"    80     1072 1104 1288 1360    768  783  786  830
# "1152x900"    75     1152 1152 1384 1504    900  900  903  918
 "1152x900"    72     1152 1160 1328 1400    900  900  933  943  
               77     1152 1152 1384 1504    900  900  903  919  
#               80     1152 1176 1336 1384    900  900  903  920  
               80     1152 1216 1376 1440    900  900  903  920  
 "1280x1024i"  80     1280 1296 1512 1568   1024 1025 1037 1165  Interlace
 "1280x1024"   80     1280 1280 1440 1568   1024 1024 1027 1043
              110     1280 1328 1512 1712   1024 1025 1028 1054
              135     1280 1312 1456 1712   1024 1027 1030 1064

-- 
=======================================================================                                                     
Karl J. Runge      -- Linux: it's the Real thing --     [email-masked]
                                                        (510)-423-0611
Cleanliness is next to emptiness.                       (510)-516-7127

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

From: [email-masked] (StepheP)
Subject: MediaVision SCSI and MediaVision CDROM - not good
Date: 3 Sep 1994 19:59:02 -0400

Hi all!

I'm attempting to mount/access/boot linux from CD.  I have
the following hardware:

        CPU:            Compaq Presario 650 (486DX2/50)
        Sound card:     ProAudio Specrtum 16 (MediaVision)
        CD-ROM:         Media Vision CDR-H93MV Rev. 1.32 (Feb 94)

Original problem - when booting kernel use to get:

        Detected scsi CD-ROM sr0 at scsi0, id 1, lun0
        scsi0: resetting for second half of retries,

        ... and then the system hangs ...

Got past it by rebuilding kernel with methods below.  The hints
were provided to me by users on the net (thanks Olav, Alex).

Built one kernel with the drive that I have inserted in
the black list of scsi.c.

The other kernel defines "NO_MULTI_LUN" in scsi.c so that
the kernel does not check for multiple logical unit unmbers.

The CD-ROM is defined in fstab as follows:

    /dev/sr0         /mnt/CD         iso9660 defaults,noauto,ro

Now my current problem is - mounting the CD-ROM. When I try to mount the
drive
with the mount command.

     mount /mnt/CD 

The CD-ROM drive access light becomes active.  The system waits for about
five
minutes.  The the following message pops up.  Another weird thing is that
when
linux is booted I cannot open the CD-ROM door - the open button has become
disabled.

mount: wrong fs type, /dev/sr0 already mounted, /mnt/CD busy, or other
error

The kernel is built with iso9660 file type, the drive is not mounted
so I don't think it is busy.  So ... it must be "other error" ...

Also used maknod to build /dev/sr0 with major number 11 minor 0.

Also download the new distribution and rebuilt new kernels with the same
results.

Any ideas what this other error could be?  And more importantly how I can
get
around it?  Please reply by mail my news access is flakey at best.

Thanks - [email-masked]

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

From: [email-masked] (Jerry Ablan)
Subject: [ALERT] Password problem with Linux
Date: 3 Sep 1994 19:09:11 -0500

I just found a most heinous thing. I had my root password set to
'squiggle*halbert' a long, but good password.

However, by mistake, when su'ing, I only typed in squiggle and IT LET ME IN!
I further tested another password of mine that ended in a number and I left
off the number (i.e. Butthole7, only typed Butthole), and it again let me
pass.

So I need to know if I'm goofy and this is cool or did I find something that
everyone's known about or is it something new?

Running Linux v1.1.35 with shadow stuff (did it before shadow too).

-- Jerry

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

From: [email-masked] (Park Medical Systems)
Subject: Re: Mysterious serial port.
Date: 1 Sep 1994 09:54:50 -0400

C.P.Townsend ([email-masked]) wrote:
: In <[email-masked]> [email-masked] (Park Medical Systems) writes:

: >Hi everyone.  I have a linux box running v1.0.8 on a 386DX33.  When I 
: >boot the machine the boot up messages say that there are two serial 
: >ports.  I have no problem using /dev/ttyS0.  The problem I am having is 
: >with /dev/ttyS1.  Everytime I try to do anything with the second port 
: >(kermit, seyon, setserial) I get a message saying that the device is busy 
: >and I'm put back to the prompt.
: >Danny Arseneau
: >895 2nd Avenue           [email-masked]

: Check /etc/inittab to see if you have any getty-ps or agetty processes
: grabbing the port at boot time.  Also, you presumably have a mouse
: (else you wouldn't be trying seyon) - but you didn't mention if that's
: the device on /dev/ttyS0 -- if it isn't, well, time for more serial 
: ports, n'est-ce pas?

: townsend
: -- 
: Johnny Appleseed wore a coffee sack

OK, here's some more info about my mysterious serial port.  

  1) There is no mouse on my system.  ( I made an error about mentioning 
     seyon).

  2) Currently there is only one modem.  It is connected to /dev/ttyS0 or
     /dev/cua0 (both work).

  3) If I type setserial -a /dev/cua0, I get the expected response which is
     all the info about the serial port.  If I type setserial -a /dev/ttyS0
     I get a message saying that the device or resource is busy.  I expected
     this since this is the device I am using for the SLIP connection, which
     is working fine.

  4) If I type setserial -a /dev/cua1 or setserial -a /dev/ttyS1, I get a 
     message saying that the device or resource is busy.

  5) When the machine is booted, the startup messages indicate that the
     two serial ports are recognized as /dev/ttyS0 and /dev/ttyS1.  Both
     of these ports are 16450's.  They are both on the same multi i/o
     board.  This card also has the disk controller's, parallel port and the
     game port.

  6) When I try to use kermit or run a getty on /dev/cua1 or /dev/ttyS1, I
     get a message which says that the device or resouce is busy.

  7) I am unable to locate any LCK* files for /dev/ttyS1 or /dev/cua1 
     anywhere on the hard disk.  THe only ones I do find are for /dev/ttyS0
     which is busy with the slip connection.

I would like to thank the people who have already made suggestions for things
to check.  Unfortunately none of these suggestions have panned out.  If 
anybody has any other ideas, I would really like to hear them.  I am 
about to get another phone line installed here next week, and I would 
like to have this problem solved by then.  I need to install the second 
modem on this machine.

Thank you for all your help.

Danny Arseneau

Dataden Computer Systems        [email-masked]
895 2nd Avenue                  |voice (514)696-6195
Ile Bizard, Quebec              |fax   (514)696-0848
Canada   H9C 1K3

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

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