Linux-Misc Digest #297, Volume #24               Thu, 27 Apr 00 21:13:02 EDT

Contents:
  Re: printing text on postscript printer (Bob Tennent)
  Re: Logical Volume Manager for Linux? (John Reiser)
  Re: Strange netscape 4.61 problem. (Alex)
  unexpected interrupts (Redhat 6.2) - ide1 (Lauren Weinstein)
  Re: logging into a linux box remotely as root using rsh with no password ("Garl R. 
Grigsby")
  Re: Linux on a Mac Plus (Dances With Crows)
  How the blank do I use .dif (.diff) files?
  Re: ATI Rage 128 and RH6.2 (Guy Fraser)
  Re: sound, sblive   help help help (Cevat Ustun)
  Re: Nested directory structure problem (Dances With Crows)
  Re: KDE Icons? ("Lonni J. Friedman")
  Re: I think I have been HACKED!!! (Rod Smith)
  problem reading burned multisession cds ([EMAIL PROTECTED])
  Installation Red Hat 6.2 with problem. (Garel)
  Re: Linux newbie + Web server (Alexis Bilodeau)
  Re: linux connection to DSL ("Matt O'Toole")
  Re: How the blank do I use .dif (.diff) files? (David Waffen)

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

From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: printing text on postscript printer
Date: 27 Apr 2000 23:07:54 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 27 Apr 2000 13:23:50 -0700, Gerald Willmann wrote:
 >On Thu, 27 Apr 2000, Bob Tennent wrote:
 >
 >> I presume your "postscript filter" should be "postscript printer"!
 >> You don't tell us which distribution you're using.  On RedHat, you
 >> would use printtool to configure a postscript printer.  This creates
 >> a configuration entry in /etc/printcap and a corresponding sub-directory
 >> under /var/spool/lpd.  Check out the printing HOWTOs.
 > 
 >Bob: thanks for your answer. Yes, I meant postscript printer. I'm using RH
 >but changed my printcap by hand because I don't think printtool would
 >understand all the remote printers in there and because I like to know
 >what I'm doing. Now, it prints postscript just fine and I just discovered
 >how to print plain text using enscript -M Letter and I guess I could use
 >enscript -M Letter -Z as a filter where the Z switch let's postscript pass
 >through. Just wondered how other people were dealing with this.
 >             
RedHat use mpage as a "magic filter" to convert non-postscript text
to postscript.  It should work automatically.  I actually prefer
enscript myself.

Bob T.

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

From: John Reiser <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.os.linux.development.apps,linux.redhat.install,linux.redhat.misc
Subject: Re: Logical Volume Manager for Linux?
Date: Thu, 27 Apr 2000 16:28:05 -0700

At a lower level, the 'md' (mulitple device) device driver can concatenate
disk partitions, and is already present in nearly all Linux distributions.

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

From: Alex <[EMAIL PROTECTED]>
Subject: Re: Strange netscape 4.61 problem.
Date: Thu, 27 Apr 2000 16:43:58 -0700

Jan Schaumann wrote:
> 
> Alex wrote:
> >
> > Hi,
> >
> > I had a strange netscape 4.61 problem. Earlier today, it
> > crashed and freezes. Cannot even start another counsel to kill
> > it.
> > The whole system halted. Have to use <alt><ctrl><del> to kill
> > it.
> > Restarted from startx, started netscape again from counsel.
> > Same thing happened.
> >
> > Have to use <alt><ctrl><del> to kill it AGAIN. su to reboot,
> > the same thing happened again.
> >
> > <alt><ctrl><del> to kill it AGAIN. login as root, shutdown -p.
> > Turned power off from machine. Power on again. login as regular
> > user. Startx. start netscape again.... netscape hangs again...
> > but after about a minute or two, everything returned to normal.
> >
> > The hangs were caused by opening the bookmark on netscape.
> >
> > Kernel is 1.2.13, Asus SMP Mobo, dual p-3, 512 Mb PC-100 RAM,
> > U2WSCSI LVD HDDs, IDE CD-burner.
> >
> > Never had this problem before.
> >
> > Thanks.
> >
> > Alex
> >
> > Any suggestion?
> 
> Weird, indeed. I recommend upgrading NS to 4.72, or downgrade it to 4.01
> - both are more stable than the 4.61 version.
> 
Yeah, I'' d/l 4.72 this week end.

> Were you able to track down which bookmark it was, or were all affected?

Just click on the bookmark icon on the menu-bar would hangs
everything.

> Did you try to disable java and javascript?
> 
Java, Javascript or cookies are all off. Don't need them, don't
want them.

Thankx,

Alex

> -Jan
> 
> --
> Jan Schaumann
> http://www.netmeister.org
> 
> I thought there was chocolate inside ... Well, why was it wrapped in
> foil?
>                 -- Homer Simpson

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

From: Lauren Weinstein <[EMAIL PROTECTED]>
Subject: unexpected interrupts (Redhat 6.2) - ide1
Date: Thu, 27 Apr 2000 23:29:54 +0000

Greetings.  On a new 6.2 installation (notebook) I'm seeing
occasional ide1 (CD-ROM) unexpected interrupts, regardless if
whether or not the drive has a disc loaded or is mounted.
These are not terribly frequent (occurring maybe every half
hour or so).  Is there an obvious cure?  Is a real problem indicated,
or is it likely just a Linux timing artifact?  What would be the
safest way to silence it?  Thanks much.

--Lauren--

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

From: "Garl R. Grigsby" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.setup,linux.redhat,linux.redhat.misc,uk.comp.os.linux
Subject: Re: logging into a linux box remotely as root using rsh with no password
Date: Thu, 27 Apr 2000 16:21:04 -0700

Paul,
    Remove the /etc/securetty file (or rename it). This one took me a LONG time
to find.

Garl


Harry Overs wrote:

> I've managed to get all other users but root to log into remote machines
> with no password by
>
> 1. Setting up /etc/hosts.equiv with trusted hosts
> 2. Setting ~/.rhost to include trusted users
>
> N.B. This is a standalone network in a secure room used for dev work so
> security is not such an issue.
>
> Howver root cannot log in with no password. I've added the mod specified in
> the man pages for rshd ( -h )  in /etc/inetd.conf but to no avail.
>
> Does anyone know how to do this, I've been trying for so long, with several
> posts, but no-one seems to know how to do this.
>
> Using rh6.1/6.2
>
> Any help would be gratefully appreciated.
>
> Regards
>
> Paul.

--
=============================================================================
Garl R. Grigsby
Customer Applications Engineering - Analysis Team
=============================================================================
Structural Dynamics Research Corporation      Phone: (800)242-7372
TAO Americas Support Center                   FAX: (541)342-8277
1750 Willow Creek Circle                      Email:  [EMAIL PROTECTED]
Eugene, OR 97402                              Internet:  http://www.sdrc.com
=============================================================================
-FEA makes a good engineer great, and a poor engineer dangerous-



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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Linux on a Mac Plus
Date: 27 Apr 2000 19:53:36 EDT
Reply-To: [EMAIL PROTECTED]

On Thu, 27 Apr 2000 18:16:10 GMT, Brian Barber 
<<Kt%N4.83162$[EMAIL PROTECTED]>> shouted forth into the ether:
>Is there a port of any distribution of Linix for the Motorola 68000?  I know
>of ports for 680x0 chips, PowerPC, G3, G4, etc., but not for the 68000.

You need at least a 68030, I believe.  Earlier 68000s didn't include MMUs,
and no MMU = no protected memory = no Linux nohow.  ELKS is supposed to be
a port of a subset of Linux to the 286; there may be a similar project for
the 68000 but I don't know how well it'd work.  Maybe you could see if
NetBSD has been ported?  (They seem to port NetBSD to *everything*.  It
isn't Linux, but it's Unix and therefore somewhat nifty.)

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: [EMAIL PROTECTED] ()
Subject: How the blank do I use .dif (.diff) files?
Date: Thu, 27 Apr 2000 23:56:28 GMT
Reply-To: comp.os.linux.misc

Ok, I have wondered this for ages, and thought I had figured
it out when I had successfully done a:
$cat *.diff| diff
and had it work
But I am running an distribution that has patches for the src files
and funny .dif files along with them
when I try
$diff foo.diff
$cat foo.diff|diff
$diff <foo.diff
none of these work, and just issue usage messages for the diff command...

So, how do I
        A) apply dif(f) files properly in the first place
        B) tell wether or not what I have *are in fact* diff files
                (one would assume they are, given the placement and
                 name of them; but I thot that the standard extention
                was 'diff' not 'dif'

Does the useage for diff vary from unix distro to unix distro?

TIA for your help

-- 
/*****************************************************
robot minds of robot slaves, lead them to atomic graves
plastic flowers melt in sun, fading moon falls upon
dying world of radiation, victims of mad frustration
....
ELECTRIC FUNERAL! ELECTRIC FUNERAL!
******************************************************/

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

From: Guy Fraser <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.redhat.list,comp.os.linux.setup
Subject: Re: ATI Rage 128 and RH6.2
Date: Thu, 27 Apr 2000 17:51:21 -0600

The code may be part of SVGA, Suse released a replacement SVGA driver
last year that supports the Rage 128, I have been using it for a long
time, but it didnot work properly with an Allinwonder 128 with 16MB. My
Xpert 128 16MB works fine.

I just went to the site and here is a link and a clipping :

http://www.suse.de/en/support/xsuse/

January 2000: XFree86-3.3.6 has been released

    A modified XFree86-3.3.6 for SuSE Linux users is available on our
ftp server for SuSE Linux 6.3,SuSE
    Linux 6.2,SuSE Linux 6.1 and SuSE Linux 6.0.

    All of our older XFCom servers have been integrated into servers of
XFree86-3.3.6. Here is a list, which XFree86-Servers do now contain
which former XFCom-Server:

    XFCom-Server       XFree86-3.3.3 (and later)

    XFCom_3DLabs     ->  xglint
    XFCom_Matrox     ->  xsvga
    XFCom_Rendition  ->  xsvga
    XFCom_Cyrix      ->  xsvga
    XFCom_P9x00      ->  xsvga
    XFCom_Trident    ->  xsvga
    XFCom_Rage128    ->  xsvga
    XFCom_SiS        ->  xsvga

    An Utah-GLX module for Riva 128/128ZX/TNT/TNT2 graphic boards of
NVIDIA is provided for SuSE Linux 6.3 and SuSE Linux 6.2 .

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

From: Cevat Ustun <[EMAIL PROTECTED]>
Subject: Re: sound, sblive   help help help
Date: Fri, 28 Apr 2000 00:04:32 GMT

Does distribution matter here?--I don't seems to have anything 
under /opt/kde/bin yet sblive works fine with me.

Cevat 


jdaspinw wrote:
> 
> Hey man, are you trying to use this thing with the kde
> interface?  If so, you need to cd to /opt/kde/bin and joe
> the startkde file.  Once you do that you need to find a line
> that says startif kaudioserver, or startifkwsound, or
> something like that and delete the # comments in front of
> them.  Then you'll have to put an $ after both of those
> entries and type in emu10k1, and the module should be
> loaded next time you start kde.
> 
> * Sent from AltaVista http://www.altavista.com Where you can also find related Web 
>Pages, Images, Audios, Videos, News, and Shopping.  Smart is Beautiful

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Nested directory structure problem
Date: 27 Apr 2000 20:09:05 EDT
Reply-To: [EMAIL PROTECTED]

On Thu, 27 Apr 2000 19:16:08 +0200, Tomaz Leskovsek 
<<iA_N4.2694$[EMAIL PROTECTED]>> shouted forth into the ether:
>For example: if your site name is tagtag.com\james then all your data is
>stored in a directory structure \sites\j\a\m\james\ ! So we have 36
>subdirectories under \sites (-, 0,...,z) and all of them have 36
>subdirectories and all of them have 36 subdirectories.
>This structure is causing a lot of problems. Not to the file system, but to
>some of utilities, like disk quota calculation.>
>Do you see any possible solution? A limit of subdirectories in directory on
>Linux is around 65000 if I am not mistaken.

You can probably speed things up vastly by using only 2 levels of
directories.  Here at the U of M, there are roughly 40,000 users with
shell accounts, and they get by with /crud/X/Y/username for home
directories.  26^2 is orders of magnitude less than 26^3, eh?

The number of entries in one particular directory is limited by a number
of factors--the number of inodes on the filesystem, the size of the
filesystem, and the available RAM on the machine.  There's no arbitrary
65536 limit.  Performance tends to suffer when you go beyond a few
thousand, though.  You could have a look at ReiserFS, the journalling
filesystem that's probably the farthest along right now.  SuSE 6.4 has
options to install everything except /boot on ReiserFS partitions.

If you are doing something truly massive ( > 50,000 directories, terabytes
of disk, multiple 100mbit netcards) then Linux might not actually be the
best choice a this point in time.  Big efforts often require Big Iron.

>beyond this limit, so that we would be able to have many more user
>directories accessible using URL like www.domain.com\user.

They don't usually put \ in URLs, you know.  I think you're out of luck
:-)

-- 
Matt G / Dances With Crows              \###| Programmers are playwrights
There is no Darkness in Eternity         \##| Computers are lousy actors
But only Light too dim for us to see      \#| Lusers are vicious drama critics
(Unless, of course, you're working with NT)\| BOFHen burn down theatres.

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

From: "Lonni J. Friedman" <[EMAIL PROTECTED]>
Subject: Re: KDE Icons?
Date: Thu, 27 Apr 2000 19:47:32 -0400

Go here and read the section KDE -> Cleaning the desktop:
http://netllama.ipfox.com/stepbystep.htm

Lep wrote:
> 
> I have a problem with Linux's KDE interface.  I'm using the Mandrake
> version of Linux, which has about 18 desktop icons as default.  If I
> rename or delete any of these default icons, it puts them back on the end
> of the list when I log back in.  Why does it do this, and how can I stop
> it?

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: I think I have been HACKED!!!
Crossposted-To: uk.comp.os.linux,comp.os.linux.setup
Date: Fri, 28 Apr 2000 00:21:50 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Kerr Gibson <[EMAIL PROTECTED]> writes:
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (brian 
> moore) wrote:
> 
>> Most likely you were being probed just like any system online all the 
>> time gets. 
> 
> Hmmm, would these be some kind of automatic probes or just individuals 
> playing around.

It could be either. Sometimes script-kiddies (or serious crackers) probe
entire batches of machines, like every machine served by a particular ISP.
Other times you're targeted specifically, say because you annoyed somebody
in a Usenet posting or simply because you run a server.

>> Go through inetd.conf and comment out every line if you don't know what 
>> it
>> is or why you would run it.  
> 
> Yeah, my dist came with everything commented out intially. I have only 
> turned on the few things I need for the LAN.

A still better policy is to configure things so that your internal LAN
services are *NOT* visible to the outside world. For instance, if you've
got two Ethernet devices (eth0 and eth1), and if eth0 is your internal
LAN, you should deny access to your services from eth1, while leaving
access open via eth0. There are several ways to do this:

1) TCP Wrappers. You can configure TCP Wrappers, in conjunction with inetd
   (or servers that can use TCP Wrappers directly) to deny connections to
   most hosts, accepting only those on your local LAN.
2) xinetd. xinetd is a replacement for inetd. It includes functionality
   that's roughly equivalent to inetd and TCP Wrappers, but in some ways
   its superior. For a system with two network devices, it's definitely
   superior, because it allows you to bind a service to one device only.
   (TCP Wrappers works on IP addresses, which can be spoofed.) I recently
   heard of another xinetd-like inetd replacement, but I don't recall its
   name offhand.
3) ipchains. You can use ipchains to deny or reject packets coming to
   particular servers from particular Ethernet devices or IP addresses.

I recommend you use ipchains and either xinetd or TCP Wrappers. This
practice gives you two lines of defense. If, say, a bug exists in
ipchains that allows a cracker to get through, then xinetd or TCP Wrappers
may block the attempt. For information on setting up a firewall with
ipchains, check http://linux-firewall-tools.com/linux/ or the ipchains
HOWTO. There are also various books on Linux security, such as _Maximum
Linux Security_ and _Linux Firewalls_. I've got links to several on
http://www.rodsbooks.com/books/books-network.html. I *STRONGLY* recommend
anybody who's got a Linux computer connected to the Internet via a cable
or DSL modem to read up on these issues, either in books or by reading
several relevant HOWTOs, security web sites, etc.

One final point: It is possible that your system has already been
compromised, although you've presented no evidence that it definitely has
been. If you're using an RPM-based system try this:

rpm -Va > files.txt

The result is a file (files.txt) with a listing of files that have changed
vs. their original states. Some of these changes are innocent, like
changes you've made to configuration files. Pay particular attention to
files that are reported with "5" or "S" that should not have changed, like
most or all binary files (anything in /bin, /usr/bin, etc.). Note that
this procedure is NOT guaranteed to catch a compromised system, since it
relies on your on-disk RPM database and rpm binary, either or both of
which could be compromised. Most crackers, though (particularly script
kiddies) are too lazy or ignorant to take care of these details. Note that
you will end up wading through a large number of innocent changes; don't
freak out if you see line after line of altered or missing files. Also, as
I say, you've presented no evidence that your system actually has been
compromised; I recommend you check this matter as a precautionary measure
only.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux networking & multi-OS configuration

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: problem reading burned multisession cds
Date: Fri, 28 Apr 2000 00:21:20 GMT

Hi,
 I seem to have problems getting linux to read burned
multisession cds.  I used mkisofs and cdrecord to
burn the cds.  I used the following to test:
  for the first session
     mkisofs -v -R -Joliet -o image.iso
             first/=/usr/sufian/Desktop
     followed by
     cdrecord -v -multi speed=4 dev=0,0
              -data image.iso
   for the following session
     mkisofs -v -R -Joliet -C xx,xx -M 0,0
             -o image.iso second/=/usr/sufian/Desktop
     followed by
     cdrecord -v -multi speed=4 dev=0,0
              -data image.iso
                    where XX,XX is the output got
                    from cdrecord -msinfo
The burning process went OK but when I listed the
contents on /mnt/cdrom, it appears that nothing is on
the CD. So, I tried on Win98 to check the contents of
the CD and the files are all there.
Any ideas on this?  Are the commands used to burn
the CD correct?
By the way, I have an ATAPI cdrw and am using the
idescsi thing. Any help given is deeply appreciated.
Thanks.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Garel <[EMAIL PROTECTED]>
Subject: Installation Red Hat 6.2 with problem.
Date: Fri, 28 Apr 2000 00:30:05 GMT

Dear Friends,

While I tried installing Red Hat 6.2 under expert, text, and enter. After 
some time it terminate the installation and have to reboot. It shows:

install excited abnormally
received signal 11
sending termination signals .... done.
sending kill signals....done.

At time after several trail on the lilo configuration that I only have IDE 
and not SCSI. It finally completed installation. But when I put up, the 
LILO only shows LI and hanged it there? What the caused of it.

Please Help


--
Posted via CNET Help.com
http://www.help.com/

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

From: Alexis Bilodeau <[EMAIL PROTECTED]>
Subject: Re: Linux newbie + Web server
Date: Fri, 28 Apr 2000 00:41:40 GMT

ram wrote:
> 
> Dear all,
> 
> I want to set up a web server on Linux, however, I am a newbie to both. Is
> there any suggestion for the distribution of the OS and web server.
> 
> Thanks in advance.
> 
> Raymond Mui
> 
> --
> Posted via CNET Help.com
> http://www.help.com/
I use Mandrake 7.0, which is very good distribution (based on Red Hat). 
It's really user-friendly and rpms are easy to find.
Apache is THE Web server...
www.apache.org
-- 
Alexis Bilodeau
eMagiK Technologies
819.371.9273
[EMAIL PROTECTED]

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

Reply-To: "Matt O'Toole" <[EMAIL PROTECTED]>
From: "Matt O'Toole" <[EMAIL PROTECTED]>
Subject: Re: linux connection to DSL
Date: Thu, 27 Apr 2000 17:43:09 -0700


"nick santilli" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

> I want to configure my new linux box to connect to the internet via my DSL
> connection.  (and then use the linux box as a fileserver on my in-home
> network)
>
> I can take care of the in-home network portion by myself (at least I am
> pretty sure I can), but was wondering if anyone out there knows how to set
> Linux up through DSL??
>
> thanks to whomever has some input on the subject.  It's MUCH appreciated!

It all depends on which kind of DSL you have.  So, check with your provider,
and post back with the info.  The more expensive packages include a static
IP address (perhaps more than one), for $70/mo and up; while the cheaper
ones use dynamic IP addresses, with protocols like DHCP, PPPoE, PPPoATM, and
so on.  You need to know which one you're getting.

Matt O.




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

From: David Waffen <[EMAIL PROTECTED]>
Subject: Re: How the blank do I use .dif (.diff) files?
Date: Fri, 28 Apr 2000 01:08:49 GMT

 diff - find differences between two files
None of your examples fit the syntax.
syntax: diff [ options] file1 file2

Read the man pages for the details
# man diff

diff /tmp/file1 /tmp/file2


[EMAIL PROTECTED] wrote:

> Ok, I have wondered this for ages, and thought I had figured
> it out when I had successfully done a:
> $cat *.diff| diff
> and had it work
> But I am running an distribution that has patches for the src files
> and funny .dif files along with them
> when I try
> $diff foo.diff
> $cat foo.diff|diff
> $diff <foo.diff
> none of these work, and just issue usage messages for the diff command...
>
> So, how do I
>         A) apply dif(f) files properly in the first place
>         B) tell wether or not what I have *are in fact* diff files
>                 (one would assume they are, given the placement and
>                  name of them; but I thot that the standard extention
>                 was 'diff' not 'dif'
>
> Does the useage for diff vary from unix distro to unix distro?
>
> TIA for your help
>
> --
> /*****************************************************
> robot minds of robot slaves, lead them to atomic graves
> plastic flowers melt in sun, fading moon falls upon
> dying world of radiation, victims of mad frustration
> ....
> ELECTRIC FUNERAL! ELECTRIC FUNERAL!
> ******************************************************/


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


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

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to