Subject: Linux-Admin Digest #125
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Fri, 30 Sep 94 17:18:20 EDT

Linux-Admin Digest #125, Volume #2               Fri, 30 Sep 94 17:18:20 EDT

Contents:
  Linux and Adaptec 1542 CF (Bernhard Frye)
  Keyboard mapping under X (Adrian Mancini)
  Re: PPP + FAQ (Mark A. Davis)
  gcc 2.6.0 and kernel 1.1.51 - no problems, should there be any? (Michael Will)
  Re: COLORS with the ECHO command -*- HOW TO DO ??? (Mitchum DSouza)
  Re: Has anyone gotten ftape to work? (Jay Cox)
  RE: uugetty cua problem ([email-masked])
  Re: Sound Blaster dev (Robert J. Shmit)
  Re: Slackware 2.0.1, LaTeX, and umlauted characters (Peter Dalgaard SFE)
  Re: modules - HELP! (Frank M. Haynes)
  Re: terminal servers (Pete Kruckenberg)
  keymap question (Ted Harding)
  Re: Special Sale On QNX! (Cyber Link)
  Re: Enabling Dial-In to my Linux system. ([email-masked])
  LILO & BusLogic 445s (John D. Mitchell)
  Re: PPP + FAQ (Spencer PriceNash)
  Re: AutoMount For Linux (Alan Cox)
  Re: PROBLEM: Sun locks up mounting Linux NFS drive (Alan Cox)
  Re: Jumbo250MB speed improvement (Alan Cox)

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

From: [email-masked] (Bernhard Frye)
Subject: Linux and Adaptec 1542 CF
Date: 30 Sep 1994 14:49:38 GMT

I want to install LINUX for the first time. I have a NEC 3xp-CD-ROM connected
to the PC over a parallel-SCSI-Adapter (Trantor 338) and SCSIWorks-Software.
Linux does not seem to recognize the CD-ROM-reader, I think. I have tried
a PCMCIA-SCSI-Adapter (Bus Toaster from New Media with CorelSCSI II-Software) 
without success. So I think I have to buy a "real" SCSI-adapter for my ISA-
Board and want to try the ADAPTEC 1542 CF. Do I need their software (EZ-SCSI),
too or just the card? Can I use the Corel-Software? Any further problems to be
expected caused by the NEC-MultiSpin3xp in this combination?
Thank you in advance for your help for a Linux beginner 

Bernhard Frye
University Hospital
48129 Muenster
Germany
[email-masked]

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

From: [email-masked] (Adrian Mancini)
Subject: Keyboard mapping under X
Date: 30 Sep 1994 14:59:58 GMT

Recently I attempted to remap my function keys to contain
character strings follow by ^M so that I could execute
certain shell commands in an xterm by just hitting a function
key.

I failed!!!!

I first attempted to work with the /etc/termcap entries but
soon realized it was hopeless because X was intercepting the
keystrokes and mapping them per some internal table.

I tried to alter these mappings using "xmodmap" but as far as
I can tell this tool is only useful to remap modifiers (as the
name implies) like Alt, Control, Shift, & Tab.
I was able to map F1 to "a", a single character, but it seemed
to die on anything greater than 1 in length.

Can someone who has done this please give me a hand!

-- 
==================================================
-  Adrian Mancini ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
==================================================
-  The worst fear is fear of a dream. ~~~~~~~~~~~~
==================================================

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

From: [email-masked] (Mark A. Davis)
Subject: Re: PPP + FAQ
Date: Wed, 28 Sep 1994 13:15:46 GMT

[email-masked] (Ahmad Al-rasheedan) writes:

>Is there a FAQ or any doc. on seting up PPP for linux. I just wanna be armed.

I second that motion......  I am going to take the plunge into PPP/SLIP
soon, and it seems like LOTS of people have problems.
-- 
  /--------------------------------------------------------------------------\
  | Mark A. Davis     | Lake Taylor Hospital | Norfolk,VA (804)-461-5001x431 |
  | Director/SysAdmin | Information Systems  |    [email-masked]       |
  \--------------------------------------------------------------------------/

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

From: [email-masked] (Michael Will)
Subject: gcc 2.6.0 and kernel 1.1.51 - no problems, should there be any?
Date: 28 Sep 94 13:46:43 GMT

Yesterday I freed up a lot of diskspace and compiled gcc 2.6.0 - it
works nice, and I compiled kernel 1.1.51 without a hitch.

In fact - there had be one warning in the msdos-filesystem-section:
namei.c: In function `msdos_format_name':
namei.c:43: warning: overflow in implicit constant conversion

but I have not had any malfunction yet. 

My c++ project worked after correcting some mistakes the old g++ missed...

Am I to expect problems? If not, why is gcc 2.6 not the official version yet? 

Cheers, Michael Will

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

From: [email-masked] (Mitchum DSouza)
Subject: Re: COLORS with the ECHO command -*- HOW TO DO ???
Date: 30 Sep 1994 15:21:38 GMT

In article <[email-masked]>, [email-masked]
(NISCHELWITZER Alexander Kurt) writes:
|> Hi all,
|> 
|> Does anyone know how to use the colors with the echo 
|> command, or how to use escape codes with term and echo ?
|> 
|> I like the colors in my directory and want to use them
|> also for shell scripts but how...?

e.g.
        echo '\033[1mhello\033[m'

change the 1m for the respective back and fore ANSI colors.

Mitch

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

From: [email-masked] (Jay Cox)
Subject: Re: Has anyone gotten ftape to work?
Date: Fri, 30 Sep 1994 13:57:47 GMT

Dan Saunders ([email-masked]) wrote:
: : If you want backup device of that size, you will need to raise your
: : $$$$ a bit.  Right now the QIC-80 devices are about the only thing
: : around for less than $750 US or so. Also, I dont think you can split
: : a backup across multiple tapes with the current ftape, you need to make
: : seperate tar files on different tapes.  Kind of a pain but better than
: : no backup at all.

: This is not true.  Check out afio, it allows compressed backups over 
: mutiple tapes.  I use it all the time and it works GREAT!  Set the tape 
: length to 115 megs, or it will not work for some reason....

I was happy to learn of this.  I am using afio now.  Much better!
Thanks for bringing this up.

 Jay Cox
 [email-masked]

 "Who is General Failure and why is he reading my hard drive?"

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

From: [email-masked]
Subject: RE: uugetty cua problem
Date: Fri, 30 Sep 1994 05:48:21 GMT

In Article <[email-masked]>
[email-masked] (Nini Popovici) writes:
>hi!
>i'm trying to set up a linux box linked to a uucp network using
>telephone lines.
>the problem i have is when i run uucp on /dev/ttyS1 i can not use the
>/dev/cua1 device (resource busy). i use uugetty from getty_ps package
>..
>can anybody help me in this problem ?
>
>please answer by mail at [email-masked] (i haven't access to news
>).
>
>thanks.

cua1 and ttyS1 refer to the same device, so if one is in use you probably
do not want to bother the other one.  I'm not sure what the advantage of
having two nodes for the same device is, but I've gotten by with using ttyS1
for everything, and ignoring cua1 almost entirely.  I used to run uugetty_ps in
ringback mode, and now run another ringback program on the line, and also run
kermit and term over the same line.  You may have luck running uugetty_ps on
/dev/ttyS1, too.

Dave

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

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

From: [email-masked] (Robert J. Shmit)
Subject: Re: Sound Blaster dev
Date: Thu, 29 Sep 1994 03:56:19 GMT

[email-masked] wrote:
: I have a Sound Blaster 16 ASP in my system.  How do I set up Linux to
: use it?  I have kernal 1.1.18

get the Sound-HOWTO off sunsite or tsx-11
-- 
======================+==================================================
[email-masked] | Send me your poor, your lonely, your crippled masses
======================+ of Atogs. I will still accept them at NO CHARGE to
Brian Cully           | you! Email me for information about my home for

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

From: [email-masked] (Peter Dalgaard SFE)
Subject: Re: Slackware 2.0.1, LaTeX, and umlauted characters
Date: 30 Sep 1994 15:37:14 GMT

In <vaughan.780854430@phyast> [email-masked] (Tom Vaughan) writes:

>Anyway, I have noticed that with the new Slackware NTeX package
>(10 disks!) umlauted 'a's and 'o's don't show up under xdvi if the
>source file is compiled under LaTeX. (Everything does, however,
>seem to work fine with plain TeX documents.) If this is not the
>right place to post, please tell me where I should post, because
>someone needs to know about this bug.

Hmm. Insofar as it deals with how to set things up with a Linux
package, here is probably good enough.

However, the matter has already been taken up at comp.text.tex.

As I remember, it is not a bug it's a feature, point being that
since 8-bit input is non-standardized, it is disabled by default
to ensure document portability. You need to employ a LaTeX2e
'package' to enable it for the character set in question. (Don't
argue with *me* on the matter!).

Anyway, specifically for the NTeX package, there ought to be a
Latin1 package included.  If not (haven't gotten around to play
with it myself), then it should be written (or fetched) and added
to the distribution.
--
   O_   ---- Peter Dalgaard
  c/ /'  --- Dept. of Biostatistics 
 ( ) \( ) -- University of Copenhagen
~~~~~~~~~~ - ([email-masked])

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

From: [email-masked] (Frank M. Haynes)
Subject: Re: modules - HELP!
Date: Fri, 30 Sep 94 16:43:12 GMT

In <[email-masked]> [email-masked] (Robert Broughton) writes:

>I'm using v1.1.43 of the kernel, and have compiled a version of modules
>dated June 26. When I do "insmod drv_hello.o", I get messages that say that
>_printk, _register_chrdev, and _unregister_chrdev are undefined. (When I do
>"insmod ftape.o", I get lots more undefines.) What's the problem?
>--
>*-*-*-*-*-*-*-*-*-*-*

Got exactly the same problem.  Am using 1.1.45 as obtained from Sunsite.
Am using insmod with date of June 27, 1994 as shown in insmod.1.
Is there a later modules?  Please POST the reply.

Thanks!

--Frank

-- 
====================================================================
Frank Haynes                 406 Pinetree Circle   Decatur, GA 30032
+1 404 279-4626                                     [email-masked]

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

From: [email-masked] (Pete Kruckenberg)
Subject: Re: terminal servers
Date: 30 Sep 1994 01:27:23 GMT

Jim Williams ([email-masked]) wrote:
: Robert Lanning ([email-masked]) wrote:
: : Stefan Nehlsen ([email-masked]) wrote:
: : : In <[email-masked]> [email-masked] (Dave H) writes:

: : : >Does anyone have any idea what kind of terminal server will work with 
: : : >Linux?  I would like the cost also.  Looking for a cheap way to get more 
: : : >lines into linux.  Preferably something that works on a ethernet card.  
: : : >Thanks in advance!

: : : I think terminal servers are never cheap :-(

: : : Stefan

I was talking to the local Cisco rep today, and they've got an option
(available at purchase) where you can add 8 or 16 asynch ports
(115kbps each) to their 2500 or 4000 series routers for about $500 or
$1000 respectively. It's something new. It'll support terminal
emulation, SLIP/CSLIP/PPP, IPX/ IPXCP, AARP (Mac remote), Xremote,
DEC's protocol (forgot the name).  Pretty good deal if you're planning
on buying one of their routers.  It supports telnet/rlogin plus a
bunch of other stuff. I don't know much about it, maybe someone else
does?

Pete.

  ------------------------------------------------------------------------
  Pete Kruckenberg                       School: [email-masked]
  University of Utah                       Work: [email-masked]
  Computer Engineering    For even more addresses, "finger [email-masked]"

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

From: [email-masked] (Ted Harding)
Subject: keymap question
Date: 30 Sep 1994 17:00:14 -0400
Reply-To: [email-masked] (Ted Harding)

Look at "man loadkeys" for info.

'loadkeys /usr/lib/kbd/keytables/uk.map'

should do the trick (and should have been planted by the SlackWare
setup in /etc/rc.d/rc.keymap): mine contains

#!/bin/sh
echo 'Loading keyboard map "uk.map"...'
/usr/bin/loadkeys /usr/lib/kbd/keytables/uk.map
 
and, near the end of my /etc/rc.d/rc.local, the line

sh /etc/rc.d/rc.keymap

to invoke it.
Ted Harding                                     ([email-masked])

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

Crossposted-To: comp.os.386bsd.apps,comp.os.386bsd.bugs,comp.os.386bsd.misc,comp.os.386bsd.questions,comp.os.linux.development,comp.os.linux.help,comp.os.minix
From: [email-masked] (Cyber Link)
Subject: Re: Special Sale On QNX!
Date: Fri, 30 Sep 1994 02:16:10 GMT

Well i am still trying to get Tnet to work on my machine... I have 1.5.10 
and have applyed the patches. (I wrote a script to do it) now the kernel 
will not compile!! when i do a make TNET it says i don't have enough 
memory to run cem. I am curently workign on adding the -F to the CFLAGS 
of all the Makefile's..... In other words this has been a long two week 
project and i still can not see the end! Any Help from anyone would be 
apreacheated(SP)

L8r
 From
   CL ([email-masked])

----Lots of other peoples Stuff------

Jay Ashworth ([email-masked]) 
wrote: : [email-masked] (Michael S. Scheidell) writes:
: >[email-masked] wrote:
: >NO HE DID NOT!
: >LOOK AT PATHS.  THIS IS A FORGERY!

: So it is.  My apologies.

: >PLEASE READ THIS.  I DID NOT MAKE THAT POST!
: >This posting did not come from our office, but we are tracing it.
: >If you look carefully at headers you will find sites that don't exist, 
: >and see that it does not trace back to [email-masked].

: I can never be sure... but they sure in hell don't match the headers on
: _this_ post.

: >Again, I did not do this post, and we have taken great pains to avoid 
: >offending anyone, and to date this is my first flame, even if undeserved.
: >I thank those who looked at headers and saw it was a forgery, and look 
: >forward to a solution to this.

: Again... sorry about that.  At least _my_ flame was polite.  :-)

: 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]
Subject: Re: Enabling Dial-In to my Linux system.
Date: 30 Sep 1994 01:31:45 GMT
Reply-To: [email-masked]

>
>>Set the modem to Auto Answer using DIP switch 5.
>
>Noooooooo. After all, Linux machines crash every now and then... wanna
>have the modem pick up then? Yes? Ok, set it to autoanswer...
>

I don't understand. Why don't you want the modem to pick up the phone
when Linux has crashed? If this happens, the calling program will
eventually give up and hang up. At some time after that, the 
'called' modem will also give up and hang up. If you want to
use the phone for other purposes when Linux is down, switch the
modem off.

As an aside, Linux machines _don't_ crash every now and then. I have
one set up here as a dial-in gateway. Some days, we have horrendous
power outages, (like 5 a day !), and Linux just comes bouncing
back every time ...

BTW, setting AA on gets the dial-in system to work. If you have
a better idea, I'm always glad to learn something new.

Bob.

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

From: [email-masked] (John D. Mitchell)
Crossposted-To: ucb.os.linux
Subject: LILO & BusLogic 445s
Date: 30 Sep 1994 15:57:24 GMT

I'm trying to install lilo onto the following system:  Insight 486-66
EISA/VLB w/16 MB RAM, Micropolis 2217 (1.7GB) HD, NEC 3Xi CD-ROM drive,
Hercules Dynamite Pro VLB w/2MB (or a #9GXE64Pro w/2MB), and a BusLogic
445s VLB SCSI controller.

I just got the Yggdrasil Fall '94 Linux CD and went through the basic
installation.

The disk is partitioned as follows:  The first 500 MB is active and set to
be the primary DOS partition, the next 530 MB is set to be the root
partition for Linux, and the remainder has yet to be set.  I setup the
partitioning about six months ago using the DOS v6.2 fdisk command.  It
seems that during installation using Yggdrasil that the cfdisk program
accepted my earlier settings but then complained about differences in the
logical and physical mappings and it also bitched about the fact that the
first partition didn't end on a cylinder boundary.

The BusLogic 445s has a jumper set on the board that specifies support for
DOS drives larger than 1.0 GB.  Also, everything works fine from DOS.

The installation program installs LILO onto the master boot record with no
complaints but upon reboot all that gets displayed is "LI" and then it just
hangs.

The LILO docs says that this indicates that the first stage boot loader was
able to load the second stage loader but was unable to execute it.  It
mentions that this is either a geometry problem or has been caused by
moving '/boot/boo.b' without running the map installer (whatever that means
:-).

So, before I go and really start whacking on my disk (I already backed
everything up :-), does anyone know if this problem is a) due to what
cfdisk complained about in the partition table b) the jumper on the
BusLogic 445s about large DOS disks c) both or d) something else?

Thanks!
        John

P.S.    Anyone get a Plextor 4-Plex (quad-speed) CD-ROM drive to work with
        Linux?  I've haven't looked into this one yet but on first blush
        it looks like the drive is being autodeteced as a NEC drive...

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

From: [email-masked] (Spencer PriceNash)
Subject: Re: PPP + FAQ
Date: 29 Sep 1994 01:09:54 -0400

In article <[email-masked]>,
Mark A. Davis <[email-masked]> wrote:
>[email-masked] (Ahmad Al-rasheedan) writes:
>>Is there a FAQ or any doc. on seting up PPP for linux. I just wanna be armed.
>I second that motion......  I am going to take the plunge into PPP/SLIP
>soon, and it seems like LOTS of people have problems.

There's a NET-2-FAQ.

There's a Network Administration Guide.

There's stuff in /usr/lib/ppp, once you get the PPP executables.
-- 
Spencer PriceNash   [email-masked]   [email-masked]
Dan Quayle via anon ftp: Quotes at umcc.umich.edu in pub/users/quayle, GIFs
and sound files at vaxa.crc.mssm.edu in quayle/gif and quayle/sound.

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

From: [email-masked] (Alan Cox)
Subject: Re: AutoMount For Linux
Date: Fri, 30 Sep 1994 19:39:20 GMT

In article <jocke.780486019@krynn> [email-masked] (Jocke Berglund) writes:
>I'm also looking for a automounter for linux and yes i've lokked at AMD,
>but that isn't compatible with automiuntd for SUN's and other machines. So
>that isn't a solution that I can use.. (it has to use auto.home/auto.master)
>So if any one know about a automounter that does YP, plese tell me.

No the trick is to run AMD on the sun too.

Alan

-- 
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  [email-masked]   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''

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

From: [email-masked] (Alan Cox)
Subject: Re: PROBLEM: Sun locks up mounting Linux NFS drive
Date: Fri, 30 Sep 1994 10:27:19 GMT

In article <[email-masked]> [email-masked] (Nicolas BOUGUES) writes:
>James Knowles ([email-masked]) a ecrit:
>: It complains that it is waiting for a response from the Linux NFS host.
>: I can access the same Linux directory from another Linux machine with
>: no problems while the Sun is having spasms.
>I have experienced the same problems with 2 diskelss sun4 NFS-mounting their
>FS. They say they don't get any answer from the Linux host. The way I found
>to solve hit is to kill -HUP nfsd, and the sun comes back to life.

The sun is trying to do 8K NFS. Linux prior to about 1.1.40 or so doesn't
do 8K NFS correctly (in earlier kernels at all). Specify
rsize=1024,wsize=1024 as options or better still get a 1.1.51 kernel, the 
floppy disk patch and Florians excellent NFS speedup patch and you'll be
a much happier man.

Alan

-- 
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  [email-masked]   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''

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

From: [email-masked] (Alan Cox)
Subject: Re: Jumbo250MB speed improvement
Date: Fri, 30 Sep 1994 10:29:20 GMT

In article <[email-masked]> [email-masked] (James Gray Walker) writes:
>You might try piping the tar or cpio output through a dd filter with
>a huge obs, 1 MB or so.  Then dd will wait for a full output buffer
>before writing it to tape in one long stream.  Your disk accesses will
>alternate with your tape writes, but it beats lots of small stop and go
>writes.

Use edd with the tpqic package off ftp.funet.fi (the one with qiconfig etc)
that is a dd that is two processes and properly double buffering specially
for jobs like tape - With a 1Mb buffer it makes even NFS backups quite
happy.

Alan

-- 
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  [email-masked]   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''

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

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