Linux-Misc Digest #520, Volume #26 Mon, 11 Dec 00 07:13:01 EST
Contents:
Re: Can't install printer (Bryan Hoyt)
Re: Help finding distro for laptop with 540M hard drive. (Bryan Hoyt)
Re: What is the command to . . . ? ("Z")
Re: Linux Scripting (Harlan Grove)
Re: What is the command to . . . ? (Paul Colquhoun)
Re: Linux e-mail client (Bryan Hoyt)
Re: ISDN connection drops (Oswald Knoppers)
Re: What is the command to . . . ? (Eric)
Re: Linux Scripting (Jimbob)
LILO-Problem after adding a HD (Stefan)
Help for povray too many IDAT... (lee changkun)
Re: Need Help installing Linux Please! (M. Buchenrieder)
Re: Linux Scripting (Floyd Davidson)
Re: ISDN connection drops (Aulne)
Re: lost file on erased partition (Jean-David Beyer)
fork problem ("Michal Kolesar")
About Starting ONE kernel from WITHIN another? (Igor)
Re: About Starting ONE kernel from WITHIN another? (Timo Benk)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Bryan Hoyt)
Subject: Re: Can't install printer
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 08:17:37 GMT
Who ever said Carfield Yim couldn't write what follows?:
>David Efflandt wrote:
>
>> On Sat, 09 Dec 2000, Carfield Yim <[EMAIL PROTECTED]> wrote:
>>
>>> If I put the following line at terminal, it will print the directory
>>> tree at printer:
>>>
>>> ls > /dev/lp0
>>>
>>> But after I config my printer in X with mandrake config, it don't work,
>>> do anyone know why? I am using cup, where can I find more information?
>>
>I am using Epson Style Color 600, and now I have solve my problem :)
>
Just a note of interest -- That's precisely the printer I use. :-) I suppose
there are hundreds of them out there.
--
Bryan Hoyt
[EMAIL PROTECTED]
http://www.crosswinds.net/~artmusic
===================================
Standards are crucial. And the best thing about standards is: there are
so many to choose from!
------------------------------
From: [EMAIL PROTECTED] (Bryan Hoyt)
Subject: Re: Help finding distro for laptop with 540M hard drive.
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 08:17:42 GMT
Who ever said [EMAIL PROTECTED] couldn't write what follows?:
>I can't recommend it because it's a beta, and sometimes locks up on
Really? I don't mean konqueror. I mean Kfm from KDE 1.x. It seems stable
enough. I didn't know it was beta.
>my, but the beta 3 of Opera for Linux is very nice when it runs, at
I use opera too. 4.0. It's REALLY fast. But it isn't technically free, which
is why I don't recommend it.
--
Bryan Hoyt
[EMAIL PROTECTED]
http://www.crosswinds.net/~artmusic
===================================
Standards are crucial. And the best thing about standards is: there are
so many to choose from!
------------------------------
From: "Z" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 09:26:51 +0100
Once upon a while [EMAIL PROTECTED] wrote:
> I am looking for the command that will help me compare two directory
> structures.
>
> I just did a file copy to an NFS drive and I want to make sure that I
> got everything.
>
> I used
> cp -axv /dev /mnt/vol00
> cp -axv /bin /mnt/vol00
> cp -axv/usr /mnt/vol00
> etc . . .
>
> Doing some sampling, it appears that everything copied okay.
>
> What I am looking for is the equivalent to this
> dos command: dir *.* /s
>
> i.e. I am looking for file counts and directory counts as well as
> total sizes.
>
> thanks in advance,
> charles
>
> p.s.
> linux 8)
>
What I usually do to verify my copy is
"du" the original and the copy filesystem.
If you want to check every single file it
might be a good idea to write the two dumps
into two temporary files and "diff" these.
--
Z ([EMAIL PROTECTED])
"LISP is worth learning for the profound enlightenment experience
you will have when you finally get it; that experience will make you
a better programmer for the rest of your days." -- Eric S. Raymond
------------------------------
From: Harlan Grove <[EMAIL PROTECTED]>
Subject: Re: Linux Scripting
Date: Mon, 11 Dec 2000 08:23:15 GMT
In article <[EMAIL PROTECTED]>,
Floyd Davidson <[EMAIL PROTECTED]> wrote:
<snip>
>However, the for loop will not work because "ls -l" produces an
>entire line of output, not just a single filename. First, the
>"-1" option instead of the "-l" option should be used; and
>second, the full pathname for "ls" should be given because "ls"
>is often an alias.
ls may be an alias using default comand line switches, but /bin/ls is a
required POSIX binary. As long as /bin is in PATH and plain ls behavior
is assumed, ls may be used without its full pathname.
<snip>
>#!/bin/sh
>#
>count=0
>for i in `/bin/ls -1`
>do
> if [ -d $i ]
> then
> count=`expr $count + 1`
> fi
>done
>echo $count
If the standard linux utilities are present, simplify:
#!/bin/sh
ls -Al | grep '^d' | wc -l
which also avoids nastiness if the listing of all subdirectories would
exceed the shell's maximum line length.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Paul Colquhoun)
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: What is the command to . . . ?
Reply-To: <[EMAIL PROTECTED]>
Date: Mon, 11 Dec 2000 08:47:02 GMT
On Mon, 11 Dec 2000 04:30:09 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
|I am looking for the command that will help me compare two directory
|structures.
|
|I just did a file copy to an NFS drive and I want to make sure that I
|got everything.
|
|I used
|cp -axv /dev /mnt/vol00
|cp -axv /bin /mnt/vol00
|cp -axv/usr /mnt/vol00
|etc . . .
|
|Doing some sampling, it appears that everything copied okay.
|
|What I am looking for is the equivalent to this
|dos command: dir *.* /s
|
|i.e. I am looking for file counts and directory counts as well as
|total sizes.
'diff' will do this.
diff -r --brief /dev /mnt/vol00/dev
etc.
--
Reverend Paul Colquhoun, [EMAIL PROTECTED]
Universal Life Church http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
a leather-clad, New Zealand woman.
------------------------------
From: [EMAIL PROTECTED] (Bryan Hoyt)
Subject: Re: Linux e-mail client
Reply-To: [EMAIL PROTECTED]
Date: Mon, 11 Dec 2000 09:08:15 GMT
Who ever said Loki couldn't write what follows?:
>Hi,
>
>I�m searching for a Linux e-mail client which supports:
>HTML, POP3, IMAP, SMTP
>doesn�t need to support NNTP
>
>Any suggestions ?
>
I don't know if it's what you want; I use a good ol' fetchmail/pine/sendmail
combination. It supports all but the HTML part. For that you may well need a
browser. I set up an HTML mail retriever for my sister's HTML mail account
with a USEFUL program called curl, but all HTML mail servers differ much.
There is a hotmail retriever called hotmole, and another more up-to-date
beta version of a similar idea called opera (not to be confused with the
browser.)
--
Bryan Hoyt
[EMAIL PROTECTED]
http://www.crosswinds.net/~artmusic
===================================
A sequel is an admission that you've been reduced to imitating yourself.
-- Don Marquis
------------------------------
From: Oswald Knoppers <[EMAIL PROTECTED]>
Subject: Re: ISDN connection drops
Date: Mon, 11 Dec 2000 10:42:02 +0100
Aulne wrote:
> About this, though I have no hint at the moment where to look for
> documentation and config files.
The timeout is set in /etc/isdn/profile/ippp.default, check for
I4L_IDLETIME.
Oswald
------------------------------
From: Eric <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: What is the command to . . . ?
Date: Mon, 11 Dec 2000 10:44:40 +0100
Reply-To: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
>
> I am looking for the command that will help me compare two directory
> structures.
>
> I just did a file copy to an NFS drive and I want to make sure that I
> got everything.
>
> I used
> cp -axv /dev /mnt/vol00
> cp -axv /bin /mnt/vol00
> cp -axv/usr /mnt/vol00
> etc . . .
>
> Doing some sampling, it appears that everything copied okay.
>
> What I am looking for is the equivalent to this
> dos command: dir *.* /s
>
> i.e. I am looking for file counts and directory counts as well as
> total sizes.
>
skipped LOTS of irrelevant NG's
This kind of posting is considered spamming. STOP IT.
to answer your question:
man diff
Eric
------------------------------
From: Jimbob <[EMAIL PROTECTED]>
Subject: Re: Linux Scripting
Date: 11 Dec 2000 21:54:38 +1100
DJohnson <[EMAIL PROTECTED]> wrote:
> I wrote a scipt in Linux and either I don't know how to get it to execute
> or I've written it wrong. The script is below. Thanks
> count=0
> for i in `ls -l`
> do
> if [ -d $i ]
> then
> count=`exp ^ $count +1`
> fi
> done
> echo $count
> --
> Posted via CNET Help.com
> http://www.help.com/
At the top of all scripts you need to specify the shell that the script will be run in:
#!/bin/bash
or whatever shell you use.
Jimbob
--
****************************************************
* *
* "Sudden success in golf is like the sudden *
* acquisition of wealth. It is apt to unsettle *
* and deteriorate the character" *
* *
****************************************************
------------------------------
From: Stefan <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.hardware
Subject: LILO-Problem after adding a HD
Date: Mon, 11 Dec 2000 11:59:34 +0100
Hey guys,
I have a running dual-boot box. Windoze 98 on hda1, hda2 and hdb for
some Linux-"folders". SuSe Linux 7.0 is on sda1.
My CD-Rom is the hdd.
Now I would like a Samsung 6 GB drive to the system. (Secondary Master).
But whenever I try to connect it into the system LILO fails to start
("LI"). When I unplug the drive everything work fine.
/etc/fstab doesn�t contain the hdd (but that shouldn�t matter for LILO
(?))
I tried to reinstall LILO to solve the problem, I changed the HD�s but
to no avail.
I would be glad if someone could point me into the right direction.
(The SuSE-manual and the manualpages didn�t help me much)
If you need more specific information, please let me know.
Thanks,
Stefan
------------------------------
Date: Mon, 11 Dec 2000 13:05:18 +0900
From: lee changkun <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Help for povray too many IDAT...
Hi all,
I generated the tga files with povray (v3.1g) on Redhat 6.2.
I could not look at it with GIMPS.
If I ran it with "animate images*.tga", it saying "there are too many
IDAT's" and it
cannot animate on the screen.
Can anyone tell me how I can solve this problem?
Regards
Lee
------------------------------
From: [EMAIL PROTECTED] (M. Buchenrieder)
Subject: Re: Need Help installing Linux Please!
Date: Mon, 11 Dec 2000 08:08:32 GMT
"Rodney Gray" <[EMAIL PROTECTED]> writes:
[...]
>Onboard PromiseUltra100 ide controller w/my hd connected to it.
^^^^^^^^^^^^^^^^^^^^^^^^^
That's your problem. This controller is not suppoted by the standard
kernels. You'll have to switch over to the standard IDE controller
(ATA66) on the ASUS motherboard. Then the setup process will also
be able to identify your CDROM.
After having successfully installed Linux, you may be able to
find a patch or a more recent kernel version that directly
supports the Promise ATA100 card. Install that one, and then
reconnect the IDE drive to the ATA100 interface. Win* won't care,
as the partition numbering scheme does not reflect physical
connections. However, you'll have to boot Linux from the CDROM
after that, and to manually mount the root partition. Then edit
the file /etc/fstab to reflect the new location of your IDE drive
(as Linux counts drives by their physical connection: hda, hdb, etc..).
During startup, Linux will tell you what drives it found - just
change the drive letter in /etc/fstab approriately.
Michael
--
Michael Buchenrieder * [EMAIL PROTECTED] * http://www.muc.de/~mibu
Lumber Cartel Unit #456 (TINLC) & Official Netscum
Note: If you want me to send you email, don't munge your address.
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Linux Scripting
Date: 11 Dec 2000 02:13:29 -0900
Jimbob <[EMAIL PROTECTED]> wrote:
>DJohnson <[EMAIL PROTECTED]> wrote:
>> I wrote a scipt in Linux and either I don't know how to get it to execute
>> or I've written it wrong. The script is below. Thanks
>> count=0
>> for i in `ls -l`
>> do
>> if [ -d $i ]
>> then
>> count=`exp ^ $count +1`
>> fi
>> done
>> echo $count
>
>
>> --
>> Posted via CNET Help.com
>> http://www.help.com/
>
>At the top of all scripts you need to specify the shell that
>the script will be run in:
>
>#!/bin/bash
>
>
>or whatever shell you use.
>
>Jimbob
It is probably a _good_ idea to put it there, but it is _not_
a requirement.
However, to run a script using other than the command line shell,
either that mechanism is in place or the shell must be specified
on the command line:
sh -c script
for example, unless of course the command line shell is the
desired shell (which is usually the case with bash, as was true
in the above instance).
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
From: Aulne <[EMAIL PROTECTED]>
Subject: Re: ISDN connection drops
Date: Mon, 11 Dec 2000 11:05:49 GMT
In article <[EMAIL PROTECTED]>,
Oswald Knoppers <[EMAIL PROTECTED]> wrote:
> Aulne wrote:
> > About this, though I have no hint at the moment where to look for
> > documentation and config files.
> The timeout is set in /etc/isdn/profile/ippp.default, check for
> I4L_IDLETIME.
Thanks. What is the principle behind this timeout for ISDN lines? To save
money in phone line costs or does it pertain to some technicality?
Alain
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: lost file on erased partition
Date: Mon, 11 Dec 2000 06:26:55 -0500
alex k wrote (in part):
>
> hello:)
>
> shortly: how do i find a (text) file that lived on a ext2fs partition
> that got deleted in fdisk?
>
> the file lived happily, until one day win98 was to be installed and
> f**ked up the partition table.
>
> when win98 trashed the partitiontable all partitions were removed from
> fdisk in linux (apparently they couldn't be mounted).
> after that the only thing installed is the win98.
There are ways to recover a partition table. I am not familiar with
them, but others will surely either tell you or refer you to
documentation on how to do it.
Another alternative would be to just get it off your backup media.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:20am up 6 days, 15:09, 3 users, load average: 3.29, 3.32, 3.05
------------------------------
From: "Michal Kolesar" <[EMAIL PROTECTED]>
Subject: fork problem
Date: Mon, 11 Dec 2000 12:38:22 +0100
Hi all..
I have often this problem:
Dec 10 20:57:00 localhost sshd[1456]: Accepted password for dre from
::ffff:206.25.208.82 port 4535
Dec 10 20:57:00 localhost sshd[1456]: Could not reverse map address
206.25.208.82.
Dec 10 20:57:01 localhost sshd[1456]: packet_set_maxsize: setting to 4096
Dec 10 20:57:02 localhost PAM_pwdb[1456]: (sshd) session opened for user dre
by (uid=0)
Dec 10 20:57:02 localhost sshd[1456]: Disconnecting: fork failed: Resource
temporarily unavailable
Dec 10 20:57:02 localhost PAM_pwdb[1456]: (sshd) session closed for user dre
Dec 10 20:57:22 localhost sshd[1457]: Accepted password for macros from
::ffff:212.20.121.246 port 1021 ssh2
Dec 10 20:57:24 localhost PAM_pwdb[1457]: (sshd) session opened for user
macros by (uid=0)
Dec 10 20:57:24 localhost sshd[1457]: Disconnecting: fork failed: Resource
temporarily unavailable
Dec 10 20:57:24 localhost PAM_pwdb[1457]: (sshd) session closed for user
macros
Dec 10 20:57:51 localhost sshd[1458]: Accepted password for dre from
::ffff:206.25.208.82 port 4536
Dec 10 20:57:51 localhost sshd[1458]: Could not reverse map address
206.25.208.82.
Dec 10 20:57:52 localhost sshd[1458]: packet_set_maxsize: setting to 4096
Dec 10 20:57:53 localhost PAM_pwdb[1458]: (sshd) session opened for user dre
by (uid=0)
Dec 10 20:57:53 localhost sshd[1458]: Disconnecting: fork failed: Resource
temporarily unavailable
Dec 10 20:57:53 localhost PAM_pwdb[1458]: (sshd) session closed for user dre
In this time i have opened 300-400 processes...
I am using limits.conf for restriction of proceses in group 'limitusers'
my limits.conf file:
@limitusers hard nproc 50
@limitusers hard maxlogins 3
@limitusers hard core 0
@limitusers hard rss 5000
@limitusers hard priority 5
@limitusers hard memlock 5000
@limitusers hard cpu 5
there is set 50 processes for each user but nobody have runnig more then 20
processes
in time when I get fork error messages in my log.
I am user 'kolisko' and I am not in 'limitusers' group and I dont have
problem
with fork problem.. but every user from limitusers group does it.
How is it possible when is set limitation to 50 for each limit user and
users
have problem when they have running least than 50 processes? Next thing is
that the problem is by sshd which is running as user 'root'...
Is there a another limitations?
0 root@server proc# uname -a
Linux server 2.2.16 #4 Mon Sep 18 10:32:47 CEST 2000 i586 unknown
Thank You for help!
--
---
Michal Kolesar
[EMAIL PROTECTED]
http://www.egarden.cz
public server of free unix services
------------------------------
From: [EMAIL PROTECTED] (Igor)
Crossposted-To: comp.os.linux.setup
Subject: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 12:01:28 GMT
Reply-To: [EMAIL PROTECTED]
In DOS, there is a program LOADLIN.EXE, which allows me to start
an arbitrary version of linux from within DOS.
What I want is to be able to start (switch to) another version
of kernel from within linux itself. I do not mean just switching
a kernel at runtime with all apps still running, I understand
that it is impossible. I would like to just kind of boot to another
server.
The reason for it is that I have a remote colocated server on which I
would like to try various kernels. But I want it to boot to a stable
version of linux. So I cannot just go around and modify lilo.conf all
the time.
Any idea?
--
***********************************************************************
Do your algebra homework at http://www.algebra.com
Solve: x^2+4x+3=0 Plot: y=3*sin(x^2) Ask Questions Word Problems
***********************************************************************
------------------------------
From: [EMAIL PROTECTED] (Timo Benk)
Crossposted-To: comp.os.linux.setup
Subject: Re: About Starting ONE kernel from WITHIN another?
Date: 11 Dec 2000 12:09:02 GMT
Hi,
On 11 Dec 2000 12:01:28 GMT, Igor <[EMAIL PROTECTED]> wrote:
>In DOS, there is a program LOADLIN.EXE, which allows me to start
>an arbitrary version of linux from within DOS.
>
>What I want is to be able to start (switch to) another version
>of kernel from within linux itself. I do not mean just switching
>a kernel at runtime with all apps still running, I understand
>that it is impossible. I would like to just kind of boot to another
>server.
>
>The reason for it is that I have a remote colocated server on which I
>would like to try various kernels. But I want it to boot to a stable
>version of linux. So I cannot just go around and modify lilo.conf all
>the time.
Take a look at vmware. It's not free but a very good program.
-timo
--
.-'~~~-.
.'o oOOOo`. | Timo Benk
;~~~-.oOo o`. | Germany
`. \ ~-. oOOo. | Registered Linux User #186431
`.; / ~. OO: |
.' ;-- `.o.' |
,' ; ~~--'~ | Fax/Voicemail: +49891488214215
; ; |
_\\;_\\//_
------------------------------
** 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
******************************