Linux-Misc Digest #793, Volume #26 Fri, 12 Jan 01 19:13:02 EST
Contents:
Re: need more /usr (David)
PostScript quality? (MH)
Re: StarOffice Question ("David A. Gershman")
How do you use "checksum"? (MH)
Re: Linux IDE RAID Cards ("Steve Wolfe")
Re: Any Linux lover want to defend this? ("Steve Wolfe")
Re: Linux IDE RAID Cards (Chris Lopeman)
Re: How do you use "checksum"? ("David A. Gershman")
Re: Warning : Win2000 defragments not as linux communauty will expect. (MH)
Re: Backup software for Linux? ("David A. Gershman")
Re: updating with rpm(s) (mike)
Re: How do you use "checksum"? (MH)
Re: starting xterm with environment set (Bit Twister)
Re: What am I missing? (Bit Twister)
cron setup ("Darren Welson")
Re: Help - Serial v USB modem? (Jonathan Buzzard)
How to tell HW problem from SW problem? (Jean-David Beyer)
Re: Sound problems with kernel 2.4.0 (Frank. N. Puppenstein)
Re: cron setup (Jean-David Beyer)
Re: rpm database in db3 format? (Robert Lynch)
----------------------------------------------------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: need more /usr
Date: Fri, 12 Jan 2001 16:09:57 -0600
Darren Welson wrote:
>
> I need to expand my /usr directory a little and want to take some space from
> an adjoining partition. Does Linux offer a re-partitioning tool, or will I
> need to destroy my existing partitions for the larger one? I was going to
> make a .tar backup of /usr and repartition then recopy back the data. Is
> there a better way?
Do a search on http://www.google.com/linux/ for "parted".
--
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter. http://counter.li.org
ID # 123538
Completed more W/U's than 99.000% of seti users. +/- 0.01%
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: PostScript quality?
Date: Fri, 12 Jan 2001 14:37:50 -0800
I recently got AbiWord working on RH 7.0 after someone informed me that the
reason it was crashing upon loading was because RH didn't load "type1"
fonts by default. I edited a config file to load these as directed and
that solved my problem As I understand it, "type1" fonts are PostScript
fonts. My question is this:
I thought PostScript fonts were supposed to be superior to other fonts in
both display and printing quality (this is why Apple uses them?), yet they
look terrible under X. Why?
------------------------------
From: "David A. Gershman" <[EMAIL PROTECTED]>
Subject: Re: StarOffice Question
Date: Fri, 12 Jan 2001 14:55:02 -0800
There are a few places you need to check out, unfortunately, it's not an
easy task. The obvious was the autostart. If you don't see the icon on
your directory, I wouldn't stop there. Be complete and look for an
'Autostart' directory somewhere in your home directory tree, probably
under 'Desktop' or '.kde'.
Next, check any startup scripts you have. Particulary '.xsession',
'.xinitrc', or '.login'. '.login' shouldn't contain any GUI stuff, but
who knows. If you don't find a line in them launching StarOffice, you
may want to look in the system wide files to see if the administrator
stuck 'em there for some reason. Ask you're adminstrator where the
files are so you can view them.
David
Cubic Meter wrote:
>
> Christopher W. Aiken wrote:
>
> > On Fri, 12 Jan 2001 12:59:13 -0500, Cubic Meter wrote:
> > ->Hello, I was wondering how to keep StarOffice from starting up when I
> > log ->my account in? I mean, it is damned annoying to have it pop up when
> > I don't ->need it. Thanks.
> > ->
> > ->Cubic Meter
> > ->
> >
> > Are you using KDE desktop? I havent used it in a long time
> > but If I remember correctly there is a desktop Icon called
> > AutoStart (boy I wish my memory was better). Any apts you
> > put in that folder will be run when you login.
> >
>
> Yes, I'm using KDE, and no, there is no autostart icon.. Anything else you
> can think of?
>
> Cubic Meter
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: How do you use "checksum"?
Date: Fri, 12 Jan 2001 15:05:35 -0800
How do I use the MD5 "checksum" verification file to verify tar file
contents, RPMs, etc.?
------------------------------
From: "Steve Wolfe" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.advocacy
Subject: Re: Linux IDE RAID Cards
Date: Fri, 12 Jan 2001 15:56:35 -0700
> Can anyone recommend a good raid IDE controller for Linux. Preferably
> ATA 100. We have tried using the Promise controller with limited
> success. We probably want to run 2 controllers in the server (for more
> speed) with a total of 6 drives. 4 of the drives running raid 1+0 and
> the other 2 forming a separate mirror. The 2 in the mirror we also want
>
> to boot off of.
If you really need that much speed that you're going to go with two IDE
RAID controllers, you really might want to look into a SCSI RAID setup.
Having used SCSI RAID, I can say that it just makes you go "ooooooh" with
delight. It's definitely worth the extra money.
steve
------------------------------
From: "Steve Wolfe" <[EMAIL PROTECTED]>
Subject: Re: Any Linux lover want to defend this?
Date: Fri, 12 Jan 2001 15:59:46 -0700
> What ever version and whatever distribution, NETSCAPE will somehow crash
> when u are unexpected.
that's true on any platform.
steve
------------------------------
From: Chris Lopeman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.advocacy
Subject: Re: Linux IDE RAID Cards
Date: Fri, 12 Jan 2001 23:06:15 GMT
As I said. We already have started. We have the IDE drive. But thanks for
posting.
Steve Wolfe wrote:
> > Can anyone recommend a good raid IDE controller for Linux. Preferably
> > ATA 100. We have tried using the Promise controller with limited
> > success. We probably want to run 2 controllers in the server (for more
> > speed) with a total of 6 drives. 4 of the drives running raid 1+0 and
> > the other 2 forming a separate mirror. The 2 in the mirror we also want
> >
> > to boot off of.
>
> If you really need that much speed that you're going to go with two IDE
> RAID controllers, you really might want to look into a SCSI RAID setup.
> Having used SCSI RAID, I can say that it just makes you go "ooooooh" with
> delight. It's definitely worth the extra money.
>
> steve
------------------------------
From: "David A. Gershman" <[EMAIL PROTECTED]>
Subject: Re: How do you use "checksum"?
Date: Fri, 12 Jan 2001 15:03:51 -0800
The program is called 'md5sum'. Use the filename as an argument:
% md5sum filename
A string of HEX numbers are printed. Compare this number with one
provided by the location where the file was retrieved from. If legit,
it should match. Keep in mind though md5 does not deal with security of
the program, but rather the successfulness of the download, i.e. no
erroneous bytes.
David
MH wrote:
>
> How do I use the MD5 "checksum" verification file to verify tar file
> contents, RPMs, etc.?
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: Warning : Win2000 defragments not as linux communauty will expect.
Date: Fri, 12 Jan 2001 15:14:22 -0800
S.A. wrote:
> Hi,
>
> I have found a new problem, when installing linux on a new computer that
> was delivered with Windows 2000.
>
I wasn't sure Linux and Win2000 could coexist on the same HDD. Can you
point me to a relevant HOWTO or other instructions/gotchas?
------------------------------
From: "David A. Gershman" <[EMAIL PROTECTED]>
Subject: Re: Backup software for Linux?
Date: Fri, 12 Jan 2001 14:58:57 -0800
Dave Brown wrote:
>
> In article <[EMAIL PROTECTED]>, John Thompson wrote:
> >I'm with you there. Although CDR's are relatively inexpensive
> >they just don't hold enough data. Babysitting a backup to feed
> >it disks whenever it needs one reminds me too much of the days
> >when we had to backup HD's to floppy disks. As soon as I could
> >afford a tape drive I got one and never looked back.
> >
>
> Well, I don't have a multi-GB database to back up each night. It's hard
> to imagine not being able to do regular backups of a workstation to
> a CDR. (Hint: think "incremental").
Just a note, incremental is fine if the data files of the database are
individually small enough to fit on a CD. However, if you have 1 data
file over 650MB (housing multiple users, tables, etc), then a
modification of one piece of data in the database changes the whole
650MB file.
David
------------------------------
From: mike <[EMAIL PROTECTED]>
Subject: Re: updating with rpm(s)
Date: Fri, 12 Jan 2001 23:14:51 GMT
Hi,
my question refers to successive updates of a single
rpm program, not to upgrading lots of different types of rpms.
Let say Redhat had an update for lilo in January , then another
for lilo in February and another for lilo in March. Would just doing
the one March update be sufficient, or would I first have to do all
three, the January update rpm, then the February update rpm and
then the March update rpm?
Thanks
Mike
------------------------------
From: MH <[EMAIL PROTECTED]>
Subject: Re: How do you use "checksum"?
Date: Fri, 12 Jan 2001 15:18:57 -0800
David A. Gershman wrote:
> The program is called 'md5sum'. Use the filename as an argument:
>
> % md5sum filename
>
> A string of HEX numbers are printed. Compare this number with one
> provided by the location where the file was retrieved from. If legit,
> it should match. Keep in mind though md5 does not deal with security of
> the program, but rather the successfulness of the download, i.e. no
> erroneous bytes.
>
Gotta be the fastest NG reply EVER!! Thanks! I guess I misunderstood the
purpose of the "checksum". I thought it was to verify that the file hadn't
been tampered with. Why would anyone want to check for "erroneous" bytes,
as IP and the modem/router should be handling that, no?
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: starting xterm with environment set
Reply-To: [EMAIL PROTECTED]
Date: Fri, 12 Jan 2001 23:22:20 GMT
On 12 Jan 2001 18:31:08 GMT, Peter Bismuti <[EMAIL PROTECTED]> wrote:
>I have a script that opens a new xterm
>
>
> cd $PWD && xterm &
>
export junk=555
xterm &
echo $junk
555
works for me on Mandrake 7.1 and Solaris
Helps if you provide what distro and release level you are using
when you post questions to the news groups. Different distros
have different commands, files, and links to files.
------------------------------
From: [EMAIL PROTECTED] (Bit Twister)
Subject: Re: What am I missing?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 12 Jan 2001 23:27:36 GMT
On Fri, 12 Jan 2001 18:23:50 GMT, Noname <[EMAIL PROTECTED]> wrote:
>I think I tried to "locate head" and "locate cut", but couldn't find
>those files. Are they Linux files? I reinstalled Linux yesterday and
>had a problem with one of the files in the a series. It was called
>aaasomething.
Sounds like you need to run updatedb as root, to build the database.
locate head | grep bin
/usr/doc/gtkmm-devel-1.2.0/docs/gtk/headers/bin.h
/usr/bin/head
/usr/bin/autoheader
/usr/bin/HEAD
/usr/bin/rpm2header
locate cut | grep bin
/usr/X11R6/bin/xcutsel
/usr/bin/cut
/usr/bin/pnmcut
/usr/bin/xbmcut48
/usr/bin/cutbl
/usr/bin/pvfcut
/usr/lib/bx/help/4_Misc/bind/yank_from_cutbuffer
Since locate is case sensitive, I aliased locate as
alias locate='locate -i'
------------------------------
From: "Darren Welson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: cron setup
Date: Fri, 12 Jan 2001 15:18:50 -0800
I want to run a virus scanner once a night at midnight and run an update to
it once a week. I also have a security checker I want to run once a week as
well. The virus scanner I want run on Wednesday nights, but the security
checker I don't care when it runs. What is the most appropriate way to CRON
this? Should I enter these into my /etc/crontab or run them in cron.daily /
cron.weekly directories? Also, if I do the latter, how do I specify what
days of the week they run?
What might an entry in the /etc/crontab look like?
darren welson
Life is Good
People are Great
Business is Wonderful
------------------------------
From: [EMAIL PROTECTED] (Jonathan Buzzard)
Crossposted-To: comp.os.linux.hardware,uk.comp.os.linux
Subject: Re: Help - Serial v USB modem?
Date: Fri, 12 Jan 2001 23:16:59 +0000
In article <[EMAIL PROTECTED]>,
Tim Haynes <[EMAIL PROTECTED]> writes:
[SNIP]
>
> (A virtual UART at 460.8kbps? That's gotta help :)
>
> ~Tim
Put a virtual UART on a PCI or ISA modem and people start screeming
blue murder about WinModems.
JAB.
--
Jonathan A. Buzzard Email: [EMAIL PROTECTED]
Northumberland, United Kingdom. Tel: +44(0)1661-832195
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: How to tell HW problem from SW problem?
Date: Fri, 12 Jan 2001 18:37:41 -0500
My machine has started crashing every few days. This is an SMP machine,
but that probably has nothing to do with it, since it has worked very
well ever since I got it last February or March. It seems to crash when
I elect to dial-up my ISP. Here are the last few lines before it crashed
the last two times:
### messages just before previous crash
Jan 8 22:15:15 valinux ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
Jan 8 22:15:15 valinux kernel: CSLIP: code copyright 1989 Regents of
the University of California
Jan 8 22:15:15 valinux kernel: PPP: version 2.3.7 (demand dialling)
Jan 8 22:15:15 valinux kernel: PPP line discipline registered.
Jan 8 22:15:15 valinux kernel: registered device ppp0
Jan 8 22:15:15 valinux pppd[28631]: pppd 2.3.7 started by root, uid 0
Jan 8 22:15:42 valinux pppd[28631]: Serial connection established.
Jan 8 22:15:42 valinux pppd[28631]: Using interface ppp0
Jan 8 22:15:42 valinux pppd[28631]: Connect: ppp0 <--> /dev/modem
Jan 8 22:15:45 valinux kernel: PPP BSD Compression module registered
Jan 8 22:15:45 valinux kernel: PPP Deflate Compression module
registered
### messages just most recent crash
Jan 12 17:32:46 valinux ifup-ppp: pppd started for ppp0 on /dev/modem at
115200
Jan 12 17:32:46 valinux kernel: CSLIP: code copyright 1989 Regents of
the University of California
Jan 12 17:32:46 valinux kernel: PPP: version 2.3.7 (demand dialling)
Jan 12 17:32:46 valinux kernel: PPP line discipline registered.
Jan 12 17:32:46 valinux kernel: registered device ppp0
Jan 12 17:32:46 valinux pppd[25317]: pppd 2.3.7 started by root, uid 0
Jan 12 17:33:13 valinux pppd[25317]: Serial connection established.
Jan 12 17:33:13 valinux pppd[25317]: Using interface ppp0
Jan 12 17:33:13 valinux pppd[25317]: Connect: ppp0 <--> /dev/modem
Jan 12 17:33:16 valinux kernel: PPP BSD Compression module registered
Jan 12 17:33:16 valinux kernel: PPP Deflate Compression module
registered
Normally, the next two lines would be something like this:
Jan 12 17:48:08 valinux pppd[934]: local IP address 208.225.67.131
Jan 12 17:48:08 valinux pppd[934]: remote IP address 208.225.64.55 ,
where the remote IP address is dynamically assigned.
It by no means crashes everytime I dial up my ISP, but once or twice a
week is more like Windows 95 than what I am used to with Linux.
If it is a hardware problem, I guess I replace the (US Robotics - 3Com
56K V.90 internal fax-) modem. I am not aware of changing the kernel
recently. The only changes I made lately were to upgrade sendmail from
8.9.3 to 8.11.2, and I cannot imagine that had anything to do with it.
I run VA Linux systems kernel 2.2.14-VA.5.1smp; it is V.A.Linux Systems'
version of Red Hat Linux 6.0, but with lots of RPMs installed. There has
never been any Microsoft stuff loaded into this machine. This is a VA
Linux Systems StartX-MP machine.
My ppp stuff does not seem to have been changed since I upgraded to that
version of the kernel:
rpm -q ppp reveals:
ppp-2.3.7-2
and
rpm -Vf /usr/sbin/pppd reveals:
..?..... c /etc/ppp/chap-secrets
..?....T c /etc/ppp/pap-secrets
but I do not think they have anything to do with the problem. I could be
wrong.
Sep 13 00:29 /boot/vmlinuz-2.2.14-VA.5.1smp
Sep 13 00:29 /lib/modules/2.2.14-VA.5.1smp/net/ppp.o
Sep 13 00:29 /lib/modules/2.2.14-VA.5.1smp/net/ppp_deflate.o
Any suggestions where to look to see if hardware or software? I do not
have spare modems lying around to try or I would have already tried
that.
I have ordered a new CD-ROM from VA-Linux (with their version of Red Hat
Linux 6.2.3 on it) that I was going to use to upgrade, since there are
so darned many RPMs sitting around on this machine that I would have to
put in were I to restore from my 6.0 CD-ROM if it ever came to that.
While I may have been hacked, if they did so, they did a pretty good job
of it, since I see no evidence of it in my /var/log/messages or
/var/log/secure files. A really good hacker could have cleaned them up,
of course, and I do not know everything to look for, but they seem OK.
So when the CD-ROM arrives, I could just re-install everything and
restore /home and the newer versions of sendmail, mutt, IBM DB2 UDB (a
real bear to install), and whatever else I may have forgotten. I have
everything on daily DDS-2 tapes, but I would wish to use as little of
that as possible bacause who knows which one is the most recent good
one?
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 5:50pm up 13 min, 2 users, load average: 1.01, 0.61, 0.33
------------------------------
From: Frank. N. Puppenstein <[EMAIL PROTECTED]>
Subject: Re: Sound problems with kernel 2.4.0
Reply-To: [EMAIL PROTECTED]
Date: Fri, 12 Jan 2001 15:52:01 -0800
Perhaps try upgrading your kernel module utilities (modutils) ?
Ninewands wrote:
> I've upgraded my kernel to 2.4.0 and now I can't get my soundcard
> working.
>
> Here's the situation:
>
> Soundcard: Creative Soundblaster AWE64 Value
>
> Kernel configuration for sound:
>
> # Sound (From my saved config file, all snipped lines are commented
> out)
> #
> CONFIG_SOUND=m
> <snippage>
> CONFIG_SOUND_OSS=m
> CONFIG_SOUND_TRACEINIT=y
> CONFIG_SOUND_DMAP=y
> <more snippage>
> CONFIG_SOUND_SB=m
> CONFIG_SOUND_AWE32_SYNTH=m
> <snip the rest>
>
> Everything built okay. I generated the appropriate (I thought) lines
> for modules.conf using Red Hat's sndconfig program from the 6.0
> distribution after I found a way around the "couldn't find soundcore.o
> problem and fixed it.
>
> (For anybody who's searching Deja for a fix for this,
> cd /lib/modules/2.4.0
> ln -s ../kernel/drivers/sound misc
> )
>
> The appropriate lines from /etc/modules.conf read as follows:
>
> # load the sound modules
> alias sound sb
>
> alias char-major-14 sb # I tried this this line to see if it would
> help after pouring over the
> #
> /usr/src/linux-2.4.0/Documentation/sound docs
>
> pre-install sound insmod sound dmabuf=1
> options opl3 io=0x388
> alias midi awe_wave
> post-install awe_wave /bin/sfxload /etc/midi/GU11-ROM.SF2
> options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
>
> and the "options sb ... " line is correct, according to "pnpdump
> --dumpregs".
>
> Now for the symptoms:
>
> Every time I try to play a .wav file, two errors show up in
> /var/log/messages. They are:
>
> modprobe: Can't locate module sound-slot-0
> modprobe: Can't locate module sound-service-0-3
>
> I feel reasonably sure that I could fix this with an alias in
> /etc/modules.conf, but I can't seem to find any clarification in any of
> the sound docs, which, incidentally, don't seem to have been updated
> since kernel 2.1 development.
>
> Any help anyone can give with this will be greatly appreciated.
>
> Regards,
>
> ninewands
>
>
--
"Poof. You're a puppeteer."
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: cron setup
Date: Fri, 12 Jan 2001 18:56:19 -0500
Darren Welson wrote:
>
> I want to run a virus scanner once a night at midnight and run an update to
> it once a week. I also have a security checker I want to run once a week as
> well. The virus scanner I want run on Wednesday nights, but the security
> checker I don't care when it runs. What is the most appropriate way to CRON
> this? Should I enter these into my /etc/crontab or run them in cron.daily /
> cron.weekly directories? Also, if I do the latter, how do I specify what
> days of the week they run?
>
> What might an entry in the /etc/crontab look like?
>
man 5 crontab
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:50pm up 1:13, 2 users, load average: 2.25, 2.16, 2.02
------------------------------
From: Robert Lynch <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup
Subject: Re: rpm database in db3 format?
Date: Sat, 13 Jan 2001 00:02:59 GMT
Peter Bismuti wrote:
>
> I'm getting this message:
>
> cannot open Packages index using db3 - Permission denied (13)
>
> --> The rpm database cannot be opened in db3 format.
> If you have just upgraded the rpm package you need to convert
> your database to db3 format by running "rpm --rebuilddb" as root.
>
> error: cannot open Packages database in /var/lib/rpm
>
> I have run "rpm --rebuilddb" and it does not solve the problem. Can anyone
> explain what is going on and how to fix it??
>
> Thanks!
I ran into this once (I think!) I decided it was due to having
SOME, but not ALL the right db3 packages installed. My system is
OK with:
$ rpm -qa |grep db3
db3-3.1.14-6
db3-utils-3.1.14-6
db3-devel-3.1.14-6
HTH. Bob L.
--
Robert Lynch-Berkeley CA [EMAIL PROTECTED]
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************