Linux-Misc Digest #773, Volume #27 Thu, 3 May 01 17:13:04 EDT
Contents:
Re: I have RH 6.2 - should I upgrade Gnome? ("David Orriss Jr")
Re: wu-ftpd login delay, telnet okay. (Christian Rose)
Re: HP5 LaserJet tray selection ("Richard A. Bilonick")
Help to install and use Debauch ("news.mlink.net")
Re: linux for free? (Andre Kostur)
shutdown script (Jan Wolfgang Huelsberg)
Re: HP5 LaserJet tray selection (Bob Tennent)
Re: Upgrade from RH6.2 to RH7.1? (Christian Rose)
Re: shutdown script (Michael Heiming)
Re: TAR Return Codes ("Harald Schneider")
Re: Upgrade from RH6.2 to RH7.1? (Christian Rose)
Re: Backups ("Steve Wolfe")
Re: TAR Return Codes (Grant Edwards)
Re: slrn, leafnode & 'from:' header oddness (Garry Knight)
Can't telnet into RH box from Windows 98 laptop (telnetd[27627]: ttloop: peer died:
Invalid or incomplete multibyte or wide character) (Kenny McCormack)
Re: Backups (Michael Meissner)
----------------------------------------------------------------------------
From: "David Orriss Jr" <[EMAIL PROTECTED]>
Subject: Re: I have RH 6.2 - should I upgrade Gnome?
Date: Thu, 03 May 2001 18:15:58 GMT
"Brett Castleberry" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Do you have performance issues with your system as it is? Gnome 1.4 is
> very new, and reaction has been mixed so far. I've found that RH6.2
> upgrades very well, but Im happy with the final release of Gnome 1.2,
> which I use with the XFce desktop environment. Everything I need works,
> and I won't upgrade anything else until RH7.2 comes out. In addition to
> Ximian, you can upgrade you Gnome rpms using the web option in Gnorpm to
> get them from Red Hat or rpmfind. Ask more questions about Gnome, look
> at the archives, and see what users and developers are discussing on the
> Gnome mailing list: http://mail.gnome.org/mailman/listinfo/gnome-list
>
> Brett Castleberry
> [EMAIL PROTECTED]
>
>
>
This is an excellent, well-formed, and reasonable response. I am most
grateful. Thank you. I will do as you have suggested.
--
David Orriss Jr
http://www.codeskanks.com/
http://www.davenet.net/
------------------------------
From: Christian Rose <[EMAIL PROTECTED]>
Subject: Re: wu-ftpd login delay, telnet okay.
Date: Thu, 03 May 2001 20:22:25 +0200
"Peter T. Breuer" wrote:
> > I'd dump wu-ftpd and go with something else like proftpd or sftp (from
> > openssh) (not that this would change the issue your having, but it would
> > probably increase the security of your box)
>
> I'm not convinced by this argument. Not that I'm saying that it's not
> correct! Just that it's not absolutely convincing. I personally prefer
> wu-ftp because at least I know it has no known bugs - it has all the
> beta testers in the world testing it.
My opinion too.
> But that's not enough! And a better illustration of why testing is
> inadequate as a software quality assessment procedure I never have seen.
That's how free software works. And probably not just free software,
most software works this way - software is released, bugs are found,
bugs are fixed in a new version or a seperate update.
I know that people are working on ways to actually prove that software
is secure, but I haven't heard anything that would indicate that this is
used somewhere.
Christian
------------------------------
Date: Thu, 03 May 2001 13:33:00 -0400
From: "Richard A. Bilonick" <[EMAIL PROTECTED]>
Subject: Re: HP5 LaserJet tray selection
Wayne Osborn wrote:
> Does anyone know how to select paper trays on multi-tray HP laser
> printers?
>
> I am using a HP 5P laser, lpr on RH7.0.
>
> Any comments/suggestions would be greatly appreciated.
>
> --
> Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
> Registered Linux User #212818. [2.2.16-22-Win4Lin-686] [i686]
> 7:10pm up 1 day, 5:51, 6 users, load average: 1.27, 1.15, 1.11
> ...Real Programmers don't eat quiche. They eat Twinkies and Szechwan food.
I have a similar problem. I need to select different printer trays on an HP 8000
DN. No matter what I do, I can't get the postscript output to print on the
correct size paper. It always prints it from tray 3. I'm using RH 7.0 and I've
tried to adjust the printing through the printtool program. It lets you select
"ledger" as a size but this doesn't seem to have any effect.
What is the best way to control an HP printer from Linux? Is there any way to
use the Postscript PPD file? (PPD = Postscript Printer Definition). Under IRIX
for SGI's, you can get the printing system to use the PPD file that is freely
available for most printers. The PPD file has special commands to control
various features of specific printers. It's usually available from the pritner
manufacturer.
Rick Bilonick
------------------------------
From: "news.mlink.net" <[EMAIL PROTECTED]>
Subject: Help to install and use Debauch
Date: Thu, 3 May 2001 14:28:55 -0400
Hi !
I'm relatively new to Linux. I'm running RedHat 6.2 and I'm doing some
development under KDE. I need to use a program to check memory leaks, so
tThis morning, i try to install Debauch but i can't find clear instructions
to install and run it !!
It's probably not really difficult but i don't have so much time to search
for.
I try make all to see what files will be created, but there's this Imakefile
that suggest me that something else should be done. And the README file is
not really clear about that, they just talk about shell script...
Can somebody please explain me "how to install" and "how to use" Debauch ?
Thanks
Natacha Joseph
[EMAIL PROTECTED]
------------------------------
Subject: Re: linux for free?
From: [EMAIL PROTECTED] (Andre Kostur)
Date: Thu, 03 May 2001 18:34:19 GMT
Massimiliano Masi <[EMAIL PROTECTED]> wrote in <9ccakn$578$1
@guardian.mascanc.org>:
>Hi...
>
>wael fares <[EMAIL PROTECTED]> hai scritto:
>
>> hi all
>> i would like to know a web site to download linux os for free thanks
>
>ftp.suse.com
>ftp.slackware.com
>ftp.redhat.com(?)
>ftp.turbolinux.com
>ftp.?????? :))))
>
www.linuxiso.org
------------------------------
From: Jan Wolfgang Huelsberg <[EMAIL PROTECTED]>
Subject: shutdown script
Date: Thu, 3 May 2001 19:47:01 +0200
I need a scrip so that one computer is shutdown by another over a network
connection.
How can I do that.
Probably I have to open a socket where the one computer is waiting for a
message from the other to shutdown.
If I shutdown with a delay are there automatically broadcast messages
created to be read by all users on the system?
Jan.
Jan Wolfgang Huelsberg <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: HP5 LaserJet tray selection
Date: 3 May 2001 18:47:58 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 29 Apr 2001 19:17:08 +0800, Wayne Osborn wrote:
>Does anyone know how to select paper trays on multi-tray HP laser
>printers?
Possibly kljettool (in kdeutils). Or check the HP support site.
Bob T.
------------------------------
From: Christian Rose <[EMAIL PROTECTED]>
Subject: Re: Upgrade from RH6.2 to RH7.1?
Date: Thu, 03 May 2001 20:59:40 +0200
LeoDeBeo wrote:
> rh7.0 is an annoying distro as i experienced problems compiling the kernel.
> the standard compiler delivered with it doesn't compile the kernel. you
> have to take another one gcc
This was due to bugs in the 2.2 Linux kernel. It would simply not
compile with modern compilers like gcc 2.96-rh.
Did you set "export cc=kgcc" when compiling the kernel? Another
alternative is specifying "HOSTGCC=kgcc" in the top-level Makefile.
Kernel 2.4 has this fixed, so compiling kernel 2.4 with gcc 2.96-rh
works like a charm.
> i had 6.2 too: very stable distro
> in the end, it is really the packaging of new software that is interesting,
> you can upgrade the packages you like. once you get started you can't
> really tell which distro is on your comp, as you configure the operating
> system, compile new kernels, upgrade glibc, install new software, you get
> your own personal machine. the distro's are kind of interesting because of
> the abundance of new software and the ability to install it all on your
> machine at once without too many problems and time.
Patching the machine is a valid option when you're the only one
maintaining it, but in most cases not when you share that responsibility
with other people or when you have to make it easy for another person to
take over the maintainership.
If you mix too much, even applying security updates become a problem -
which ones of the fixes apply to your system? The Red Hat 7.1, 7.0 or
6.2 fixes, or the ones for Mandrake since you maybe at one time
installed Mandrake packages on your Red Hat system?
My opinion is: If you suddenly feel that you want something that a newer
version of your distro has, upgrade to that version of the distro. Most
likely you'll also want other software that also comes with this newer
version of the distro, and something like installing packages for a
newer version of the distro on an older version of the distro is almost
never guaranteed to work.
If you upgrade and install carefully, at regular intervals, and try to
stay with the packages done by your distribution vendor, you will avoid
most of the administration headaches. Also don't forget to apply
security updates as soon as they are released, and subscribe to your
vendor's security announcement mailing list so you know when they are
released.
Christian
------------------------------
Date: Thu, 03 May 2001 21:09:01 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: shutdown script
Jan Wolfgang Huelsberg wrote:
>
> I need a scrip so that one computer is shutdown by another over a network
> connection.
> How can I do that.
> Probably I have to open a socket where the one computer is waiting for a
> message from the other to shutdown.
The easiest way would be to use ssh, setup an account which uses key
exchange
to enable remote login without password. This account needs to be
enabled
to use the shutdown command, normally only root can perform this and
direct
root login should be disabled. "apropos ssh" should show you all man
pages
on this topic on your box and the net is full of how to setup this.
> If I shutdown with a delay are there automatically broadcast messages
> created to be read by all users on the system?
rtfm (read the fine manual) "man shutdown".
Good luck
Michael Heiming
------------------------------
From: "Harald Schneider" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.os.linux.suse
Subject: Re: TAR Return Codes
Date: Thu, 3 May 2001 21:09:31 +0200
tar gives my script a 512 as result code (when backing up to a win2000
machine via smb). It's undocumented in man and info files :-/
"Grant Edwards" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:WfYH6.21987$[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>, Tomaz Cedilnik wrote:
> >Harald Schneider wrote:
> >
> >> Does there exist a list of all possible return codes used by tar with
the
> >> corresponding verbose description?
> >
> >What does 'man tar' tell you? (Sorry, the newest distro I've seen is RH
> >6.1)
>
> 'man tar' doesn't say anything. However, 'info tar' says:
>
> GNU tar' returns only a few exit statuses. I'm really
> aiming simplicity in that area, for now. If you are not
> using the --compare' (--diff', -d') option, zero means that
> everything went well, besides maybe innocuous warnings.
> Nonzero means that something went wrong. Right now, as of
> today, "nonzero" is almost always 2, except for remote
> operations, where it may be 128.
>
> So, it appears that you are only guaranteed that it is zero for
> success and non-zero for failure.
>
> --
> Grant Edwards grante Yow! Like I always
> at say -- nothing can beat
> visi.com the BRATWURST here in
> DUSSELDORF!!
------------------------------
From: Christian Rose <[EMAIL PROTECTED]>
Subject: Re: Upgrade from RH6.2 to RH7.1?
Date: Thu, 03 May 2001 21:13:39 +0200
wroot wrote:
> I'm wondering if it makes sense to upgrade from RH6.2 to RH7.1? My current
> RH6.2 functionality pretty much satisfies me (except for minor quircks with
> CD-RWing: if I boot it with SCSI emulation, it does not recognize audio
> CDs, so I can not play them on my computer)
>
> How stable and secure is the new Redhat?
As for secure: It doesn't listen on the network by default, has no
services open to the network by default, and includes a firewall by
default (if you do a new install).
As for stable: This depends if people find any serious stability bugs
with kernel 2.4. AFAIK, there are none known at this point.
My opinion is that upgrading is always worth it in the long run: You get
new versions of most software, you get new features and old annoying
bugs fixed, and if you get problems, you can give people a precise
answer when they ask what you are running when you have asked for help.
Christian
------------------------------
From: "Steve Wolfe" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: Backups
Date: Thu, 3 May 2001 13:26:59 -0600
> As I stated elsewhere, I've got a duplicate HD (/dev/hdb), partitioned
I'm not sure exactly where "elsewhere" is, so I can't look at what you've
previously posted, and can only make guesses as to your config. If I'm
wrong in those guesses, I apologize...
If you have a dulpicate hard drive for backups (same model of drive, I'm
assuming, since you use the word "duplicate"), why not do something simple,
such as....
dd if=/dev/hda of=/dev/hdb
That would make a bit-for-bit copy, meaning that in the case of extreme
failure, you swap the drives, and you're running again. Of course, fiddling
with the block size would speed it up. And, of course, if you were to put
the second drive on a different controller than the first, that should speed
things up as well.
steve
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Crossposted-To: alt.os.linux,alt.os.linux.suse
Subject: Re: TAR Return Codes
Date: Thu, 03 May 2001 19:56:43 GMT
In article <9csa8o$e2p$05$[EMAIL PROTECTED]>, Harald Schneider wrote:
>tar gives my script a 512 as result code (when backing up to a win2000
>machine via smb). It's undocumented in man and info files :-/
Are you really calling tar from a script or from a C program?
Shell-script return codes are only the upper 8-bits, and
there's no way you should see a return code of 512 in a shell
script.
If it's a C program, then the "return code" mentioned in the
info pages is returned in the upper 8 bits of a 16 bit number,
with a signal number in the lower 8 bits:
512 = 00000010 00000000
return code signal number
Return code == 2.
--
Grant Edwards grante Yow! I'd like some JUNK
at FOOD... and then I want to
visi.com be ALONE --
------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Subject: Re: slrn, leafnode & 'from:' header oddness
Date: Thu, 3 May 2001 19:16:46 +0100
Reply-To: [EMAIL PROTECTED]
On Thu, 3 May 2001 09:48:06 -0400 in article
<[EMAIL PROTECTED]>, steve <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] (Garry Knight):
> >| On Mon, 30 Apr 2001 15:35:21 +0100 in article
> >| <[EMAIL PROTECTED]>, SammyTheSnake <[EMAIL PROTECTED]>
> >| wrote:
> >|
> >| > I'm using slrn to post to localhost which is running leafnode which
> >| > connects to news.ntlworld.com via an ntlworld dialup account. My
> >| > from: address is [EMAIL PROTECTED] whereas it really _should_ be
> >| > [EMAIL PROTECTED], my username on my local computer is sammy and
> >| > the hostname for the local computer is osyd, so I can see a rationale
> >| > for some of this addy, but the rest is a mystery!
> >|
> >| What's the entry for 'hostname' in your ~/.slrnrc ?
>
> set hostname "home.com"
So it's not that that's doing it, then. But now I'm curious as to why you
set hostname to "home.com" in .slrnrc when it's actually "osyd"...
Oh, hang on, now this one's from "[EMAIL PROTECTED]". Looks like you've
already solved it.
What do you get if you set hostname in .slrnrc to "ntlworld.com" and
username to "sam.penny"?
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Kenny McCormack)
Crossposted-To: comp.os.linux.setup,comp.os.ms-windows.misc
Subject: Can't telnet into RH box from Windows 98 laptop (telnetd[27627]: ttloop:
peer died: Invalid or incomplete multibyte or wide character)
Date: 3 May 2001 15:47:17 -0500
Reply-To: [EMAIL PROTECTED]
I have an RH 6.something box that works just fine - has been working just
fine for over a year. I just recently acquired a standard issue laptop
running Windows 98, but I've found that I can't telnet from the laptop to
the RH box. When I use a(ny) telnet client on the Windows machine, it
connects and then hangs. In the RH box, in /var/log/messages, appears the
following:
telnetd[27627]: ttloop: peer died: Invalid or incomplete multibyte or wide character
I can telnet into the RH box from other systems with no problems, but not
from this laptop.
Anyone seen this before? Is there a fix? Should I be posting this in a
Windows NG (since it actually sounds like a Windows problem)...
------------------------------
Crossposted-To: comp.os.linux.setup,comp.os.linux.help
Subject: Re: Backups
From: Michael Meissner <[EMAIL PROTECTED]>
Date: 03 May 2001 17:08:59 -0400
Scott <[EMAIL PROTECTED]> writes:
> Since I've started a dialog here, my next question is backing up.
>
> As I stated elsewhere, I've got a duplicate HD (/dev/hdb), partitioned
> like the root FS (/dev/hda). I can copy everything over.
> (only updating based on dates, etc...)
>
> I could also TAR everything into one big file, onto that drive
> as well. I could also gzip things up onto there, etc...
> (I figure my zip drive is too small, and I'd have to break
> things up into smaller files if I wanted to use it for everything)
>
> My question is this:
> What about /dev and /proc?
>
> Those are not real files, and the cp command dies when it tries to
> read them.
> Do we just ignore those directories?
> Is there a switch which can tell cp (or tar for that matter) to
> ignore those file entries?
You do want to copy the entries for /dev (unless you use devfs), but cp does
not copy devices correctly. What I use is rsync, which has a -x option to not
cross file system boundaries (ie, skip /proc since that is a mounted file
system, and to skip the filesystem you have mounted /dev/hdb on). What you
want is something like (if /dev/hdb is mounted on /backup):
# rsync -ax --delete --execlude='lost[+]found' / /backup/
Rsync will only copy the files that it thinks are modified. Another way to do
it is:
# cd /
# umount /backup
# mke2fs /dev/hdb
# mount /dev/hdb /backup
# tar -clf - . | tar -C backup -xpf -
which transfers everything.
If you want to tar, gzip, and split it into smaller pieces so you can copy each
piece to a zip drive (or CD-R), you can do:
# cd /
# rm -f /backup/root*
# tar -clf - . | gzip -6 | split --bytes=95m - /backup/root.gz-
where it will break it into 95 megabyte pieces starting with the prefix
/backup/root.gz-*. If you want more compression (but slower dumps), use gzip
-9, or bzip2 -9.
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: [EMAIL PROTECTED] phone: +1 978-486-9304
Non-work: [EMAIL PROTECTED] fax: +1 978-692-4482
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************