Subject: Linux-Admin Digest #132
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 2 Oct 94 03:13:40 EDT

Linux-Admin Digest #132, Volume #2                Sun, 2 Oct 94 03:13:40 EDT

Contents:
  Re: WABI, WP, Word, etc. ("Eric Jeschke")
  Re: Repartition linux disk without lose of data (Jens Krauss (Steinfath))
  Re: help on patching kernel source (Steven Buytaert)
  Any way to limit the # of connections per user? (Robert Ellsworth)
  Linux and Free BSD (Stephen Benson)
  Re: Can't compile 1.1.50 - barfs on entry.s (Richard Lamont)
  Re: Special Sale On QNX! (Wallace Roberts)
  packet size w/ uucp? (John Dee)
  Re: Linux NOT logging people out on hangup (John Spade)
  Re: Assuring that a PPP link stays up... (Remco Treffkorn)
  Re: PPP + FAQ ("Eric Jeschke")
  DikuMUD Wanted! (Jerry Ablan)
  Re: GCC for Pentiums (Laurent Chemla)
  Re: PPP + FAQ (John Phillips)
  Re: PPP + FAQ (Hugh Johnson x6549)
  inetd seems to lock-up (olav woelfelschneider)
  Re: printcap for HP Deskjet and HP LJ ? (Uwe Bonnes)
  Re: limit memory and add memory file system (Arnt Gulbrandsen)
  limit memory and add memory file system (Phil Howard)
  Help INN on my Linux box! (Nathan Stratton)
  Biodegradeable ext2fs - HELP! (Robert Broughton)
  Re: Biff?  Where? (Spencer PriceNash)

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

From: "Eric Jeschke" <[email-masked]>
Subject: Re: WABI, WP, Word, etc.
Date: Thu, 29 Sep 1994 14:51:53 -0500

[article deleted for brevity]

I wonder if Insignia Solutions will be (does?) distribute a version
of their software for SCO or SVR4.  If so, you might be able to run
their emulator under iBCS on Linux and then run your Windows apps.

An emulator running an emulator could be pretty darn slow though!

-- 
Eric Jeschke                      |          Indiana University
[email-masked]            |     Computer Science Department

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

From: [email-masked] (Jens Krauss (Steinfath))
Subject: Re: Repartition linux disk without lose of data
Date: 30 Sep 1994 08:55:58 GMT
Reply-To: igd.fhg.de

In article <[email-masked]>, > In article <[email-masked]>, [email-masked]
 (Yonggang Qiu) writes:
 > I repartioned the disk for the use of Linux as following:
 >  Disk /dev/hda: 13 heads, 32 sectors, 983 cylinders
 >  Units = cylinders of 416 * 512 bytes
 >     Device Boot  Begin   Start     End  Blocks   Id  System
 >  /dev/hda1   *       1       1     394   81936    6  DOS 16-bit >=32M
 >  /dev/hda2         395     395     454   12480   82  Linux swap
 >  /dev/hda3         455     455     983  110032   83  Linux native
 > 
 > In the begining, I had quite few RAM. That is why gave 12MB for swap.
 > Now I extend the RAM to 12MB and need less swap than before. 
 > 
 > How can I repartion the disk and reduce the size of swap without
 > loss of data?
 > 
 > Thanks in advance.
 
I think you should not make the swapspace smaller then 10M. 12M Ram and 12M Swap, thats not mouch......

ciao Jens

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

From: [email-masked] (Steven Buytaert)
Subject: Re: help on patching kernel source
Date: Fri, 30 Sep 1994 21:14:53 GMT

Anton de Wet ([email-masked]) wrote:
[ patch procedure deleted ]
: Where should these files go, or am I ddoing something wrong?

  1) They should go into their proper place.
  2) You did read the file that asks to be read i.e. '/usr/src/linux/README'

  About text flashing by @ 100 mph. Just check for rejected files
  with

  find /usr/src/linux -name "*.rej" -print

  after patching.

  BTW, it's patch -p0 <patch> issued @ /usr/src and there are
  several variants to this procedure, especially the -p0 is
  important. Check out how patch works with 'man patch'.

  Stef

--
Steven Buytaert 

WORK [email-masked]
HOME [email-masked]

        'Imagination is more important than knowledge.'
                        (A. Einstein)

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

From: [email-masked] (Robert Ellsworth)
Subject: Any way to limit the # of connections per user?
Date: 27 Sep 1994 20:19:58 GMT

I'm looking to limit the # of concurrent connections a user can have at one 
time.  I (unfortunately) had to downsize my Linux box from an 8M 486-DX/50 to
a 4M 386-DX/40, and would like to keep the connections to one per user.
Any help or insights would be greatly appreciated.

Robert Ellsworth
[email-masked]
[email-masked]

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

Reply-To: [email-masked] (Stephen Benson)
From: [email-masked] (Stephen Benson)
Date: Sat, 01 Oct 1994 18:22:00 GMT
Subject: Linux and Free BSD

I'd appreciate it if anyone with experience of Free BSD (and Linux) could email
me some (brief-ish) comparative notes. I'm particularly interested in the
"unixness" of the two systems, as well as ease of use/installation, conformity
to standards and the areas in which each shines. Is BSD more suitable for some
purposes, Linux for others. Is a BSD or a Linux based system more acceptable
in a commercial environment? Are either of them (yet)? Perhaps comments about
commercial packages too, where relevant. 

I'm asking for mail to avoid supplying flamebait; my aims are serious --
research for an article on Linux. 

--                                     
:  stephen benson  :   :   :   :  linux 1.0.9/1.1.45  :   :  xfree86 2.1.1  :
:  [email-masked]   :   :   :   :   :   :   :   :   :   :   :

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

From: [email-masked] (Richard Lamont)
Subject: Re: Can't compile 1.1.50 - barfs on entry.s
Date: Tue, 20 Sep 1994 16:43:12 +0000

[email-masked] (Ralph Sims) writes:

>[I wrote]:

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

I did that! I followed the procedure in /usr/src/linux/README to the letter
and it didn't work. There must have been something in there from before
(my previous version was 1.1.23) that didn't get tidied up properly. In the
end I just emptied /usr/src/linux and started again. It worked find then.

Richard Lamont.

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

From: [email-masked] (Wallace Roberts)
Subject: Re: Special Sale On QNX!
Date: 30 Sep 1994 14:31:26 -0700

[email-masked] (Matthew Donadio) writes:
>Wallace Roberts ([email-masked]) wrote:
>[ stupid flame stuff deleted ]
>: "Ignorance can be cured; stupidity, on the other hand, is hereditary."
>
>I love it when someone flames another even after a few of the previous
>posts (in this case, including one from Dan H., the creator of QNX)
>state that the article is a forgery.

i love it when someone who doesn't have a clue about net.propagation
starts spouting bullsh&t.

hint: a previous post at *your* site is probably *not* a previous post at
my site.

is the fall term in full swing already?

ah yes, the edu-breath fishing season begins...

gears,
ye wilde ryder
--
[email-masked] | 86 cr250 "dirt devil"    83 v65 magna "animal"
"E Pluribus Unix" | 79 it250 "mr. reliable"
"Criminals (especially tyrants) prefer unarmed victims."
"Ignorance can be cured; stupidity, on the other hand, is hereditary."

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

From: [email-masked] (John Dee)
Subject: packet size w/ uucp?
Date: Wed, 28 Sep 1994 09:53:53 GMT

Is there a way to increase packet size with UUCP to get a better transfer 
rate?

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

From: [email-masked] (John Spade)
Subject: Re: Linux NOT logging people out on hangup
Date: 29 Sep 1994 20:47:02 GMT

In article <[email-masked]>,
Mark A. Horton KA4YBR <[email-masked]> wrote:
>John Spade ([email-masked]) wrote:
>:      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.
>
>       You might want to try the package "idleout.tar.Z" on sunsite.
>       It will let you autologout idle users (i.e. those that have hung

        I got a lot of answers like this, but the problem is NOT on
local modem users, it is on users telnet'd rlogin'd into the machine.  
The kernel? not killing their processes when the user is disconnected.
It's pretty easy to simulate with fspclient.
fsp
'connect to a site'
get filename
^z
bg
exit

        FSP will continue to run until the process is done, ie stops
running.  This happens as well with things like gopher/pine/elm if
the user is disconnected.  Idleout doesn't work.  stty hup, hupcl doesn't
work. 

                        Thanks...

--
[email-masked]    "Quality, Service, Price...
[email-masked]                 Pick any two..."

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

From: [email-masked] (Remco Treffkorn)
Subject: Re: Assuring that a PPP link stays up...
Date: Sat, 1 Oct 1994 18:33:20 GMT
Reply-To: [email-masked]

Ralph Sims ([email-masked]) wrote:
: I spaketh wrongeth:

: >> Does anybody have a good, well thought-out system of assuring that a PPP
: >> link between two UNIX boxes stays up, through the use of crontab entries?

: > locus.halcyon.com:/pub/linux/ppp-on and ~ppp-off

: Those two files start and stop pppd.  The actual file that keeps things
: alive is checkppp.sh.  I've also placed checkslip.sh in there for folks
: are still SLIP'ing around.

Well, I have made some minor changes to a ppp-on script and run it
from the inittab with the respawn option. Like a getty.
Therefor pppd should not run as a deamon.

Whenever the link goes down, it will just be restarted from init within
a few seconds.

Isn't this how it should be done?

Cheers,
Remco
-- 

Remco Treffkorn, DC2XT
[email-masked]
(408) 685-1201

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

From: "Eric Jeschke" <[email-masked]>
Subject: Re: PPP + FAQ
Date: Sat, 1 Oct 1994 13:27:02 -0500

[email-masked] (Mark A. Davis) writes:

:[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.

Subscribe to the PPP channel.  There is tons o' useful information
there.

-- 
Eric Jeschke                      |          Indiana University
[email-masked]            |     Computer Science Department

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

From: [email-masked] (Jerry Ablan)
Subject: DikuMUD Wanted!
Date: 1 Oct 1994 14:03:09 -0500

I'm looking for a copy (src & bin) of DikuMUD more recent than what's at
Sunsite. Does anyone have a newer version? I'm setting up a mud for private
use (to demonstrate stuff) and want something newer.

Thanks,
Jerry

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

From: [email-masked] (Laurent Chemla)
Subject: Re: GCC for Pentiums
Date: 1 Oct 1994 19:10:27 GMT

Michael Esler ([email-masked]) wrote:
:    In a response to a post about Pentiums, I noticed someone mentioned
: a gcc optimized for Pentiums. Is this GCC 2.6.0? It is the most current
: version I have been able to find (new as of July) and its README does
: not include i586 as an optimized processor.
:    Am I missing the boat? Does this exist someplace else or do I already
: have it? The implications are huge. My box would be *that* much faster,
: as would X etc.

--

AFAIK, there are two version of the thing. An original gcc 2.4.0 from
Intel available on ftp.intel.com, and a version I made by patching the
first one to make it up to 2.5.8, available on
tsx-11.mit.edu:/pub/linux/ALPHA/gcc-pentium/gcc-i2.5.8p-bin.tar.gz.

It came to me that the FSF is working on a 'real' gcc for pentium.

Laurent.
--
Laurent Chemla : [email-masked] or [email-masked]
Brasil BBS  - +33 1 44 67 08 44 -  Atari France developpers support

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

From: [email-masked] (John Phillips)
Subject: Re: PPP + FAQ
Date: Sat, 1 Oct 1994 19:06:58 +0000

[email-masked] (steve) writes:

>Also look on ftp.demon.co.uk, under /pub/doc/unix. There are scripts for
>Slackware 1.2/2 slip/ppp and news/mail setup. These are Demon Internet
>specific, but only in the dip script and news/mail machine configs. Might
>be worth a look for anyone just starting.

I think these have recently been moved to pub/linux/Demon.

John
-- 
John Phillips

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

From: [email-masked] (Hugh Johnson x6549)
Subject: Re: PPP + FAQ
Date: Thu, 29 Sep 1994 18:09:19 GMT

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.

Look in sunsite.unc.edu under the Documentation directories (LDP, I think)
for the nags. (Network Administrator's Guide for Linux). This is a must-
read for anyone who is going to set up _any_ tyhpe of networking, including
ppp/slip.

--
 [email-masked]         or  | Opinions? I doan' have no steenkin'
 [email-masked]             or  | opinions. They doan' let me have
 [email-masked]      | none.

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

From: [email-masked] (olav woelfelschneider)
Subject: inetd seems to lock-up
Date: 1 Oct 1994 19:27:36 GMT

While trying to connect a linux box to the internet i got a strange
behaviour. The machine first accepts telnet or any other inetd 
initiated connection, while a few minutes later doing the same thing
will hang. Thus, trying to telnet into the box yields the
connected to message, but there is no prompt.
This happens with every connection which is handled by inetd,
like ftp, finger, etc...
After a long delay of maybe several hours (maybe only a few minutes)
the machine again accepts connections, but after a short time it hangs
again.

Weirdly, a lpmud driver running permanently listening to port 7680 runs
perfectly, thus i guess the fault has something to do with inetd.

I know about the order hosts, bind problem in /etc/resolv.conf, but this
should not matter, since there is a working nameserver on the local
network.

Anyone had that problem, too and solved it?

The machine:
486DX33/16MB, seagate 120MB ide drive, wd80*0 network card running
linux 1.1.51 with the tcpip package taken from slackware 2.0

Thanx,
  Olav
--
/======================================+======================================\
| Olav "Mac" Woelfelschneider          | I refuse to grow up,                 |
| [email-masked] | I don't want to lose my humor...     |
\======================================+======================================/

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

From: [email-masked] (Uwe Bonnes)
Subject: Re: printcap for HP Deskjet and HP LJ ?
Date: Sat, 1 Oct 1994 19:46:54 GMT

[email-masked] wrote:
> Hi fiolks,

> In mz distribution, there was no /etc/printcap.

> Does anybody have the settings for HP-Deskjet Plus with
> automatic postscript detection.

> I need settings for a HP LH III as well.

> Is where a site, where you can get printcap entries 
> for all printers with postscript detection ?

Look for the apsfilter (aps-48.tgz). It will setup printcap and much more
for uou.
-- 
Uwe Bonnes  [email-masked]

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

From: [email-masked] (Arnt Gulbrandsen)
Crossposted-To: comp.os.linux.development
Subject: Re: limit memory and add memory file system
Date: 1 Oct 1994 20:55:27 GMT

In article <[email-masked]>,
Phil Howard <[email-masked]> wrote:
>I'm not sure which newsgroup this belongs in because I don't know if the
>My hardware supports DMA only on the first 16 megabytes of RAM although
>it will support up to 64 megabytes of RAM.  What I want to do is to have
>Linux use only the first 16 megabytes in its usual way much as if the
>machine only had 16 megabytes.  Then I want to use whatever remaining
>memory above the 16 megabyte line I happen to have installed (it is OK
>by me to have to code this somewhere) as a memory file system.

Sure.  Set up a RAM drive in /etc/lilo.conf.

Of course, linux will use it fairly efficiently of its own if you
just let the buffer cache logic do its job.  More efficiently that
you can do with a RAM drive, probably.

Oh, and re your .sig:

>\***** [email-masked] ************* Just say NO to CIX extortion ***********/
                                    Just say THANK YOU to [email-masked]

--Arnt

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

From: [email-masked] (Phil Howard)
Crossposted-To: comp.os.linux.development
Subject: limit memory and add memory file system
Date: 1 Oct 1994 14:57:03 -0500

I'm not sure which newsgroup this belongs in because I don't know if the
answer is just a configuration setting or requires a kernel hack.

Oh, yes, I have looked in the FAQ and HOWTO ... nothing there on this.

My hardware supports DMA only on the first 16 megabytes of RAM although
it will support up to 64 megabytes of RAM.  What I want to do is to have
Linux use only the first 16 megabytes in its usual way much as if the
machine only had 16 megabytes.  Then I want to use whatever remaining
memory above the 16 megabyte line I happen to have installed (it is OK
by me to have to code this somewhere) as a memory file system.  So if
I install all 64 megabytes of RAM I could have a 48 megabyte memory file
system.

The basic question is how to do this.  Also, do you know of any particular
problems one might encounter with this?  Is there some other scheme that
would let me utilize the extra memory to gain some speed?
-- 
/***** Phil Howard KA9WGN *********** How about universal JOBS? **************\
*      Unix/Internet/Sys Admin        Let's de-Foley-ate congress in 94       *
*      CLR/Fast-Tax                   Don't let Annie get your gun!           *
\***** [email-masked] ************* Just say NO to CIX extortion ***********/

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

From: [email-masked] (Nathan Stratton)
Subject: Help INN on my Linux box!
Date: Sat, 1 Oct 1994 19:34:13 GMT

I am trying to set up my news on my linux box I had it working ok, but 
now is has stoped working. If I look in /usr/adm/syslog I can see this error:

Oct  1 14:26:55 NovaNet innd: /usr/lib/news/history cant dbminit ME No 
such file or directory

Can anyone tell me how to fix this problem, my news is backing up fast. 
If  you can help please send me mail as soon as possible. 
-- 
Nathan Stratton         CEO, NovaNet, Inc. On-Line Communication Services.

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

From: [email-masked] (Robert Broughton)
Subject: Biodegradeable ext2fs - HELP!
Date: Sat, 01 Oct 94 13:07:48 -0800

This problem started when I upgraded to 1.1.43. THe output from df looks
like this:

Filesystem  1024-blocks   Used Available Capacity Mounted on
/dev/hda2       98000    93976    0        100%   /

When I boot 1.1.50, the number of blocks drops to around 94000, and to
number used drops to around 90000. The net result is the same, though; I
can't create any files on /dev/hda2. What's the problem?
--
*-*-*-*-*-*-*-*-*-*-*

Robert Broughton    [email-masked]

"We calm and reassure. We embrace people with the message that we're
all in it together. That our leaders are infallible and that there is
nothing, absolutely nothing wrong." - Miles Drentell, _thirtysomething_

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

From: [email-masked] (Spencer PriceNash)
Subject: Re: Biff?  Where?
Date: 1 Oct 1994 16:20:13 -0400

In article <[email-masked]>,
Jeff Cook <[email-masked]> wrote:
>Anyone know where a command line version of biff for linux might be?
>
>I have xbiff working fine...

You could run newmail.  It comes with elm.
-- 
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.

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

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