Re: accelerated X for ati cards

2003-10-22 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 22 October 2003 05:34 pm, Bret Hughes wrote:
> I have a bunch of boxes with ati card in them and have totally confused
> my self with trying to figure out what support there is for using the
> scaling features of the cards for scaling mpeg movies played by
> mplayer.
[...]
> Is there a good place to ask redhat specific X questions?  do I need to
> install gatos and where do I get it for the rpm based X or does it make
> a difference?
>
> ANY tips appreciated.

[EMAIL PROTECTED]

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/lxojn/07WoAb/SsRAqXGAJ9is4NYY6egac7/sDlyS/KTbD8UvwCfdanH
kwAZFZ1FqdRtIQ0/bGRFNxo=
=cLAJ
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: chmod-ing a directory tree without effecting files

2003-10-22 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 22 October 2003 06:50 pm, Thomas Smith wrote:
> I need to chmod a directory tree to change the permissions on the
> directories but not the files they contain.
>
> Is there a way to do this with chmod or another tool?

Something like:
find /path/to/directory -type d -exec chmod 775 "{}" \;

Or, if you want to be prompted before each chmod command is executed:

find /path/to/directory -type d -ok chmod 775 "{}" \;

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD4DBQE/lxF6n/07WoAb/SsRAlryAJiPii1yMJJ3Qxv87mOG8PmgHj+xAJwP1YSC
ODHR4IHTfgQtBJ90Mylmfw==
=+Qd0
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Minimal install RH8?

2003-10-05 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 05 October 2003 03:25 am, Sasa Stupar wrote:
>   > Did you even look at the RULE page that someone suggested to you?
>   > That
> >
> > is exactly what RULE does: allow you to install a Red Hat Linux
> > system into older hardware, or any hardware with less memory (down to
> > 6MB RAM in some cases), and install a much smaller set of packages
> > than Anaconda usually selects. It is still Red Hat Linux, though.
>
> Yes I have even tested it and strange thing happened. I have selected
> NO sendmail and NO ssh  and some other stuff but they were installed
> regardless of my choise. So this looks like normal minimal install from
> RH8. In fact it is the same install after I have checked the size on
> the disk it is exactly the same 476 megs. Looks like that dependieces
> didn't let to install without some files which I didn't want to.

The base install should take less than 200 megs. You may have selected 
other package groups which require sendmail or ssh. Would you mind 
sending me a copy of /root/scripts/install_log offlist?

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/f9xun/07WoAb/SsRAnT7AJ96QRosRIpSVciEkvFmvePk3iX6cQCdHdcj
A+cBXmibDCsFeCF86nDL8ds=
=iXFB
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: RULE (branch of former 'Minimal install RH8?')

2003-10-04 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 04 October 2003 07:49 pm, Ed Wilts wrote:
> On Sun, Oct 05, 2003 at 01:40:48AM +0200, R Sánchez wrote:
> > What it IS:
> > * A project that makes avaidable an installer which picks
> > those apps from your original redhat iso's.
> >
> > Really don't see any copyright issues here...
>
> Copyright issues - NO.  Trademark issues - YES, if you call the result
> Red Hat Linux.  It's simply not Red Hat Linux.  From what I've read, it
> is a very valuable project to a lot of people, but the result is not
> Red Hat Linux.

Just to clarify:
We don't, and never have, called RULE "Red Hat Linux".
We do however call it an installer for Red Hat Linux. Quite some time ago, 
I asked about this on the Anaconda-devel list.

Here is a short snip from the mail detailing both my question and an 
answer from Red Hat's Matt Wilson: (The full text is available in the 
anaconda-devel list archives.) I am not a lawyer, I don't think Matt is a 
lawyer, this shouldn't be relied upon as a legal opinion, etc

On Mon, Dec 23, 2002 at 12:21:40AM -0500, Michael Fratoni wrote:
[...]
> So, my question is...
> Is this "fair use" or a trademark violation? Obviously, for the past
> year 
> that I've been working on this, I've been operating on the assumption 
> that this is fair use. With the recent discussion, it seems prudent to 
> get some clarification on Red Hat's position. Given that I expect to 
> make 
> exactly $0.00 on this project over it's lifetime, I'd hate to have to 
> defend a trademark violation claim.

To which Matt replied:

Since your project uses original (unmodified) Red Hat Linux CDs or
other install media, and since it's not a commercial endeavor, this
should be fine.


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/f3Omn/07WoAb/SsRAlggAJ46xad0y2sxOMOjiQRuwHVDG/CavQCePM1h
0LSsBEvSveT3LJrtUr9EJCo=
=bp4V
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Findig RPM's?

2003-09-23 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 23 September 2003 02:54 pm, [EMAIL PROTECTED] wrote:
> Hi all,
>
> Quick one: How can I find the x11 headers? -- I need to install
> x11-devel and have cd's but know that there must be an easy way of
> finding what I want with up2date or rpm?

http://sourceforge.net/projects/whichcd/
It allows you to do quite a bit of rpm searching painlessly.
It's my pet project, so I'm a little biased, I suppose... ;)

$ whichcd -f  /usr/include/X11

XFree86-devel-4.2.0-72 provides /usr/include/X11

CD-2:XFree86-devel-4.2.0-72.i386.rpm

Or:

$ whichcd -v 8.0 XFree86-devel
Searching in the RHL8.0 database.
Searching for XFree86-devel...

CD-2:XFree86-devel-4.2.0-72.i386.rpm

$ whichcd -v 9 XFree86-devel
Searching in the RHL9 database.
Searching for XFree86-devel...

CD-2:XFree86-devel-4.3.0-2.i386.rpm

Or even:
$ whichcd -f ls free

fileutils-4.1.9-11 provides /bin/ls

CD-1:fileutils-4.1.9-11.i386.rpm
SOURCE-CD-2:fileutils-4.1.9-11.src.rpm

procps-2.0.7-25 provides /usr/bin/free

CD-1:procps-2.0.7-25.i386.rpm
SOURCE-CD-1:procps-2.0.7-25.src.rpm

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/cODHn/07WoAb/SsRApz8AJ98ZKlwPDjTXEOIWtHHoT3RjHJz6gCgn8ZN
xU7df8BGqiONQ9e8eXO2qMw=
=QkKH
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: expanding logout options in KDE?

2003-09-22 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 22 September 2003 09:37 pm, Canon wrote:
> I've been using KDE exclusively in RH9 and I'd really like to know how
> to configure the session manager logout options (options to reboot,
> shutdown, log out) so that those three options show up by pressing the
> "logout" applet button ... right now all I get is "logout" or "cancel"
> so I can logout - but I can only then proceed to shutdown from the
> login screen.
>
> In RH9 Gnome on the other hand, after depressing the "logout" button
> you get a whack of choices - including shutdown, logout or reboot.
>
> Is there a way to get that to work with KDE?

Edit /etc/sysconfig/desktop, and add:
DISPLAYMANAGER="KDE"

For example, mine has:
$ cat /etc/sysconfig/desktop

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/b6qtn/07WoAb/SsRAkHPAKC1NUpzZtJM12JvVuYI1UHpiltoAACgqHLp
i6jWTUu6jUx1BijzdNplTao=
=lzBV
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Fedora

2003-09-22 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 22 September 2003 09:48 pm, Buck wrote:
> If there is no 9.0 what am I running?  Shrike is 9.0!

No, Shrike is Red Hat Linux 9, not 9.0.

> I have both 8.0 and 9.0 cds.

If you look closely, I suspect you have 8.0 and 9 cds.

> Do you need the url?
>
> http://www.redhat.com/apps/download/

Where it clearly offers Red Hat Linux 9 for download. ;)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/b6mYn/07WoAb/SsRAoYjAJ4gAGPErsReCAl0FQ7bBpFtAGpVcACdE3D6
3Yt3x3NSLI66BeHjFctPXkI=
=E89b
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: /etc/rc.d/init.d/httpd ?? (aka "httpd dead but subsys locked" problem)

2003-09-21 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 21 September 2003 06:17 am, Mufit Eribol wrote:
> I am again getting this dreadful error.
>
> After  "killall httpd" command, if I issue "service httpd start" or
> "/etc/rc.d/init.d/httpd start" Apache doesn't run and the script gives
> the "dead but subsys locked" status. However, if just "httpd" command
> is issued o the command line, the server comes alive as usual.

Removing the lockfile (/var/lock/subsys/httpd) should allow the service 
command to work normally. If you use the service command rather than 
"killall' to stop the server, the lock file will be removed in the 
process. Try "service httpd stop" to shutdown httpd.


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/bYaNn/07WoAb/SsRAp+dAJ9+4wf0/nQhSoTJcWHc7RGDg8d6hQCfc1Tj
LiYK4H1RyC4dpZLL63vames=
=cKaL
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Newbie: login (gdm) and logoff windows in redhat 9

2003-09-20 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 20 September 2003 08:39 pm, Rachel Goldman wrote:
> the one thing I miss on my new redhat 9 installation
> after upgrading from 7.3 is the fact that my login
> screen (gdm) has changed to the "bluecurve gdm" and
> the logoff screen was replaced from the picture of
> konq the dragon giving me the options
>
> login as different user
> turn off computer
> restart computer
> save session for future logins
>
> to one with just "end session for [user]"
>
> can I get those back in redhat 9?

Yes, just define the display manager in /etc/sysconfig/desktop

$ cat /etc/sysconfig/desktop
DESKTOP="KDE"
DISPLAYMANAGER="KDE"

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/bP/6n/07WoAb/SsRAoyfAJ0RJuEuXOP/Ck+mrlUt2NAj5GclsACgvEiF
yvZNIH4CJ/a1okf+enJaABQ=
=Rx1u
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: (sweet recovery!) when rpm --rebuilddb doesn't work! what next?

2003-09-11 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 11 September 2003 07:38 am, Ed Wilts wrote:
> On Thu, Sep 11, 2003 at 12:02:03AM -0400, Michael Fratoni wrote:
> > > I also find out that in SUSE Linux there's a time-stamped backups
> > > of the RPM database in /var/adm/backup/rpmdb and that you can just
> > > copy it to /var/lib/rpm, and everything gets back to normal! Anyway
> > > thanks a lot!
> >
> > Hrmm, not a bad idea. Simple enough to accomplish via a cron job.
> > You'd want to add some error checks and remove older backups, but
> > basically this should work:
>
> Personally, I find this to be a bad idea.  Everything needs to be
> backed up, and that's a user's responsibility.  First the distributor
> decides you need rpmdb backed up, and then the password and group
> files, and then configuration files, and then they don't stop until you
> no space for your backups.

I don't disagree.

> A good administrator will take backups of the important stuff.  In my
> daily backups, I include /var.

There are plenty of cases where backups aren't done, or aren't done often 
enough. (Think home user) I wasn't advocating Red Hat including a 
function to back up the rpm database (or anything else), just a quick 
script for a user to do it manually. Sure, you back up your data, and I 
back up mine. There are plenty of cases where users don't create backups 
of anything at all. In such a situation, a user created cron job to make 
backups of the rpm database can't be a bad thing. If they loose a disk, 
they are sunk anyway, but if they hose the rpm database, recovery is as 
simple as a 'cp' command.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/YTHLn/07WoAb/SsRAtlpAJkB8rQITL/rp7+powgmIaxTZbEEEQCgq9NZ
rwvjIZk4ApKRwC8NqCvhhJY=
=f3Wi
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: (sweet recovery!) when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 10 September 2003 11:05 pm, Didier Casse wrote:

> Big thanks Michael! Your script is totally cool!!! I managed to rescue
> some /var/logs/rpmkgs.3 file!

You're quite welcome, glad you found it useful.

> Then ran your script with the RH Cds and location of some other RPMS
> that my friend downloaded and in less than an hour everything was
> safely rescued.

Excellent.

> Lucky that you wrote such a a script. Out of curiosity, you wrote it
> just out of the blue or you wrote it by necessity, i.e Did the disaster
> happen to you or any of your clients/friends and thus decided to do
> something about it?

Actually, I wrote it in response to a posting on one of the Red Hat lists. 
Someone was trying to salvage a database, and asked how to do it.
I moved the rpm database out of the way on a test machine, rebuilt it, and 
created a script of the commands I'd used.

I've used it for a client or two since then as well.

> Personally I think you should ask RH to include this in their next
> distro release. :-) I went on Google and I realized a lot of people
> make the mistake of wiping the /var/lib/rpm instead of the __db*!

It's GPL, they know where to find it if they want to include it. ;)

> I also find out that in SUSE Linux there's a time-stamped backups of
> the RPM database in /var/adm/backup/rpmdb and that you can just copy it
> to /var/lib/rpm, and everything gets back to normal! Anyway thanks a
> lot!

Hrmm, not a bad idea. Simple enough to accomplish via a cron job.
You'd want to add some error checks and remove older backups, but 
basically this should work:

#!/bin/bash
newdir="/var/lib/rpmdb-$(date +%Y%m%d)"
mkdir -p $newdir
cp -a /var/lib/rpm/* $newdir
chown -R rpm.rpm $newdir
exit 0

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/X/O7n/07WoAb/SsRAv52AKCRvNu+XaiY4AzkEXNQOhtZh0XGmwCdFW9M
nhHNXCADsYj7O05YQaeZG+U=
=YTpb
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Great, Psionic doesn't exist anymore...

2003-09-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 10 September 2003 05:35 pm, Zoran's mailinglist account 
wrote:
> *** Sorry if this is old news but for me it came as a surprise: Cisco
> systems has bought psionic, the editor behind the free security
> software like portsentry, hostsentry and logcheck.
>
> A question to all of you: Guess what happened to these freeware
> utilities?
>
> I'll give you a lead: Cisco will be offering portsentry with their
> products...

http://www.tuxfan.homeip.net:8080/rpms/logsentry-1.1.1-1.src.rpm
http://www.tuxfan.homeip.net:8080/rpms/portsentry-1.1-1.src.rpm

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/X697n/07WoAb/SsRAkiYAKCqHUhgAquU61pFklrhT/J0oUJlEQCffpmW
io4FNuHJOwRjuVUXxKiIlLc=
=u94P
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 10 September 2003 08:49 am, Leonard den Ottolander wrote:
> Hello Didier,
>
> Michael Fratoni wrote:
> > If  /var/log/rpmpkgs exists and is current (Save it quickly before it
> > gets rotated by log rotate), and you have available the rpm packages
> > (On CD, in /var/spoll/up2date, etc.) I have a script that can help.
> > http://www.tuxfan.homeip.net:8080/hacks/recover_rpm_db.sh

>  If you are too late to rescue /var/log/rpmpkgs the only solution I see
> is to install redhat-rpmdb and issue rpm -qf --dbpath
> /usr/lib/rpmdb/i386- redhat-linux/redhat  for a lot of files.

Just to clarify what happens with /var/logs/rpmpkgs, logrotate isn't the 
big problem
/var/logs/rpmpkgs gets overwritten daily by a cron job. If the cron job 
has run with no database, the file will probably be empty. However, you 
should have a copy that is a week out of date. /var/log/rpmpkgs.1 to the 
rescue, in that case. Not ideal, but better than nothing.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/X663n/07WoAb/SsRAqB3AJ452KtGdD+iFawPg4vJTfTn+iQdSgCeNkz6
aAT0aR4CTXrfNRJIWtQCUa0=
=q7+9
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: when rpm --rebuilddb doesn't work! what next?

2003-09-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 09 September 2003 11:55 pm, Didier Casse wrote:
> One of my friends accidentally remove her /var/lib/rpm folder entirely
> when she found out that her rpm sucked at some point, instead of simply
> removing the /var/lib/rpm/__db*
>
> Now the problem is how to get back this database! rpm --initdb followed
> by rpm --rebuilddb doesn't seem to work since rpm -qa is totally blank.


If  /var/log/rpmpkgs exists and is current (Save it quickly before it gets 
rotated by log rotate), and you have available the rpm packages (On CD, 
in /var/spoll/up2date, etc.) I have a script that can help.
http://www.tuxfan.homeip.net:8080/hacks/recover_rpm_db.sh

./recover_rpm_db.sh

Usage: recover_rpm_db.sh -f [file_name] -p [path[s] to rpm files].
Where 'file_name' is a file containing a list of rpm packages
that should be included in the rpm database, and -p is the
path or paths that contain the rpm packages.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/Xs9Mn/07WoAb/SsRAtyZAJ9gVXiHD5NS5hs4u+jwTmTXaYWsjQCgqa4p
ERTM8GaxzYzXspWopZe1tcs=
=Oc/a
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Create a boot disk

2003-09-04 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 04 September 2003 09:57 pm, Gunawan wrote:
> Hi,
> How to create a boot disk for RH9?

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/install-guide/s1-steps-install-cdrom.html#S2-STEPS-MAKE-DISKS

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/V/DAn/07WoAb/SsRAiAyAJ9KPJ3DtFedYbK1GuO1MUwyL8sjRgCeJmAe
CGLAcA7kthxBp99ZhZPkIFs=
=LG05
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Vacation Sendmail RH9

2003-08-24 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 24 August 2003 02:10 am, Gerry Doris wrote:

> While we're on the topic of the vacation program is there a way to
> prevent it from sending any messages to mail lists?  For instance, can
> it be made to check the incoming message Precedence setting and ignore
> bulk or junk?

No message is sent if the ‘To:’ or the ‘Cc:’ line  does  not  list  the
user  to  whom  the  original  message  was  sent or one of a number of
aliases for them, if the initial From line includes one of the  strings
- -request@,  postmaster,  uucp,  mailer-daemon, mailer or -relay or if a
‘Precedence: bulk’ or ‘Precedence: junk’ or ‘Precedence: list’ line  is
included  in  the  header. The search for special senders is made case-
independant.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/SFrVn/07WoAb/SsRArBSAJ9j886jr2EL0vz9jXzLkNDsQyFnRACfdz5h
030CkoESLthvFYHAe9eE500=
=X0b8
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Vacation Sendmail RH9

2003-08-24 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 23 August 2003 09:08 am, Marko Vodopivec wrote:
> Hi !
>
> Yes it works for normal user that have /bin/bash logon allowed. But I
> try to enable vacation autorespose program for virtual user that has no
> shell logon ( /sbin/nologon ).
>
> How to configure sendmail or vacation to work with that user

I am sure there are other ways, and this is not a very good solution

You can set the users shell to /bin/bash, login as the user, set up 
vacation, exit, reset the shell to /sbin/nologin. The user will need a 
$HOME directory, or vacation will probably fail as it can't write to 
$HOME/.vacation.db

Not an elegant solution by any means, but it does appear to work.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/SBoQn/07WoAb/SsRAgzrAJwPX7EYI1HlXlx4Pyvhmm2eaaJDLACfZAdI
1J+sK7s1IN7mRoNbDQ15LE8=
=X45h
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Vacation Sendmail RH9

2003-08-20 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 20 August 2003 01:55 pm, Marko Vodopivec wrote:
> I would like to configure autorespond message on RH9 and
> sendmail-8.12.8-5.90
>
> Program I use: vacation-1.2.6-1.i386.rpm
>
> After successful instalation of RPM I start vacation in user home
> directory and then vacation -I for inicialization. In / of user I get 3
> new files: .forward .vacation.db .vacation.msg
>
>
> When I try to send mail to user I get this error:
>
>  from BSN-177-258-56.dsl.siol.net <
> <   - The following addresses had permanent fatal errors -
> "|/usr/bin/vacation user"
> <(reason: 1)
> <(expanded from: <[EMAIL PROTECTED]>)
> <
> <   - Transcript of session follows -
> <554 5.3.0 unknown mailer error 1
>
> I create simbol link in /etc/smrsh/ "ln -s /usr/bin/vacation vacation"
> ;(( but no use. Then I try to put vacation file directly to /etc/smrsh/
> directory end I get this error:
>
>  from [81.24.97.10] <
> <   - The following addresses had permanent fatal errors -
> "|/etc/smrsh/vacation user"
> <(reason: Service unavailable)
> <(expanded from: <[EMAIL PROTECTED]>)
> <
> <   - Transcript of session follows -
>  <554 5.0.0 Service unavailable

It seems to work here on my system. (I maintain a vacation rpm that works 
with smrsh.) 

http://www.tuxfan.homeip.net:8080/rpms/vacation-1.2.6-1.i386.rpm

I installed the package, and then logged in as a user.
(The /etc/smrsh link is created by the package when installed)

I ran vacation without options, which creates .forward and allows you to 
edit .vacation.msg. (Exit the editor (vi by default) with :q)
Then run vacation -I

Mail sent to the user gets a vacation message in reply.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/RB+zn/07WoAb/SsRAu7FAKCOX12ukJ9tqV7T94OgV4+Bq+4FtACeM32n
ReV9UQu5emomAoOdJ7yT7Ok=
=ZRqg
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Pre-make 'configure' program can't find mysql libraries?

2003-08-02 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 02 August 2003 10:58 am, Michael Fratoni wrote:
> On Friday 01 August 2003 10:07 am, Benjamin J. Weiss wrote:

> > my /etc/ld.so.conf looks like:
> >
> > /usr/kerberos/lib
> > /usr/X11R6/lib
> > /usr/lib/qt-3.0.5/lib
> > /usr/lib/sane
> > /usr/lib/mysql
> > /usr/include/mysql
>
> The mysql directory above looks suspect. It should be the path to the
> mysql libraries, not to the mysql include directory.
> Try replacing /usr/include/mysql with
> /usr/lib/mysql
> Then run ldconfig again.

Oops, pre coffee answer, sorry. I missed the "/usr/lib/mysql" line that is 
already there.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/K9LDn/07WoAb/SsRAnkDAJ0a7KzTji3p2bi/2/WIqbSJ+GjUtQCcCqlV
7pkSa8T0kQ2EnuqwNDxurAs=
=1iqY
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Pre-make 'configure' program can't find mysql libraries?

2003-08-02 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 01 August 2003 10:07 am, Benjamin J. Weiss wrote:
[...]
> I'm runnning RedHat 8.0, with everything up2date.  I hadn't had
> mysql-devel installed, so I installed that with up2date, cleared the
> config cache and tried it again.  Again, configure isn't finding the
> libraries.  The configure program said to check the ld.so.conf file for
> entries for the libraries.  It looks right to me (file shown at the
> bottom of the post).  So, I ran ldconfig and then cleared the cache
> again, and still no dice.
>
> I have the following RedHat RPMs installed:
>
> mysql-devel-3.23.56-1.80
> mysql-3.23.56-1.80
> mysql-server-3.23.56-1.80
>
> my /etc/ld.so.conf looks like:
>
> /usr/kerberos/lib
> /usr/X11R6/lib
> /usr/lib/qt-3.0.5/lib
> /usr/lib/sane
> /usr/lib/mysql
> /usr/include/mysql

The mysql directory above looks suspect. It should be the path to the 
mysql libraries, not to the mysql include directory.
Try replacing /usr/include/mysql with
/usr/lib/mysql
Then run ldconfig again.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/K9Gmn/07WoAb/SsRAhoPAJ433IMTZdOqx3Z9Ow7KuLLjU6GzOACeK9f1
skjv5/Ax7AoKykanGePIIzs=
=8PLH
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: sendmail vacation program

2003-07-09 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 09 July 2003 02:38 pm, Ricky Boone wrote:
> > Richard Humphrey wrote:
> >> Anyone know if this comes with RH 8.0 sendmail? I know it is a
> >> seperate program, but sendmail includes it in their source. Does RH
> >> include it in RPM. I could not locate it. Is it in a seperate RPM or
> >> do I just need to d/l and compile?
> >
> > Looks like you'll have to build your own.  I'm not seeing it anywhere
> > in  Red Hat's distribution.
>
> http://vacation.sourceforge.net/
>
> It's not an RPM, though.  Search around places like
> http://freshrpms.net or http://rpmfind.net to see if someone else has
> generated one, though.

http://freshmeat.net/projects/linuxvacation/

I maintain the rpm package, it's available here:
http://www.tuxfan.homeip.net:8080/rpms/8.0/vacation-1.2.6-1.8.0.i386.rpm
http://www.tuxfan.homeip.net:8080/rpms/vacation-1.2.6-1.src.rpm

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/DJ16n/07WoAb/SsRAs5HAJ9u0uay8xhCBiBKbDpeYRPtOB5ZLgCgrSb/
4JmnZS6jTYXXEwZFhhxk1b8=
=udYx
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: uncompressing LHA .exe archives

2003-07-02 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 02 July 2003 06:32 am, Gary Stainburn wrote:
> Hi folks,
>
> Every month I get emailed a file 'month' which I have to rename to
> 'month.exe' and the execute using a Windows box (tried xdos, wine etc.
> - bochs+freedos worked for a while now doesn't).
>
> The program is a self extracting LHA archive.  Is there a way natively
> in Linux (RH7.3+errata) to extract the contents of the archive?

You might try the lha package included with the distro. I've never used it 
myself, but it appears to do what you want:
$ rpm -qip /devel/dist-7.3/stock/RedHat/RPMS/lha-1.14i-4.i386.rpm
[...]
Description :
LHA is an archiving and compression utility for LHarc format archives.
LHA is mostly used in the DOS world, but can be used under Linux to
extract DOS files from LHA archives.

Install the lha package if you need to extract DOS files from LHA 
archives.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/Ar7cn/07WoAb/SsRArECAJoCHB+wvt1ReCmrsgInHedQiqVcUgCfaPUk
V75wf4FGT3gHnurD26rdMvw=
=BVrm
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: fs corruption problem

2003-06-29 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 29 June 2003 12:14 pm, Julian Opificius wrote:
> Michael,
> Yes, naturally I've tried all options of rm as documented in rm --help
> and man rm.
> Also true of rmdir.

Ahh, it was worth a shot...

> Yes I want to remove it because during the boot process I'm told there
> are bad characters in the file name.
> The two rogue files was originally here:
> /var/log/seti//dev/log
> /var/log/seti//var/loc
>
> Obviously that's not right. Seti is a  application data directory for
> my command line seti app.
>
> /dev/log and /var/loc are pretending to be dirctories but they're not.
> I can't remove them as files or directories, but at boot time the
> system tells me they're bad file names and won't let the boot continue.
> When I go in to a diagnostic shell (and remount the root directory as
> RW, of course) I cannot delete them.

You may have already posted this info, but how about the output of:
ll /path/to/file(s)
lsattr /path/to/file(s)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+/x0Kn/07WoAb/SsRArD/AJ9pDzivPVYChkMGxeKvBNraVlpP4QCeLDol
TqJX5dX7hgN32Xz0pQOfo/s=
=LlFb
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: fs corruption problem

2003-06-29 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 29 June 2003 10:28 am, Julian Opificius wrote:
> Thanks Fred, but as I said, rm doesn't work - even with the -f switch
> and escaping the forward slash(es).
> I don't think the C code will work - isn't that just what rm tries to
> do?
>
> If I do a rm -f "/dev/log"  it just ignores me.
> If I do a rm -f -d "/dev/log" it ignores me.
> If I go one level higher, and do the  same on the directory holding the
> offending "files":
> rm -f -d setiold  it tells me it can't delete setiold as it's a
> directory. Yes I know it's a directory, that's why I said -d but it
> still ignores me.

I haven't really followed this thread...

Are you sure you want to remove /dev/log? 
[EMAIL PROTECTED] slinky]$ file /dev/log
/dev/log: socket
[EMAIL PROTECTED] slinky]$ ll /dev/log
srw-rw-rw-1 root root0 Jun  4 19:51 /dev/log

> I've tried rmdir, but that won't work either - it tells me the
> directory isn't empty. If I use the --ignore-fail-on-non-empty switch
> it ignores me.

How about rm -rf directory? (remove, recursively, the directory and it's 
contents, without prompting

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0|9 in 8M of RAM: http://www.rule-project.org/en/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+/wyWn/07WoAb/SsRAgW2AJ92gEt66Jsux+GjnXojHBkM204bywCdHAxZ
riK2TyrYlEt4TPiGnbG1YvQ=
=jEZk
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Did I install Windows or Linux?!?!?

2003-06-29 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 29 June 2003 09:32 am, Len Philpot wrote:
> On Sat, Jun 28, 2003 at 10:18:22PM -0400, Dave wrote:
> > OK, finally got around to installing RedHat 9 ... it seems fairly
> > clean, but there's some stuff that pushes my buttons pretty hard.
> > Does anybody know how I can STOP AUTOMATICALLY LOADING CDs?
> >
> > Whew. Sorry for shouting, but I really get irked when I put a CD in
> > the drive, and a file manager window pops up _without_ my asking. *I*
> > will determine whether I open a new window, or navigate there in one
> > that's already opened. So how do I turn that feature off?
>
> Amen, brother!
>
> And, ...it's not the best way, but 'chmod 644 /usr/bin/autorun' sure
> did feel good when I did it. :-)
>
> However, the best way is just to turn it off via the GUI.

If the user is using the KDE desktop:
rm ~/.kde/Autostart/Autorun.desktop 

Other options:
rpm -e autorun
rpm -e magicdev

Removing both packages is the first thing I do on a new system.
 
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+/u5vn/07WoAb/SsRAiJHAJ9uRITogpjU/qL6sQ577cnSLFz8zwCgtEXU
1G7Eb0SSDcOmpslHwys6/Jo=
=ruPq
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Configuring RH 8.0 NOT to boot into X

2003-06-28 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 28 June 2003 09:59 am, Thomas E. Dukes wrote:
> Hello,
>
> Is there anything else I need to do besides changing the runlevel in
> /etc/inittab from 5 to 3?  What about "x"inetd?  Can I continue to use
> this or do I need to go back to inetd?

That will do the trick. xinetd has nothing to do with XFree86, no need to 
change anything else.

> Also, after I change the inittab, by using startx, will that bring my
> gnome desktop up?

Yes, it should.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+/lEtn/07WoAb/SsRAuLOAKC50/UG1Eu+FuH2yiuIbIWFcgMVjQCfe6i6
EJPBd0JItQvp0kLOqVz+EmY=
=nBJY
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: sendmail/earthlink conflict?

2003-06-20 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 20 June 2003 01:07 am, gregory mott wrote:
> On Thu, 2003-06-19 at 18:26, [EMAIL PROTECTED] wrote:
> > OK, there are two things that I dont understand.
> > I dont understand how the same mc file works on 8.0 and not on 9.0
>
> indeed that is the focus of my question (works on 7.3, i skipped 8).
>
> > and
> > you SAY that you are relaying thru smtpauth.earthlink.net, but I dont
> > see that line in your configuration file.
>
> sorry my message included my .mc as is, which i push through sed, which
> replaces +sendmailoutvia+ with smtpauth.earthlink.net.
>
> > FEATURE(`mailertable')
>
> either your workaround or mine is fine but it begs the question.
> note as i said even the rh9 sendmail can do the job if i bring the .cf
> that m4 makes under rh7.3.  it seems to be the rh9 m4 that's broke.
>
> i've mailed this to [EMAIL PROTECTED], but i'm still curious
> if i'm the only one here who uses smtpauth.earthlink.net with redhat 9
> and has problems.

This may be a silly question, as I haven't followed this thread.
Are you sure m4 is installed? I recently set up a server, and selected a 
custom install of base packages, named, sendmail, and a few other package 
groups. On startup sendmail didn't work. It turns out that m4 didn't get 
installed. Sendmail-cf didn't explicity list m4 as a "requires", so it 
didn't get pulled in. The error messages generated did nothing to help 
track down the problem.

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=90513

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+8u4In/07WoAb/SsRAm1QAJ9DMb7VPrPrOdapQwK987rA/09v7wCfQaJ8
MSmDNUqNc0KiLEZ+PFSgRl4=
=88LQ
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: lock the screen and run on startup

2003-06-20 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 20 June 2003 04:07 am, Devrim GUNDUZ wrote:
> Hi,
>
> On Fri, 20 Jun 2003, cem caglar wrote:
> > I'm a newbie and I need to run my program everytime the linux
> > starts up. The program is mine, so it doesn't exist on the list of
> > NTSYSV. Can I add it to the list or run it another way?
>
> Let's assume that your program lies at /usr/sbin/myprogram
>
> Edit /etc/rc.local and write
> /usr/sbin/myprogram &

This is probably the easiest, I agree.

> Then your program will run everytime linux boots.
>
> The other solution(for ntsysv= is a bit complicated for a newbie. You
> should place the startup script in  /etc/init.d and create symbolic
> links ro /etc/rcX.d, where X stands for the runlevel.

If the correct comments are added to the startup script, putting the 
script into /etc/init.d/ and running:
'/sbin/chkconfig --add script_name'
'/sbin/chkconfig script_name on'

is all that should be required. The links are managed by chkconfig, and 
there is no reason to attempt managing them by hand.

The required comments needed in the script are:
# chkconfig: 2345 11 89
# description: starts my script

2345 denotes runlevels where the script should be activated.
11 is the boot time start order.
89 is the order of shut down.

Chkconfig will create and manage the K89myscript and S11myscript links in 
/etc/rc*.d

You may want to add functions to the script for 'start', 'stop', 
'restart', etc. Have a look at an existing script in /etc/init.d for 
ideas on how make the modifications.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+8urGn/07WoAb/SsRAtpLAJ9Z8sdMRyt/5iYlnfQcYryz8SRYjQCgoOVH
ccp7q/eWoq//pEy2Pa+CMQU=
=gGwv
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: how can i create and manipulate ram disks??

2003-06-18 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 June 2003 03:04 pm, Robert P. J. Day wrote:
[...]
>   from what i've read, i can create a number of ram disks
> corresponding to /dev/ram[012345...], by doing the following:
>
>   # dd if=/dev/zero of=/dev/ram0 bs=1024 count=16
>
> for a tiny ram disk of 16k (supposedly).  so what actually
> happens?
>
>   if i try to create an ext2 filesystem on it:
>
>   # mke2fs /dev/ram0
>
> it works, but it's obvious that it's 4M in size -- the
> default.  i didn't *ask* for the default size, i was hoping
> i could pick the size myself.  but i get 4M anyway.

That's the thing about defaults, you don't have to ask. ;)

You can specify how large to make the file system, though.
The smallest I've been able to actually create is 64k. 

Anything smaller results in:
# /sbin/mkfs -t ext2 -m 0 /dev/ram1 48
mke2fs 1.27 (8-Mar-2002)
/dev/ram1: Not enough space to build proposed filesystem while setting up 
superblock


# dd if=/dev/zero of=/dev/ram1 bs=1024 count=64
# /sbin/mkfs -t ext2 -m 0 /dev/ram1 64
# mount /dev/ram1 /tmp/ramdisk/
# df /tmp/ramdisk/
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/ram1   571344  23% /tmp/ramdisk

> 2) once i create a ram disk, is there an indicator that tells
>me that such a thing exists?  i mean, "free" will show me
>that there's less free space, but that's about it.  is there
>maybe an entry under /proc keeping track of ram disks?
>you know ... maybe /proc/list_of_ram_disks?? :-)
>
> 3) once i create one (even if i'm still stuck with 4M), how
>can i manually release it?  and again, is there a way to
>verify the return of that ram disk space to the OS?

Not sure on either, to be honest.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+8Snjn/07WoAb/SsRAnSUAKCPDxVqb/xqCXlPVNv3FVo+XyQl2QCePXXH
hUz0znmZ8CmaPAzf5myRWZI=
=peiF
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: FONT install

2003-06-18 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 June 2003 06:06 am, sharif_LINUX wrote:
> How can i install my TTF fonts in linux
> i am using RH 7.2

http://sourceforge.net/projects/font-tool/
Install the cabextract and xf86-corefonts rpm packages, then just run the 
setup script: /usr/X11R6/bin/core_font_install.sh

It will install Microsoft's "core fonts for the web". 

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+8EcKn/07WoAb/SsRAhA3AJkBY0drS5FCpqxrplW5PgZ5FRxKsACeOUsM
BoiqglCSvynlQZ4Hw6PxYl4=
=m+G2
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Help, Spamassassin failing and losing mail

2003-06-16 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 16 June 2003 07:52 am, Bill Dossett wrote:
> Hi,
>
> I'm using stock RH9, no mods.  I'm running
> spamd/spamc and occasionally mail is getting lost
> to my users:
>
> I am getting the messsage:
>
>   spamd[24614]: bad protocol: header error: (Content-length mismatch:
> 3907 vs. 3906)
>
> I've googled for solutions, but as I am using a stock RH9
> system, I would assume that someone else has seen this...
> there aren't any updates to spamassasin that I can see,
> there is one message I found thru searching about an
> perl backwards compatibility error.

Others have already answered, but none really addressed the issue above, 
as far as I saw.

First, I don't believe you lost any mail. It appears from my logs that 
spamassassin stops processing the message, but it is still delivered. 

Jun 1 20:46:22 paradox spamd[16464]: bad protocol: header error: 
(Content-length mismatch: 3769 vs. 3766)
Jun 1 20:46:22 paradox sendmail[16458]: h5H0kLXc016441: 
to=<[EMAIL PROTECTED]>, delay=00:00:01, xdelay=00:00:00, mailer=local, 
pri=87644, dsn=2.0.0, stat=Sent

Each error in my logs is immediatly followed by another indicating 
delivery.

- From the logs, and the fact that the message appeared in my mailbox 
without any spamassin headers, I'm guessing spamassassin didn't process 
it, and it was then delivered. I've also found that most of the messages 
triggering this are, in fact, spam. ;)

I haven't done a lot of testing, and I've since upgraded spamassassin to 
version 2.55. I just rebuilt the src.rpm from rawhide.
(spamassassin-2.55-2.src.rpm)

I added a line to /etc/init.d/spamassassin:
export LANG=en_US

I've no idea if the above line actually helps any, but it was suggested 
here:
http://spamassassin.org/dist/INSTALL

Look for the paragraph header:
Note for Perl 5.8 Users (incl Red Hat 8)

I haven't seen any log messages related to spamassassin since upgrading 
and modifying the init script.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+7onWn/07WoAb/SsRAvzMAJ4vBHdY5g/LWWgRWnry2CTvkIwarQCbByQr
yxAOHh3A2C26/ww307YXC78=
=u+gH
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: cdrom mount problem

2003-06-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 15 June 2003 07:14 am, root_sharif wrote:
> i am new in linux...
> Using Redhat 7.2 at the moment.
> But CD rom is not working
> properly
> whenever i insert a cd and
> click on the cdrom icon from my desktop
> i get the message "unknow device /dev/cdrom"
>
> My fstab configuration is as it's attached...
> pls check it .. and help me out.

As root, run "depmod -ae"
Then, you should apply all the available updates, one of which addresses 
this problem. Updates are here:
https://rhn.redhat.com/errata/rh72-errata.html

See:
http://www.redhat.com/support/resources/gotchas/7.2/

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+7F6In/07WoAb/SsRAs4EAJ9jh8P+hY7YzMRp4e6EJVcOkL2ZHACfYLNw
3Hvx/sTFhb+ksueE358zejA=
=aPc0
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: PortSentry Like functions

2003-06-03 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 02 June 2003 09:16 pm, Christopher Lyon wrote:

> > You really want a firewall, portsentry isn't enough.
> > That said, I've been building portsentry packages since before Cisco
> > bought Psionic:
> > http://www.tuxfan.homeip.net:8080/rpms/portsentry-1.1-1.i386.rpm
> > http://www.tuxfan.homeip.net:8080/rpms/portsentry-1.1-1.src.rpm
>
> It is going to be a box on the inside network and I just want to give
> it a little bit more protection then just wide open. So, this should
> work with mysql and such?

You'll need to check the config file, and verify the ports that portsentry 
binds to, making sure they don't conflict with mysql, etc.
(/etc/portsentry/portsentry.conf)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+3Blln/07WoAb/SsRAnrGAJ420lY2DcPulygN47eM77vZDzdNTgCeKU+x
hcxlhIPcO4bkyfDw1DMs1No=
=V5a7
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: RH9-Installation on 486-System ?

2003-06-03 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 02 June 2003 08:07 am, Emmanuel Seyman wrote:
> On Mon, Jun 02, 2003 at 12:55:18PM +0200, Walther, Christoph wrote:
> > Does anyone know how to install this RH 9 on a 486-system?
>
> I doubt you'll be able to.
> RH 8+ distribs are compiled with gcc 3.2.x which doesn't support
> 486 machines. I believe Slackware (and Debian?) is the only
> distribution to support the 486 cpu.

With the exception of the kernel (only because no i386 package is 
distributed with the release) all the Red Hat 9 binaries should run fine 
on an i386.
The rule project's "slinky" installer (Which does contain an i386 kernel) 
should be able to handle this task without much difficulty.

http://www.rule-project.org/en/

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+2/lWn/07WoAb/SsRAvDIAJwL1fYE68j7+vx3TS0rp+XPzqzKMwCfWc5V
8GdmuLBEcUt+d7TqrhIhaog=
=RKqX
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: PortSentry Like functions

2003-06-03 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 02 June 2003 08:10 pm, Christopher Lyon wrote:
> I am looking for a way to lock down a box with Redhat 8.0 on it that
> has mysql, apache and other misc services on it to just specific ip
> addresses and to the localhost. I didn't want to do go the extent of
> getting iptables or netfilter up on it I just wanted something basic
> that would work with all of these programs. Does anybody have any
> suggestions? I did look at portsentry but is seems the psonic was
> bought by Cisco and I don't know if they are still doing anything with
> that anymore. Also, it wasn't clear that it would work with mysql.
> Anyway, does anybody have any thoughts on this?

You really want a firewall, portsentry isn't enough.
That said, I've been building portsentry packages since before Cisco 
bought Psionic:
http://www.tuxfan.homeip.net:8080/rpms/portsentry-1.1-1.i386.rpm
http://www.tuxfan.homeip.net:8080/rpms/portsentry-1.1-1.src.rpm

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+2/P2n/07WoAb/SsRArz9AJ4/RToQeD0UnVIGKUVO+5lzbYMMDwCfdMiw
Kizmda9YxMq3shjPUglvCjA=
=Vkan
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Odd sound issue

2003-06-01 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 31 May 2003 07:26 pm, Joseph A Nagy Jr wrote:

> > I stopped it with the following entries in modules.conf:
> >
> > alias sound-service-0-0 off
> > alias sound-slot-1 off
> > alias sound-service-1-0 off
> >
> > Hope that helps,
> > - --
> > - -Michael
>
> Question:
>
> I have the same/similar problem, but mine goes one step further. When
> sound events come in at the same time as say, another new sound event
> (such as XMMS starting to play an MP3 and GAIM sending in a message
> recieved sound), it completely locks up my computer. No more keyboard
> responsiveness. No more mouse responsiveness. Could this problem be
> solved by the above entries too? If so, that would really be a great
> thing as I have to keep GAIM silent and take chances when using XMMS
> (sometimes a mouse even and sound event starting at the same time is
> enough for the lock up).

Modules.conf entries are unlikely to help with a lockup. Is X locking up, 
or the kernel? Are you using KDE or Gnome?

If you are using KDE, and you start GAIM as 'artsdsp gaim' does that help?
artsdsp is a script that attempts to reroute calls to /dev/dsp through the 
sound server.  The soundserver locks /dev/dsp when it is in use, and can 
prevent non arts aware programs from accessing the sound device.

You might try the same thing with xmms as well.

There is a similar script for Gnome, called "esddsp"

Sorry, I don't use either application here, so I haven't seen this 
problem.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+2UB4n/07WoAb/SsRAiyYAKCTaMsQeUfe8OYv6q997UUjl6XXhgCeM9Cn
MyHZ/5riKb99sMH+POxeEK8=
=ptcM
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Odd sound issue

2003-06-01 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 31 May 2003 06:58 pm, David van Hoose wrote:
> Does anyone know why my stock RedHat 9 system seems to probe
> sound-slot-1 when I only have sound-slot-0 defined in my modules.conf?
> And what is calling it? I made 'alias sound-slot-1 sound-slot-0' and it
> probes for sound-slot-2. Anyone know what program is doing this?
> I'm running KDE as my desktop.
> Full RedHat 9 install. (ie. Everything)

I believe it is the arts sound server probing for sound cards.

I stopped it with the following entries in modules.conf:

alias sound-service-0-0 off
alias sound-slot-1 off
alias sound-service-1-0 off

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+2TgUn/07WoAb/SsRAmrXAJ0QZTOpOF7kxI68AV9gqIf5xtih5QCfbSqS
Nw5kSI9rudOxGT7CvazTMso=
=eK77
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Can I monitor motherboard temperatures/voltages?

2003-05-30 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 29 May 2003 11:20 pm, Charles R. Dennett wrote:
> Michael Fratoni wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Thursday 29 May 2003 10:20 pm, Charles R. Dennett wrote:
> >>Hal Burgiss wrote:
> >>>[EMAIL PROTECTED] redhat-list-annoyances]$ rpm -qf /usr/bin/sensors
> >>>lm_sensors-2.6.3-2
> >>>
> >>>Its part of RH AFAIK.
> >>
> >>Thanks.  Cot some work to do:
> >>
> >>[EMAIL PROTECTED] bus]# sensors
> >>Can't access /proc file
> >>/proc/sys/dev/sensors/chips or /proc/bus/i2c unreadable;
> >>Make sure you have done 'modprobe i2c-proc'!
> >>[EMAIL PROTECTED] bus]# modprobe i2c-proc
> >>[EMAIL PROTECTED] bus]# sensors
> >>No sensors found!
> >>
> >>Looks like I have to figure out /etc/sensors.conf.
> >
> > Running 'sensors-detect' will help with the rest.
> >
> > - --
> > - -Michael
>
> Thanks.  Tried that.  Here are some snippets of the output:
>
> ===
>=== Could not find dmidecode, which should have been installed with
> lm_sensors. Runing dmidecode would help us determining your system
> vendor, which allows safer operations. Please provide one of the
> following:
>   /usr/local/sbin/dmidecode
>   /usr/sbin/dmidecode

Install the kern-utils package from CD2.

$ rpm --redhatprovides /usr/sbin/dmidecode
kernel-utils-2.4-8.29

$ whichcd -v 9 kernel-util
Searching in the RHL9 database.

Searching for kernel-util...
CD-2:kernel-utils-2.4-8.29.i386.rpm

[...]

>
> I added the line to /etc/modules.conf and rebooted.  Still nothing.
>
> I'll play around with this some more later.  I wouldn't be surprised if
> the lm_sensors module that came with RH 9 is too old for my Asus A7V8X
> motherboard.  Maybe it has some sensors that the program does not know
> about.  An "rpm -qa | grep sensors" tells me it has lm_sensors-2.6.5-5.
> I quick look through google indicates 2.7.0 may be the latest.
>
> Meanwhile, if anyone has any ideas, I'd appreciate hearing them

I have the same board, and about the same results, I'm afraid.
I'm running RH 8.0 on that machine, I'd hoped it would be working in 9.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+1tv5n/07WoAb/SsRAogfAJ0fYnOav1W9Njz7D1xFQ2WWF9lHfACgtnhI
mLY8eVvcZopcKauy9m4OqbU=
=HFDF
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: Can I monitor motherboard temperatures/voltages?

2003-05-30 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 29 May 2003 10:20 pm, Charles R. Dennett wrote:
> Hal Burgiss wrote:
> >
> > [EMAIL PROTECTED] redhat-list-annoyances]$ rpm -qf /usr/bin/sensors
> > lm_sensors-2.6.3-2
> >
> > Its part of RH AFAIK.
>
> Thanks.  Cot some work to do:
>
> [EMAIL PROTECTED] bus]# sensors
> Can't access /proc file
> /proc/sys/dev/sensors/chips or /proc/bus/i2c unreadable;
> Make sure you have done 'modprobe i2c-proc'!
> [EMAIL PROTECTED] bus]# modprobe i2c-proc
> [EMAIL PROTECTED] bus]# sensors
> No sensors found!
>
> Looks like I have to figure out /etc/sensors.conf.

Running 'sensors-detect' will help with the rest.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+1sOTn/07WoAb/SsRAgDQAJ9OIfO6sf5Eby9M2ZlzBEYwCdOYzgCggI1h
5xy7C3WEvctN340HAOpvck8=
=Jbik
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: kdc2tiff won't compile

2003-05-27 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 27 May 2003 04:30 pm, David Vitkus wrote:
> I'm trying to compile kdc2tiff on a RH 9 system.  The output looks
> like: checking whether we are using GNU C++... yes
> checking whether c++ accepts -g... yes
> checking for a BSD compatible install... /usr/bin/install -c
> checking whether ln -s works... yes
> checking for main in -lm... yes
> checking for main in -ltiff... no
>
> I get a message indicating I need libtiff but rpm -q libtiff reports
>
> libtiff-3.5.7-11

Have you installed libtiff-devel? That is probably the package you need.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+1AH6n/07WoAb/SsRAoOUAJ9YhXgXyuYJDhxkO+EHOpa9JsAn2gCfUgxO
u/muyd7LP0qvZgQDpB1iN+s=
=jCkz
-END PGP SIGNATURE-


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list


Re: chkconfig --list error reading from directory /etc/init.d

2003-04-06 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 06 April 2003 06:24 am, Peter Wit wrote:
> Hello,
>
> I receive the following error after running the command "chkconfig
> --list" :
>
> error reading from directory /etc/init.d: No such file or directory
>
> Output on screen:
>
> ntpd0:off   1:off   2:off   3:off   4:off   5:off   6:off
> syslog  0:off   1:off   2:on3:on4:on5:on6:off
> .
> .
> .
> smb 0:off   1:off   2:off   3:on4:on5:on6:off
> winbind 0:off   1:off   2:off   3:off   4:off   5:off   6:off
> error reading from directory /etc/init.d: No such file or directory 
> < Want to list xinetd based services after this line
>
> I've checked the /etc/init.d link wich pointed to /etc/rc.d/init, there
> is nothing wrong.

Hrmm, /etc/init.d isn't a link here. It's a normal directory full of 
service scripts:
ls -ld /etc/init.d/
drwxr-xr-x2 root root 4096 Mar 18 22:11 /etc/init.d/

$ ls -l /etc/init.d/
total 220
- -rwxr-xr-x1 root root  941 Aug 28  2002 anacron
- -rwxr-xr-x1 root root 1458 Jun 23  2002 apmd
- -rwxr-xr-x1 root root 1176 Jul 24  2002 atd
[...]

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+kCsyn/07WoAb/SsRAkc5AJ9YgFBpFRakXnAS1jpPMg1gCOSCewCfVYnf
cuJsYFb6IeFYBOomFSg1OJI=
=/3vV
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: how difficult is compiling a driver? (IT'S EASY!)

2003-04-02 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 02 April 2003 09:33 am, Douglas, Stuart wrote:
> WOOHOO...SUCCESS!
>
> You're feedback regarding the RAM disk image file were spot-on! 
> Strangely, there was NO .img file for the 2.4.18-27.8.0 kernel after I
> installed it via RedHat Network.  Since I had previously moved the
> properly compiled version of the hpt302.o module into the proper kernel
> path, I didn't even have to specify it using a --with statement when I
> ran the mkinitrd command (since the -v switch spilled the beans on
> everything, I got to see it included along with everything else.  I
> just had to edit the lilo.conf file to include the new .img file,
> reboot, and viola'!

Excellent, glad you got it working.

> Thanks again for hanging with me on this, Michael...I owe you many
> beers!

Not the first time I've worked for beer. ;)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+i7Zun/07WoAb/SsRAkX7AJ9ULCfOuu4g7drcv3GE09oWcWC49wCfT/3b
Pr+TPg5Ec3ccXNwpTw5Yv8o=
=GQLg
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: how difficult is compiling a driver?

2003-04-01 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 01 April 2003 02:29 pm, Douglas, Stuart wrote:
> OK...a bit closer, but still no go.  Don't know if Justin called it
> regarding the missing modutils, but I added that package (and the
> modutils-devel for good measure).  Coinciding with this was my poking
> around and properly listing the KERNELDIR=/usr/src/2.4.18-27.8.0 in the
> Makefile and it seemed to compile.  I copied the .o files over to
> /lib/modules/2.4.18-27.8.0/kernel/drivers/scsi (the same basic path
> as the functioning driver for the 2.4.18-14 kernel except for the
> version). Rebooted and got a kernel panic error trying to load the fs. 
> Interestingly, the driver for the 2.4.18-14 kernel shows up colored in
> green when I do an ls on it's directory, but the one I compiled for the
> 2.4.18-27.8.0 kernel shows up black just like all the other files. 
> Mean anything?

It means the permissions are different on the 2 versions. The modules 
should have permissions like:
- -rw-r--r--1 root root15992 Mar 14 07:56 wd7000.o

> Toyed around with trying to load the compiled module (insmod  hpt302.o)
> but there is already a module by that name (Duh!  You mean the one that
> the system is running with?). 

I assume this is while running the old kernel, and the module that is 
loaded is the module for that version?

Not being able to see what's happening, I'm guessing here..

If the root filesystem is connected to this controller, you probably have 
to include the module in the initrd.img file so that it is available 
before the filesystem is mounted. In other words, if the module isn't in 
the initrd.img, the kernel can't access the /lib/modules/.. directory to 
load it, since it can't mount the file system.

Does the file /boot/initrd-2.4.18-27.8.0.img exist? If so, does grub (or 
lilo) have a pointer to it? Here is my stanza from /etc/grub.conf:
title Red Hat Linux (2.4.18-27.8.0)
root (hd1,0)
kernel /vmlinuz-2.4.18-27.8.0 ro root=LABEL=/ hdc=ide-scsi
initrd /initrd-2.4.18-27.8.0.img

You mentioned an error or warning when installing the kernel package 
previously, I believe? Can you provide more details? This would make 
sense, if the above is correct. At the time you installed the kernel, a 
module that should have been included in the initrd didn't exist.

You can try creating a new initrd.img: (from memory, man mkinitrd for 
details)
mkinitrd -f -v -with=hpt302.o /boot/initrd-2.4.18-27.8.0.img 2.4.18-27.8.0

I'm not sure on the 'with' parameter, or if it is really needed in this 
case. It may need the module name, or perhaps the full path. The output 
from running the command should give you a clue.

> Is there maybe some module configuration
> change I need to make to help enforce which one to use?  It seems like
> that would just flow from having the file in the proper
> /lib/modules/... path, no?

Is the module listed in /etc/modules.conf (with needed options)?

> Think I'll shoot an e-mail to HighPoint and see if they can shed any
> light on this as well.
>
> Ever forward...

Good luck. ;)


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+ik7cn/07WoAb/SsRAn4HAKCr7+m15V3LiDW7QcXRZjxSK3B2agCgmwWa
RihYluHAjwweJxe8FPksRrg=
=1sAG
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: warning from rpm about DSA signature

2003-04-01 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 01 April 2003 04:41 pm, Carl Riches wrote:
> We have installed and are testing Red Hat 8.0.  When installing Red Hat
> updates to the system we continually get this warning message from the
> rpm command:
>
>   warning: : V3 DSA signature: NOKEY, key ID db42a60e
>
> In reviewing the rpm man page, there is something in it about gpg keys
> and importing public keys.  Have the update rpms been digitally signed
> with a key?  If so, how do we get the public key and let the rpm
> program know that we have it?

You can import Red Hat's key into the rpm database. All official Red Hat 
packages are signed. To import the key:
rpm --import /usr/share/doc/redhat-release-8.0/RPM-GPG-KEY
(also available here:
http://www.redhat.com/solutions/security/news/publickey/#key)

To see all installed keys:
rpm -qa gpg-pubkey*

To view a Red Hat's key (once installed):
rpm -qi gpg-pubkey-db42a60e


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+ij9On/07WoAb/SsRAjpnAJ9p33UR1CzleIbYquKE3GdQEb57NwCfcUwO
zNaH7Q59zRmsFhRHD+UKzEA=
=TVPz
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Java

2003-04-01 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 01 April 2003 04:22 am, Ted Wager wrote:
> Ted Wager wrote:
> > I posted this yesterday but it did not seem to make it to the
> > list
> >
> > I have Java installed on my machine but cannot remember d/loading it
> > or where
> > I got it fromHow do I tell which version it is...ie ibm,
> > netscape, blackdown etc?/
> > Regards
> >  Ted Wager
>
> Thanks to all who replied...I found
>  j2re-1.4.1-01-linux-i586-gcc3.2.bin
>  Java is now running ok in Mozilla and Konq bur whilst applets are ok
> in Mozilla
> Konq tells me the applets are not enabled..
> Regards

I don't use Konqueror, but I'd guess this is a configuration option.

In a previous mail, you checked your java version by using 
/path/to/java/plugin -version. Your result was: java version "1.3.1_02"
You really want to check for the java executable, not the plugin. The 
plugin can be checked in Mozilla, click help -> about plugins

Check in /usr/java/ which is probably where the j2re package installed to.
If you installed the Sun rpm version, 'rpm -q j2re' should return the 
package name and version. If that works 'rpm -ql j2re' will list all the 
installed files. If not, use 'locate'. I get:
$ locate java | grep "bin/java"
/usr/java/j2re1.4.1/bin/java
/usr/java/j2re1.4.1/bin/java_vm

The j2re-1.4.1-01-linux-i586-gcc3.2.bin file is the java installer and is 
for a different version (1.4.1-01 not 1.3.1_02). The file you have is the 
blackdown java installer, and does nothing until you run the installer. 
Before trying to do so, you should really figure out where your existing 
version is installed.


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+iYENn/07WoAb/SsRAqdcAKCBTrZfpxmRYvdZK/keFkIftJejVACeJMwv
yvbkzQT0TvyOHwdTEO/QnkI=
=nDk9
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: how difficult is compiling a driver?

2003-03-31 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 31 March 2003 09:18 am, Douglas, Stuart wrote:
> Thanks again, Mike, but I think this IS a catch-22...
>
> It seems I can't make the module without the kernel, and I can't
> install the kernel without the module.
>
> I'm running on kernel 2.4-18-14 and tried making the module after only
> installing the most recent kernel-source package (2.4.18-27.8.0), but
> it runs off this long litany of error messages.  I then tried
> installing the most recent kernel package (2.4.18-27.8.0), thinking I
> could then successfully make the new module before rebooting, but the
> kernel install errors out due to the lacking module.

Hrmm, this should work.
Can you post the Makefile, and the errors you are seeing?

If you are using the hpt302-opensource-v10.tgz file, I've built modules 
for the 2.4.18-27.8.0 kernel. I can make them available on my webserver.

$ /sbin/modinfo hpt302.o
filename:hpt302.o
description: "Driver for HPT302"
author:  "HighPoint Technologies, Inc."
license: 

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+iMt8n/07WoAb/SsRAi3aAKCxsbO8OPGLQ95ZGwDFtX916uRiKwCePYSZ
uq4uDLXzAeoojldLeahZD2c=
=Syh2
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: tripwire questions

2003-03-30 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 30 March 2003 07:16 pm, Paul Greene wrote:
> Any tripwire gurus out there?
>
> I have two tripwire related questions that I hope are easy enough to
> answer.
>
> I recently installed tripwire on a Redhat 7.0 webserver using an RPM
> file, and ran the twinstall.sh script. Then I ran the following
> commands to initialize the database and update the database.
>
> tripwire -m i
> tripwire -m u
>
> Why is it then, when I run  .
>
> tripwire -m c
>
> It still flags as missing a bunch of files that don't, and never did,
> exist on the system. The "tw.pol" file and "localhost.localdomain.twd"
> appear to be binary files and not editable. How do you stop tripwire
> from trying to scan for files that don't exist on the system?

You have to manually edit /etc/tripwire/twpol.txt and remove the files 
listed that do not exist on your machine. A script you may find useful 
for this purpose was posted here a few months ago.
https://listman.redhat.com/pipermail/redhat-list/2003-January/166584.html

You'll then have to convince tripwire to accept the changes. This will 
generate a new tw.pol file (encrypted) and accept the changes into the 
database. Here is the command and output (pulled from one of my old 
posts) This sets the security policy to low, and will report changes, but 
still update the policy. The default is high security.

# tripwire -m p -Z low /etc/tripwire/twpol.txt
Parsing policy file: /etc/tripwire/twpol.txt
Please enter your local passphrase:
Please enter your site passphrase:
 Policy Update: Processing section Unix File System.
 Step 1: Gathering information for the new policy.
 Step 2: Updating the database with new objects.
 Step 3: Pruning unneeded objects from the database.
Wrote policy file: /etc/tripwire/tw.pol
Wrote database file: /var/lib/tripwire/tuxfan.twd 

#  rm -f /etc/tripwire/*.txt
##(No need to leave text versions of config and policy files around)

> Also, what is the best way to protect the tripwire files themselves in
> case the system were to ever be compromised? i.e. copy the important
> files to a secure server and replace them on the original server when
> you want to run tripwire? or copy them to a floppy disk? or ?

Removable media or write protected media would be safest I suppose.
I leave mine on the machine and just compare them to known good backups.

> And which files would need to have copies made of them? I would guess
> the tw.pol file and the *.twd files; is there any others?

Plus tw.cfg as well as your site and local keys.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+h6ENn/07WoAb/SsRAgc8AJ0ZFRXvECKF/Ac9i6YMO3wykQVXKACgl7Av
Rkgi2Zl3PSLV+f6HL86RWbw=
=+a3q
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Java

2003-03-29 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 29 March 2003 07:54 am, Ted Wager wrote:
> Viktor Dueck wrote:
> >java -version
> >
> >Am Sam, 2003-03-29 um 09.07 schrieb Ted Wager:
> >>I posted this yesterday but it did not seem to make it to the
> >> list
> >>
> >>I have Java installed on my machine but cannot remember d/loading it
> >> or where
> >>I got it fromHow do I tell which version it is...ie ibm,
> >> netscape, blackdown etc?/
> >>Regards
> >>  Ted Wager
>
> Ta for the reply but this is what I get
>
> [EMAIL PROTECTED] twager]$ java -version
> bash: java: command not found
> [EMAIL PROTECTED] twager]$

how about 
/full/path/to/your/java -version
like so:

$ /usr/java/j2re1.4.1/bin/java -version
java version "1.4.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21)
Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+haDGn/07WoAb/SsRAl6eAKCeFBvFyKg0Pyt3HM/hGpZLWkeo2gCfbR01
A9oE3HqykfE/h6eNk4AuHiY=
=oOT5
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: RPM --nogpg parameter

2003-03-28 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 28 March 2003 10:34 pm, Carlo Feliciano N. Aureus wrote:
> Greeting! I come in peace...
>
> I trying to verify an RPM file which is an update form sendmail.  I
> issued this command
>
>rpm -Kv --nopgp /root/updates/sendmail-8.11.6-23.73.i386.rpm
>
> but the result is
>
>--nopgp: unknown option
>
> Did I miss somthing or the "--nogpg" param is not working?

It appears the man page needs updating. Neither --nopgp nor --nogpg appear 
to work as indicated in the "QUERYING AND VERIFYING PACKAGES:" section.

However, later in the man page, under "verify-options" neither is listed. 
Instead, it suggests --nosignature.
rpm  -Kv --nosignature package.rpm does work.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+hR9kn/07WoAb/SsRAspbAJ9kZ/1mtdcaWatNMy7o00o4DZZN0gCeNFXf
ko6KnuExZ9UY8Yyl/q5ozcE=
=qcW5
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: how difficult is compiling a driver?

2003-03-28 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 28 March 2003 01:58 pm, Douglas, Stuart wrote:
> Mike (all),
>
> Getting ready to try this out and I need some elaboration as I think
> I may have a problem.
>
> I'm currently running kernel 2.4.18-14 and have that kernel-source
> already installed.  I need to compile the driver from the newest
> kernel- source...can this be installed onto a system with an older
> kernel?

Yes, not a problem.

> If so, when using up2date to install a newer kernel, does the update
> take effect immediately or after a boot (perhaps a dumb question, but
> I'm from Windows-land where EVERYTHING takes a reboot).  I'm guessing
> a reboot is required.

Install the updated kernel and kernel-source, but don't reboot. You'll 
still be running the old kernel at this point. You can then build the 
module for the new kernel. Just define KERNELDIR=/usr/src/linux-2.4, 
rather than the method I provided earlier.

> If so, then I need to have the newer driver installed/loaded BEFORE
> the system, with the new kernel installed, is rebooted.  Are drivers
> typically backwards compatible, or are the kernel specific based on
> their compilation?

Hrmm, you need to LOAD the driver into the current kernel, before 
rebooting?

You'll need to build it twice, if that's the case. Build it once before 
upgrading the kernel-source package. Define 
KERNELDIR=/lib/modules/`uname -r`/build and build the modules. This will 
build the modules for the current kernel. Copy the modules to 
/lib/modules/{version}/someplace_reasonable. You should be able to get 
them loaded.

Then, install the updates, run 'make clean' redefine KERNELDIR to 
KERNELDIR=/usr/src/linux-2.4 in the Makefile (which should force them to 
build against the new kernel-source), and build them again. Copy the 
modules to /lib/modules/{new-version}/someplace_reasonable.

> Normally I'd just throw caution to the wind and try it, but I'd like to
> avoid having to rebuild this box from the beginning if possible.

Ouch, that shouldn't be required, I hope.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+hNhUn/07WoAb/SsRAurAAJ99h9QioynmtqH+D3S0OIPYp2sOzQCgtxZg
bsN3tkorGK07HddD+7qB14I=
=cGJS
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: what's the function of the /lib/modules/???/build symlink?

2003-03-27 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 27 March 2003 07:32 pm, Jack Bowling wrote:
> ** Reply to message from Michael Fratoni 
> on Thu, 27 Mar 2003 18:58:14 -0500

> > I used to think so as well. And I'm sure I had to do both in the past
> > at some point. However on the Pheobe list, this was disputed by Arjan
> > van de Ven.
> > (https://listman.redhat.com/pipermail/phoebe-list/2003-January/000762
> >.html)
[...]
> > 1) The *ONLY* place the kernel headers of the current kernel live is
> > /lib/modules/`uname -r`/build/include
> > not /usr/include/linux, not /usr/include/linux-2.4 not anything else
> > this is per Linus' decree fwiw
>
> Interesting. Take a look at this:
>
>  /usr/lib/modules/2.4.18-14]$ ll
> total 336
> lrwxrwxrwx1 root root   32 Feb 16 23:42 build ->
> ../../../usr/src/linux-2.4.18-14 drwxr-xr-x9 root root

I'm not sure what you're trying to show here. This looks correct to me. 
Kernel headers should only be included via "/lib/modules/`uname 
- -r`/build". 
Which is a symlink to the kernel source matching the running kernel. (Or a 
broken symlink if it isn't installed.)
On my machine:
$ ll /lib/modules/`uname -r`/build
lrwxrwxrwx1 root root   36 Mar 18 21:10 
/lib/modules/2.4.18-27.8.0/build -> ../../../usr/src/linux-2.4.18-27.8.0

$ ls /lib/modules/`uname -r`/build/include
abi  asm  asm-generic  asm-i386  linux  net  pcmcia  rxrpc  scsi  video

One notable exception is my situation here. I have an ethernet module I 
have to build myself. If I install a new kernel and kernel-source, I have 
to either:
1. reboot without my network driver, and then build the module.
2. Commit a sin, and include /usr/src/linux-2.4/include, rather than the 
proper /lib/modules/`uname -r`/build/include so that I can build for the 
new kernel while still running the old kernel. 

> > 2) You do NOT need all these steps; the headers RHL ships by default
> > Just Work(tm) and will generate a module for the currently running
> > kernel.
>
> The key being "that RHL ships". Lots of people roll their own kernels
> on RH boxes.

True enough. However, if they have already built a custom kernel, they 
also had to run make config (in some form) and make dep, no? ;) No need 
to run it again just to build the module.

If you are running a stock kernel, there should be no need to run make 
oldconfig and make dep. As a matter of fact, if you do, this may cause a 
kernel/module version mismatch. Red Hat's included Makefile defines 
EXTRAVERSION = -27.8.0custom (for example). I'm guessing that once you run 
make oldconfig and make dep, any modules built against that source will 
have the 'custom' appended to the module versioning, and refuse to load 
into a stock kernel.


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+g7B5n/07WoAb/SsRAvP0AKC9K6VPfZwzqCq59DoSXz4EjPvCBACgsDJ7
1K3nEMGRHnTC0SDkCCLvTc4=
=+f1c
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: what's the function of the /lib/modules/???/build symlink?

2003-03-27 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 27 March 2003 03:05 am, Jack Bowling wrote:
> ** Reply to message from Michael Fratoni 
> on Wed, 26 Mar 2003 23:08:22 -0500

> > On Wednesday 26 March 2003 04:14 pm, Robert P. J. Day wrote:
[...]
> > >   so, before i spend a lot of time on this, what is the function
> > > of that symlink, and could having it point at a non-existent
> > > kernel source directory be causing the rebuild of my NVIDIA
> > > kernel src rpm to blow up with dozens of parse errors from
> > > include files?
[...]
> > >   (not having the kernel source directory for the current running
> > > kernel doesn't affect anything else -- system runs fine otherwise.)
> >
> > But building kernel modules will fail, as modules require the headers
> > from the kernel tree, not the headers installed in
> > /usr/include/linux/, (which are the headers glibc was compiled with,
> > and are provided by the glibc-kernheaders package). Any kernel module
> > that tries to include system headers should generate warning messages
> > similar to:
> > #warning Using kernel header in userland!
> > #warning Using kernel headers in userspace.
> >
> > In the case above, if /lib/modules/`uname -r`/build is a broken link,
> > the build will fail with the above warnings followed by many parse
> > errors.
> >
> > So, the short version is reinstall the kernel-source package if you
> > want to build kernel modules.
>
> And most drivers will not be able to build until you do a "make
> oldconfig" and "make dep" in the kernel source tree.

I used to think so as well. And I'm sure I had to do both in the past at 
some point. However on the Pheobe list, this was disputed by 
Arjan van de Ven. 
(https://listman.redhat.com/pipermail/phoebe-list/2003-January/000762.html)

I'll quote the relevent parts of the mail message:
Begin quote:

> make oldconfig
> make dep 
> 
> ** THEN you can compile stuff against that kenel (like spca-50x driver
> or wlan-ng drivers, vmware, etc etc.. but I have had better luck just
> modifying the config file and using the built in wireless drivers :)
> (peruse the psyche-list for examples)

(To which Arjan replied:)

I'm sorry to say it but you're full of shit here ;)
All you just achieved is that you've blown away the proper kernel symbol
version setup you need to compile against the kernel.

1) The *ONLY* place the kernel headers of the current kernel live is
/lib/modules/`uname -r`/build/include
not /usr/include/linux, not /usr/include/linux-2.4 not anything else
this is per Linus' decree fwiw

2) You do NOT need all these steps; the headers RHL ships by default
Just Work(tm) and will generate a module for the currently running
kernel.

End quote.

Just an additional data point. ;)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+g5AWn/07WoAb/SsRAqGjAJ4skz1/F6XomxEQcGm3CWwQyyb8ywCgi3IV
biVxUZ8UcKeAOzt73JqdIfk=
=CnXv
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux vs Windows

2003-03-27 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 27 March 2003 06:13 pm, Jack Bowling wrote:
> ** Reply to message from David Busby <[EMAIL PROTECTED]> on Thu, 27 Mar
> 2003 13:17:50 -0800
>
> > Word to business sense
> > Cheers to Linux stability:
> > 2:17pm  up 189 days, 14:42, 1 user,  load average: 0.31, 0.23, 0.21
> > Jeers to Windows reboots for almost every "Windows Update"
> > Today's 331953 Security Update made me reboot a server :(
>
> That must be a busy server or a RAM starved one with a loadavg of 0.31.
>

Hrmm, I thought it looked pretty idle. ;)

$ uptime
  6:28pm  up 96 days, 19:17, 11 users,  load average: 1.03, 1.06, 1.08
$ free
 total   used   free sharedbuffers cached
Mem:513996  465656   48340  0 128344 195136
- -/+ buffers/cache: 142176 371820
Swap:  1020088  53324 966764


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+g4ozn/07WoAb/SsRAlYqAJ9rAEqcxiYAti/r2zXe9Ikqafwx2QCfb+iC
i+VUnPS4NM+a7mGFXzqF7iY=
=Cr0D
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: how difficult is compiling a driver?

2003-03-27 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 27 March 2003 03:51 pm, Ben Russo wrote:
> Douglas, Stuart wrote:
> >My situation is this, I'm using some HighPoint Rocket133 IDE
> > controller cards to support larger HDDs on some systems but the only
> > RH8 driver is compiled for the initial kernel release.  The vendor
> > can't give me any useful information as to when I might expect a
> > driver that is compiled for the latest kernel so I thought I'd look
> > into doing it myself.  Being a total Linux noob, am I asking the
> > equivalent of how to perform brain surgery, or is it actually not too
> > difficult?
> >
> >Thanks in advance!
> >
> >Stuart
>
> http://www.amazon.com/exec/obidos/tg/detail/-/059681/qid=1048798288
>/sr=8-1/ref=sr_8_1/002-2148736-6885655?v=glance&s=books&n=507846
>
> Good Luck.  :-)

He only asked how to compile an existing driver, not how to write the 
driver code himself. Building the module from the vendors source code is 
normally pretty simple. ;)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+g4Qnn/07WoAb/SsRAi5cAJ43qh3ItT2HJCGZBfpTnvrJoDQMEgCeL7HZ
/k20cyyfaMbftCTxctI7LYw=
=U+6E
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: how difficult is compiling a driver?

2003-03-27 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 27 March 2003 03:18 pm, Douglas, Stuart wrote:
> My situation is this, I'm using some HighPoint Rocket133 IDE controller
> cards to support larger HDDs on some systems but the only RH8 driver is
> compiled for the initial kernel release.  The vendor can't give me any
> useful information as to when I might expect a driver that is compiled
> for the latest kernel so I thought I'd look into doing it myself. 
> Being a total Linux noob, am I asking the equivalent of how to perform
> brain surgery, or is it actually not too difficult?


If the driver source code is availble, it shouldn't be very hard.
It appears the source is available for the Rocket133 at:
http://www.highpoint-tech.com/hpt302-opensource-v10.tgz
You'll have to verify that this is the correct file. The drivers I found 
are listed here:
http://www.highpoint-tech.com/drivers.htm

Once you have the correct file downloaded...

make a temporary directory, I used 'highpoint'.
$ mkdir highpoint
Move the driver archive to the new directory.
$ mv hpt302-opensource-v10.tgz highpoint
cd to the directory
$ cd highpoint
Extract the archive
$ tar -xvzf hpt302-opensource-v10.tgz

Edit the Makefile, and fix the define for KERNELDIR. Currently, it is 
probably defined as KERNELDIR=/usr/src/linux (Which is wrong)
It should be defined as:
KERNELDIR=/lib/modules/`uname -r`/build 
(KERNELDIR=/usr/src/linux-2.4 would work as well, but the above is more 
correct)

You need to have the kernel-source rpm package installed that matches your 
running kernel. For example, I have:
$ rpm -q kernel kernel-source
kernel-2.4.18-27.8.0
kernel-source-2.4.18-27.8.0

Once you have done all that, you can build the driver with
$ make

Once it has finished compiling, the .o file(s) need to be copied someplace 
suitable in /lib/modules/{version}/kernel/drivers/(ide perhaps?)

There are instructions in the readme.txt file for loading the drivers.

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+g4NKn/07WoAb/SsRAhjqAJwJN6FjRjjpIxrHWk3OvgDWj8MS7gCeIgoo
M9KH7lkAzV0w7sAzc2NmCZg=
=Ufkn
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: .spec uninstall section

2003-03-26 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 26 March 2003 11:29 pm, Alex Mamtchenkov wrote:
> Hello,
>
> for the whole night through I was trying to create an RPM package from
> source. What I managed to do was I created a .spec file in
> /usr/src/redhat/SPEC, I put the .tgz file in /usr/src/redhat/SOURCE and
> I managed to get an .rpm file in /usr/src/redhat/RPM/i386.
>
> Ok, I can install it, it works, but what if I need to uninstall it?
> After the installation only 1 file will be created
> (/usr/local/bin/myaddr). When I run a "rpm -e ..." the packages goes
> away from RPM DB, so if I try to repeat the same action I get something
> like "The package ... is not installed" but the binary file still
> exists in /usr/local/bin. In what was should I correct the .spec file
> to make rpm remove the binary file after deinstallation of my package?

What do you have in the %files section of the spec file?
Even better, can you post your spec file?

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+goFan/07WoAb/SsRAoFVAKCF76rhjm5Wce60k8wwqTgwDy1dmQCghlSp
7ZWiAl6VEpcypoJYkyB/wNU=
=rj9f
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Strange modprobe error logged

2003-03-26 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 26 March 2003 07:45 pm, Fred Janssen Groesbeek wrote:
> Hello members of redhat-list,
>
> There was a strange modprobe error logged on a RH7.3-
> based linuxbox telling it could not probe eth1-eth7
> (See attached excerpt from /var/log/messages).
> I have no clou what caused it. Since the machine has
> only one NIC known as eth0 with alias eth0:0 and alias eth0:1
> Does it ring a bell to someone in this list?
>
> rgds,
> Fred
>
>
> Excerpt from /var/log/messages:
> ---
> Mar 26 09:59:46 smtp1 modprobe: modprobe: Can't locate module eth1
> Mar 26 09:59:46 smtp1 modprobe: modprobe: Can't locate module eth2
> Mar 26 09:59:46 smtp1 modprobe: modprobe: Can't locate module eth3
> Mar 26 09:59:47 smtp1 modprobe: modprobe: Can't locate module eth4
> Mar 26 09:59:47 smtp1 modprobe: modprobe: Can't locate module eth5
> Mar 26 09:59:47 smtp1 modprobe: modprobe: Can't locate module eth6
> Mar 26 09:59:47 smtp1 modprobe: modprobe: Can't locate module eth7

Did you run something like mii-tool at that time? It's the result of some 
application trying to probe ethernet devices 0 -7. I know I can reproduce 
it if I run mii-tool without specifying the device. Like so:

# mii-tool
[snip output]
[EMAIL PROTECTED] lib]# tail /var/log/messages
Mar 26 23:17:46 paradox modprobe: modprobe: Can't locate module eth1
Mar 26 23:17:46 paradox modprobe: modprobe: Can't locate module eth2
[...]

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+gnvFn/07WoAb/SsRAqA+AJ48yRXcARLsSEr/OHqPI+8SG+Aj/gCgrv7p
UVgK9QykYK675PLvMzqtdPE=
=tqmN
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: what's the function of the /lib/modules/???/build symlink?

2003-03-26 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 26 March 2003 04:14 pm, Robert P. J. Day wrote:
>   in a fit of poor judgment, i tried to test the new 2.5.66 kernel
> on my RH 8.0 box, and not only did it explode in glorious ways,
> it made a mess of my nvidia setup.
>
>   in recovering to an older, working kernel, i now find i can't
> rebuild the NVIDIA kernel src rpms (loads of parse errors from
> /usr/include files).
>
>   i'm not sure why i'm getting compile-time errors when i've
> never had them before, but i accidentally removed the kernel
> source directory for the current good kernel, which means that
> the sym link "/lib/modules/???/build" is now pointing at a
> non-existent kernel source directory under /usr/src (yes, i
> was eventually going to get around to that).
>
>   so, before i spend a lot of time on this, what is the function
> of that symlink, and could having it point at a non-existent
> kernel source directory be causing the rebuild of my NVIDIA
> kernel src rpm to blow up with dozens of parse errors from
> include files?

(most?) Modules that require the headers for the running kernel point to 
/lib/modules/`uname -r`/build. I don't have Nvidia's drivers installed but 
I've seen others that do something like:

LINUX=/lib/modules/`uname -r`/build
CFLAGS=-DMODULE -D__KERNEL__ -DDBG=0 -Wall -Wstrict-prototypes -O6 
- -I$(LINUX)/include

>   (not having the kernel source directory for the current running
> kernel doesn't affect anything else -- system runs fine otherwise.)

But building kernel modules will fail, as modules require the headers from 
the kernel tree, not the headers installed in /usr/include/linux/, (which 
are the headers glibc was compiled with, and are provided by the 
glibc-kernheaders package). Any kernel module that tries to include 
system headers should generate warning messages similar to:
#warning Using kernel header in userland!
#warning Using kernel headers in userspace.

In the case above, if /lib/modules/`uname -r`/build is a broken link, the 
build will fail with the above warnings followed by many parse errors.

So, the short version is reinstall the kernel-source package if you want 
to build kernel modules.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+gnk3n/07WoAb/SsRAp41AKCffc2aCIPVcoPXXxKP9fopH9kkowCbB24i
Kx+3z/zFMDeHistk52jAUJY=
=klSC
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Configuring X Windows with Redhat 8

2003-03-23 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 23 March 2003 08:26 pm, Doug Almquist wrote:
> I recently upgraded my motherboard to an ASUS with onboard NVIDIA
> graphics. I installed Redhat 8 and can't find the utility to configure
> X. Xconfigurator is evidently gone and I can't otherwise get X loaded. 
> The 'screens' seem to be misconfigured.
>
> What's the new utility for doing this?

redhat-config-xfree86

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+fno/n/07WoAb/SsRAqJmAJ4pPBbf9NoUmVVtCpHE4oTfDhIxpwCgkS86
QaZhzXIOXst3xWxmXu7pXlQ=
=hgCc
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: glibc up2date failure for RH7.2 system

2003-03-21 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 21 March 2003 07:18 pm, Ed Wilts wrote:
> On Sat, Mar 22, 2003 at 12:03:05AM +, David Holden wrote:
> > ok i'll try this. With regard to glibc updates from redhat network, I
> > think this should be in default list of things (i.e. with kernel) not
> > to automatically update.
>
> I disagree.  When used with Red Hat applications, it does not cause a
> problem.

I don't know how well it works with the Red Hat wine package, but the 
latest update breaks codeweavers wine on an 8.0 system. Hence crossover 
office (and probably crossover plugins) won't function after updating.

http://crossover.codeweavers.com/pipermail/announce/2003-March/11.html

I agree, this isn't a Red Hat problem, and I wouldn't expect them to test 
for this in any way.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+e7CYn/07WoAb/SsRAlYpAJ93P2YTiqtszgBl33MoW7Ug8cIxnQCfUd53
sG8hSIHUclid5d8IOxrk9NE=
=BH27
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: need quick and dirty bootdisk...

2003-03-21 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 21 March 2003 11:07 am, Stone, Timothy wrote:
> anybody have a quick and dirty boot disk? Or a cookbook for making one?
>
> I have 40+ Pentium 75/90/100 machines that I have to inventory and prep
> for donation. Some have CD-ROMs, many don't. Don't need X. Just need to
> boot to a prompt and get general system info, or look at the BIOS.

Boot disk with quite a few linux tools available at boot time:
http://www.tuxfan.homeip.net:8080/rule/slinky-boot.img

Boot disk that boots, and runs "detect" a hardware detection utility:
http://www.tuxfan.homeip.net:8080/rule/slinky/slinky-detect/slinky-detect-0.0.2.img

It's automated, the machine is given a unique numeric ID, and the hardware 
info is written to the boot floppy in a file with that ID. There is room 
on the floppy for the info from quite a few machines.

Hope you find them useful,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+e42vn/07WoAb/SsRAiiGAJ40XbmGO8IwhK+O/HI8L27sa2a0BACgr0ms
36ow/FOvJ4QqpKNgOtXKZoE=
=urWw
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Redhat 8.0 terminal problem

2003-03-20 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 20 March 2003 01:54 pm, Yanick Quirion wrote:
> Hi all,
>
> I just have install RedHat 8. When I want to configure the kernel (make
> menuconfig), or run linuxconf --text directly on the console, the
> display is very bad. My TERM variable is set to 'linux'. I don't konw
> why the display is so bad. To make test, I installed RH 7.2 on the same
> system and this problem doesn't happen. So, after that, I re-install RH
> 8.0 again, change the vdeo adapter, but I have the same problem.
>
> Is somebody have a similar problem (running test console apps)?

This is related to the switch to UTF-8 locales and is covered in the 
release notes:

$ grep -A 20 Distribution 
/usr/share/doc/redhat-release-8.0/RELEASE-NOTES-i386
Distribution General Notes

  o Red Hat Linux now installs using UTF-8 (Unicode) locales by default in
 languages other than Chinese, Japanese, or Korean.

 This has been known to cause various issues:

 . Line drawing characters in applications such as make menuconfig do
   not always appear correctly in certain locales.

 . On the console, the latarcyrheb-sun16 font is used for best Unicode
   coverage. Due to the use of this font, bold colors are not available.

 . Certain third party applications, such as the Adobe(R) Acrobat
Reader(R), may not function correctly (or crash upon startup) because
they lack support for Unicode locales. Until third party developers
provide such support in their products, you may work around this issue
by setting the LANG environment variable at the shell prompt to C
prior to typing the application name. For example:

env LANG=C acroread


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+em1on/07WoAb/SsRAhtwAKCm21XC6MMDX16ej4prricjNzvBZwCeIzle
/APlxRlqYuJglUzZ4IQP8lM=
=6HB4
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: When /etc/modules.conf goes bad

2003-03-20 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 20 March 2003 02:21 pm, CM Miller wrote:

> >And hence the file probably couldn't be read at boot
> >time.

> So to understand you correctly, during bootup all of
> these conf files you see at start up are being read by
> cat?  Correct?

Well, they are being read. If you can't 'cat' a text file, it's a good bet 
the program that needs to read them will fail as well.

> > >> alias sound-slot-0 trident
> > >> post-install sound-slot-0 /bin/aumix-minimal -f
> > >> /etc/.aumixrc -L >/dev/null 2>&1 || :

> I've never seen them before in modules.conf.

$ grep sound /etc/modules.conf
alias sound-slot-0 emu10k1
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L 
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 
2>&1 || :

Again, the above lines had _nothing_ to do with the problem.

> > >> alias /proc/scsi/imm
> > >> alias /proc/scsi/parport
> > >> alias /lib/modules/2.4.18-26.8.0/kernel/fs/ntfs
> > >
> > >The 3 lines above are invalid, I believe.
> > >alias takes the form of "alias alias_name result"
>
> But I want those modules to be loaded each time I
> start up my box, so I manually don't have to do it
> each time.

I don't believe those lines load a single module. As I suggested 
previously, comment out or remove those lines from /etc/modules.conf, and 
I'd be willing to bet there is no change in modules loaded.

> >My best guess at this point is that /etc/modules.conf
> >got corrupted.
> >You
> >moved it out of the way, and replaced it with a good
> >copy.
>
> But how?  How did it become corrupted?  I still am
> trying to understand that?

Could be any number of things.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+elT0n/07WoAb/SsRAk6OAKCMPEnWJr4Y6MVABtHSontSpgMTZQCeNc8V
iP5VrXYp3Tt52FyVozjiLBw=
=F+u5
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Regarding RHSA-2003:098-07

2003-03-19 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 19 March 2003 07:05 pm, Rob Hines Jr. wrote:
> This advisory came in and I applied the kernel upgrade, and the source
> RPM, and now I have a problem.
>
> When I try and compile my VMware modules, I get this error:
>
> The directory of kernel headers (version 2.4.18-14) does not match your
> running kernel (version 2.4.18-27.8.0).  Even if the module were to
> compile successfully, it would not load into the running kernel.
>
> Any suggestions or ideas on how I can resolve this? I can't see where
> the source RPM is installing anything, let alone upgraded kernel source
> for this kernel rev.

It sounds as if you installed the kernel{version}.src.rpm. You want the 
kernel-source{version}.i386.rpm.

What is the output of 'rpm -q kernel-source'?

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+eREKn/07WoAb/SsRAuyzAJ9mq5y8n0p4h77gJT3uwlv5GFk2MQCgr04T
/mqP+Y2cT+Ny/jBXm3tTmtk=
=WbL8
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: GPG and Freshrpms

2003-03-19 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that my previous answer didn't make it to the list. I 
already deleted both the OP and my reply, of course, excuse the lack of 
threading.

Peter Molnar asked:
-  
I experienced a strange thing today. I've paid little attention for
checking the GPG signatures of rpms downloaded from Freshrpms.net so
far. But today I decided to learn, how to do it.

I issued the following commands:

gpg --keyserver wwwkeys.pgp.net --recv-keys e42d547b

[snip]
rpm -K xosd-2.1.3-fr1.i386.rpm (an rpm recently downloaded)

xosd-2.1.3-fr1.i386.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING KEYS:
GPG#e42d547b)

Key IDs are the same, however either GPG does not seem to recognize this
fact, or (more likely) I'm doing something wrong.

Any help would be appreciated. :)
- 

You must import the key using rpm's --import flag.

# rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt

List all imported keys with:
$ rpm -qa gpg-pubkey*

Details about the freshrpms key:
$ rpm -qi gpg-pubkey-e42d547b

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dxFQn/07WoAb/SsRAoo5AKCD7aqRR8jmSJYUZXksqq5gKY7k9wCfYpoJ
dTD8R1i2wAqvJM3BlfGk7ps=
=yj3+
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: When /etc/modules.conf goes bad

2003-03-19 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 19 March 2003 04:46 am, [EMAIL PROTECTED] wrote:

> Hi,
>
> i have written this to modules.conf:
>
> install cryptoapi
>
> but the module won't be loaded.
>
> An 'insmod cryptoapi' works without errors!

I haven't used the 'install' directive in modules.conf, but the man page 
indicates that it takes 3 arguments. 'install cryptoapi command to 
execute rather than the default insmod'

I have no experience with encrypted filesystems. A quick google search for 
"cryptoapi+modules.conf" showed some promise. See if that helps at all.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+eFA5n/07WoAb/SsRAguqAJ9D77WlHpAEmOyqFzg4Dz1O+e84nACePAjH
qa2YAVfy+GnZmEg81vWgLAs=
=H6r6
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Starting and stopping bind

2003-03-18 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 March 2003 10:35 pm, Rob Francis wrote:
> Thanks but it didn't work. I get the following error, which you may be
> able to shed some light on (and I am running this as root from a
> standard terminal)
>
> # /etc/init.d/named stop
> Stopping named: rndc: connect failed: connection refused
>  [FAILED]
>
> Also I can't see the named daemon in top or ps, but I can't start or
> restart it either. It is definitely installed and the Master runs
> properly (the slave is not).

You need to configure the rndc keys.
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/ref-guide/s1-bind-rndc.html

Without a key pair, rndc will refuse connects.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+d+lAn/07WoAb/SsRAtPVAJ0TRELKPUTv01cgV8/s4c2fPfC4YQCglOvs
w8+ymrMI2qWwV3SbYdvjV98=
=Snf/
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Difference between Mozilla 1.3 gtk2 and xft?

2003-03-18 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 March 2003 07:27 pm, Michael Mansour wrote:
> Hi,
>
> Yes, I tried it out and it is fast.
>
> I moved back to Mozilla 1.3b though, since I liked the
> j2re rpm release (which SUN supplied on their website)
> and is compatible with Mozilla 1.3b.
>
> I didn't have any issues with running Mozilla 1.3b
> either - not to say that I had any with Mozilla 1.3 -
> just that when going to the Blackdown project site,
> and downloading their j2re 1.4.1-01 compiled under gcc
> 3.2, it was a bit of a pain to install due to the
> "tarball and follow instructions" to install that and
> the web version.
>
> I like the RPM version better, it's cleaner and
> requires less "leg work" when upgrading.
>
> I emailed both Sun and Blackdown as to whether they'll
> release an RPM version for j2re 1.4.1 compiled under
> gcc 3.2 under Red Hat 8.x... no reply yet...

I took a bit of a shortcut, and rather surprisingly, it appears to work.

I have Sun's j2re prm package installed. I downloaded and extracted the 
blackdown java compiled with gcc 3.2 and copied just the plugin to 
/usr/java/j2re1.4.1/plugin/i386/ns610/javaplugin_oji.so

I removed the existing libjavaplugin_oji.so link in 
/usr/lib/mozilla/plugins, and created a new one pointing to the new 
plugin (javaplugin_oji.so). Seems to work fine.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+d9hDn/07WoAb/SsRAq9XAKCaMrL5xJNXorfTQVlJgj8CSJxwVwCgo+FK
OaBfJaF+lXEv2ZQKVALK2DE=
=AqlH
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: GPG and Freshrpms

2003-03-18 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 March 2003 04:33 am, Molnar Peter wrote:
> Hi!
>
> I experienced a strange thing today. I've paid little attention for
> checking the GPG signatures of rpms downloaded from Freshrpms.net so
> far. But today I decided to learn, how to do it.
>
> I issued the following commands:
>
> gpg --keyserver wwwkeys.pgp.net --recv-keys e42d547b
[...]
> xosd-2.1.3-fr1.i386.rpm: (SHA1) DSA sha1 md5 (GPG) NOT OK (MISSING
> KEYS: GPG#e42d547b)
>
> Key IDs are the same, however either GPG does not seem to recognize
> this fact, or (more likely) I'm doing something wrong.
>
> Any help would be appreciated. :)

You have to install the key using rpm's import flag:

rpm --import http://freshrpms.net/packages/RPM-GPG-KEY.txt

rpm -qa gpg-pubkey* will list all installed keys.

rpm -qi gpg-pubkey-e42d547b to querry the key.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dwGNn/07WoAb/SsRApcvAJ9BENsgYkSIGl4fI4LqIFlo7R6PagCeI2Ds
FxN8i56LYaJCkix4mcPjM+8=
=r2vu
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: portmap service doesent start auto

2003-03-18 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 March 2003 05:44 am, babar haq wrote:
> Hi
> my portmap service doesent start automatically ??? it doesent appear in
> the list of services in the serviceconf as well??? how to start it on
> boot?

- From the command line, try this:
$ /sbin/chkconfig --list portmap

You should see output like:
portmap 0:off   1:off   2:off   3:on4:on5:on6:off

If not, you can set it up with:
$ /sbin/chkconfig --add portmap

Activate it:
$ /sbin/chkconfig portmap on

Portmap should start next time you boot. To start it now:
/sbin/service portmap start

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dwQxn/07WoAb/SsRAqUtAJ9RTVsV5Kg43wXmavWgVBDl0hikrQCfTqD5
wALWc6kSkNZwBMAItbJXhBU=
=zbsr
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: When /etc/modules.conf goes bad

2003-03-17 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 17 March 2003 12:10 pm, Kleiner Hampel wrote:
> But what is with own modules? Modules that are not shipped with the
> kernel?
>
> a 'install myownmodule' does not work!
> I have copied myownmodule to /lib/modules and did a depmod, but it
> doesn't work!
>
> please help

Going to need more info. What have you tried, what's the result of those 
attempts, etc.

insmod (or modprobe) your_module, not install your_module, as you have 
above.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dopgn/07WoAb/SsRApN0AJ94lV+Pf3A2GuBF6NaLwV5Aa9QbxwCgrME7
QNkzWh8YvUJlFsB1uzGYAsM=
=4A5d
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: When /etc/modules.conf goes bad

2003-03-16 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 17 March 2003 12:24 am, Michael Fratoni wrote:
> On Sunday 16 March 2003 11:01 pm, CM Miller wrote:

> > THey work fine now and load these modules, unless you
> > can give a better example.
>
> Load what modules?
> The parport module is loaded by: alias parport_lowlevel parport_pc
> The ntfs module should be loaded on demand when you try to mount an
> ntfs filesystem (with mount /foo /bar -t ntfs ..., or an entry in
> /etc/fstab), and I've no idea what /proc/scsi/imm is supposed to do.
> If you are trying to load an scsi_hostadapter something like:
> 'alias scsi_hostadapter imm'
> would be the syntax, but I've no idea if that is correct for your
> system. I take it this is for a zip drive? You might try a google
> search for imm and modules.conf to get the correct entries.

Actually, a google search suggest the following entries might work for a 
zip drive using the imm module:

alias scsi_hostadapter imm
alias block-major-8 sd_mod 

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dV8vn/07WoAb/SsRAlBGAJ9oOYltfbqwVGRGA5zKEcER0hIj4ACeJaIk
FdYDLr+VoYLXze9h5+2ZdCQ=
=iAVS
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: When /etc/modules.conf goes bad

2003-03-16 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 16 March 2003 11:01 pm, CM Miller wrote:
> On Sunday 16 March 2003 10:55 am, CM Miller wrote:

> If I cat the backup copy of modules.conf, it pukes out
> as garbage.

And hence the file probably couldn't be read at boot time.

> >> alias sound-slot-0 trident
> >> post-install sound-slot-0 /bin/aumix-minimal -f
> >> /etc/.aumixrc -L >/dev/null 2>&1 || :

> >> What the hell are the post-install and pre-remove
> >> mean?
>
> Those lines are normal, they save and restore mixer
> settings.
>
> What lines?  I'm talking about the pre-remove and
> post-install...those can't be normal...cause once I
> removed them, then all modules loaded back ok.

The pre remove and post install lines are correct. The do nothing more 
than load and save mixer settings for your sound card. Recreating the 
file is probably what allowed it to work.

> >> alias /proc/scsi/imm
> >> alias /proc/scsi/parport
> >> alias /lib/modules/2.4.18-26.8.0/kernel/fs/ntfs

> >The 3 lines above are invalid, I believe.
> >alias takes the form of "alias alias_name result"

> THey work fine now and load these modules, unless you
> can give a better example.

Load what modules?
The parport module is loaded by: alias parport_lowlevel parport_pc
The ntfs module should be loaded on demand when you try to mount an ntfs 
filesystem (with mount /foo /bar -t ntfs ..., or an entry in /etc/fstab), 
and I've no idea what /proc/scsi/imm is supposed to do.
If you are trying to load an scsi_hostadapter something like:
'alias scsi_hostadapter imm'
would be the syntax, but I've no idea if that is correct for your system. 
I take it this is for a zip drive? You might try a google search for imm 
and modules.conf to get the correct entries.

I'd love to give an example, but since those 3 lines do _nothing_ (as near 
as I can tell) I'd be hard pressed to find a replacement. ;) 

Prove it to yourself, remove those 3 lines, reboot and see if it makes a 
difference. alias takes 2 arguments, in the lines above you've assigned 
the names given to NULL.

> >Which, the mixer lines? They shouldn't have caused
>
> any >problem.
>
> I believe that they did, I removed them and things
> were then ok.

Again, no. You recreated modules.conf, most likely replacing a corrupt 
version. You said yourself that you can't cat the backup file.

> I still do not understand what happened here which
> caused it to screw up.

My best guess at this point is that /etc/modules.conf got corrupted. You 
moved it out of the way, and replaced it with a good copy.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dVwNn/07WoAb/SsRAvElAJ4nPJBFNZkdTiHi5uYRK1vsLw6vqgCff8sE
cTljIP1ZwO18ToXJFCJT4kI=
=aUPQ
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: When /etc/modules.conf goes bad?

2003-03-16 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 16 March 2003 10:55 am, CM Miller wrote:
> yesterday I posted to this list that my modules.conf
> got screwed up somehow and someway.
>
> I could not cat the file, so I used vim and saw this

You can't cat a text file? What was the result of trying?

> alias parport_lowlevel parport_pc
> alias eth0 3c59x
> alias usb-controller usb-ohci
> alias sound-slot-0 trident
> post-install sound-slot-0 /bin/aumix-minimal -f
> /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-0 /bin/aumix-minimal -f
> /etc/.aumixrc -S >/dev/null 2>&1 || :
> alias sound-slot-1 emu10k1
> post-install sound-slot-1 /bin/aumix-minimal -f
> /etc/.aumixrc -L >/dev/null 2>&1 || :
> pre-remove sound-slot-1 /bin/aumix-minimal -f
> /etc/.aumixrc -S >/dev/null 2>&1 || :
> alias /proc/scsi/imm
> alias /proc/scsi/parport
> alias /lib/modules/2.4.18-26.8.0/kernel/fs/ntfs
>
>
> What the hell are the post-install and pre-remove
> mean?

Those lines are normal, they save and restore mixer settings.

> alias /proc/scsi/imm
> alias /proc/scsi/parport
> alias /lib/modules/2.4.18-26.8.0/kernel/fs/ntfs

The 3 lines above are invalid, I believe.
alias takes the form of "alias alias_name result"

> Anyway, I backed the file up, deleted those lines and
> then rebooted.  All came out fine.

Which, the mixer lines? They shouldn't have caused any problem.

> How in the hell did that happen?  I only added the
> ntfs modules a few weeks ago, so I am still scratching
> me head over this and would like to learn from this
> experience.

Had you rebooted since adding the ntfs line to /etc/modules.conf?

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dKZAn/07WoAb/SsRAqeoAJ9apihVqbFLabh65f3QJIwRmqOMEgCfapTp
kaGOArwBgxbmUNzEVmFCCmQ=
=0MtL
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Need a good diff/merge tool

2003-03-16 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 16 March 2003 05:36 am, Lokesh wrote:
> Hi All,
> Resubmitting the request.
> is there is GUI application/tool in either KDE or GENOME or anywhere
> that can diff/merge
> and allow editing of two files. It should be able to diff between
> directory levels, I mean ,
> two branches of source code. If it is not available, its time linux
> application developers
> create one and place it in either KDE or GENOME.

Several possibilities that may do more or less what you want.

emacs - has a diff mode.

xxdiff - (http://sourceforge.net/projects/xxdiff/) may be useful.
I've built an rpm package: (changed the qt dependency so it would install 
without having to resort to --nodeps)
http://www.tuxfan.homeip.net:8080/rpms/xxdiff-2.9.1-1.i386.rpm

tkdiff - http://www.accurev.com/ftp/free/tkdiff/tkdiff_3_09.zip
Accurev also has a commercial product that looks interesting.
http://www.accurev.com/

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dIfnn/07WoAb/SsRAs4QAJ40F30RIIcfHPjIFIDzu5hikkMX7gCgppxX
uN4hunLFF/WOw+gJfC15Ev0=
=1SaH
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: matrix uniq

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 11:35 pm, Youichi Mano wrote:
> dear Michael Fratoni,
>
> > I knew it looked too easy. ;)
> >
> > However, can't you use sort's uniq flag (-u) with -n for a numeric
> > sort?
>
> Oh! I didn't know sort -u option!
> uniq command does not need if we use sort -u ,does it?

No need for uniq, sort can do it by itself.

> > $ sort -k 2 -nu test.txt
> >
> > 10  387
> > C   7   5
>
> That is exactly I want to do.
> Thank you very much.

Quite welcome, glad it worked.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dAZan/07WoAb/SsRAp/qAKCqhxDIv6b1h8NMqMrKHGAZeRKtPwCfRsY6
tUzZ5II8Dw0LweYH8/mgFjM=
=PJ9b
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: User-Mode Linux not in arch/um

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 10:41 pm, Michael Fratoni wrote:

> I just tried the way I normally build kernels and it seems to work:
> (This will enable the same options used in Red Hat's kernel-uml
> package, unless you make changes during the menuconfig stage.)
>
> cd /usr/src/linux-2.4
> make mrproper
> cp configs/kernel-2.4.18-i686-uml.config .

Sorry, typo:
cp configs/kernel-2.4.18-i686-uml.config .config

> make menuconfig
> make dep && make bzImage && make modules
>
> And if you actually want to install the new kernel and modules:
> make modules_install && make install
>
> Hope that helps,

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+dASWn/07WoAb/SsRApStAJ9PLRMUQZfp5EDEOs5V1XKgzdwMOwCdGaz3
8vXYGnoreLHgkQBhRqhqT3Q=
=Amgy
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: matrix uniq

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 10:35 pm, Youichi Mano wrote:
> dear Michael Fratoni,
>
> My example does not seem to be good.
> The first column is not every single digit,
> and the delimiter is usually not space but TAB.
>
> Therefore, better example is the following.
> If the second column uniq is operated
> ---
>   10  387
> BB10  6
> C 7   5
> ---
>
> the result should be
> ---
>   10  387
> C 7   5
> ---
> (upper line is adopted)
>
> I can sort the specified column.
> sort -k 2 1.txt
>
> But I cannot uniq the specified column because
> GNU uniq does not support that feature.
> -w is for fixed length. -f is not enough to realize this.

I knew it looked too easy. ;)

However, can't you use sort's uniq flag (-u) with -n for a numeric sort?
$ sort -k 2 -nu test.txt

10  387
C   7   5

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+c/b5n/07WoAb/SsRAg7nAJ90E8DkaZX+YHESo8dh/ZMNG7Ka5wCghUKS
6yLDLZxeZGQMGyzlwvpxhaE=
=0gQD
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Modules Dropped?

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 11:08 am, CM Miller wrote:
> >>We need more details.
>
> This is what I can provide...what else will be needed
> to troubleshoot this?

At a minimum, the exact error message would be helpful.

> > Running RH 8.0 box, and I installed Fluxbox last
> > night.  That installed ok, but upon reboot, I get an
> > error message with /etc/modules.conf.
> >
> >>Can you copy the error message from the logs? Try
> >>'dmesg | more'
> >>and perhaps have a look in /var/log/messages and
> >>/var/log/boot.log.
>
> I don't think that sendmail is working because I have
> tried to send the logs to my e-mail address and they
> have not arrived

How does this machine connect to the net normally?
Modem, LAN, etc.?

> > Started X and could not get my internet connection.
> > Checked loopback and /sbin/ifconfig, all is well.
>
> Can you paste the results of the ifconfig command?
>
> I will try this later...

It will probably show only the loopback interface as active, based on the 
list of loaded modules below. 

> > Then I started to think about the error messages and
> > did lsmod and there are only two modules listed,
> > instead of the usual amount.
> >
> >>What's loaded?
>
> ext3
> jbd
>
> These are the only two modules that loaded...

Hrmm, and those were probably loaded from the initrd.

Can you post as much detail as possible, including the error text, the 
contents of /etc/modules.conf, and the output from ifconfig? Without 
seeing the error message, it's going to be hard to even begin guessing 
what's wrong.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+c/URn/07WoAb/SsRAgCoAJ9KN++3PGVvnnkq6aVt4Shp7y2OgQCgkyYc
L686A1EozaRejRZeRqIdP7U=
=ss7B
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: User-Mode Linux not in arch/um

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 10:01 pm, Todd A. Jacobs wrote:
> The kernel-source rpm includes a config file for uml, but trying the
> standard "make ARCH=um menuconfig" chokes because there's no arch/um
> directory.
>
> Has anyone successfully built uml from the Red Hat rpms (not the raw
> sources)? If so, what was the secret?

I just tried the way I normally build kernels and it seems to work:
(This will enable the same options used in Red Hat's kernel-uml package, 
unless you make changes during the menuconfig stage.)

cd /usr/src/linux-2.4
make mrproper
cp configs/kernel-2.4.18-i686-uml.config . 
make menuconfig
make dep && make bzImage && make modules

And if you actually want to install the new kernel and modules:
make modules_install && make install

Hope that helps,
- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+c/JOn/07WoAb/SsRAv03AJ9/f0UDo5QPUoXlqPIokmsacKbyuACfYl3k
LDFBl/pXVPCWNpBG/SCFN+M=
=nE6Q
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: matrix uniq

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 07:11 pm, Youichi Mano wrote:
> Hi all,
>
> I want to "uniq" by comparing the specified column for matrix data.
> I want to realize this operation by command line programs ,
> not any script file.
>
> For example , if the following data is operated by first column uniq,
> -
> 1 eagle 197
> 1 bird 387
> 2 camera 91
> 2 dog 62
> 3 apple 89
> -
>
> the output will be
>
> -
> 1 eagle 197
> 2 camera 91
> 3 apple 89
> -
>
> Such a editing is easy in perl script but I cannot easily do that
> in command line.
>
> Is there any idea?

I'm not at all sure I understand what you are trying to do.
If you want to take the first set of data above, and end up with the 
second set, you can try a few different ways. Here is the input file:
$ cat test.txt
1 eagle 197
1 bird 387
2 camera 91
2 dog 62
3 apple 89

Using uniq:
If the numbers in the first field are small enough, tell uniq to only test 
the first (n) characters, like so (obviously, this will begin failing 
when we reach 100 in the first field):
$ uniq -w 2 test.txt
1 eagle 197
2 camera 91
3 apple 89

You could also use 'sort':
$ sort -nu test.txt
1 eagle 197
2 camera 91
3 apple 89

If the numbers in the first field are larger, sort should still work:
$ cat test.txt
1 eagle 197
1 bird 387
2 camera 91
2 dog 62
3 apple 89
10 cat 21
10 horse 22
99 orange 42
99 pear 44
100 grape 84
100 lime 88
101 lemon 23
102 fox 24
103 bear 25

$ sort -nu test.txt
1 eagle 197
2 camera 91
3 apple 89
10 cat 21
99 orange 42
100 grape 84
101 lemon 23
102 fox 24
103 bear 25

While uniq will fail:
$ uniq -w 2 test.txt
1 eagle 197
2 camera 91
3 apple 89
10 cat 21
99 orange 42
100 grape 84

Hope that helps and is what you were looking for,

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+c+1Wn/07WoAb/SsRAjnZAJ9T2EZE0vqbnKAGxdLEubY/RrYwFACggsmu
CkjkCoJtZ8CA/leUlKDkcLs=
=F8Bn
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Can't add apps to K Menu in RH 8

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 09:46 am, Technoslick wrote:
> RH 8.0's maligning of the X-Window Desktop is causing me some problems.
>
> I have chosen KDE as my Desktop GUI, its related themes, look and feel
> (to the extent that this distribution will allow) and have been working
> with its diferences from a 'stock' set-up, well enough. However, I
> cannot fing any way to add any apps to the K Menu. Specifically, I
> upgradedXimian's Evolution form the 1.0.8 that comes with RH 8.0 to
> 1.2. The installation/upgrade was flawless. Unfortunately, my menu link
> was lost completely, while my Desktop and panel links became inactive.
> I have already resolved the latter two, but can't get the app
> registered in K Menu.
>
> I did some research and found that'kappfinder' could be used to seek
> out apps not already on the menu. I found that the applet was not on my
> system, even though I loaded all the components available from a
> 'selected package' install. When I copied over 'kappfinder' from my
> Mandrake 9.0 workstation throught the network and adjusted permissions
> (I believe they are both using the same version of KDE), then ran it,
> the applet indefinitely stalled shortly after running the app search.
> There are no menu choices (KDE or Gnome) to edit the menu, although I
> can very easily add links to the Desktop and bottom panel.
>
> Has anyone experienced this? Does anyone have a clue as to what can be
> done to rectify this, short of resintalling KDE from my CDs and/or
> installing a non-RH-maimed version of KDE?

kmenuedit works for me.

$ which kmenuedit
/usr/bin/kmenuedit

$ rpm -qf /usr/bin/kmenuedit
kdebase-3.0.3-14

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+c7vyn/07WoAb/SsRAuJcAKCzyF/zPUlPmoQ/qIV3Lr2kNluacwCdHUbA
tDvT4vLTNdyx0cb4zy1Kf5g=
=ZXh3
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Modules Dropped?

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 09:33 am, CM Miller wrote:

We need more details.

> Running RH 8.0 box, and I installed Fluxbox last
> night.  That installed ok, but upon reboot, I get an
> error message with /etc/modules.conf.

Can you copy the error message from the logs? Try 'dmesg | more'
and perhaps have a look in /var/log/messages and /var/log/boot.log.

> Started X and could not get my internet connection.
> Checked loopback and /sbin/ifconfig, all is well.

Can you paste the results of the ifconfig command?

> Then I started to think about the error messages and
> did lsmod and there are only two modules listed,
> instead of the usual amount.

What's loaded?

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cz2On/07WoAb/SsRAiSgAKCPOmjPxO82ARxm/nmEYH9Fyy87vwCeMi1c
bQarj0uv0DE3onDuevlZBnE=
=srP+
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: How can install Kile in RH8

2003-03-15 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 15 March 2003 07:13 am, mike ;-) wrote:
> Hi friends!
>
> I'm new in RHLinux 8 and I'm triying to install Kile ---a KDE front-end
> with LaTeX options--- but I always get the next message:
>
> error: Failed dependencies:
> libGLcore.so.1 is needed by kile-1.32-1
>
> Ok, I was looking for it in Internet and the only thing I found is that
> it is a library needed for nvidia driver.
>
> My graphics card is a NVidia Geforce 2MX  which is recognized in the
> installation process perfectly.
>
> ¿What can i do?

The rpm you are trying to install was probably built on a system using 
NVidia's closed source drivers, and picked up the dependency 
automatically. I seem to recall having the same problem when I had an 
NVidia card and was using their drivers.

I just built the package, you're welcome to give it a try. It should 
install without any dependency problems.
(I used source from:
http://perso.club-internet.fr/pascal.brachet/kile/download.html
and a modified version of the rpm specfile from:
http://perso.club-internet.fr/pascal.brachet/kile/kile-rh.spec)

http://www.tuxfan.homeip.net:8080/rpms/kile-1.32-rh80.i386.rpm
Source package:
http://www.tuxfan.homeip.net:8080/rpms/kile-1.32-rh80.src.rpm

Here are the requires from the package:
$ rpm -qp --requires ~/rpmbuild/RPMS/kile-1.32-rh80.i386.rpm
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
libDCOP.so.4
libICE.so.6
libSM.so.6
libX11.so.6
libXext.so.6
libXrender.so.1
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libdl.so.2
libgcc_s.so.1
libjpeg.so.62
libkdecore.so.4
libkdefx.so.4
libkdeprint.so.4
libkdesu.so.4
libkdeui.so.4
libkhtml.so.4
libkio.so.4
libkjava.so.1
libkparts.so.2
libkspell.so.4
libm.so.6
libpng12.so.0
libpthread.so.0
libqt-mt.so.3
libresolv.so.2
libstdc++.so.5
libstdc++.so.5(GLIBCPP_3.2)
libutil.so.1
libz.so.1

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+czhIn/07WoAb/SsRAqQjAJ9l1Y8aE9R7Kiyiz7FCX7EmXiG7iQCeIhh+
HRB4qfTkbgzmgChm7E8daZ0=
=hqX+
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Help! Mozilla 1.3 screws up arial.

2003-03-14 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 14 March 2003 08:31 pm, Daniel A. Chartrand wrote:
> I've solved my own problem.
>
> Anyone interested in upgrading their Mozilla to XFT enabled version 1.3
> with nice looking anti-aliased fonts can follow the instructions on
> this simple howto:
>
> http://www.trotch.com/redhat/mozilla/
>
> Like woah.

Or this one:
http://sourceforge.net/projects/font-tool/
which will install and make the fonts available via XFT.

OK, it's my project, I'm a little biased. ;)

Seriously though, the webFonts.sh script pointed to from the link above 
only adds the fonts to the font servers path. It does nothing about 
setting the fonts up using fontconfig/XFT

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cogFn/07WoAb/SsRAkwQAJ9VQ3j1d8x29LvorsB0ix9e7U81VACeOUsx
AiIwYaKT6KX9BG67ADOsMBI=
=QS2u
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Adobe acrobat reader and RH 8.0

2003-03-14 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 14 March 2003 12:05 pm, Peter N. Spotts wrote:
> Folks,
>
> I've recently installed Adobe Acrobat Reader 5.0.6 from Adobe's site
> and find that when I try to run it it fails to open, giving me an error
> measage, to wit:
>
> Warning:charset "UTF-8" not supported, using "ISO8859-1".
> Aborted
>
> Is this telling me that I don't have ISO... fonts on my machine, that
> Acriread just can't find them, or what? How can I fix this glitch?

As was already pointed out, 'LANG="C" acroread' should work.
You could also try the packages available here:
http://gurulabs.com/downloads.html

They seem to work well, including the acroread browser plugin.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cmqmn/07WoAb/SsRAtDkAJ9J1NLP6TuE2jL4odvNGNIw25pw5gCfcp0P
KwKQs0JGpPPRZhty7d4mcwI=
=SciI
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Starting pcmcia makes laptop lock up

2003-03-14 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 13 March 2003 11:54 pm, Michael Fratoni wrote:
> On Thursday 13 March 2003 07:20 pm, John Oliver wrote:
> > System is a Toshiba Satellite 2515CDS running Red Hat 8.0  NIC is a
> > Linksys PCMPC200  I installed pcmcia-cs-3.2.4  /etc/sysconfig/pcmcia
> > says:
> >
> > PCMCIA="yes"
> > PCIC="yenta_socket"
> > PCIC_OPTS="irq_list=10"

> > When I start the pcmcia service, the machine locks hard.  there is
> > nothing that can be done except to hit the power button.  The only
> > thing that gets logged is:
> >
> > Linux Kernel Card Services 3.1.22
> >
> > then the stuff from the next boot-up.

I just noticed this. You said you had installed pcmcia-cs-3.2.4, but the 
message above seems to indicate otherwise:
Linux Kernel Card Services 3.1.22

Did the stock kernel-pcmcia-cs packages not work for you?

How did you determine 
PCIC="yenta_socket"
Most of the info I've seen for Toshiba laptops seems to indicate 
PCIC=i82365 is correct.

I didn't find any info for your specific model, but others use i82365:

2520CDS
http://www.apsoftware.it/~cris/pcmcia.html

Most of the info available here:
http://newsletter.toshiba-tro.de/main/

Seems to indicate the same thing.


Hope that helps,

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cmHIn/07WoAb/SsRAvvMAKCAGoEK4DjyWbEiCa8lTVINU86nWQCeO0vQ
14PTfPMgd0fqsNfdDjR6PYo=
=qUrN
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Swapping drive designators

2003-03-13 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 13 March 2003 02:38 pm, John Oliver wrote:
> I'm installing on a system that ha two RAID arrays... a HighPoint IDE
> RAID that I want to be for the OS, and an Adaptec SCSI RAID.  Disk
> Druid is seeing the SCSI RAID as /dev/sda and the IDE RAID as /dev/sdb
> Getting past that part, my next option is to install the boot loader on
> the MBR of /dev/sda or on /dev/sdb1  How can I get the IDE RAID seen as
> /dev/sda?

You might have a look at 'info grub' or 'man lilo.conf'
Swapping disks is handled differently by each.

In lilo, something lile:
 disk=/dev/sda
 bios=0x80
 disk=/dev/hda
 bios=0x81

In grub:
map (hd0) (hd1)
map (hd1) (hd0)

I haven't actually done it either way, so please read the docs and decide 
for yourself. ;)

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cWhan/07WoAb/SsRAvh5AJ4uIKDKugwi9P6yrW4LKqHHXrYjzgCgov5/
uVth40I7A8wVxdVCkDP9QsE=
=qj38
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Starting pcmcia makes laptop lock up

2003-03-13 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 13 March 2003 07:20 pm, John Oliver wrote:
> System is a Toshiba Satellite 2515CDS running Red Hat 8.0  NIC is a
> Linksys PCMPC200  I installed pcmcia-cs-3.2.4  /etc/sysconfig/pcmcia
> says:
>
> PCMCIA="yes"
> PCIC="yenta_socket"
> PCIC_OPTS="irq_list=10"

How was this file generated? Manually, by kudzu, at install time?

> When I start the pcmcia service, the machine locks hard.  there is
> nothing that can be done except to hit the power button.  The only
> thing that gets logged is:
>
> Linux Kernel Card Services 3.1.22
>
> then the stuff from the next boot-up.

I'm using the pcmcia-cs tools and modules included in Red Hat 8.0 on an 
older Toshiba Satellite Pro 420 CDS with a Xircom NIC, and it works fine. 
Keep in mind I know little about PCMCIA, but here is my config file:
$ cat /etc/sysconfig/pcmcia
PCMCIA=yes
PCIC=i82365
PCIC_OPTS=do_scan=0
CORE_OPTS=
CARDMGR_OPTS=-f

$ rpm -q kernel-pcmcia-cs
kernel-pcmcia-cs-3.1.31-9

$ cat /proc/bus/pccard/00/info
type: Intel i82365sl B step
psock:0

I'm not sure if the /proc entry exists before the pcmcia service is 
started, so that may or may not be useful.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cWByn/07WoAb/SsRAqWWAJ0YIT4v3CRzpCnf3iPNZkt+gEv3igCfQrWy
O/hBJyCmSBqSmsl2tO4DB04=
=/P82
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Realplay - no sound with RH8

2003-03-13 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 13 March 2003 08:09 pm, Bill Johnson wrote:
> Just installed RealPlayer.  When I launch it, I get an error that says
> it can't access the sound device... another application must be using
> it.  I'm uncertain how to track down what application might be using
> the sound... none that I'm aware of.  Anybody else experience anything
> like this with Realplay on RH8?  Any suggestions?
>
> My config -
> Dell Inspiron 2650 laptop, Celeron 1.6, 512MG, 30GB.  I'm running KDE
> (the Bluecurve incarnation of it, anyway).
>
> Thanks in advance for the help.

This may be due to the aRts sound server having /dev/dsp locked.
(KDE expects apps to use the sound server, but many non KDE apps don't do 
so.)
There is a configuration option for telling KDE how long to wait before 
suspending the sound server. In Control Center -> sound -> sound server
look for "auto suspend if idle" and try lowering the value.

Or, you might try forcing Real Player to use KDE's aRts sound server.
- From a console window, '/usr/bin/artsdsp realplay', I believe should do 
it. If I recall correctly, this worked in the past for me.
artsdsp is a shell script that attempts to hijack calls to /dev/dsp and 
reroute them through aRts.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+cVzPn/07WoAb/SsRAgoaAJ99cDiJqcnRR5S60Tt+FIpuCErEmACfQFXj
7utQQgPts/84kPhFFIPKlMU=
=SwRw
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Installing a custom kernel and ext3

2003-03-10 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 10 March 2003 10:58 am, Michael Schwendt wrote:

>
> > p.s.  of course, i could always just "RTFM".  right, michael? :-P
>
> Do we need you for anything, Mr.Day? *lol*

No, _we_ decided we didn't need him for anything. Didn't we? 

Hey I stayed out of the flame fest, I had to make some sort of comment...

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+bUcTn/07WoAb/SsRAk1/AJ0YHgTgybBXEKMZ569wOFc7hOfXSwCfWXyB
0P0hziSDbWm82NZaY7SA1KU=
=4ZrS
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 07:18 pm, KC wrote:
> there is no directory there though..
>
> when I "ls /usr/src"
> the 2.4. is in green

It would really help if you pasted the output of the commands into your 
reply. Seeing the output of 'ls -l /usr/src/' would be helpful.

I've no idea what happened. Something related to the commands you 
mistakenly ran earlier, I'd guess.

Perhaps it's easier to reinstall the package at this point.
Try this: (assuming you still have the kernel-source package.)
rpm -e kernel-source
rpm -ivh /var/spool/up2date/kernel-source*.rpm

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+aqUun/07WoAb/SsRAkFqAJ0bxeHH8gnwg7HfZLQ9mh4pH5s3pwCgj7yG
YqwSUlNQQsqxNpStqAKqps8=
=b7OU
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: RPM database gone.

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 11:30 am, Bret Hughes wrote:
> On Sat, 2003-03-08 at 04:38, Michael Fratoni wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > On Friday 07 March 2003 11:51 pm, Bret Hughes wrote:
> > >  On Fri, 2003-03-07 at 22:00, Michael Fratoni wrote:
> > > > > That being said I would like to see your script.  ANy chance I
> > > > > can talk you into undoing this abuse of mime types?
> > > >
> > > > Should be fixed. I don't remember adding that to /etc/mime.types,
> > > > but I may have at some point.
> > >
> > > Still happening here.
> >
> > Browser cache? Happened here a couple of times too.
>
> Yup. Mozilla now sees it.   How do you clear the cache in Galeon?  Any
> one know?

Glad it worked. I wrote that script quite a while ago. This topic got me 
moving, and I've finally cleaned it up some. ;) In addition to what 
should result in a cleaner and faster search, the script now writes a 
file containing the names of any packages not found. (Also removed a lot 
of rubbish from the screen while it's running.)

http://www.tuxfan.homeip.net:8080/hacks/recover_rpm_db.sh

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+anvhn/07WoAb/SsRAlduAJ9kLYLd/FEVPZjsDsx/Cub39eWh9QCgniyQ
6I6UMOMs47rwcUO7xwskq0Y=
=tI8M
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 05:17 pm, KC wrote:
> Thanks alot :) it is installed (it just gave me kernel-source back so I
> assume it is)..
> but where is the source directory now, which is what i needed in the
> first place.
> and yes the symlink appears correct.

try this:
ls /usr/src/linux-2.4

which should be a symlink to the actual files in 
/usr/src/linux-2.4.18-26.8.0

(depending on the kernel version of course.) I have 
$ rpm -q kernel-source
kernel-source-2.4.18-26.8.0

For your purposes, setting the directory to /usr/src/linux-2.4 should do 
the trick.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+anp9n/07WoAb/SsRAnKUAJ9C3XnRYTJPrBEnZF64MX2/RWQtUgCeI7eO
YlHlYN359v9tbA2Kjop6vMQ=
=/N2j
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 10:46 am, KC wrote:
> Yes, there are, the wavelan and pcmcia drivers (i was told) aren't
> supported by Turbocell protocoll which is what I need to have.

Good enough for me, just wanted to make sure you actually needed to 
recompile.

> I read what you said and some of my own and I now see, what a symlink
> is and what I was supposed to get with the ls command. The kernel, is
> not installed I can tell you that much, but in /lib/modules its a
> directory not the actual rpm package, where are RPMs stored (i
> downloaded it with RHN if that makes a difference)? 

If you used RHN to download the package, unless you've changed things, I 
believe it also installs the packages, no? I've configured mine for 
download only, but I seem to recall that download, install, and remove 
the .rpm file is the default.

up2date downloads packages to /var/spool/up2date/

You can check to see if it is installed with 
rpm -q kernel-source

If it isn't installed and the rpm file is in 
/var/spool/up2date/kernel-source...
You can install it with 
rpm -Uvh /var/spool/up2date/kernel-source*.rpm

For now, forget the /lib/modules/$(uname -r)/build symlink, it's not 
important. Just verify that it still exists and points at 
/usr/src/linux-2.4(some-version). To do so, let's see the output of 
ls -l /lib/modules/$(uname -r)/build

Make sure you read the docs for the pcmcia package. By default, it will 
decline to build new modules, as you already have the modules installed. 
You'll need to do a bit of work to make it build the modules and the 
userspace tools.


- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+al1En/07WoAb/SsRAldGAJ9N2sIL9P/IW19BW+GAU7RnJdFTcQCgnSMG
xoeurm4wtb0fEvDXahgDPJA=
=pDVj
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Invalid GPG Signature

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 06:43 am, Chris wrote:
[..]
> 
> The package kernel-2.4.18-26.8.0 does not have a valid GPG signature.
> It has been tampered with or corrupted.  Continue?
> 
>
> I can continue to get and install all updates except for this file w/o
> problems (including the source for this kernel).  A google search left
> me empty handed.  If I ignore the error, up2date believes I have
> received the entire file (problem begins about 4.2 meg into the
> download).  Can someone tell me what dumb thing I'm missing here??
> Obviously there's not a corrupt rpm sitting on the redhat server and
> I'm the only guy in the world that's hitting it every single time...

Perhaps up2date sees the existing (corrupt) kernel package in 
/var/spool/up2date/kernel-something.rpm, and doesn't download the package 
again. Try removing the offending package, and let up2date fetch another 
copy.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+afvTn/07WoAb/SsRAtvqAJ9dCUOGKzP5k9klUUxppawxDoveugCgi3ny
Ggp4W0ZOtNzqo7yrc+Xyv5c=
=4pj+
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 01:33 am, Rodolfo J. Paiz wrote:
> On Fri, 2003-03-07 at 20:51, KC wrote:
> > > what is the linux source directory in 8.0?
> > >
> > > I'm trying to install wavelan and pcmcia drivers - but it needs to
> > > know where the red hat src directory is..

Is there something wrong with the wavelan and pcmcia drivers that are 
already installed as part of the kernel package?

$ locate wavelan
/lib/modules/2.4.18-24.8.0/kernel/drivers/net/wavelan.o

See also:
/lib/modules/2.4.18-24.8.0/pcmcia/

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+adDrn/07WoAb/SsRAtODAJ9/yDvKoeFpzh8kX7rSJLtlqfM0VgCgsdLy
LIJOzAarO4QYaYm/MnXVWzU=
=sPdE
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 02:10 am, KC wrote:
> ok yes, how do i install the kernel?

Kernel-source, not kernel. Please make sure you have the right file.

If you have the kernel-source package that matches your running kernel, 
install it using rom.
rpm -Uvh kernel-source*.rpm
should do it.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+ac7Cn/07WoAb/SsRAqqYAJ9tMI9LgZTbsishtj8RatGXsatXWACcCgk5
Lb5C+SjfeE8z1BAJPob3NVE=
=J1HS
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 08 March 2003 12:13 am, KC wrote:
> ok one more thing, I went to /usr/src and there is something called
> linux-2.4.18-24.8.0
> but its not a directory, when I "ls" its greem colored, what is it?

Probably the result of the earlier commands you ran. Have you installed 
the kernel-source package yet? 

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+ac4Xn/07WoAb/SsRAnfkAJ9KZLhi2BaUnZLnogJ1LHehFx7WMgCePSzY
2WZbldicgO+PZfkJg3HHxwg=
=7YVU
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


Re: Linux Source directory

2003-03-08 Thread Michael Fratoni
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Friday 07 March 2003 11:57 pm, KC wrote:
> alright I typed this exactly (after I chmoded build to 755):
> /lib/modules/2.4.18-24.8.0/build ->
> ../../../usr/src/linux-2.4.18-24.8.0 and I got "Text File Busy"
>
> whats this mean?

It means you have some reading to do I'm afraid. ;)

The symlink was created for you, there is no reason to chmod anything.
> /lib/modules/2.4.18-24.8.0/build ->
> ../../../usr/src/linux-2.4.18-24.8.0
is the output of a command, not something you should input.

You should have installed the kernel-source rpm package with 
'rpm -Uvh kernel-source*.rpm'
Which would install the kernel-source package in 
/usr/src/linux-2.4(version). The symlink /lib/modules/$(uname -r)/build 
would have then pointed at your newly created /usr/src/linux-2.4(version) 
directory.

What is the output of 
ls -l /lib/modules/$(uname -r)/build

and 

ls /usr/src

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+acynn/07WoAb/SsRAsA8AKCntVew5GqI/3uRZJ5zT0NaBmUwbACcDoix
PtrJ2TJykU9+iLjAHjFpv7k=
=Y4z4
-END PGP SIGNATURE-



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list


  1   2   3   4   5   6   >