Linux-Misc Digest #546, Volume #27 Fri, 6 Apr 01 19:13:01 EDT
Contents:
HP Colorado Streamer / FC 20 Controller (Thomas =?iso-8859-1?Q?Hageb=F6ke?=)
Re: log move ("Jason C. Hill")
Re: suggestions needed about backup (ekk)
Re: gpg warning! (nordi)
Re: My firewall block the log message from cron daemon (Michael Heiming)
Re: WWW: Welcome to LinuxClass ("Dennis J. Tuchler")
Re: Cannot Shutdown anymore (Sean)
serial input and termios - simple Q (Christopher Corbell)
Re: fetchmail script (Sean)
LS_COLORS + more on bash?? ("ekkis")
Won't boot: deleted libc.so.6 (mark)
Linux root user password lost (Daniel Groppe)
Re: LS_COLORS + more on bash?? (mark)
adding program output to mail (Peter Hinkle)
Looking for record and playback tool for Linux environment (Surendar Thaneer)
Re: help with tomsrtbt ("Duane Healing")
Re: 3d shooter running on 2 computers (Dieter =?ISO-8859-1?Q?N=FCtzel?=)
Re: 3d shooter running on 2 computers (Dieter =?ISO-8859-1?Q?N=FCtzel?=)
Re: Won't boot: deleted libc.so.6 (Juergen Heinzl)
Re: Linux root user password lost (Hartmann Schaffer)
Re: LS_COLORS + more on bash?? (Chiefy)
Re: LS_COLORS + more on bash?? (Chiefy)
----------------------------------------------------------------------------
From: Thomas =?iso-8859-1?Q?Hageb=F6ke?= <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup
Subject: HP Colorado Streamer / FC 20 Controller
Date: Fri, 06 Apr 2001 21:12:58 +0200
Hello folks,
I have an old P1 computer equipped with a HP Colorado 1000 Travan floppy
streamer.
That streamer is connected to a FC 20 controller (for compression
purposes).
The distribution I use is SuSE 7.1 (kernel 2.4)
Background:
with kernel 2.0.xx, I used ftape as a module - the streamer worked
perfectly.
Then, with kernel 2.2.13 (SuSE 6.3), I suddenly had to compile streamer
support into the kernel
and use zftape/compressor support. And BTW: the module-version didn't
work any more.
Now I installed SuSE 7.1 with kernel 2.4 which has a pre-compiled module
support for the
ftape and zftape interfaces. But none of them actually do work. I always
get the response
/dev/ftape: No such device
The same applies for zftape.
My aim is getting that streamer working (of course) with
zftape/compressor support.
An if possible - somehow - by using a module which is loaded on demand.
The streamer/controller settings are the defaults:
FC 20: I/O 210-217
DMA 3
IRQ 9
Colorado: I/O 180-187
This configuration works perfectly under windows - and it did with
previous kernel versions
(as described).
Please help me with 2.4.
Best regards,
Thomas
--
==========================================================================
======
Thomas Hageb=F6ke (mailto:[EMAIL PROTECTED] http://www.hageboeke.de=
)
Linux-powered! - Future is beyond Microsoft!
==========================================================================
======
------------------------------
From: "Jason C. Hill" <[EMAIL PROTECTED]>
Subject: Re: log move
Date: Fri, 6 Apr 2001 15:16:47 -0400
Next time do this
cp old_log new_log
cat /dev/null > old_log
gzip new_log
there ya go...you can even make a handy script out of it.
that way you don't have to restart anything.
-J
that way you won't have to
"Philip" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I was rotating a log file because it had grown very large and found that
> afterwards the log was not being written to any longer. I had to reboot
> to get the log to start recording again. Here are the steps which I
> followed.
>
> cp messages /dir2/messages.mmddyy
> cp /dev/null /var/log/messages
> chmod 600 messages
>
------------------------------
From: ekk <[EMAIL PROTECTED]>
Subject: Re: suggestions needed about backup
Date: Fri, 06 Apr 2001 15:40:52 -0400
Joshua Baker-LePain wrote:
> ekk <[EMAIL PROTECTED]> wrote:
>
> > I want to backup my data on a large hard drive I have. I want to use
> > tar, and the files can get very large - over 2 GB. I upgraded my kernel
> > to 2.4.2 so that I could have files this large on my ext2 partition.
> > I installed the latest versions of tar (1.13.19), gzip (1.3), bzip2
> > (1.0.1), and fileutils (4.0.43). All of which, supposedly, have large
> > file support (although, now I can't find where I saw that for
> > fileutils). Unfortunately, I am still having trouble - I can tar the
> > file up, but once it is tarred, I can't do anything with it.
>
> You don't mention what distro you started out with, but I'm pretty sure
> for any of this to work, glibc also has to have large file support compiled
> in as well. I'm not sure which distros would work, but I *have* created
> (and seen with 'ls -l') 9+GB files on RH7.0 (glibc 2.2) using kernel 2.4.3.
> Of course, that was on an XFS partition...
>
> OK, I just made a 2.5GB file on an ext2 partition on that box. No problem.
>
> --
> Joshua Baker-LePain
> Department of Biomedical Engineering
> Duke University
Hey, you are right. I'm running RH 6.0, which has glibc 2.1.1-6. But,
upgrading to glibc 2.2.2 seems like a major endeavor (gcc-2.95, make-3.79,
binutils-2.10.1, etc are required). I am willing to do this, but I want to
make sure that doing all of these updgrades is not going to break my system.
I've heard (maybe not true) that RH 6.2 and above have issues with floating
point calculations. Sounds to me like if I make all the required upgrades to
glibc 2.2, then my system will behave as if it had RH 7.0 on it. Is my
concern legitimate? If so, do I have other options?
Thanks,
Ken
------------------------------
From: nordi <[EMAIL PROTECTED]>
Subject: Re: gpg warning!
Date: Fri, 06 Apr 2001 22:16:37 +0200
"Sudhakar R." wrote:
>
> I've just installed a fresh RH 7.0 box and when I use pine to send out
> mails I get the following error.
>
> pgp: Warning: using insecure memory!
> gpg: no default secret key: secret key not available
> gpd: [stdin]: clearsign failed: secret key not available
^^^^^^^^^^^^^^^^^^^^^^^^
It seems you have not generated a secret key yet,
or it just cannot find it. In the first (likely) case,
type in "gpg --help" and it will tell you what to
do.
"Using insecure memory" means (afaik) that the memory you
use may be swapped out, thereby leaving traces of your
activity on your harddisk. Make gpg SUID root or run it
as root and this should go away. Only needed if you're
really paranoid, IMHO.
greets
nordi
------------------------------
Date: Fri, 06 Apr 2001 22:31:16 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: My firewall block the log message from cron daemon
Carfield Yim wrote:
>
> From the log at /var/log/messages, I find that all the mail message from
> crond are blocked by the firewall, how can I solve it? Should I open
> port for crond?
You should allow everything on localhost (127.0.0.1), or your system will
not work 100%.
Michael Heiming
------------------------------
From: "Dennis J. Tuchler" <[EMAIL PROTECTED]>
Subject: Re: WWW: Welcome to LinuxClass
Date: Fri, 06 Apr 2001 20:37:32 GMT
Es waer mir interessanter wenn es auch lektueren auf Englisch haette.
dj tuchler
Volker Duetsch wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> Linuxclass serves now linux users with distribution independent news,
> workshops and tutorials for more than 2 years.
> After the redesign in September 2000 I will make LinuxClass more public.
>
> http://www.linuxclass.de provides you:
> - - interesting documentations (like tutorials and workshops)
> - - links to the most interesting linux web-sites
> - - multiple discussion boards
> - - updated news on linux based products, websites and software
> - - a FAQ-database which is constantly growing (hope so ;)
> - - a voting section
>
> Just visit www.linuxclass.de and tell me what you think about.
>
> best regards
> Volker
>
> - --
> Volker Duetsch
> eMail: [EMAIL PROTECTED]
> http://www.linuxclass.de - eMail: [EMAIL PROTECTED]
>
> - --
> This article has been digitally signed by the moderator, using PGP.
> http://www.iki.fi/mjr/cola-public-key.asc has PGP key for validating signature.
> Send submissions for comp.os.linux.announce to: [EMAIL PROTECTED]
> PLEASE remember a short description of the software and the LOCATION.
> This group is archived at http://www.iki.fi/mjr/linux/cola.html
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3ia
> Charset: latin1
>
> iQCVAgUBOs4ayVrUI/eHXJZ5AQHVmQP/T0AkVDK0sUlKjvUex+gptwhKzMpNDDRF
> xvsAWyurT5pSLvXR0pW8dsgdVxyiQrlkNMcQGbuQHk4CP3Ty5Fq3giwSd6UB5i4l
> nPuOyIMotMRekV2/nOdSkhhqrINlW5e9x4o/HBE9AV2Ffr2NPLYTSYOCsJnY/e+R
> zQITXlb1/LI=
> =H5kc
> -----END PGP SIGNATURE-----
------------------------------
From: Sean <[EMAIL PROTECTED]>
Subject: Re: Cannot Shutdown anymore
Date: Fri, 06 Apr 2001 21:40:36 +0100
Does
init 6
shutdown your computer (it won't give any warning to other users though)
Sean
Michael wrote:
>
> Hey,
>
> Somehow .. very stupid ofcourse .. I overwrote the /usr/sbin directory.
> Now I installed a lot of the programs again to make a new entry in /usr/sbin
> I have however one problem. I cannot shutdown anymore from a telnet or ssh
> session.
> I reinstalled the RH rpm package sysVinit ... but no result!
> Someone a sollution?
>
> --
> Michael
> --------------------------------------------
> [EMAIL PROTECTED]
> http://bovendelft.xs4all.nl
> http://bovendelft.xs4all.nl/linux_linkz.shtml
> --------------------------------------------
------------------------------
From: Christopher Corbell <[EMAIL PROTECTED]>
Crossposted-To: comp.sys.mac.programmer.help
Subject: serial input and termios - simple Q
Date: Fri, 06 Apr 2001 13:52:14 -0700
Reply-To: [EMAIL PROTECTED]
I'm currently working on a serial communications wrapper
that will be used for both Linux and MacOS X.
I'm new to serial io using termios and have a question
that I could not find answered in the man page...
On legacy MacOS as well as Windows there are API's to
install or resize an input buffer for a serial port.
This system buffer catches the input asyncrhonously,
even if your read/write mode is not explicitly asynchronous.
In addition, both OS's allow you to query the system for
the "available" bytes (bytes that have accumulated in
the input buffer) before you do a read.
I could not find any comparable method in the termios/read()
model. Is this always done from scratch in termios programming
(allocate your own intermediate buffer and track byte-counts
for reads yourself), or is there some associated library or
function that I'm overlooking?
Thanks in advance,
Christopher
------------------------------
From: Sean <[EMAIL PROTECTED]>
Subject: Re: fetchmail script
Date: Fri, 06 Apr 2001 21:46:50 +0100
"Sudhakar R." wrote:
>
> Could someone please send me a copy of a working fetchmail script which I
> can use in my /etc/rc.d/ folder. I need to start fetchmail at boot time.
>
> Thanx in advance
> -sud
Here's mine: /etc/rc.d/init.d/fetchmail (On Mandrake 7.1)
#!/bin/sh
#
# chkconfig: 345 91 35
# description: Starts and stops the fetchmail daemon used to retrive
mail \
# via various protocols (such as POP3 and IMAP4).
#
# config: /etc/fetchmailrc
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
# Check that fetchmailrc exists.
[ -s /etc/fetchmailrc ] || exit 0
RETVAL=0
# See how we were called.
case "$1" in
start)
if [ ! -f /var/lock/subsys/fetchmail ]; then
echo -n "Starting Fechmail services: "
daemon fetchmail -d 60 -f /etc/fetchmailrc
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/fetchmail
else
RETVAL=1
fi
;;
stop)
if [ -f /var/lock/subsys/fetchmail ]; then
echo -n "Shutting Fechmail services: "
killproc fetchmail
rm -f /var/lock/subsys/fetchmail >/dev/null 2>&1
RETVAL=$?
echo
else
RETVAL=1
fi
;;
restart)
$0 stop
$0 start
RETVAL=$?
;;
reload)
if [ -f /var/lock/subsys/fetchmail ]; then
echo -n "Reloading fetchmailrc file: "
killproc fetchmail -HUP
RETVAL=$?
echo
else
RETVAL=1
fi
;;
status)
status fetchmail
RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|restart|reload|status}"
exit 1
esac
exit $RETVAL
This assumes that you have a config file /etc/fetchmailrc in your system
dir.
Good luck,
Sean
------------------------------
From: "ekkis" <[EMAIL PROTECTED]>
Subject: LS_COLORS + more on bash??
Date: Fri, 6 Apr 2001 13:55:41 -0700
I'm running bash on a RH7 system. if I do:
# ls
I get colours, but if I:
# ls |more
...not only do I get only 1 file per line, but no colours! I've looked
through the man pages for both ls and more and don't see any reference to
that... there is no man page for LS_COLORS although I doubt that would have
any relevance...
anyoe know what the deal is?
1k tia - e
------------------------------
From: mark <[EMAIL PROTECTED]>
Subject: Won't boot: deleted libc.so.6
Date: Fri, 06 Apr 2001 15:04:12 -0500
Reply-To: [EMAIL PROTECTED]
Any advice would be helpful. Have checked archives and newsgroups to no
avail. This seems to be the right group.
Well, I broke some one else's Linux 6 system. Rebuilding from scratch
is almost out of the question.
============
Here's the heart of the matter: I overwrote the file libc.so.6. I
overwrote it with a different libc.so.6 from another system. I
believe that is the only thing that i screwed up.
Although i could have done some other things -- you know how things get
fuzzy after you've been working on them for a while.
============
=== More info below ===
I have created a boot disk to boot with and can now mount the hda2 and
get access to the /lib directory.
Through some investigating, that libc.so.6 appears to be a symlink to
some other file -- not 100% sure
I have created the symlink /lib/libc.so.6 pointing to
/lib/ld-linux.so.2 --no luck.
I am starting to question what lib.so.6 is really pointing to or am I
going along the right lines.
===================
Inital Error message on booting (after overwriting the libc.so.6)
===================
init: /lib/ld-linux.so.2 version glibc.2.1.1 not found (required by
/lib/libc.so.6)
==================
error after creating the symlink libc.so.6 pointing to
/lib/ld-linux.so.2
==================
init: error in loading shared libraries: /lib/libutil.so.1: symbo
__register_fram_info, version GLIB.2.0 not defined in file liv.so.6 with
link time reference.
==================
after deleting (renaming) the symlink libc.so.6 (the one i overwrote
the origninal with) I now have yet another message
==================
init: error in loading shared libraries: libc.so.6: cannot open shared
object file: no such file or directory
[EMAIL PROTECTED]
------------------------------
From: Daniel Groppe <[EMAIL PROTECTED]>
Subject: Linux root user password lost
Date: Fri, 06 Apr 2001 21:30:08 -0000
I have SuSE Linux 6.2 and I installed it on my PC. I forgto the password
of the root user and I can login with restrictions (can't shutdown the pc,
can't install software or hardware)
I would appreciate your help.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: mark <[EMAIL PROTECTED]>
Subject: Re: LS_COLORS + more on bash??
Date: Fri, 06 Apr 2001 15:28:52 -0500
Reply-To: [EMAIL PROTECTED]
ekkis wrote:
> I'm running bash on a RH7 system. if I do:
>
> # ls
>
> I get colours, but if I:
>
> # ls |more
>
> ...not only do I get only 1 file per line, but no colours! I've looked
> through the man pages for both ls and more and don't see any reference to
> that... there is no man page for LS_COLORS although I doubt that would have
> any relevance...
>
> anyoe know what the deal is?
>
> 1k tia - e
I believe that it has something to do with the colors being extended characters
and not printable.
something like that any way.
Mark
------------------------------
From: Peter Hinkle <[EMAIL PROTECTED]>
Subject: adding program output to mail
Date: Fri, 06 Apr 2001 21:48:46 GMT
Hello, how does one go about adding the output of a given text based
program to all outgoing mail in a manner such as a company wide signature
file? Thanks Peter
------------------------------
From: Surendar Thaneer <[EMAIL PROTECTED]>
Crossposted-To: comp.software.testing
Subject: Looking for record and playback tool for Linux environment
Date: Fri, 06 Apr 2001 15:07:51 -0700
Hi,
I am looking for a record and playback testing tools to test the
functional testing and ( performance testing) of Java based GUI
application running on linux system.
Appreciate any pointers.
Thanks
-Surendar
------------------------------
From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: help with tomsrtbt
Crossposted-To: comp.os.linux.setup
Reply-To: [EMAIL PROTECTED]
Date: Fri, 06 Apr 2001 15:22:05 -0700
If you need to use the nic and feel up to a little hacking, try removing
the driver it hangs on. Instructions on how to unpack, modify, and repack
the image are on Tom's webpage in the FAQ.
--
-Duane
-DNAware SoftLabs
In article <[EMAIL PROTECTED]>, "Robert Davis"
<[EMAIL PROTECTED]> wrote:
> I have a older computer at home and it doesnt work with tomsrtbt. It
> boots to the point where it is testing the nic card and then locks up. I
> believe it says something like 3c574 ... donald becker .... I have an
> old nic card. ne2000 compatible, isa, not pnp. How do I turn off the nic
> card detection? How do I detect it correctly?
> Where is the correct place to post questions like this? I tried toms
> mailing list and it appears to be inactive now because tom lost his dsl
> connection.
>
>
> thanks
> bob
>
------------------------------
From: Dieter =?ISO-8859-1?Q?N=FCtzel?= <[EMAIL PROTECTED]>
Crossposted-To: de.comp.os.unix.linux.misc
Subject: Re: 3d shooter running on 2 computers
Date: Sat, 7 Apr 2001 00:48:48 +0200
Goophy wrote:
> Hi
> is it possible to start a 3d shooter (like Quake3) on a computer and
> redirekt the output to another one?
> I know, that this is possible with normal X-Applications and the xserver,
> but I don't know in which way this will work with 3d-accelerated games.
>
> Jürgen
>
Hardware accelerated INDIRECT rendering is not implemented in the current
DRI, yet. But on the list.
Maybe the Nvidia stuff works, but I don't think so...
-Dieter
------------------------------
From: Dieter =?ISO-8859-1?Q?N=FCtzel?= <[EMAIL PROTECTED]>
Crossposted-To: de.comp.os.unix.linux.misc
Subject: Re: 3d shooter running on 2 computers
Date: Sat, 7 Apr 2001 00:51:04 +0200
Goophy wrote:
> Hi
> is it possible to start a 3d shooter (like Quake3) on a computer and
> redirekt the output to another one?
> I know, that this is possible with normal X-Applications and the xserver,
> but I don't know in which way this will work with 3d-accelerated games.
>
> Jürgen
>
Hardware accelerated INDIRECT rendering is not implemented in the current
DRI, yet. But on the list.
Maybe the Nvidia stuff works, but I don't think so...
-Dieter
------------------------------
From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: Won't boot: deleted libc.so.6
Date: Fri, 06 Apr 2001 22:12:45 GMT
In article <[EMAIL PROTECTED]>, mark wrote:
>Any advice would be helpful. Have checked archives and newsgroups to no
>avail. This seems to be the right group.
>
>Well, I broke some one else's Linux 6 system. Rebuilding from scratch
>is almost out of the question.
>
>============
>Here's the heart of the matter: I overwrote the file libc.so.6.
[-]
Congratiulations.
[-]
>I have created a boot disk to boot with and can now mount the hda2 and
>get access to the /lib directory.
[-]
Okay.
>Through some investigating, that libc.so.6 appears to be a symlink to
>some other file -- not 100% sure
[-]
Yes, /lib/libc.so.6 -> /lib/libc-x.y.z
>I have created the symlink /lib/libc.so.6 pointing to
>/lib/ld-linux.so.2 --no luck.
[-]
You're sure you know what you're doing ?
>I am starting to question what lib.so.6 is really pointing to or am I
>going along the right lines.
[-]
No.
>init: /lib/ld-linux.so.2 version glibc.2.1.1 not found (required by
>/lib/libc.so.6)
[-]
So you've to restore /lib/libc-2.1.1.so from some system to start
with or from the original installation media ... or just leave the
country asap lest to end up tarred and feathered 8-)
Ta',
Juergen
--
\ Real name : Juergen Heinzl \ no flames /
\ EMail Private : [EMAIL PROTECTED] \ send money instead /
------------------------------
From: [EMAIL PROTECTED] (Hartmann Schaffer)
Subject: Re: Linux root user password lost
Date: 6 Apr 2001 19:01:05 -0400
In article <[EMAIL PROTECTED]>, Daniel Groppe wrote:
>I have SuSE Linux 6.2 and I installed it on my PC. I forgto the password
>of the root user and I can login with restrictions (can't shutdown the pc,
>can't install software or hardware)
>I would appreciate your help.
i had to fix this problem for a colleague a while ago:
boot with a rescue disk, mount the root partition and edit /etc/shadow:
pick a password you remember and paste it into the password position of
the entry for root. then reboot and login with the known password.
there might be more elegant ways: i suspect you might get away with just
deleting the password, but i am not sure
hs
------------------------------
From: [EMAIL PROTECTED] (Chiefy)
Subject: Re: LS_COLORS + more on bash??
Date: 6 Apr 2001 23:04:53 GMT
06 Apr 2001 20:55 UTC, ekkis did say to the dudes:
> I'm running bash on a RH7 system. if I do:
>
> # ls
>
> I get colours, but if I:
>
> # ls |more
>
> ...not only do I get only 1 file per line, but no colours! I've looked
> through the man pages for both ls and more and don't see any reference to
> that... there is no man page for LS_COLORS although I doubt that would have
> any relevance...
>
> anyoe know what the deal is?
>
> 1k tia - e
Well this is quite weird. As a user, I get colours with both 'ls' and
'ls |more'. SU also gets colours in 'more', but with one file per
line (same directory).
--
Chiefy. <[EMAIL PROTECTED]>
"...and don't ask me about the extraneous parenthesis. I bet some LISP
programmer felt alone and decided to make it a bit more homey."
- Linus Torvalds
------------------------------
From: [EMAIL PROTECTED] (Chiefy)
Subject: Re: LS_COLORS + more on bash??
Date: 6 Apr 2001 23:06:06 GMT
06 Apr 2001 20:55 UTC, ekkis did say to the dudes:
> I'm running bash on a RH7 system. if I do:
>
> # ls
>
> I get colours, but if I:
>
> # ls |more
>
> ...not only do I get only 1 file per line, but no colours! I've looked
Well this is quite weird. As a user, I get colours with both 'ls' and
'ls |more'. SU also gets colours in 'more', but with one file per
line (same directory).
--
Chiefy. <[EMAIL PROTECTED]>
"...and don't ask me about the extraneous parenthesis. I bet some LISP
programmer felt alone and decided to make it a bit more homey."
- Linus Torvalds
------------------------------
** 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
******************************