Linux-Misc Digest #247, Volume #25 Thu, 27 Jul 00 04:13:05 EDT
Contents:
Re: wheel group (FyreFiend)
Re: Newbie ->Mysql & perl (Peter Bishop)
Re: unknown disk fromat ("Charles Sullivan")
ftp over ssh ("Hello World")
Config files gone! ([EMAIL PROTECTED])
Re: SuSe kernel [was Re: Use "force" with rpm?] (blowfish)
realvideo on CNN (DaveDiego)
Re: Are there substantially more/less RPMs for RH or SuSE? (blowfish)
Netscape lost its buttons! (Anthony Campbell)
Re: Netscape lost its buttons! (Anthony Campbell)
Re: Netscape lost its buttons! ("David ..")
back-up mail server ("Iris C. Ting")
Re: Are there substantially more/less RPMs for RH or SuSE? (blowfish)
Re: Are there substantially more/less RPMs for RH or SuSE? (blowfish)
Re: Are there substantially more/less RPMs for RH or SuSE? (blowfish)
Re: printing - lpq looks strange (RH6.1) (Villy Kruse)
Re: Using "find /" on Linux? (Villy Kruse)
----------------------------------------------------------------------------
From: FyreFiend <[EMAIL PROTECTED]>
Subject: Re: wheel group
Date: Thu, 27 Jul 2000 00:32:45 -0400
Duh!
Thank You. I did skim one of my Linux books but I didn't catch that.
Next time I'll try reading with my eyes open. ;-)
On 26 Jul 2000 23:54:51 GMT, [EMAIL PROTECTED] (Dances With Crows)
wrote:
>On Wed, 26 Jul 2000 18:05:26 -0400, FyreFiend wrote:
>>Is there a way to make su only work for root (like BSD)? I know that
>>you can't su to root unless your in the wheel group on BSD and I'd
>>like to try and do that with Linux (RH6.2). Is it possable?
>
>Of course. (If you're asking this question, you need a good book on
>Unix basics, or you need to read through a few of the HOWTOs at
>http://linuxdoc.org/HOWTO/ )
>
># chown root.wheel /bin/su
># chmod 4750 /bin/su
------------------------------
From: Peter Bishop <[EMAIL PROTECTED]>
Subject: Re: Newbie ->Mysql & perl
Date: Thu, 27 Jul 2000 05:16:50 GMT
Andrew,
What is the NG for MySQL??? I can't locate one. Thanks.
Pete
"Andrew N. McGuire" wrote:
>
> On Wed, 26 Jul 2000, INVALIDINVALID_ADDRESS quoth:
>
> ][ Hello, I have a bit of an issue with Mysql running on Redhat 6.1. I have
> ][ installed the Mysql database and I belive I have installed the perl mods
> ][ and DBI mods for it. Below is a script I have written which should just
> ][ connect and query. This might be the issue it self, since I am very new
> ][ to writing perl scripts.
>
> So, would this have changed if you were running your script on FreeBSD,
> or Solaris. This is a Perl/MySQL issue, and these areas have their own
> NG's.
>
> ][ #!/usr/bin/perl -w
>
> '-w', good!
>
> ][ use Mysql;
>
> use strict; # Good practice.
>
> ][ $database-qasrip
> ][ $dbh = Mysql->Connect
>
> The above two statements are not separated. This will not compile.
> ';' is the statement separator.
>
> ][ $dbh->SelectDB($database);
> ][ $sth = $dbh->Query("SELECT * FROM info");
> ][
> ][ when I run it I get the errors below, does someone know how to fix this
> ][ ?
> ][
> ][ ####################################
> ][ Can't load
> ][ '/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for
> ][ module DBD::mysql:
> ][ /usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so:
> ][ undefined symbol: uncompress at
> ][ /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line 169.
> ][
> ][ at /usr/lib/perl5/site_perl/5.005/i386-linux/Mysql.pm line 13
> ][ BEGIN failed--compilation aborted at ./connect2.pl line 3.
>
> Do you even have the DBI/DBD modules installed? Were they installed
> properly. I am not a DB programmer, but I would check these. Try
> posting your question to comp.lang.perl.misc, after correcting your
> code, and searching the perlfaq, Deja, and Google.
>
> PS. If your find that you are missing modules, CPAN is the place to go!
>
> HTH && HAND,
>
> anm
> --
> /*------------------------------------------------------------------------.
> | Andrew N. McGuire |
> | [EMAIL PROTECTED] |
> | perl -le'print map?"(.*)"?&&($_=$1)&&s](\w+)]\u$1]g&&$_=>`perldoc -qj`' |
> `------------------------------------------------------------------------*/
------------------------------
From: "Charles Sullivan" <[EMAIL PROTECTED]>
Subject: Re: unknown disk fromat
Date: Thu, 27 Jul 2000 03:55:07 GMT
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi all
>
> I am trying to get some data off of a floppy disk that was written by an
> HP35660A dynamic signal analyzer. This thing has some special disk
> format that I can find nothing about anywhere. I can't copy the disk
> image into a file with dd. Any ideas?
>
> Thanks,
> Dylan
A lot of HP equipment used a proprietary HP, non-DOS, format, however
the diskettes were hardware compatible with DOS floppy drives. I don't
know about the instrument you mention.
Try calling a HP service center (for the instrument, not their PC division)
to see if they have a program to convert the file to a DOS format, or
can offer any other solution.
------------------------------
From: "Hello World" <[EMAIL PROTECTED]>
Subject: ftp over ssh
Date: Thu, 27 Jul 2000 13:24:43 +0800
i install ssh2 from www.ssh.fi in a linux box. as it supports ftp over ssl,
i use the securefx software to do the ftp jobs. everything is ok. however,
when i block the port 21 (normal ftp port), it stops to work. does the ftp
over ssl requires port 21 to function? if i want to make sure my user use
ftp over ssl, what should i do?
------------------------------
From: [EMAIL PROTECTED]
Subject: Config files gone!
Date: Thu, 27 Jul 2000 05:49:05 GMT
I am using RH 6.2, and am a fiarly new user, but I have earned some
lumps and have started to love Linux.
Last weekend, and I'm not quite sure when it happened, well its hard to
believe that installing a network install of Star Office did it. But I
lost all the config files for what I think must have been the group of
open files that I had at the time. I lost configs for KDE, kmail, krn,
ksame, kppp/pppd and who knows what else. KDE lost my themes,
screensaver, and the like. kmail lost my user config, my addressbook and
my filters, krn lost all my newsgroups, kppp lost all my logins and
dial-up configuration and ksame lost all my high scores.
Do you folks have any idea what might have happend, and how I can
prevent this?
Rob
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: SuSe kernel [was Re: Use "force" with rpm?]
Date: Wed, 26 Jul 2000 23:38:05 -0700
Jan Schaumann wrote:
>
> On Thursday, July 20, 2000 6:48 PM, Mike Fontenot <[EMAIL PROTECTED]>
> wrote:
>
> > Jan Schaumann wrote:
> >>
> >> This may not be a direct answer to your questions, but why not download
> >> the kernel from ftp://ftp.kernel.org (I believe) and compile it
> >> yourself? Sooner or later you will have tolearn hwo to compile the
> >> kernel yourself, so why not now? You certainly should read carefully
> >> through the appropriate HOWTO's from http://www.linuxdoc.org
> >>
> >> While recompiling the kernel for the first time might seem scary, it's
> >> not that difficult if you're careful.
> >>
> >
> > SuSE won't provide any support if you compile your own kernel; if you
> > want their support, you have to use one of their pre-compiled versions.
> >
>
> Is that so? Wow. Anyway, so you can not optimize your system the way you
> want it if you want to keep their support? Doesn't that kinda blow?
>
SuSE's precompile kernels should cover most situations.
SMP , SCSI, ISDN, Sound, a bunch of NICs pppoE, DCHP, static ip,
multi-NICs, ATA/DMA, 386/486/Pentium and higher AMD's 3D Now, Fresierfs,
LVM, firewall, kernel level IDS, etc., are all available from
precompiled kernels, or in the modules.
And SuSE's hardware supports and detection is second to none. Most
(99.9%) everything works right out of the box, no mess no fuzz. You
don't have to waste time to fix and patch broken pieces like with
another very noisy/famous/popular brand.
I've use SuSE since 5.x, I always buy their official CDs/DVD set. But I
NEVER even care to register it, because I never need the tech support to
get everything to work, and installation and maintainance is always a
snap. Everything gets set up and configured correctly and running
properly with a single pass.
And I don't even have to read more than 2 to 3 pages of TFM. Let alone
to RTFM.
Alex-blowfish.
> -Jan
>
> --
> Jan Schaumann <http://www.netmeister.org>
>
> He may have come up with the recipe, but I came up with the idea of
> charging $6.95 for it. -- Moe Syzlak
--
So! You think I'm a real "smart ass" eeh!? Thanks. I've to take that
as a compliment. No kidding. :-) <--See my Smilie here!? ;-)
You know why? Because my ass actually is really dumb. Much dumber than
your ass.I even think my ass is the *DUMBEST* ass in the whole universe.
If my ass even has a single iota, or an aorta of smartness in it. It'd
have
chosened to move, and find something else better to do. I don't know, or
care
what do you do with your *ASS*;but my ass do nothing, other than being
seated
on,and, takes loads of shits from me, day in and day out.;-)
Only *YOU* think my ass is smart... The true hurts. Doesn't it!? No? :-|
(c) Copyrighted.2000 by Alex Lam /'blowfish.' All Rights Reserved.
Quoting without permission is prohibited by international laws.
------------------------------
From: DaveDiego <[EMAIL PROTECTED]>
Subject: realvideo on CNN
Date: Thu, 27 Jul 2000 06:43:40 GMT
Occasionally I run accross a Realvideo that I can not play, I get the error
" A plugin for mime type audio/x-pn-realaudio was not found".
I have played other real videos and I believe I have played ones that where
plugins, but I get this error currently on the concord video on cnn.com.
I've spent 3 hours trying other configurations and upgrading to RP7beta2, I
still can't get this to work.
If anyone else can play the video, I'll search for more configurations to
try.
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Wed, 26 Jul 2000 23:54:00 -0700
Homer Jay wrote:
>
> On Mon, 17 Jul 2000 21:27:49, blowfish <[EMAIL PROTECTED]> wrote:
> >Homer Jay wrote:
> >> >Some Linux apps even run better on BSD than on Linux native. Even rpms.
> >> >-blowfish.
> >> That's interesting. Why do you suppose that is? And, why would the
> >> software run better on a BSD kernel?
>
> >*BSD is a lot more mature. BSD started in the mid '80s. With like a 15
> >years ahead of any Linux.
> [...snip O rama!...]
> >Oh yes, OpenBSD, FreeBSD both have kiss ass hardware detection.
> >-blowfish.a
>
> That's all well and good, but you haven't answered my question, now have
> you? Note that I would have emailed this to you directly but you didn't
> include a fricking valid email address! BTW, do all BSD distros derive
> from NetBSD, or are they "free-swimming"?
My fricking email address is a valid one.
*BSD is much less "free Swimming" than Linux. They're from the same
core, but most, if not all, have excellent backward and Linux
competitability.
SuSE-Linux 6.4 even included some apps from BSD and the Make for BSD
source.
Alex / blowfish.
------------------------------
From: [EMAIL PROTECTED] (Anthony Campbell)
Subject: Netscape lost its buttons!
Date: 27 Jul 2000 06:57:14 GMT
Reply-To: [EMAIL PROTECTED]
For some reason I've managed to lose all the buttons in Netscape (Back,
Forward, etc). I can't find anything in Preferences to account for this.
Can anyone suggest where to look? (I'm only an occasional Netscape user
and can't find my way easily in it.)
--
Anthony Campbell - running Linux Debian 2.1 (Windows-free zone)
Book Reviews: http://www.cix.co.uk/~acampbell/bookreviews/
Skeptical articles: http://www.cix.co.uk/~acampbell/freethinker/
"To be forced by desire into any unwarrantable belief is a calamity."
I.A. Richards
------------------------------
From: [EMAIL PROTECTED] (Anthony Campbell)
Subject: Re: Netscape lost its buttons!
Date: 27 Jul 2000 07:13:43 GMT
Reply-To: [EMAIL PROTECTED]
On 27 Jul 2000 06:57:14 GMT, Anthony Campbell <[EMAIL PROTECTED]> wrote:
>
>For some reason I've managed to lose all the buttons in Netscape (Back,
>Forward, etc). I can't find anything in Preferences to account for this.
>
>Can anyone suggest where to look? (I'm only an occasional Netscape user
>and can't find my way easily in it.)
Sorry to follow up on my own post, but I've just spotted the answer:
tiny buttons at the left of the screen!
My eyes aren't all that good; the buttons are nearly invisible on my 14"
screen!
--
Anthony Campbell - running Linux Debian 2.1 (Windows-free zone)
Book Reviews: http://www.cix.co.uk/~acampbell/bookreviews/
Skeptical articles: http://www.cix.co.uk/~acampbell/freethinker/
"To be forced by desire into any unwarrantable belief is a calamity."
I.A. Richards
------------------------------
From: "David .." <[EMAIL PROTECTED]>
Subject: Re: Netscape lost its buttons!
Date: Thu, 27 Jul 2000 02:04:12 -0500
Anthony Campbell wrote:
>
> For some reason I've managed to lose all the buttons in Netscape (Back,
> Forward, etc). I can't find anything in Preferences to account for this.
>
> Can anyone suggest where to look? (I'm only an occasional Netscape user
> and can't find my way easily in it.)
Did you click on the hide buttons?
There is a small button on the left side of the screen. When clicked it
switches from a vertical button where the other buttons are visible to a
horizontal button which hides the back button and the others.
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
------------------------------
From: "Iris C. Ting" <[EMAIL PROTECTED]>
Subject: back-up mail server
Date: Thu, 27 Jul 2000 15:19:51 +0800
Hi there,
As with other newbies, I would like to ask for some advice as to what is the
suitable way of making a back-up mail server.
We wanted to have a back-up mail server so in cases where the primary mail
server went down (hardware failure or some other problems), we can just copy
the /var/spool/mail/ directory to the other mail server, turn it on and
everything would be as normal as possible.
Thanks.
Iris
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Thu, 27 Jul 2000 00:32:26 -0700
Rasputin wrote:
>
> [EMAIL PROTECTED] <blowfish> wrote:
> >aflinsch wrote:
> >>
> >> blowfish wrote:
> >>
> >> >
> >> > Basically. Most of the rpm from RH won't work on Mandrake, or SuSE.
> >> > Or the rpm from SuSE won't work on RH or Mandrake, and Mandrake's rpm
> >> > won't
> >> > work on SuSE or RH.
> >> >
> >>
> >> Mandrake was originally based on RedHat, and uses the same directory
> >> configurations. I have never had a problem installing a RH RPM on
> >> mandrake, while it is the rare SuSE RPM which will work on Mandrake.
> >>
> >> I would agree that a Mandrake RPM will not always work on RH however,
> >> as Mandrake RPM's are built for a i586 architecture rather than for a
> >> i386.
> >
> >If compiled from source yourself. It doesn't matter if it's for i286 or
> >i100,000,086. It's configured *exactly* to *your* machine.
> >
> >Now, What's better?
> >
> >-blowfish.
>
> Agreed ; but this is an RPM thread, my man..
>
> Still, I suppose 'RPM sucks' is a fair comment; and one I discovered
> about 6 months ago. I've never looked back, but it does make software
> a little harder to uninstall.
>
> a] you have to keep track of dependencies yourself
> (often packages you put on 3+ months ago)
> b] If you're short of disk space, you'll need to rebuild that source tree to
> uninstall the software anyway (make uninstall)
>
> The ports system on BSD does away with a], I guess, and
> b] is only a problem cos I'm too stingy to buy a decent HDD...
>
Hey, You don't even have to install the whole ports' tree in your HDD.
;-)
You can CVS update, and FTP install.
> One big thing Linux does have going for it is profile;
> like it or not there's
> a hell of a lot more software for Linux than *BSD,
> the licensing is simpler, people have heard of it
>
Yes and no. Linux is in the lime light now, yes, but RH/VA are also the
major embarressments for the Linux community because of their stocks
sank faster thanthe Titanic.
And all the broken pieces put out in a hurry by Red Hat.
And no. I have yet run into a piece of app for Linux than I cannot make
it to run under *BSD (at least OpenBSD and FreeBSD) with some very minor
change in the configure file or Makefile. (like if the permission in
Linux is set for 'root -g root', then, just change the root group to
'wheel', or something similarily simple.
I have been able to run many apps from *BSD on Linux, and vice-versa.
And most *BSD have excellent Linux emulation. Most apps will get
installed without help.
And SuSE has included a BSD Make as well.
> [ am I sounding like Bill Gates yet? ;) ]
>
It's okay. I don't even mind to be Bill Gates at all. ;-)
Even with just 5% of his wealth. :-P
> Oh, and there's Linuxdoc ; I've not found something similar for
> bsd yet (daemonnews.org doesn't count; too quiet)
>
Look closer , there's been a lot of updated stuff very recently, and the
ports collection can almost rival Linux's. ;-)
> Blowfish, can you confirm this for me:
>
> Thrash of Death doesn't happen on *BSD? If not, what happens when you
> run out of RAM and swap?
>
I have not yet run into that problem. I've at least 256MB RAM in all my
machines.
> I'm getting a new OS Real Soon Now; it'll either be FreeBSD4 or Slack7.1,
> Not OpenBSD since it seems hard to get a full-on crypto version in the
> UK that doesn't cos full-price, and there's a serious lack of apps
> (for security reasons, maybe)?
>
FreeBSD 4.x is REALLY GREAT. I upgraded it from 3.3 a couple months ago.
Tons of new stuff.
You CAN always get full on crypto version for OpenBSD from FTP. In fact,
that's how they initially set it up, to bypass all the patent laws,
their ssl has to be choosen and install via FTP. So, you can pick
whatever is appropriate for your locale. And OpenBSD needs only a single
boot floppy to FTP install.
Depends on what you want to do. But most basic servers stuff are as
complete as any body else. But if you want lots of games, stay with
Windoz or Linux.
But I've found both OpenBSD and FreeBSD are extremely easy to install,
and the structures are more logical than most Linux distros. For ease of
installation, and stability, I'd rate FreeBSD and SuSE 6.x on the very
top, with OpenBSD second. Both BSD are solid and stable as a rock, SuSE
6.4 's Fresierfs(?spelling?) and LVM is a very close second, beat the
craps out of ext2fs.
I'd NEVER go back to ext2fs(except a small partition for LILO-which can
only lives inb ext2fs for now.)
Check out the *BSD sites. ;-)
You might be surprised.
I'm not bias, because I currently use OpenBSD2.7, FreeBSD4.0-RELEASE #0
, SuSE-Linux 6.4 , Sun Sparc Solaris, (have tried Slackware, RH, Debian,
and a couple of smaller distros since 1995.)
I don't really care or religious about anything. I'm lazy. I just want
the right tool for the right job, something easy to set up, and keep
running with little or no fuzz, until I wantto change something again.
And the updating process with *BSD is absolutely the best. You can even
set up a corn job to handle it on a regular basis, once you've set up
the initial base.
- Alex / blowfish.
> --
>
> Rasputin.
> Jack of All Trades - Master of Nuns.
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Thu, 27 Jul 2000 00:36:53 -0700
aflinsch wrote:
>
> blowfish wrote:
>
> >
> > If compiled from source yourself. It doesn't matter if it's for i286 or
> > i100,000,086. It's configured *exactly* to *your* machine.
> >
> > Now, What's better?
> >
>
> I agree with you on the compile from source, but that looses whatever
> advantages that rpm has (notably the ease of finding exactly what is
> installed on the system).
>
> Personally I prefer rebuilding rpms from a src rpm, then installing.
> that gives me the advantages of both worlds.
Actually. Building entirly from source is really not that much more
work, or any more difficult than building from tar balls.
Plus, you can change whatever you want if you compile from source to
suit your own needs. Isn't that one of the main reason why we prefer
opensource? No? :-)
-Alex / blowfish.
------------------------------
From: blowfish <[EMAIL PROTECTED]>
Reply-To: ..
Subject: Re: Are there substantially more/less RPMs for RH or SuSE?
Date: Thu, 27 Jul 2000 00:46:48 -0700
aflinsch wrote:
>
> blowfish wrote:
>
> >
> > If compiled from source yourself. It doesn't matter if it's for i286 or
> > i100,000,086. It's configured *exactly* to *your* machine.
> >
> > Now, What's better?
> >
>
> I agree with you on the compile from source, but that looses whatever
> advantages that rpm has (notably the ease of finding exactly what is
> installed on the system).
>
> Personally I prefer rebuilding rpms from a src rpm, then installing.
> that gives me the advantages of both worlds.
-With *BSD. You can do a 'deinstall'. But usually , I do a 'locate'
then remove whatever I want. But I hardly ever install too much stuff
that I don't need. For stuff that I might or might not keep, I install
those to a different partition on another HDD. So, if I don't want to
keep whatever, I just nuke that partition/HDD off. If I decided to keep
it, then, I install it again on my "on duty" HDDs.
-Alex / blowfish.
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: printing - lpq looks strange (RH6.1)
Date: 27 Jul 2000 07:54:20 GMT
On 26 Jul 2000 14:15:10 GMT,
Christoph Kukulies <[EMAIL PROTECTED]> wrote:
>My lpq command looks kind of garbled:
>
>[root@mymachine]# lpq -Pmyprinter
>mymachine: sending to myprinter
>Rank Owner Job Files Total Size
>0 bytes
>2nd someuser 40 9709356.ps 1091943 bytes
>
>
>Why is the 0 bytes wrapped?
>
>It also seems that the queue blocks when there is a 0 byte job.
>
The lpr that comes with RH6.1 is seriously broken when trying to use a
remote printer. Thr rpm from the RH6.2 might work better.
The RH6.1 version of lpr creates temporary files in the printer
spool directory with names that look like regular queue files
to the spooler. This then showes up as odd empty queue items and the
spooler no longer works.
It is probably better to switch to LPRng.
Villy
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: Using "find /" on Linux?
Date: 27 Jul 2000 07:59:23 GMT
On Wed, 26 Jul 2000 18:41:38 -0500,
Andrew N. McGuire <[EMAIL PROTECTED]> wrote:
>
>Or, I believe he could do this:
>
>find / 2> /dev/null
>
That is, if you would want to ignore any other errors as well.
BTW, there are also the -prune option that can be used to bypass
the /proc directory alltogether
find / -name proc -prune -o -print
Villy
------------------------------
** 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
******************************