Linux-Misc Digest #130, Volume #26 Tue, 24 Oct 00 13:13:02 EDT
Contents:
Re: mv multiple files w/wildcard (Ian Davey)
Diamond Stealth III S540 (Filipe Bonjour)
RH 7.0 and dispatch errors ("Duane Lambe")
running star/open office (John Hunter)
PCMCIA Ethernet card (Jacob Hageman)
java runtime environment (John Hunter)
Unusually long console login time with 2.4 (Scott Alfter)
Re: How do I capture parallel port input to a file? ("martin")
Re: fullscreen video playback (Matan Ziv-Av)
pagecache and BIGMEM ([EMAIL PROTECTED])
Re: Apache on RedHat6.2
How can I move a harddisk containing Linux from a computer to another? ("Tobias i
t�rnet")
Re: hosts.lpr ([EMAIL PROTECTED])
p4 paraller programming system does not compile under Linux, help?! ("Tero Juntunen")
Re: Emulation and writing to the code segment (Mihai Cartoaje)
Re: install on old laptop (Robert Heller)
Re: Diamond Stealth III S540 ([EMAIL PROTECTED])
cd burning (Rich Birch)
Re: FOR ALL VOTERS - PLS READ ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Ian Davey)
Subject: Re: mv multiple files w/wildcard
Date: Tue, 24 Oct 2000 15:23:28 GMT
In article <8ssu5i$lu7$[EMAIL PROTECTED]>, Lance Hoffmeyer <[EMAIL PROTECTED]> wrote:
>I have a number of subdirectories where I have files with - such as
>name - title.txt and I wish to convert them to:
>name: title.txt
>
>In bash I tried:
>
>for i in *-*;do mv $i `echo $i | sed -e 's/ - /:/'`'done
Unfortunately I'm not at my Linux box right now so I can't try it out, but
what about this:
ls *-* | awk '{cm="mv \""$0"\" \""$1": "$3"\""; system(cm)}'
ian.
\ /
(@_@) http://www.eclipse.co.uk/sweetdespise/ (dark literature)
/(&)\ http://www.eclipse.co.uk/sweetdespise/libertycaptions/ (art)
| |
------------------------------
From: Filipe Bonjour <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Diamond Stealth III S540
Date: Tue, 24 Oct 2000 13:27:01 -0200
Hi,
A friend of mine is planning on buying a new computer, and the
one he's interested in comes with a Stealth III S540 video
card.
He's not a gamer, so the card's quality isn't top priority,
but he would like to be sure Linux supports it before buying.
Could anyone please tell me if it is the case? (It if helps,
he's planning on installing Red Hat 6.2.)
Thanks,
Fil
------------------------------
From: "Duane Lambe" <[EMAIL PROTECTED]>
Subject: RH 7.0 and dispatch errors
Date: 24 Oct 2000 10:30:06 -0500
Hi all - newbie alert. :)
I've installed RH 7, and I keep getting an error in ssh sessions...I'm
connecting to several different servers, various different flavors and
versions of Linux and BSD, and keep getting a random error, which kills
the terminal window;
Hm, dispatch protocol error: type 20 plen 136
I have yet to come across something common in all of these errors, but it
happens at least 20 times/day. The error is also always the same. Anyone
know what this means, or where I could start? I'd appreciate it.
--
Duane Lambe
------------------------------
Subject: running star/open office
From: John Hunter <[EMAIL PROTECTED]>
Date: 24 Oct 2000 10:35:45 -0500
Hi,
I just installed the open office 6.05 binaries for linux (RHL6.2) as
root to /usr/local/openoffice60/. When I run the program
/usr/local/openoffice60/program/soffice as a user, it restarts the
install script asking if I want to modify, deinstall etc... But I
cannot get the actual program to run. Mysteriously, I find nothing on
the openoffice.org website to help me out.
Could someone please give me some advice as to how to actually ruin
these programs?
Thanks,
John Hunter
------------------------------
From: Jacob Hageman <[EMAIL PROTECTED]>
Subject: PCMCIA Ethernet card
Date: Tue, 24 Oct 2000 08:50:47 -0700
So after setting up my PCMCIA Ethernet card under Redhat 6.2 using
version 3.1.8 of PCMCIA, pcnet_cs driver... it starts up fine but then
gives an error and the message "unable to read hardware net address."
Is this because I'm not setting the hw_addr[6] variable in pcnet_cs.c
correctly? How do I find what the hardware net address should be? I
think I've set up the network.opts file correctly... anyone with some
experience in this area? Thanks.
------------------------------
Subject: java runtime environment
From: John Hunter <[EMAIL PROTECTED]>
Date: 24 Oct 2000 10:54:53 -0500
I just installed star office and was informed by the install suite
that I don't have the Java Runtime Environment installed on my system
(RHL6.2). I assume I need this if I want to be able to run Java
applets. I headed over to Sun to see if I could get the JRE; I saw a
link for the JRE for solaris but not for linux. The closest thing I
could find was on:
http://www.sun.com/software/linux/resources/java.html
which had the Java 2 standard and platform editions. Is this what I need?
If not, is the JRE available on linux and could someone provide a link
for me?
Thanks,
John Hunter
------------------------------
From: [EMAIL PROTECTED] (Scott Alfter)
Subject: Unusually long console login time with 2.4
Date: Tue, 24 Oct 2000 15:58:54 -0000
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
I've been playing around with LFS (Linux From Scratch) recently and figured
I'd give one of the prerelease 2.4 kernels a shot. I downloaded
2.4.0-test9, made sure I had the recommended tools (only had to upgrade
modutils; everything else was current as I had compiled everything from the
latest-available source only a month or so ago), built the new kernel, and
booted into it. Remote logins with ssh work just fine, and I've had mprime
banging away in torture-test mode for several hours now with no problems.
However, console logins are behaving strangely. After entering your
username and password, it does nothing for about a minute before it decides
to let you in. The only thing that comes to mind as a reason is that I
don't have any mail software installed yet (it says "no mail" at login), but
that something is causing it to check for mail and then time out after a
while. With the 2.2.16 kernel under which the system was built, though,
console logins proceed as they normally do.
The system is set up pretty much as the LFS describes, other than that it's
now running 2.4 instead of 2.2.x. Is there some other software that needs
to be updated, such as the user-authentication software, in order to run
right under 2.4? (I briefly considered upgrading one of my SuSE 6.x
systems to kernel 2.4, but they would need more software updates to be
compatible and I'd rather not screw with production systems until I have
something ready to take their place. Yes, all these machines are at home,
but it'd still be an annoyance if one of them went down. LFS, on the other
hand, is set up on an old P5-133 that would otherwise be doing nothing, or
maybe running NetWare 5.x or NT4/Win2K Server for sh*ts and grins.)
_/_
/ v \
(IIGS( Scott Alfter (remove Voyager's hull number for email address)
\_^_/ http://salfter.dyndns.org
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE59bG2VgTKos01OwkRAq2TAKDE6JmrJR68xNtOavNa2e4jfMLeZQCfa3zC
t17eQ3JfVMei0nVv5TYaEVI=
=Z4xM
=====END PGP SIGNATURE=====
------------------------------
From: "martin" <[EMAIL PROTECTED]>
Subject: Re: How do I capture parallel port input to a file?
Date: Tue, 24 Oct 2000 16:52:34 +0100
I'm far from being an expert, but this might be worth trying...
1. find out what entry in your /dev directory maps to the required parallel
port. For the rest of this reply, I'll assume that you've found it to be
/dev/lp0
2. type in the following at the console:
cat /dev/lp0 >parallel.log
Now the file 'parallel.log' should contain whatever came from the parallel
port!
I've never tried anything like this, but I'd be interested in hearing from
you if this works. Please post here to let me know!!
<[EMAIL PROTECTED]> wrote in message
news:8t31hr$dmi$[EMAIL PROTECTED]...
> Is there a simple way to route parallel port data to a file? Is there some
> utility that can do this? I think I have about 1 MB/sec.
>
> Thanks, Tom
------------------------------
From: [EMAIL PROTECTED] (Matan Ziv-Av)
Subject: Re: fullscreen video playback
Reply-To: [EMAIL PROTECTED]
Date: Tue, 24 Oct 2000 15:45:43 GMT
On Mon, 23 Oct 2000 06:54:44 GMT, Matt Garman
<[EMAIL PROTECTED]> wrote:
> Is there any viewer for Linux that will allow *fullscreen* viewing of
> video (particularly mpegs)?
Look at my svgalib video player -
http://www.arava.co.il/matan/svgalib/playvideo
It is not very easy to compile / install, but after you install it, together
with svgalib 1.4.1 or newer you can define new svgalib modes with the exact
resolution as your video file, so it will play full screen.
--
Matan Ziv-Av. [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: pagecache and BIGMEM
Date: Tue, 24 Oct 2000 16:17:02 GMT
Hello,
the following problem appeared on an Intel Server with Quad Intel 450 NX
mainboard with 4 XEON II 450 MHZ CPUs and 4 GB memory.
Linux RedHat 6.2 is used with kernel 2.2.16-4.lfs on a 4-processor i686
with BIGMEM.
Inspite of heavy disk I/O the pagecache does not exceed 43% of the
available memory and 45% of memory stay free:
$ free
total used free shared buffers
cached
Mem: 3792340 2057932 1734408 286836 190752
1616456
-/+ buffers/cache: 250724 3541616
Swap: 530096 96 530000
I've tried to force the kernel to allocate more memory for the pagecache
by doing echo "62 65 75" > /proc/sys/vm/pagecache.
In the first 10 minutes the pagecache increased and the disk I/O
decreased. Then the vm-manager gave a few warnings and the machine
crashed.
The other /proc/sys/vm-Files contained:
/proc/sys/vm/bdflush:
40 500 64 256 500 3000 500 1884 2
/proc/sys/vm/buffermem:
2 10 60
/proc/sys/vm/freepages:
256 512 768
/proc/sys/vm/kswapd:
512 32 32
/proc/sys/vm/overcommit_memory:
0
/proc/sys/vm/page-cluster:
4
/proc/sys/vm/pagecache:
62 65 75
/proc/sys/vm/pagetable_cache:
25 50
I didn't find any other kernel parameters to increase pagecache, so what
can I do? With a lot of thanks in advance
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: Apache on RedHat6.2
Date: Tue, 24 Oct 2000 16:30:14 -0000
There is no need to re-compile. In httpd.conf there is a line:
MaxClients
(its near the top of the file)
change the number to 1000 if thats really what you want to do. Make sure
that you also change the lines:
MinSpareServers
MaxSpareServers
StartServers
to match your hardware. The restart the server.
Sanvir Singh Jham wrote:
>
>
> Hello All,
>
> Can any one out there help me to recompile Apache on Redhat6.2? I want
> to have the MaxClient parameter set to 1000, since i will more than
> 1000 users logging into my web server. I am not conversant with the
> RPMs, so if any of the gurus can shower some light, it would be just
> great.
>
> All help greatly appreciated.
>
> regards
> Sanvir
>
> --
> Velocient Technologies Ltd.
> E-mail: [EMAIL PROTECTED]
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Tobias i t�rnet" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,alt.os.linux,no.it.os.unix.linux.diverse
Subject: How can I move a harddisk containing Linux from a computer to another?
Date: Tue, 24 Oct 2000 16:38:05 GMT
Hi!
I have recently bought another PC, and want to run Linux on it in addition
to Win98. I have an old PC with Redhat 6.2 on it. Redhat is installed on a
harddisk that I bought in addition to the one who originally sat in the old
PC. Now I want to move that disk over to the new PC. Guess I'll accomplish
that on my own...
So - what I'm looking for, is an easy way to make the new PC aware of the OS
that's in it, and make it a dual boot (lilo) PC just like the old one.
Having moved the harddisk - what is the next step?
/Simen
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: hosts.lpr
Date: Tue, 24 Oct 2000 16:26:28 GMT
I changed the filename and everything worked like it should.
Thanks for your help.
In article <[EMAIL PROTECTED]>,
Robert Clayton <[EMAIL PROTECTED]> wrote:
> Hope it helps...Good Luck
>
> Robert
>
> [EMAIL PROTECTED] wrote:
> >
> > Robert- thanks for the reply. I'll check the lpd<->lpr filename
> > tonight. I'll also try putting names in the hosts file rather than
IP
> > numbers, although I thought the numbers would work.
> >
> > I have the printer on my firewall box because there is also an iMac
on
> > the network that needs to print. My machine is a dual boot and the
> > iMac wouldn't be able to print while I'm in Windows playing a game.
> > This may seem like a dumb thing to do, but its the only way I could
get
> > all the machines printing.
> >
> > In article <[EMAIL PROTECTED]>,
> > Robert Clayton <[EMAIL PROTECTED]> wrote:
> > > PS, I haven't done this on Linux to be sure, but on AIX, it was
> > > "/etc/hosts.lpd" not "/etc/hosts.lpr"
> > >
> > > HTH
> > > Robert
> > >
> > > Robert Clayton wrote:
> > > >
> > > > The printer is hosted on the firewall you say? Is the firewall
> > allowing
> > > > lpr connections or denying them? Your hosts.lpr file sounds
valid.
> > > >
> > > > BTW, not being preachy but why does firewall box double as print
> > server,
> > > > it is better not to do this.
> > > >
> > > > Robert
> > > >
> > > > [EMAIL PROTECTED] wrote:
> > > > >
> > > > > Can someone please post an example of a valid hosts.lpr file?
> > > > > I have a two machine network at home. One machine
(192.168.0.1
> > running
> > > > > RedHat 6) hosts the printer and is little more than a
firewall.
> > My
> > > > > second machine (192.168.0.3 running RedHat 7) is the machine
I do
> > all
> > > > > of my work on.
> > > > >
> > > > > From what I have read so far, I need a hosts.lpr file the /etc
> > > > > directory of the machine with the printer. I've tried making
a
> > file
> > > > > containing just 192.168.0.3 but that didn't work.
> > > > >
> > > > > I set up the printing on the 192.168.0.3 machine using the
> > printtool
> > > > > program. It looks like everything is okay, but when I try to
test
> > > > > print an ASCII page, nothing comes out. I'm assuming it has
> > something
> > > > > to do with the hosts.lpr, but if anybody has any other ideas,
I'd
> > be
> > > > > glad to hear them.
> > > > >
> > > > > The printer is an HP DeskJet and is hooked up through lpd.
> > > > >
> > > > > Thanks,
> > > > > Steve
> > > > >
> > > > > Sent via Deja.com http://www.deja.com/
> > > > > Before you buy.
> > >
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> --
> Robert Clayton - System Administrator - ACTiX
> "It has become appallingly obvious that our technology has exceeded
our
> humanity. "
> - Albert Einstein (1879-1955)
>
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: "Tero Juntunen" <[EMAIL PROTECTED]>
Crossposted-To: sfnet.atk.linux
Subject: p4 paraller programming system does not compile under Linux, help?!
Date: Tue, 24 Oct 2000 09:54:23 -0700
Hello,
I'm trying install p4 paraller programming system to Linux Redhat 6.2 and
i get LOTs of error messages during compile time. Have anybody succesfully
compiled p4 under linux?
Best,
Tero
------------------------------
From: Mihai Cartoaje <[EMAIL PROTECTED]>
Subject: Re: Emulation and writing to the code segment
Date: Tue, 24 Oct 2000 16:53:50 GMT
Garry Knight wrote:
> integer value 2 ***on top of those instructions***.
Exactly. It's for emulators.
> As for why you're getting a SIGINT rather than a SIGSEGV, I wouldn't care to
> guess as I'm no expert on coding for Linux.
ARGHH!! I'm getting a SIGSEGV. I wrote it badly.
> And personally I wouldn't rely on self-modifying code of this sort running on
> any processor with an instruction cache.
When I heard about the idea, it was supposed to emulate Windows onPPC 601 (IIRC),
which does have an instruction cache. But it made Windows three times faster than
normal emulation in spite of the sync's.
Mihai
------------------------------
From: Robert Heller <[EMAIL PROTECTED]>
Subject: Re: install on old laptop
Date: Tue, 24 Oct 2000 16:55:55 -0000
[EMAIL PROTECTED] (bgeer),
In a message on 24 Oct 2000 09:00:13 -0600, wrote :
b> curious <[EMAIL PROTECTED]> writes:
b>
b> >I have an old gateway laptop. It is 100 mhz, with 16 megs of ram, and I
b> >want to install linux on it so that it might have some use again!!! The
b> >only problem is that the sucker is soooooo old that it is one with the
b> >swapable cdrom and floppy drive.
b>
b> Geez...my old Compaq laptop (486SX!) has a swapable floppy not
b> supported by Linux & NO cdrom! What's your problem? :-)
b>
b> Just kidding...
b>
b> I installed Slackware Linux on with my laptop. I run kernel 1.3.20 or
b> 2.0 (can't remember which since I haven't booted it for awhile) since
b> that kernel is smaller. You might consider cruising the net for a
b> mailorder place that's liquidating old memory for augmenting your
b> laptop esp if you want to run more current kernels.
b>
b> Method A. Create a small DOS partition & install DOS. Install the cd
b> drive & copy loadlin.exe, "bare" kernel image from kernel subdir, &
b> "color" root disk image to the partition. Boot to DOS then boot Linux
b> using loadlin, no floppy required.
b>
b> Method B. Install the floppy drive & a PCMCIA network card (they're
b> not very expensive these days). Boot using the "net" kernel image &
b> pcmcia.gz floppy images & mount a networked desktop's cd drive via
b> NFS.
Method C. How *I* installed first RH 4.1 and later upgraded to RH 5.2
on a 486/50 Laptop, 1/2 gig hard drive, *no CDROM*, PCMCIA NIC (3Com
589D). Create a *Slackware (3.4 at the time)* floppy boot install set
w/ A and N floppies. Install Minimal Slackware via floppies. Then
copy over just enough of the RedHat 4.1 install CD *over the Network*
with ftp to the '/home' file system (I made 4 partitions on my laptop's
drive: root (/), swap, /usr and /home). The make a RedHat boot floppy
and 'install from local hard drive' (/home aka /dev/hda4). Reformat the
root and /usr partition, leave /home alone. Upgrade is similar:
transfer minimal set of RPMs to /home and upgrade from local hard drive.
b>
b> --
b> <> Robert Geer & Donna Tomky | |||| |||| <>
b> <> [EMAIL PROTECTED] | == == Suddenly, == == <>
b> <> [EMAIL PROTECTED] | == == We feel enchanted! == == <>
b> <> Albuquerque, NM USA | |||| |||| <>
b>
--
\/
Robert Heller ||InterNet: [EMAIL PROTECTED]
http://vis-www.cs.umass.edu/~heller || [EMAIL PROTECTED]
http://www.deepsoft.com /\FidoNet: 1:321/153
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Diamond Stealth III S540
Crossposted-To: comp.os.linux.x
Date: Tue, 24 Oct 2000 16:57:12 GMT
In comp.os.linux.x Filipe Bonjour <[EMAIL PROTECTED]> wrote:
> Hi,
> A friend of mine is planning on buying a new computer, and the
> one he's interested in comes with a Stealth III S540 video
> card.
> He's not a gamer, so the card's quality isn't top priority,
> but he would like to be sure Linux supports it before buying.
> Could anyone please tell me if it is the case? (It if helps,
> he's planning on installing Red Hat 6.2.)
> Thanks,
> Fil
Yes, it is supported under XFree86 3.3.6. The author of the driver
for 3.3.6 also has a website with newer binaries and source code.
He's in the process of rewriting the driver for XFree86 4.0.* but
doesn't plan to have it done till some point in November.
Adam
------------------------------
Date: Tue, 24 Oct 2000 17:55:51 +0100
From: Rich Birch <[EMAIL PROTECTED]>
Subject: cd burning
I used to have my cdburner working with xcdroast 0.96 on RH6.2, but now
I've got RH7 and xcdroast 98 doesn't like me anymore. I get the
following error everytime I try burning something:
cdrecord: Input/output error. mode select g1: scsi sendcmd: retryable
error
Waiting for reader process to fill input buffer ... input buffer ready.
status: 0x2 (CHECK CONDITION)
CDB: 55 10 00 00 00 00 00 00 3C 00
cdrecord: Warning: using default CD write parameter data.
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 26 00 00 00
cdrecord: Cannot open new session.
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x26 Qual 0x00 (invalid field in parameter list) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 200s
Mode Select Data 00 20 00 00 05 32 02 00 00 00 00 00 00 00 00 00 00 00
00 96 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00
cdrecord: fifo had 64 puts and 0 gets.
I think the kernel's set up right as it (xcdroast) can actually see the
burner (a Mitsumi 4804), and I presume it's not xcdroast as it's just
using cdrecord.
Cheers
Rich
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.networking,comp.unix.admin
Subject: Re: FOR ALL VOTERS - PLS READ
Date: Tue, 24 Oct 2000 16:50:18 GMT
In article <[EMAIL PROTECTED]>,
Leonard Evens <[EMAIL PROTECTED]> wrote:
> Private User wrote:
> >
> > The state of Texas, under the leadership of Governor George W. Bush,
is
> > ranked:
> >
> > 50th in spending for teachers' salaries
> >
> > 49th in spending on the environment
> >
> > 48th in per-capita funding for public health
> >
> > 47th in delivery of social services
> >
> > 42nd in child-support collections
> >
> > 41st in per-capita spending on public education
> >
> > And ...
> [Etc. deleted]
>
> But one could easily make a compelling argument for Linux users
> to support Gore rather than Bush. Bush has essentially promised
> to take the Justice Department heat off Microsoft. Once
> Microsoft is free of "big government" it will turn its attention
> to crushing Linux.
Poppycock. Bill Gates (Microsoft) never held a gun to anyone's head
to purchase Windows, ... . The multitude has done so of their own
volition. There is more than a modicum of anti-microsoft sentiment
in the Linux movement and we have benefited from this; a common enemy
causes a group to coalesce and bolsters its resolve (Psychology 000).
Don't let someone use scare tactics to impose their political doctrine
on you.
If you want to do service to the Linux community lobby your
representatives to use Open-Source software in our educational system.
A French legislator has embarked on an interesting venture.
http://slashdot.org/articles/99/10/28/0820202.shtml
We should be able to do better.
At a state institution of higher learning, very familiar to me,
you can use any OS you want as long as the vendor is Microsoft.
Also, you can buy any soft drink on campus as long as it's a
Coke product. And this situation is common.
How do you like them apples.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
** 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
******************************