Subject: Linux-Admin Digest #96
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Fri, 23 Sep 94 21:13:49 EDT

Linux-Admin Digest #96, Volume #2                Fri, 23 Sep 94 21:13:49 EDT

Contents:
  S3 + XFree 2.1.1 question (John Leslie)
  simple network (Herve BURTIN)
  Re: HPFS Filesystem (Jay Ashworth)
  BIOS chip reading? (Sherman Brown)
  SUDO and Shadow'd passwd file Needed (John Spade)
  LINUX SLIP HOST?  Has anyone made this work?  HOW? (Jeffrey S. Cook)
  Printcap For BJ10ex (Wut DAOMANEE)
  Re: 4mm DAT on Linux? (Dan Swartzendruber)
  Re: Modem 14400 and uugetty (Gert Doering)
  Re: How to use a host as a router - READ THIS (Jay Ashworth)
  Re: ftape and linux-1.1.45 (Mike Haaland)
  CSLIP bug in v1.1.50? (Van jacobsen header compression) (Bill Wittig)
  Errors writing to MSDOS Partition (Bernhard Kappler)
  Linux idle logout problems. (Brad Cain)
  Linux NOT logging people out on hangup (John Spade)
  Re: Linux won't keep correct time (Marc Fraioli)
  WANTED: linux powerd sources (John Norris)
  Re: NFS Bootdisk? (Miguel de Icaza)
  Working ARP (Brad Cain)
  Re: Summary: Mosaic2.4 and Motif (Stephen Benson)
  Re: Dosemu in X (Joel M. Hoffman)
  Re: Can't compile 1.1.50 - barfs on entry.s (Walter Hunt)
  Re: Printers on the parallel port (Kevin Cummings)

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

From: [email-masked] (John Leslie)
Subject: S3 + XFree 2.1.1 question
Reply-To: [email-masked]
Date: Thu, 22 Sep 1994 11:26:30 +0000

In the readme it says some S3 928 boards with the Bt485 palette are limited to
85MHz. When I run the S3 server with our board it prints a message saying this
limit exists. This is a pain as I want to run 1280 x 1024 @ 130 MHz. As we are
a PC hardware manufacturer (i.e. when I say it's "our" 928 board I really mean
it) I have considerable leeway in making changes to the board. What I want to
know, please, is what imposes this limit, and any ideas on what to change to
remove it.
-- 
John Leslie

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

From: [email-masked] (Herve BURTIN)
Subject: simple network
Date: 23 Sep 1994 13:55:02 GMT

I have 2 pc and 2 ne2000 compatible card, I am root on 1 pc, my brother on the 2,
how configure network ? can you give me an exemple of the hosts file and networks
file.

bye

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

From: [email-masked] (Jay Ashworth)
Subject: Re: HPFS Filesystem
Date: 23 Sep 1994 09:43:44 -0400

[email-masked] (Heikki Johannes Pernu) writes:
>       Anyone working on the HPFS filesystem?
>       I've already posted to comp.os.linux.help and they directed
>       me here.

They directed you to the wrong place.  :-)

Get out of the old, get into the c.o.l.d.  Development, that is...

Cheers,
-- jra
-- 
Jay R. Ashworth        High Technology Systems Comsulting             Ashworth
Designer              Linux: The Choice of a GNU Generation       & Associates
ka1fjx/4                                                  
[email-masked]   "Hey! Do any of you guys know how to Madison?"  813 790 7592

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

From: [email-masked] (Sherman Brown)
Subject: BIOS chip reading?
Date: 23 Sep 1994 09:56:46 -0400

        Just curious is there a set of functions for reading the info in the
BIOS of my PC under linux, or am I going to have to write my own?
Just trying to save some much needed time... 

thanks,
Faldor

.----------------------------------------------------------.
| 386DX/25MHz,Gateway,8MB-RAM,16MB-Swap,SB,Slackware 2.0   |
| [email-masked]  | Walk with a water goddess.  |
.__________________________________________________________.

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

From: [email-masked] (John Spade)
Subject: SUDO and Shadow'd passwd file Needed
Date: 23 Sep 1994 17:07:37 GMT

        I'm looking for a sudo that works with the shadow'd passwd
suite.  I've tried myself but only succeded getting segmantation
faults.  Thanks.
--
[email-masked]    "Quality, Service, Price...
[email-masked]                 Pick any two..."

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

From: [email-masked] (Jeffrey S. Cook)
Subject: LINUX SLIP HOST?  Has anyone made this work?  HOW?
Date: 21 Sep 1994 11:20:15 -0500

Ok, I have read all the faq's and have memorized my modem manual.
I am using Linux 1.1.49 and cannot for the life of me get a 
SLIP host set up on my machine.

Could some kind soul please describe the steps on how to do this?
Can it be done???

Thanks in advance.
-Jeff  [email-masked]

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

From: [email-masked] (Wut DAOMANEE)
Subject: Printcap For BJ10ex
Date: 23 Sep 1994 06:05:08 GMT

I think it hard to find printcap for Canon BJ10ex and I don't want to write it
by myself if someone have printcap for Canon BJ10ex.Please send you file to me.
Email:
        [email-masked]
or      [email-masked]
Thank you.

Wut Daomanee
Computer Engineering student
Prince of Songkhla University
Thailand

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

From: [email-masked] (Dan Swartzendruber)
Crossposted-To: utah.linux
Subject: Re: 4mm DAT on Linux?
Date: 23 Sep 1994 16:27:55 GMT

In article <[email-masked]>, [email-masked] (Scott G. Ainsworth) writes:
> Pete Kruckenberg ([email-masked]) wrote:

I use an Archive Viper with no problems.  The only thing I had to do was
rebuild the kernel with SCSI tape enabled.

-- 

#include <std_disclaimer.h>

Dan S.

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

From: [email-masked] (Gert Doering)
Subject: Re: Modem 14400 and uugetty
Date: Thu, 22 Sep 1994 11:38:24 GMT

[email-masked] (Peter Berger) writes:

>[email-masked] (Michael Zill) wrote:

> > [...]
> > First of all you should configure your modem that it returns
> > the DTE speed not the DCE speed in the CONNECT <speed> string.

>Just curious. Ist there any special reason for this?

If the getty does auto-bauding (switches its baud rate to the string
returned by the modem), it's necessary -- but I know no getty that does it
all the time (mgetty can do it with the "-a" option).

I recommend, for mgetty users, to have the modem return something like the
CONNECT <DTE speed>/<DCE speed> <protocol>/<compression>
string that ZyXELs can return, because that string is very good to see
what's going on -- but it's purely informational, not functional.

gert
-- 
Yield to temptation ... it may not pass your way again!  --  Lazarus Long
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             [email-masked]
fax: +49-89-3243328                         [email-masked]

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

From: [email-masked] (Jay Ashworth)
Crossposted-To: comp.os.linux.misc,comp.os.linux.development,alt.uu.comp.os.linux.questions
Subject: Re: How to use a host as a router - READ THIS
Date: 23 Sep 1994 15:53:03 -0400

[email-masked] (David - Morris) writes:
>Re. why not 127.0.0.0 instead of 127.0.0.1 -- the destination address must
>be a 'host' address and the host address can't be zero (0).

True... but I think he was talking about the destination address, not the
interface address... you can route either the loopback _net_, or the
loopback _host_, with equal facility.

Cheers,
-- jra
-- 
Jay R. Ashworth        High Technology Systems Comsulting             Ashworth
Designer              Linux: The Choice of a GNU Generation       & Associates
ka1fjx/4                                                  
[email-masked]   "Hey! Do any of you guys know how to Madison?"  813 790 7592

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

From: [email-masked] (Mike Haaland)
Crossposted-To: comp.os.linux.help
Subject: Re: ftape and linux-1.1.45
Date: 23 Sep 94 20:00:21 GMT

[email-masked] (Timothy Murphy) writes:

>[email-masked] (Mike Haaland) writes:

>>After installing and rebuilding my kernel 1.1.45, then compiling
>>ftape-1.13b, I try to install the new ftape module and get the message
>>"_irqaction undefined".  I looks like the function irqaction() is not
>>in my kernal.

>>What do I need to do to make ftape work?  Anyone using ftape with
>>linux-1.1.45?

>I finally got ftape to work with my Colorado Jumbo
>by upgrading to Linux 1.1.50,
>and installing ftape-1.13b, from sunsite.unc.edu in pub/Linux/kernel/tapes
>after applying the patch ftape-irq-dma.patch from the same directory.

Thanks Tim,

It's now working with 1.1.45 by using the following patch on the ftape sources:

--- fdc-io.c.orig       Tue Jul  5 14:18:09 1994
+++ fdc-io.c    Thu Sep 22 14:58:02 1994
@@ -938,20 +938,14 @@
 {
   TRACE_FUN( 8, "fdc_grab_irq_and_dma");
   int result = 0;
-  struct sigaction ftape_sig_action = {
-    ftape_interrupt, 0, SA_INTERRUPT, NULL
-  };
 
   if (fdc.hook != &do_floppy) {
-    /*  Cannot use request_irq because we want a fast interrupt
-     *  handler instead of a normal one (see kernel/irq.c).
-     */
-    result = irqaction( fdc.irq, &ftape_sig_action);
+    result = request_irq( fdc.irq, ftape_interrupt, SA_INTERRUPT, "ftape");
     if (result) {
       TRACEx1( -1, "Unable to grab IRQ%d for ftape driver", fdc.irq);
       result = -EIO;
     } else {
-      result = request_dma( fdc.dma);
+      result = request_dma( fdc.dma); /* ( fdc.dma, "ftape"); */
       if (result) {
         TRACEx1( -1, "Unable to grab DMA%d for ftape driver", fdc.dma);
         free_irq( fdc.irq);

The difference is the last change wasn't needed with linux-1.1.45.  It
looks like the request_dma() function has changed in 1.1.50.  I also
found that irqaction() is a static function in the kernel source file
irq.c.

It to bad we need to keep changing source to keep out tape drivers
working, but that's progress. :)

Mike Haaland <[email-masked]>

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

From: [email-masked] (Bill Wittig)
Subject: CSLIP bug in v1.1.50? (Van jacobsen header compression)
Date: 23 Sep 94 16:56:37 GMT

I'm using SLIP to connect to an SGI Indy, and originally set it up to use
cslip, but I couldn't get IP packets to flow (ICMP worked fine). I changed
the Indy to use no header compression and thing work fine.

Any ideas?

bill

-- 
Bill Wittig                                     Voice: 1 (314) 453-5713
PRC Inc.                                        Fax:   1 (314) 542-8897
111 West Port Plaza, Suite 327
St. Louis, Missouri USA  63146

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

From: [email-masked] (Bernhard Kappler)
Subject: Errors writing to MSDOS Partition
Date: 20 Sep 94 07:42:53 GMT

Hello,

I'm running Linux on a 386-33Mhz with 8 MB memory. I've an Adaptec
1542 SCSI Board and a 80MB Disk from SeaGate and a 660MB Disk from HP.
Linux works fine with the ext2 filesystem. Only writing on a msdos
partition almost ever leads to corrupt files. This happens only if
I write a file on my msdos Partion on the harddisk. Floppies do fine.

I found out that files get corrupted doing a "sync" or waiting until
the buffer has been copied to disk.

For example:

        cp file /msdos/file
        diff file /msdos/file

        no differences will be found until the buffer has been flushed 
        to disk.

Doing:  cp file /msdos/file
        sync
        diff file /msdos/file

        will show up differences in over 90% of the tries!!!!

My dos partition uses to second half of the HP disk (the upper cylinders).
I think the disk has about 1400 Cylinders, put I actualy don't know.
The partition was created using fdisk from linux and FAT 16 BIT as 
filesystem.

I hope someone can help me to fix this problem!!!

Bernhard Kappler      [email-masked]

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

From: [email-masked] (Brad Cain)
Subject: Linux idle logout problems.
Date: 23 Sep 1994 16:10:43 -0400

When I rlogin or telnet from my linux machine to any other hosts,
I seemed to get logged out after about an hour or so.  I am
using kernel 1.1.45, and installed with slackware 2.0
I have had no other networking problems.  If I login to another
host, and set my display, my xterm's always stick around.  It's
just rlogin and telnet. 

-- 
******************************************************************************
[email-masked]             * Brad Cain                               N3NAF
[email-masked]               * University of Delaware Electrical Engineering
PGP key available via finger   * -Comp. Sci/Signals/Communications/Networking-

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

From: [email-masked] (John Spade)
Subject: Linux NOT logging people out on hangup
Date: 23 Sep 1994 17:22:05 GMT

        I can't find this in a FAQ so...  I need to find a way to
get linux to log people out on hangup.  If a user hangs up the modem
line, and there is a program that is running, linux doesn't kill it.
        My worst example is when people are using telnet via gopher.
They hang up and gopher telnet bombs the site it was connected to so
people have a hard time logging into the remote site.  (Our little
486 shut down the telnetd on the faculty Mini)
        Anyway, I have a cron script that kills most of them, but it
would be nice if there was a built in solution.  Thanks.
--
[email-masked]    "Quality, Service, Price...
[email-masked]                 Pick any two..."

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

From: [email-masked] (Marc Fraioli)
Subject: Re: Linux won't keep correct time
Date: 23 Sep 1994 20:27:53 GMT
Reply-To: [email-masked]

In article [email-masked],  [email-masked] (Tobias S. Keidl) writes:
>It seems that every time I boot up my Linux box, the clock always is 1
>hour behind what it should be.  Any time I reset the time, it changes
>the next time I reboot.  I presume there is some config file somewhere
>telling it to do that but I have no idea where or what (and it was also
>exhibiting the same behavior before I was networked).  Anyone have any
>solutions or suggestions?  I'd appreciate them!

I have noticed the same thing-- I need to set the time with my BIOS
config program.  Setting it through Linux always gets it reset after
a reboot.

---
Marc Fraioli          | "They couldn't hit an elephant at this dist- " 
[email-masked]         |    - Last words of Union General John Sedgwick,
                      |    Battle of Spotsylvania Court House, U.S. Civil War

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

From: [email-masked] (John Norris)
Subject: WANTED: linux powerd sources
Date: 23 Sep 1994 15:24:07 GMT

I am searching for powerd sources for linux (You know, the daemon that
looks a serial port for a signal from UPS, then shuts down etc.)

I have a powerd from old SLS distribution, but i need to modify it to
my needs (eq, need to make it to broadcast a network shutdown signal.)

Could someone point me to relevant address?? i have searched sunsite
and tsx with no avail..

//[email-masked]
--

*******************************************************************************
Work tel : +358-0-663 200
Beeper   : 9200-866260 (inside finland, answering service+beeper 24h/day)
Snailmail: merimiehenkatu 20 a 14, Helsinki 15, Finland
email    : [email-masked]
fax      : +358-0-6121255 Attn: John Norris.

*******************************************************************************

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

From: [email-masked] (Miguel de Icaza)
Subject: Re: NFS Bootdisk?
Date: 23 Sep 1994 20:06:23 GMT

> Hello!
> Iam working with linux. My second PC is only running DOS. Therefore I want to
> boot a kernel from disk and mount the rest with NFS to use the power of this
> PC under Linux. Has anyone done this before?
> What I have to do and what has to be on the disk?

It depends on how well you want to do that.

You need a kernel, and the basic net utilities (ifconfig, route), the
mount program, umount, sync, init a new /var (you can mount this from
the server), a new /etc (you can do that also from the server, with a
little trick).

Tell me if you are interested in this -bad- aproach to booting a
mostly-diskless linux workstation.

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

From: [email-masked] (Brad Cain)
Subject: Working ARP
Date: 23 Sep 1994 16:22:33 -0400

Where can I get an arp that works... the slackware 2.0 arp always
reports the same ethernet address.

-- 
******************************************************************************
[email-masked]             * Brad Cain                               N3NAF
[email-masked]               * University of Delaware Electrical Engineering
PGP key available via finger   * -Comp. Sci/Signals/Communications/Networking-

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

Reply-To: [email-masked] (Stephen Benson)
From: [email-masked] (Stephen Benson)
Date: Thu, 22 Sep 1994 20:05:41 GMT
Subject: Re: Summary: Mosaic2.4 and Motif

In article <[email-masked]>, Yehavi Bourvine (58-4279) ([email-masked]) writes:
>Hi,
>  A few days ago I asked about compiling Mosaic-2.4 on Linux; the Motif
>libraries are missing. The replies are got are:
>
>1. Buy Motif for Linux - $150-$200.
>2. Get a precompiled version.
>3. Try Chimera which is a "mosaic clone".
>                                         Thanks to all who replied,
>                                                             __Yehavi:

I'd be very interested in this Chimera, and in general, what the situation is
with Motif clones. I've heard of one other -- SWIM -- but it's not free. Are we
close to a free motif yet? 

--                                     
+  stephen benson  +   +   +   +   +   linux 1.0.9   +   +   xfree86 2.1.1  +
+  [email-masked]   +   +   +   +   +   +   +   +   +   +   +                                
                                    . *                             '        
+             .                         `                                   + 

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

From: [email-masked] (Joel M. Hoffman)
Subject: Re: Dosemu in X
Date: Thu, 22 Sep 1994 00:41:14 GMT

[who wrote what deleted]
>: I just setup pre53_20. It's working pretty well. 
>
>: When I do "dos -AX" the dosemulator starts up in a nice "Dos in a Box"
>: [...]
>: arrow keys worked normally. Does anyone have a hint on how to fix this?
>
>The README tells you something about X (read: xmodmap) sending

Is this "-X" thing new?  I have 0.25, and I don't remember seeing
anything about it.  What exactly does it do?

-Joel
([email-masked])
-- 
=============================================================================
|_|~~ Germany, Europe. 1943.    "The diameter of the bomb was 30 centimeters,
__|~| 16 Million DEAD.           and the diameter of its destruction, about 7
                                meters, and in it four killed and 11 wounded. 
 cnc  Bosnia, Europe. 1993.     And around these, in a larger circle of  pain
 cnc  HOW MANY MORE?          and time,  are scattered two  hospitals and one
                          cemetery.   But the young woman who was  buried  in
                    the place from where she came, at a distance of more than
             than 100 kilometers, enlarges the circle considerably.   And the 
      lonely man who is mourning her death in a distant  country incorporates
into the circle the whole world.  And I won't speak of the cry of the orphans
that reaches God's chair and from there makes the circle endless and godless."
=============================================================================
     Tell Clinton to stop the genocide:  [email-masked]

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

From: [email-masked] (Walter Hunt)
Subject: Re: Can't compile 1.1.50 - barfs on entry.s
Date: 22 Sep 1994 09:58:03 -0700

In article <[email-masked]>, [email-masked] (Ralph Sims) writes:
|> [email-masked] (Richard Lamont) writes:
|> 
|> >I'm having trouble getting kernel 1.1.50 to compile. I've used 1.1.45 and
|> >patches 46-50 from a clean source, and there aren't any bits left over after
|> >doing the patches. I'm also using the ax25 stuff, including the latest
|> >patches from sunacm.swan.ac.uk. These too seemed to go in cleanly.
|> 
|> Patches must be installed as "patch -p0 <patchXX" in order to work.
|> 

        Yes, but, why?!?!?! Patch never seemed to be broken before . . . (The
problem stems from the fact that patch declines to create any new files if you
run it from /usr/src without a -p argument. I found that if I went to
/usr/src/linux and used -p1, it worked. On my system, patch is version 2.1,
which seems to be the latest.)

        BTW, anyone feel like taking a stab at why my previously wonderfully
stable system (running 1.0.8, installed from SlackWare) will, when asked to run
1.1.50:

        1. Immediately reboot when asked to NFS-mount a remote directory 

        2. Always disagree with 1.0.8 about something in the ext2fs free block
bitmaps (if one fixes it, the other dislikes it) 

        3. Shortly after bootup, begin displaying fairly random trash on the
screen. First time I saw this was during a fsck - would up with a line of
blinking brown background/white foreground 'l's across the screen.

        I would guess :) that I need to upgrade some other utils/etc. Any ideas
on what?

-- 
Walter Hunt                                             [email-masked]
Philips Interactive Media of America                    Los Angeles, Ca.
-- 
Walter Hunt                                             [email-masked]
Philips Interactive Media of America                    Los Angeles, Ca.

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Kevin Cummings)
Subject: Re: Printers on the parallel port
Date: Tue, 20 Sep 1994 20:33:22 GMT

In article <[email-masked]>, [email-masked] (George Photakis) writes:
> LPT1 in DOS is /dev/lp0 under Linux.... 
> George Photakis

Generally yes, but not necessarily.  Your BIOS looks down a list of
three possible parallel devices, and assigns the first one it finds to LPT1:,
The second to LPT2:, and the third to LPT3:.  If you have all three, then
the parallel port on your monochrome video card is LPT1, and the ports
with hardware address 378 is LPT2, and 278 becomes LPT3.  If you don't have
the video card parallel port, then 378 and 278 are LPT1 and LPT2.  If you
only have port 278, then it becomes LPT1.

Linux uses a 1-to-1 correspondance with the IO ports to the Linux devices.
lp0 is always the video port.  lp1 is the parallel port at 378, and lp2 is
always the port at 278.  Regardless of whether or not you have them them
in your system.

I have one parallel port at home: 378.  It is LPT1: under DOS, and lp1
under Linux.

A similar correspondance holds true for the serial ports at 3F8, 2F8, 3E8, 2E8
and COM1-4 under DOS and /dev/ttya-d under Linux.

Your mileage will vary depending on your hardware.

-- 
Kevin J. Cummings                       Peritus Software Services, Inc.
[email-masked]        [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
******************************