Linux-Misc Digest #103, Volume #27 Tue, 13 Feb 01 19:13:02 EST
Contents:
Re: 2.2.17 kernel and usb (Alan Needleman)
Re: Linux Sucks... well not really ("Peter T. Breuer")
Re: automated multiple file deleting ("Peter T. Breuer")
Re: O'Reilly: SSH book published ("Peter T. Breuer")
Re: scp problem (openSSH/openSSL suite). ("Peter T. Breuer")
Re: Mail Server Newbie (Jeremiah DeWitt Weiner)
Re: Linux Sucks... well not really (John Hasler)
Uninstalling Corel Linux? (jayoeming)
PPP won't go on 2.4.1 (Norm Bartley)
Re: automated multiple file deleting (Dances With Crows)
Re: Configuring Telnet (Dances With Crows)
can't remove/rename file, even as root (Jason Fornelli)
Re: PPP won't go on 2.4.1 ("Peter T. Breuer")
The procedure of configure scripts (Mladen Gavrilovic)
Re: can't remove/rename file, even as root (Mladen Gavrilovic)
Re: Linux Sucks... well not really ("japhilp")
Linux Developer Panel ("Resarch")
Re: Uninstalling Corel Linux? (Mladen Gavrilovic)
Via Sound Card problem (Martin Greco)
----------------------------------------------------------------------------
From: Alan Needleman <[EMAIL PROTECTED]>
Subject: Re: 2.2.17 kernel and usb
Date: Tue, 13 Feb 2001 17:02:30 -0500
> I strongly recommend you the 2.2.18 kernel.
>
> It includes the 2.4.x usb-compatibility backported to the 2.2.x series.
So does 2.2.17-14 which I got to work by downloading the kernel-source
rpm.
Thanks for the info about 2.2.18, because 2.2.17-14 may be flakey, given
the installation.
Alan
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Linux Sucks... well not really
Date: Tue, 13 Feb 2001 22:56:28 +0100
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
[of netscape]
> It maxes out on my dual 550MHz Pentium-III system, but only under
> duress. Most of the time, like now when I am typing, it takes only about
That's presumably only when it goes wrong, and spins in some loop
internally.
r
> 0.5% of my CPU resources (according to top command). But if the news
> server screws up in just the right way, it goes up to 50%; i.e., using
> up an entire CPU. The only solution is to kill it with a -9 and start it
I thought it was threaded! Well, apparently one thread is unhappy.
> over. Happens about once a week.
It happens to me too, but I wouldn't call that being slow, I'd call it
falling into a tight loop and dying.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: automated multiple file deleting
Date: Tue, 13 Feb 2001 23:05:49 +0100
Jan Schaumann <[EMAIL PROTECTED]> wrote:
> * Marc Alcide wrote:
>>
>> I have a certain problem on a linux server. I want to delete multiple
>> files in several subdirectories of the 'home' directory, but only
>> those files that have the size between 69000 and 71000 bytes.
>>
>> Please bear in mind that I do not know a lot about linux
> man find
Cruel. Many plaudits.
> % "How poorly would you rate the UNIX (so-called) user interface?
> Unmatched ".
:-)
Well, seeing as he spelled "bear" correctly, he wants something like
find /home -size +69000b -size -71000b ... -exec rm {} \;
(and yes, I know about xargs, and that he might want a -type f too,
and possibly a -mount). The details remain his exercise.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: O'Reilly: SSH book published
Date: Tue, 13 Feb 2001 23:00:03 +0100
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> Daniel Barrett wrote:
>> Backing up to a remote machine using ssh
>> CVS access from behind firewall ???
>> imap and ssh
>> Scripting SSH
>> ssh problems
>> ssh rsa fails?
>> ssh, scp and batch mode
>> sshd authorized_keys
>> starting ssh-agent as parent of X session for SSH
>> ...
>>
>> I thought the announcement would be helpful. Apologies for missing the
>> boat on comp.os.linux.announce.
>>
> While I suppose it was posted to the wrong newsgroup, I got the book
> because I saw the post, and it just arrived today. I skimmed it and it
> looks good.
Is it? I teach ssl in an e-commerce course and might need it. My
ssl knowledge comes from the RFCs and the various notes from the
drafts. I'm not at all sure how ssh fits in to that picture, and
could do with something that gives some data. Does it? Or is it
all howto?
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: scp problem (openSSH/openSSL suite).
Date: Tue, 13 Feb 2001 23:08:09 +0100
Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> While I have openSSH working just fine between my two machines, and I
> have even had it work from my nephew's machine hundreds of miles from
> here, I have never gotten scp to work. Here is a typical attempt:
> valinux:jdbeyer[~]$ scp -v RP4.out touchl:/home/jdbeyer/RP4.out
> Executing: host touchl, user (unspecified), command scp -v -t
> /home/jdbeyer/RP4.out
> debug: Sending command: scp -v -t /home/jdbeyer/RP4.out
> debug: Entering interactive session.
> bash: scp: command not found
Scp is not in your path at the other end.
> I assume the thing saying "bash: scp: command not found" is trying to
> tell me something, but I know not what. If I do whereis scp on the
> valinux machine, I get:
I forgot which machine is which.
> valinux:jdbeyer[~]$ whereis scp
> scp: /usr/src/openssh-2.1.1p1/scp.1 /usr/src/openssh-2.1.1p1/scp.c
> /usr/src/openssh-2.1.1p1/scp.0 /usr/local/bin/scp
Yep. /usr/local is not in the default path. I daresay there's a switch
like
--rcp=/usr/loical/bin/scp
that you can pass! (I know not).
Peter
------------------------------
From: Jeremiah DeWitt Weiner <[EMAIL PROTECTED]>
Subject: Re: Mail Server Newbie
Date: 13 Feb 2001 22:21:59 GMT
James Horvath <[EMAIL PROTECTED]> wrote:
> I am looking to set up a simple Linux mail server at home to collect email
> from a number of POP3 accounts, store them on a "mail hub" machine, and
> allow access to those messages from Microsoft Outlook 2000 (on a Windows
> 2000 Pro machine).
OK, but you don't say just how you want the Windows clients to be
able to access the mail. POP? IMAP? Something else?
> I have installed sendmail (but haven't gotten too far with configuring it
> yet (do I even need this? Would qmail be a better option for a rookie?)),
Urk. I do this sort of stuff for a living, and I don't recommend
sendmail for _anybody_, unless you happen to need some of the more specialized
capabilities of sendmail - which I doubt you do. qmail or Exim are much
easier to deal with.
> My question is, what do I need to setup to read my mail from my Windows
> machine using Outlook 2000? I can read it from Linux using Kmail, etc., so
> I know the transfer from the POP accounts worked fine. As stated I can ping
> the mailhub (using either the IP address or the name (mailsys.mydomain.com))
> from the Windows machine, but Outlook states it can't connect with the
> mailhub. Do I need NIS? NFS? Samba? Sendmail? Procmail? Something
> else?
Sounds like you've made a really good start, actually. What you need
now is a POP or IMAP daemon. IMAP is probably better, given what you've
described so far. (Why bother collecting the mail in a central place just
to spread it out across all the Windows boxen again?) ipop3d and imapd are
two choices; I've no doubt there are others.
JDW
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Linux Sucks... well not really
Date: Tue, 13 Feb 2001 21:19:11 GMT
Peter writes:
> Maybe my 512MB, dual processors, and udma disks help.
384MB, dual PII-500's, 10k IBM SCSI.
> It has gone into an internal loop,...
Strangely enough, I've not yet seen that: just segfaults and illegal
instructions. It also occasionally just sits there doing nothing for a
second or two while it should be downloading.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: jayoeming <[EMAIL PROTECTED]>
Subject: Uninstalling Corel Linux?
Date: Tue, 13 Feb 2001 22:30:07 -0000
All:
I'm brand spanking new to Linux. I put Corel Linux on a hard drive on a
spare computer. I went to install a second hard drive on that same
computer, which I want to partition up for different operating systems.
To install the hard drive, I need Windows on my machine.
But, I don't have Windows on my machine: I have Linux.
Thus, I want to uninstall Linux (i.e., reformat the hard drive with Linux
on it, I suppose), so I can install Windows, so I can reinstall Linux.
Sheesh!
I tried putting a Windows startup disc in the "A" drive, and using
the "format" command on to erase the "C" drive, but Windows said it
didn''t recognize the "C" drive.
I also looked in the Corel manual, but it said that to uninstall Linux,
you had to reformat the drive. When I looked up "format" or "reformat,"
all it had was stuff on formatting floppy discs.
Any suggestions greatly appreciated, so this Linux newborn can get the
show on the road.
Cheers,
Jay
[EMAIL PROTECTED]
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Norm Bartley)
Subject: PPP won't go on 2.4.1
Date: 13 Feb 2001 16:03:45 GMT
Hello all,
Some recent discussion on PPP problems seems to suggest that
this is an appropriate place to seek help.
PPP fails identically on my two RedHat 7.0/2.4.1 systems configured
with modems. The chat script completes nicely on each, then when it's
time for pppd to take over, it promptly announces:
pppd: ioctl (PPPIOCGFLAGS): Invalid argument
and exits immediately. One system is an Athlon/A7V with a USR 56K
PCI modem (nothing wrong with this hardware - worked fine on 2.2.x).
The other is a brand-new Dell Inspiron 8000 laptop with a built-in
Lucent Technology "linmodem" and a PCMCIA USR 56K card -- each device
fails the above ioctl in the same way. (By the way, the "linmodem"
otherwise works great!)
Naturally, I have compiled PPP support (in all combinations of options)
into the kernel. Has anyone run into this problem? Can't seem to find
any fresh info'. Any tips would be very much appreciated!
Cheers,
Norm
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: automated multiple file deleting
Date: 13 Feb 2001 22:37:54 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 13 Feb 2001 21:41:24 GMT, Jan Schaumann staggered into the Black
Sun and said:
> Marc Alcide wrote:
>>
>> I have a certain problem on a linux server. I want to delete multiple
>> files in several subdirectories of the 'home' directory, but only
>> those files that have the size between 69000 and 71000 bytes.
>>
>> Please bear in mind that I do not know a lot about linux
>
>man find
ACK! If you don't know a lot about Unix, the man page for find is *NOT*
the place to start learning. It's a marvel of terseness, when the
original poster needs a bit of handholding. Like so:
find /home -size +69000c -size -71000c -exec rm -i {} \;
This goes to /home, finds all files that have a size greater than 69000
characters and less than 71000 characters, then passes each file it
finds to the rm -i command, which asks you if you really want to remove
the file. If you're sure this will work first time, change the -i to
-f, but don't blame me if you blow away everything....
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Configuring Telnet
Date: 13 Feb 2001 22:37:56 GMT
Reply-To: [EMAIL PROTECTED]
On Mon, 12 Feb 2001 14:32:17 -0000, Ian Ellis staggered into the Black
Sun and said:
>I use my Linux box to access an ICL mainframe, via a VAX box, using telnet.
>
>ICL mainframes use 25 line. My telnet connection squashes the screen to 24
>lines. The 25 lines are still available, I just have to move the cursor out
>of the window, but this is a faff.
>
>Does anyone know how I can setup my telnet connection to use 25 lines (e.g.
>by setting TERM, altering termcap etc.)?
Is this via the text console, or an xterm? The generic VGA text console
for Linux is 80x25 at least, while you can resize an xterm to whatever
size you want. If this doesn't work, then the problem is most likely on
the other end. What does "echo $TERM" return on the mainframe? What
should it return? Or do the applications you're using get their info
from other environment variables like LINES and COLS ? Or could there
be a problem with the VAX intermediary here?
I'd say at the moment there are too many unknowns.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com / Workin' in a code mine, whoops!
=============================/ I hit a seg fault....
------------------------------
From: [EMAIL PROTECTED] (Jason Fornelli)
Subject: can't remove/rename file, even as root
Reply-To: [EMAIL PROTECTED]
Date: Tue, 13 Feb 2001 22:45:20 GMT
I'm running RH 6.1 and was trying to upgrade the bind package via rpm but it
fails saying it is unable to delete (via RPM_DELETE) the /usr/sbin/named file.
I then went in as root and tried to manually remove named but get an error
message saying "rm: cannot unlink `/usr/sbin/named': Operation not permitted".
I'd had a 4 second power outage recently and thought perhaps the problem had to
do with an inode or something being corrupted so I ran fsck to try to fix the
problems that were listed at boot. This did not do the trick.
Besides not being able to remove or overwrite this file, I'm also unable to run
chmod on it...
Any thoughts/suggestions on how I can kill off this pesky file?
Thanks.
-jason
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: PPP won't go on 2.4.1
Date: Wed, 14 Feb 2001 00:10:18 +0100
Norm Bartley <[EMAIL PROTECTED]> wrote:
> PPP fails identically on my two RedHat 7.0/2.4.1 systems configured
> Naturally, I have compiled PPP support (in all combinations of options)
> into the kernel. Has anyone run into this problem? Can't seem to find
> any fresh info'. Any tips would be very much appreciated!
Have you read the kernel Changes file?
Peter
------------------------------
From: Mladen Gavrilovic <[EMAIL PROTECTED]>
Subject: The procedure of configure scripts
Date: Tue, 13 Feb 2001 23:33:39 GMT
Hi all,
Does anyone know how configure scripts check for libraries? I'm trying
to compile something that requires Qt, but the configure script doesn't
detect the libraries.
I'm using redhat 7 (fully updated) and qt-2.2.3 and qt-devel-2.2.3 (from
rpmfind). The qt library dir is in ld.so.conf. Libraries are in
/usr/lib/qt-2.2.3/lib, while headers are in /usr/lib/qt-2.2.3/headers.
A program that comes with the devel package (Qt designer) works, and I
think it uses Qt, so the libaries seem to be working fine. Note that
I'm not using KDE, but GNOME.
But I digress...
Coming back to my question, where is it that configure stores it's
directories for checking dependencies? Is it in one of the
config.something files?
Regards,
Mladen
------------------------------
From: Mladen Gavrilovic <[EMAIL PROTECTED]>
Subject: Re: can't remove/rename file, even as root
Date: Tue, 13 Feb 2001 23:36:08 GMT
Hmm... possibly I don't know what I'm talking about, but could you be
running the file? Check with something like "ps -A | grep 'named'". If
you're running it kill it and then delete the file.
Regards,
Mladen
Jason Fornelli wrote:
>
> I'm running RH 6.1 and was trying to upgrade the bind package via rpm but it
> fails saying it is unable to delete (via RPM_DELETE) the /usr/sbin/named file.
> I then went in as root and tried to manually remove named but get an error
> message saying "rm: cannot unlink `/usr/sbin/named': Operation not permitted".
> I'd had a 4 second power outage recently and thought perhaps the problem had to
> do with an inode or something being corrupted so I ran fsck to try to fix the
> problems that were listed at boot. This did not do the trick.
> Besides not being able to remove or overwrite this file, I'm also unable to run
> chmod on it...
> Any thoughts/suggestions on how I can kill off this pesky file?
> Thanks.
>
> -jason
------------------------------
From: "japhilp" <[EMAIL PROTECTED]>
Subject: Re: Linux Sucks... well not really
Date: Tue, 13 Feb 2001 23:48:59 GMT
Just noticed something about netscape and it's threading :
Say you have 5 windows open , on 5 diferent web sites.
Now if one of those windows freezes halfway through a download, then it's
bye-bye netscape over here.
Sure it is threaded : A new thread for each new window, but all the
communications go through a single thread. The same happens on a win32
system .
About using netscape for other than web browsing :
It has been my experience that when an application tries to be the jak of
all trades, it becomes just that, the jack of all trades, and master of
none. Netscape fits my needs as far as browsing is concerned.
Pan fills my needs for a news client.
After trying to take a peek at balsa , I quit , and have decided to use
Kmail.
Why ? ( ok, a little rant begins, but hear me out. )
a) balsa requires a spell checking library .
b) once the library is installed, a "module" using that library must be
compiled and installed.
c) In order to compile the module, I would have to upgrade my version of gcc
d) upgrading my version of gcc will render it unusable to compile the kernel
.
I don't know about the rest of the world, but under no curcumstances will I
move to a compiler that I can't use for kernel compilation. I did have some
trouble with cdrocord , but that was sorted out when I used cc instead of
gcc .
So anyways, the point is , use an application/system that does the task well
.
"Peter T. Breuer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Jean-David Beyer <[EMAIL PROTECTED]> wrote:
> [of netscape]
> > It maxes out on my dual 550MHz Pentium-III system, but only under
> > duress. Most of the time, like now when I am typing, it takes only about
>
> That's presumably only when it goes wrong, and spins in some loop
> internally.
> r
> > 0.5% of my CPU resources (according to top command). But if the news
> > server screws up in just the right way, it goes up to 50%; i.e., using
> > up an entire CPU. The only solution is to kill it with a -9 and start it
>
> I thought it was threaded! Well, apparently one thread is unhappy.
>
> > over. Happens about once a week.
>
> It happens to me too, but I wouldn't call that being slow, I'd call it
> falling into a tight loop and dying.
>
> Peter
------------------------------
From: "Resarch" <[EMAIL PROTECTED]>
Subject: Linux Developer Panel
Date: 13 Feb 2001 23:50:03 GMT
Dear Linux Developer,
EDC is an independent market research firm specializing in software
development. We're recruiting Linux developers to complete a survey and so
join our international panel of developers. Our panelists influence some of
the largest tookmakers and each time you fill out a survey you are
automatically entered in a drawing to win $500US CASH. You can find this
survey at:
http://www.evansdata.com/Surveystart2.html
Our reports are read by most of the largest development tool companies and
this is your chance to influence them so they can make the tools and
programs YOU want.
Our surveys are not sponsored by any one company, and all personal
information is held strictly confidential. The results are aggregated and
turned into reports which influence top development tools companies. YOUR
PERSONAL INFORMATION IS NEVER GIVEN TO ANYONE UNDER ANY CIRCUMSTANCES.
To take our survey and enter the drawing please go to:
http://www.evansdata.com/Surveystart2.html
We think you'll find it interesting!
The Research Team at Evans Data Corp
http://www.evansdata.com/Surveystart2.html
------------------------------
From: Mladen Gavrilovic <[EMAIL PROTECTED]>
Subject: Re: Uninstalling Corel Linux?
Date: Tue, 13 Feb 2001 23:56:35 GMT
jayoeming wrote:
> To install the hard drive, I need Windows on my machine.
>
Hmm...no you don't (not that it matters)
>From what I understand you want to reformat your primary hard drive and
make it windows only, and install a secondary hard drive that will be
shared between windows and Linux.
For this you'll need to repartition the drives, not just format them.
To begin, put in your windows startup disk and boot from it. Then type
fdisk /mbr. This'll clear lilo from your master boot record. then type
fdisk and partition your primary drive to your liking. After that,
format the partition's you made. Now you can install Windows.
With windows installed, install the second hard drive and fdisk it,
creating your windows partitions... leave the space that you want linux
on <emphasize>unpartitioned</emphasize>. You'll partition it later
during the install process. Make sure that with this fdisk you transfer
to the drive you just installed, otherwise you'll be fdisking your
primary drive which will wipe all your data... print the partition table
before you begin to make sure (it should be empty).
Now install linux and partition the unpartitioned space on the secondary
drive as you like.
Regards,
Mladen
------------------------------
From: Martin Greco <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Via Sound Card problem
Date: Tue, 13 Feb 2001 20:37:22 +0000
Reply-To: [EMAIL PROTECTED]
Hi I have a Soyo motherboard with via sound chip.
I have installed kernel 2.4 that has the sound driver as the module
via82cxxx.o.
The proble is that when I use XMMS The music sounds accelerated, and other
players even doesn't work (due to problems with sample rate)
I guess that there's a problem with sample rate, but don't know how to
solve it.
anyone help?
thanks
--
Martin Greco
------------------------------
** 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
******************************