Subject: Linux-Admin Digest #17
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 3 Sep 94 07:13:20 EDT

Linux-Admin Digest #17, Volume #2                 Sat, 3 Sep 94 07:13:20 EDT

Contents:
  Re: Linux Inside T-Shirts, Now Printing! ([email-masked])
  xntpd (timed) setup? (Joseph J Gebis)
  Re: Which is better: tar->gzip or gzip->tar? (Adam Tilghman)
  Re: **** HOW TO FIX YOUR CDROM!! **** (Serge Solski u)
  Re: How do I get my 525MB SCSI streamer to backup 300MB? (Scott Alfter)
  Re: **** HOW TO FIX YOUR CDROM!! **** (Craig S. Maloney)
  [Q] Why the patch for console.c in FNT01.tar.Z doesn't work ? (Christophe Person)
  Re: Which is better: tar->gzip or gzip->tar? (Steven A. Reisman)
  Re: Setting up printer to print POSTSCRIPT ? (Richard Dalton)
  Adding Linux to Boot Manager (Another Totoro)
  Re: Xconsole - little trick won't work any more (sorry) (Patrick Reijnen)
  Re: Adding Linux to Boot Manager (Frank Huth)
  Resolver question (Eternal Darkness)

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

From: [email-masked]
Crossposted-To: comp.os.linux.misc,comp.os.linux.help,comp.os.linux.development,aus.computers.linux,alt.os.linux,alt.linux.sux
Subject: Re: Linux Inside T-Shirts, Now Printing!
Date: Sat, 03 Sep 94 00:29:19 PDT

In article <[email-masked]>, <[email-masked]> writes:
> Path: 
dolphin.phoenix.net!news.sprintlink.net!redstone.interpath.net!dds
w1!not-for-mail
> From: [email-masked] (Dave Rossow)
> Newsgroups: 
aus.computers.linux,alt.linux.sux,alt.os.linux,comp.os.linux.admin
,comp.os.linux.development,comp.os.linux.help,comp.os.linux.misc
> Subject: Re: Linux Inside T-Shirts, Now Printing!
> Date: 2 Sep 1994 22:11:25 -0500
> Organization: MCSNet Services
> Lines: 15
> Message-ID: <[email-masked]>
> References: <[email-masked]> <[email-masked]>
> NNTP-Posting-Host: venus.mcs.com
> Xref: dolphin.phoenix.net aus.computers.linux:1320 
alt.os.linux:208 comp.os.linux.admin:14185 
comp.os.linux.development:15558 comp.os.linux.help:55264 
comp.os.linux.misc:25362
> 
> [email-masked] (Justin Scott) writes:
> 
> 
> >Any type of JPEGs, etc we can see of the shirts before we 
order?
> 
> >I would love to have the "Linux Inside" as will as the "GNU 
Generation" 
> >shirts, but only if I can see pics before purchase
> 
> >Justin
> 
> Likewise!
> 
>       dave
>       [email-masked]
> 
Yep same here.
Chuck

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

From: [email-masked] (Joseph J Gebis)
Subject: xntpd (timed) setup?
Date: 2 Sep 1994 19:33:36 GMT

        I have the xntp package compiled (including xntpd) and a time
server I can access.  However, I'm still having problems; there's
a couple of things not working right.  I have a feeling that I have
it set up.
        How should my /etc/services, /etc/inetd.conf, and xntpd
files be set up?  Any ideas?

        Thanks.

----
Joseph Gebis   [email-masked]   http://www.cen.uiuc.edu/~jg11772/home.html

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

From: [email-masked] (Adam Tilghman)
Subject: Re: Which is better: tar->gzip or gzip->tar?
Date: 2 Sep 1994 16:26:51 GMT

In article <anicolao.778425752@watcgl> [email-masked] (Alex Nicolaou) writes:
>If you zip first, each zip file will have some overhead that you could be 
>repeating hundreds of times. And tarring all the zip files will introduce
>tar's overhead (uncompressed) between every file. The other way, all of
>tar's header info gets compressed, you don't hvae zip overhead, and you
>should also be able to achieve better compression on the one big file than
>you can individually on little files (VERY true for tiny files).

        Of course, if you're storing this tar file on a tape drive,
it might be wise to compress each file individually:  tape drives
have been known to lose a block here and there, and if you lose a
byte 50% into your 100Mb backup tape, gunzip might not have enough
context to continue with the restore.

        -- adam

-- 
Adam G. Tilghman | email:              | voice:          | Rng FCNZ naq yvir.
                 | [email-masked]    | +1 619 658 0743 | Cyhf PurrmJvm?

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Serge Solski u)
Subject: Re: **** HOW TO FIX YOUR CDROM!! ****
Date: Fri, 2 Sep 1994 19:30:29 GMT

In article <[email-masked]> [email-masked] writes:
>
>There is no such file in the standard Linux kernel.  You must be talking
>about a modified kernel here.  (what origin??)

        Slackware 2.0, Trans-Ameritech distribution, kernel 1.1.18. If 
you don't have a CDU31A installed, then you won't have those files.

>I doubt that "most of us have this problem", given the fact that it is
>not in the standard kernel, and cdu31a drives seem to be a pretty small
>part of the CDROM market...

        Duh. IF you have a CDU31A drive, and IF you have those files (I 
said previously that if you didn't have those files then you can't use 
this fix), then this is a sure way to fix it. A lot of people have said 
that this worked, and none have told me that it didn't work (yet...)

>Rob

        -Mark
-- 
"Key chuckles. 'If Skinny Puppy, in terms of the movie _Alien_, is a
chest-burster, then Doubting Thomas is more of a face-hugger,' he informs,
as if that were an explanation."
                                                        -Keyboard, Jan '92

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

From: [email-masked] (Scott Alfter)
Date: 02 Sep 94 14:16:18 -0800
Subject: Re: How do I get my 525MB SCSI streamer to backup 300MB?

In article <[email-masked]>, Kai Dupke <[email-masked]> wrote:
>That's right. You could store up to 525MB on a DC6525. As i uses a
>QIC-Streamer whith 6250 or 6525 too, i tested this some days (month)
>ago.
>
>But: If you think, that you back up 200 (or so) Megs to tape, because
>you use 'df' before backing up, this is not right.
>
>Within my system i'm back up 23Megs more for the /proc/kore-file, wich isn't
>shown in the df-command.

Since /proc is a virtual filesystem, you can use tar's -l option to
only back up one filesystem at a time.  This keeps the crud in /proc
from getting written to tape.

  _/_   Scott Alfter @ 1:209/263 (Fidonet)        Ask me about SoftDAC--digital
 / v \  [email-masked]   audio for your Apple IIe/IIc!
(IIGS(  --===###   Why be politically correct when you can be RIGHT?   ###===--
 \_^_/  --===### Linux. It does more. It costs less. It's that simple. ###===--

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

From: craig@enterprise (Craig S. Maloney)
Crossposted-To: comp.os.linux.help
Subject: Re: **** HOW TO FIX YOUR CDROM!! ****
Date: 2 Sep 1994 20:25:33 GMT

On Fri, 2 Sep 1994 19:30:29 GMT Serge Solski u ([email-masked]) wrote the following...
:>In article <[email-masked]> [email-masked] writes:
:>>
:>>There is no such file in the standard Linux kernel.  You must be talking
:>>about a modified kernel here.  (what origin??)

:>      Slackware 2.0, Trans-Ameritech distribution, kernel 1.1.18. If 
:>you don't have a CDU31A installed, then you won't have those files.

BTW: Imfomagic Developers only installs 1.0.9 as of the June '94 release. 
If you have this version, you do not have the cdu31a.c-* files, only the 
cdu31a.c.

:>>I doubt that "most of us have this problem", given the fact that it is
:>>not in the standard kernel, and cdu31a drives seem to be a pretty small
:>>part of the CDROM market...

:>      Duh. IF you have a CDU31A drive, and IF you have those files (I 
:>said previously that if you didn't have those files then you can't use 
:>this fix), then this is a sure way to fix it. A lot of people have said 
:>that this worked, and none have told me that it didn't work (yet...)

:>>Rob

:>      -Mark
:>-- 
:>"Key chuckles. 'If Skinny Puppy, in terms of the movie _Alien_, is a
:>chest-burster, then Doubting Thomas is more of a face-hugger,' he informs,
:>as if that were an explanation."
:>                                                        -Keyboard, Jan '92

--
Craig

=============================================================================
Craig Maloney                             | Engineering Computer Center
Supervisor                                | Wayne State University
PC/Mac Systems, College of Engineering    | 5050 Anthony Wayne Drive
  Internet: [email-masked]| Detroit, MI 48202
  Phone   : 313-577-5789                  | USA.
  Fax     : 313-577-5969                  | 
                                          |  "Eat Drum, Eat Drum, EAT DRUM!"
                                          |                      -Animal
=============================================================================

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

From: [email-masked] (Christophe Person)
Crossposted-To: comp.os.linux.help
Subject: [Q] Why the patch for console.c in FNT01.tar.Z doesn't work ?
Date: 3 Sep 1994 00:07:17 -0500

Hi,

I would like to be able (like proposed) to load different fonts on my VC at
boot time. I read the instructions on how to apply the patch for console in 
my kernel tree but it doesn't work, of course my kernel doesn't compile.

The README file says to apply the patch to:

 /usr/src/linux/kernel/chr_drv/console.c

which seems to me like a (VERY) old kernel tree

instead of my actual:

 /usr/src/linux/drivers/char/console.c

I am wondering if there is a patch that would work with my conf.

Thanks

Christophe Person
http://dirac.bcm.tmc.edu/people/chrisp.html

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

From: [email-masked] (Steven A. Reisman)
Subject: Re: Which is better: tar->gzip or gzip->tar?
Date: Fri, 2 Sep 1994 19:29:39 GMT

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?

Offhand, I'd say that "tar * | gzip" would give you a smaller file.
However, if some portion of the resultant file gets corrupted by even a
single bit, all data past that point would be unrecoverable. 

: I'm looking for the most robust method to archive groups
: of files.

"gzip * | tar" would be much safer.

You might look into "afio", too. 

-- 
Steven A. Reisman
12695 4th St. S.                                  [email-masked]      
Afton, MN  55001                                      (612) 436-7125

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

Crossposted-To: comp.os.linux.help,comp.os.linux.misc
From: [email-masked] (Richard Dalton)
Subject: Re: Setting up printer to print POSTSCRIPT ?
Date: Thu, 1 Sep 1994 09:54:50 +0000

[email-masked] (Eduard Marghidan) writes:

>Mubashir Cheema ([email-masked]) wrote:

>: I have been trying to setup my laser printer, Okidata OL 400, an HP  
>: laserjet II compatible printer to print Postscript. Well as it is now
>: it does print postscript files but I or anybody else I know cannot 
>: seem to be able to setup a magic filter that would sucessfully recognize
>: a postscript file and handle it accordingly. Right now I an all other
>: users have to specify a different printer 'ps' to print PS files.
>: I have on several occasion forgotten to do that and ended up printing
>: several pages of text. I am including my current printcap file, please
>: help me add the magic line that will do the magic filter trick.

>: Thanks.

>       You must be confused about what you mean. If you mean that
>PS files should be filtered differently, then your printcap file
>is correct. If you mean that your filter is wrong, then you should 
>use a different filter in printcap. Or perhaps you are saying that
>the postscript filter is not working because it only prints PS files?
>Either way, you should know that a "PS printer" is different than an
>Oki (HPLJII) printer, hence the two printcap entries are necessary.

>: -----------------------My-printcap-file-----------------------
>: lp|oki|default:\
>:         :lp=/dev/lp0:\
>:         :sd=/usr/spool/lpd/oki:\
>:         :if=/usr/lib/lp-filter/lpf:\
>:         :lf=/usr/spool/lpd/oki/log:\
>:         :mx#0:sh:
>: ps|okips:\
>:         :lp=/dev/lp0:\
>:         :sd=/usr/spool/lpd/oki:\
>:         :if=/usr/lib/lp-filter/lpf-oki-ps:\
>:         :lf=/usr/spool/lpd/oki/log:\
>:         :mx#0:sh:
>: --------------------------------------------------------------- 

No, Mubashir is right. You can use a magic filter which detects what kind of
file you're trying to print and acts accordingly. It says this and gives a 
couple of examples in the Printing HOWTO, but I couldn't get them to work with
my HP DeskJet 520 either, so I too have two different printer names at the 
moment. If anyone can solve this little problem i'd appreciate it.

        Richard
-- 
===============================================================================
 Email: [email-masked]  |   Quay and Waterfront Productions
        [email-masked]    |      Phone: (UK) (091) 221 0087    
===============================================================================

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

From: [email-masked] (Another Totoro)
Subject: Adding Linux to Boot Manager
Date: Sat, 3 Sep 1994 06:26:37 GMT

People have probably asked this for a million times, but I have to ask again
since this is what I am going through now.  

Anyway, my original setup is booting Linux from A: (5.25).  Since OS/2 for
Window comes on 3.5, I swapped my A: and B: around.  I wonder if I can just
add my current Linux partition (on a separate HD) to the Boot Manager, or I
have to boot to Linux and made some changes???

If I have to change anythiny, how and what should I change??

Thanks for your help!!

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

From: [email-masked] (Patrick Reijnen)
Subject: Re: Xconsole - little trick won't work any more (sorry)
Date: Thu, 1 Sep 1994 09:45:42 GMT

In <[email-masked]> [email-masked] (sharpe randall k) writes:

>[email-masked] (Stephen Benson) writes:

>> 
>>In article <[email-masked]>, John Saunders ([email-masked]) writes:
>>>Heiko Herold ([email-masked]) wrote:
>>>> In article <[email-masked]>, Darrell Fuhriman <[email-masked]> wrote:
>>>> >
>>>> >I noticed this too.  I got around it by running xconsole SUID root.  I 
>>>> >realize that may not be the ideal answer, but it worked for me.
>>>> >
>>>
>>>> Moment - you mean it worked = no error messages, or does it *really* work ?
>>>> SUIDing my xconsole only let disappear the errors, but still, as root
>>>> or as normal user with the SUID, the xconsole does _not_ work - the
>>>> messages can goes everywhere except the xconsole :(
>>>
>>>What's the problem guys? I don't have any problem with xconsole at all.
>>>The way that it should work it that xdm runs the GiveConsole script which
>>>chmod's the /dev/console file so that it is accessable by the user that
>>>logged in. Then xconsole runs with no problems. Then to actually see
>>>any messages you need to change /etc/syslog.conf so that some messages
>>>are sent to /dev/console. Just add a line to /etc/syslog.conf:
>>>
>>>*.=debug       /dev/console
>>>
>>>However if your running without xdm then I'm not sure how this works.
>>>-- 
>>>

>>I don't use xdm, but I'll take a look. I've followed this thread for a while
>>and _finally_ got xconsole to work with: 

>>startx >& /dev/console

>>which I've now aliased startx to. No problems (tho' it's probably a major
>>security hole or something; inelegant at the very least). 

>>--                                     
>>+  stephen benson  +   +   +   +   +   linux 1.0.9   +   +   xfree86 2.1.1  +
>>+  [email-masked]   +   +   +   +   +   +   +   +   +   +   +                                
>>                                 .*                                         
>>+                                                                           + 
>Does this work to get "talk" notices sent to the xconsole also ?

Nope, not for me at least. I only get error messages in it. talk notices are still placed in the VC.

Patrick Reijnen

--
************************* Patrick Reijnen *************************
* Department of Computer Science, Catholic University of Nijmegen * 
* Email:  patrickr@{sci,cs}.kun.nl                                *
* WWW:    http://{atlas,zeus}.cs.kun.nl:4080/homepage.html        *

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

From: [email-masked] (Frank Huth)
Subject: Re: Adding Linux to Boot Manager
Date: 3 Sep 1994 09:39:59 GMT

[email-masked] (Another Totoro) writes:

>People have probably asked this for a million times, but I have to ask again
>since this is what I am going through now.  

>Anyway, my original setup is booting Linux from A: (5.25).  Since OS/2 for
>Window comes on 3.5, I swapped my A: and B: around.  I wonder if I can just
>add my current Linux partition (on a separate HD) to the Boot Manager, or I
>have to boot to Linux and made some changes???

>If I have to change anythiny, how and what should I change??

>Thanks for your help!!

hi

most probably you have to change a thing or two.

1st add the partition our linux resides on to the boot manager menue.
  (should be clear)
2nd install a bootloader at the partition your linux resides on. assuming
  your fs is ext2 you should use lilo.
  lilosetup is described in readme files and depends a little on your
  distribution.

so you should be done.
a strong recomendation is to stick to this precedence (1st, 2nd).
ugly problems may emerge if your linux is at scsi partition and you
have ide disks present.

i hope i pointed to the right direction and gave the the nessessary
initial information.

hope you succed

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

From: [email-masked] (Eternal Darkness)
Subject: Resolver question
Date: 3 Sep 1994 06:44:51 GMT

Ok, here's an easy one. I'm f*ckin' stumped on this, though. And it's 
really getting to me.

I have NIS (named) running on my machine. My /etc/resolv.conf looks like 
this:

---begin resolv.conf---
# Domain name resolver configuration file

domain  Darkness.Com

# Midnight.Darkness.Com
nameserver 127.0.0.1

# dns2.nmsu.edu
nameserver 128.123.2.19

# dns1.nmsu.edu
nameserver 128.123.3.5
---end resolv.conf---

Now, localhost (127.0.0.1) is running named, so I obviously want this 
activated. But, after that, I'd like to be able to get other hostnames, 
off of my domain. Not a problem. I throw in a couple from NMSU.Edu. Funny 
the resolver never tries anything after the first nameserver. wtf???!!! I 
am a bit confused. I think it's just me trying too hard. The answere MUST 
be so obvious that I'll puke when I see what I missed.

Mail responses. Thanx

--

Sincerely,                      #include <disclaimer.h>
                                /*
Jake Garcia,                     * Send flames to /dev/null
Eternal Darkness(tm)             */
==============================================================================
InterNet:       [email-masked]   Snail:  5130 Dona Ana Rd.
                [email-masked]             Las Cruces, NM 88005
                [email-masked]   Phone:  (505)524-4045
==============================================================================

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

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