Linux-Misc Digest #371, Volume #27 Fri, 16 Mar 01 04:13:04 EST
Contents:
Re: Lilo w/ Win98 and RH7, adding Win2k ("green")
Re: compile error - gcc (Nick Traxler)
Re: SOS No modem com4??? (Glitch)
Re: PPP dialer that handles dynamic one-time passwords? (John Hasler)
Re: accessing Linux KDE from Win98 ? (Dowe Keller)
GUI front end for cdrecord/cdparanoia? (Grant Edwards)
Re: error message (Glitch)
Re: Problem with persistant pop3 connections (David Efflandt)
use crontab -e to shutdown computer (niketan sharma)
Re: how to make a script output required syntax? (Raj Rijhwani)
Re: use crontab -e to shutdown computer (David)
Re: Lilo w/ Win98 and RH7, adding Win2k ("Eric")
Im trying to upgrade some RPMS and i get errors plz help! ("James Rossell")
I messed up my computer :( (hangs on "starting sendmail") (David Wake)
Re: GUI front end for cdrecord/cdparanoia? (Michael Heiming)
Cyrus IMAP ("Christoph Berger")
Re: making a partition on an existing disk ("Eric")
Re: making a partition on an existing disk ("Siddharth Vajirkar")
Are mount, unmount, shutdown, sync standalone utilities ("Siddharth Vajirkar")
registering libraries in linux ("Siddharth Vajirkar")
Re: GUI front end for cdrecord/cdparanoia? ("Robert")
----------------------------------------------------------------------------
From: "green" <[EMAIL PROTECTED]>
Subject: Re: Lilo w/ Win98 and RH7, adding Win2k
Date: Fri, 16 Mar 2001 15:22:27 +1000
> I have Windows98 and RedHat7 dual booting ok now. I'm going to reinstall
> 98, and eventually would like to add Win2k.
>
> How do I put lilo back on the MBR after reinstalling 98? Just boot w/ a
> linux boot disk and then /sbin/lilo?
Have a red hat emergancy boot disk ready,
when it loads with your root partition as root run lilo.
I went 98 --> dual boot linux --> installed w2k with w98 on sam partition
(the worked fine together till i scraped 98)
>
> From everything I've read, I guess it would've been better to go 98,Win2k,
> then linux, but I didn't have Win2k yet. So, how's this work now? Will
> lilo let me pick 98, Win2k, or linux if I edit lilo.conf to add
> other = /dev/hdxx
> label = win2k ?
> Or is it much more complicated, something to do with Win2k's boot loader?
no let w2k's boot loader handel w2k & 98 it's self.
keep it simple use lilo as the initial loader.
if you put w2k on the 98 partition then the existing other entry that loaded
98 would be fine.
if it has it's own partition you should add another entry.
WHAT EVER HAPPENS MAKE SURE YOU HAVE SOME WAY TO LOAD LINUX
WITH OUT LILO IN MBR OF HARD DISK.
puff, puff :)
because windows what ever replaces the mbr of the hard drive.
you could put lilo as I now have in the linux partition.
this means I can use other boot managers to control what loads what.
and os specific can load the os it was designed for.
> Should lilo boot 98, Win2k, or linux? Or linux or Win2k's boot loader,
> then 98 or Win2k? Or is Win2k's boot loader supposed to be first.
>
> Help...
> Go easy on this near-newbie, please.
>
> Thanks!
>
>
> --
> Posted via CNET Help.com
> http://www.help.com/
------------------------------
From: Nick Traxler <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: compile error - gcc
Date: Fri, 16 Mar 2001 00:14:22 -0500
This was what fixed it. I just patched in that
diff file and it compiled. Now I have to make
util-linux and e2fsprogs, and I'll (finally)
be able to build the 2.4 kernel.
Thanks for all the replies!
Nick
Frank Neurath wrote:
> gcc-2.95.2 does not compile with glibc-2.2.2 !
>
> You have to patch gcc. Check: http://www.gnu.org/software/gcc/bugs.html
>
> Frank
------------------------------
Date: Fri, 16 Mar 2001 00:40:45 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: SOS No modem com4???
Albert Schwartz wrote:
> My modem is set on com4. Comp. is Pent111, Win98 + Linux Caldero
> USR Sportster, 56k (no Winmodem).
> Installed Caldero couple days ago. Had Mandrake 7.1 before.
> Linux will not find Modem. Msg, Modem busy, or sorry cannot open.
> I have tried KDE, dev/modem, and tty 0 to 3. No good.on any. Tho I
> think the setting for com 4 should be tty3.
>
> Win98 works fine, linux also works fine except for modem.
> Used OS\2 but want to change to Linux.
> I need to keep com port 4. Others in use.
> Linux finds modem on a Pent1 with the same modem, but com port 2 is
> used.
> What do I need to get Linux to recognize Com4???
>
> Help much appreciated.
> It took me 84 years to get this dumb.
>
> Albert, Wa3fib.
are u using tty3? You should be using ttyS3, note the capital "S".
ln -s /dev/modem /dev/ttyS3
will link 'modem' to ttyS3
try that.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: PPP dialer that handles dynamic one-time passwords?
Date: Fri, 16 Mar 2001 04:17:07 GMT
cbbrowne writes:
> The next step is to support stuff like the "Axent Defender."
Is this in widespread use? If so I'll see about adding support for it to
pppconfig.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: [EMAIL PROTECTED] (Dowe Keller)
Crossposted-To: comp.os.linux.questions,comp.os.linux.networking
Subject: Re: accessing Linux KDE from Win98 ?
Date: 15 Mar 2001 21:58:03 -0800
John Gill <[EMAIL PROTECTED]> wrote:
>I remember seeing some software program -- VML ?? that allowed a networked
>Windows client to access a virtual KDE desktop on a Linux server.
>
>I am wondering a) what is this software, and where can I find it, and b) can
>a text based Linux server provide this support, or must the KDE desktop be
>resident on Linux ?
It might not be what your thinking of, but this sounds like an NT
implementation of an X-Windows server.
X would allow your desktop machine (In this case the NT box) to run
X-clients (including the wm such as kde) on a server machine (In your case
a Linux box), and the server would not have to have an X server running on it,
Just the clients.
If you are confused by my use of the words server and client, join the club.
I get mixed up whenever thinking about X's screwy ideas about which is the
server, and which is the client.
--
[EMAIL PROTECTED] http://www.sierratel.com/dowe
---
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmod 600 their files.
- Book of Installation chapt 3 sec 7
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: GUI front end for cdrecord/cdparanoia?
Date: Fri, 16 Mar 2001 05:58:37 GMT
I'm looking for a GUI frontend for cdrecord/cdparanoia. I used to have a
GUI front end that allowed copying an audio cd in a single operation (either
on-the-fly or disk-buffered).
I thought it was xcdroast, but I just installed the newest version, and it
won't do on-the-fly audio or even CD->disk->CD as a single operation.
I've searched around for other GUIs and can't find the one I remember using
about a year ago. Any suggestions?
--
Grant Edwards grante Yow! -- In 1962, you could
at buy a pair of SHARKSKIN
visi.com SLACKS, with a "Continental
Belt," for $10.99!!
------------------------------
Date: Fri, 16 Mar 2001 01:32:38 -0500
From: Glitch <[EMAIL PROTECTED]>
Subject: Re: error message
Wong Ching Kuen Frederick wrote:
> i have this in my /var/log/message, does thie mean that i have bad sector?!
> what should i do?
>
> Mar 15 23:57:12 ns kernel: end_request: I/O error, dev 03:02 (hda), sector
> 3414712
> Mar 15 23:57:12 ns kernel: hda: read_intr: status=0x59 { DriveReady
> SeekComplete DataRequest Error }
> Mar 15 23:57:12 ns kernel: hda: read_intr: error=0x40 {
> UncorrectableError }, LBAsect=3462907, sector=3414712
in my experience that's what the message means.
run e2fsck on the partition, while its unmounted, and check for errors
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Problem with persistant pop3 connections
Date: Fri, 16 Mar 2001 06:27:17 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]
On 16 Mar 2001 01:07:22 GMT, JB <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I'm running a mail server with slack 7.0, but updated with 2.4.1
>kernel. I encountered a problem yesterday that I haven't seen before. I
>had two separate machines connect via in.pop3d, and they never
>disconnected ('netstat' and 'ps' showed me this), nor did the mail
>clients actually download any mail.
>
>These clients were both Outlook 2000, according to our Windows guy. Our
>Win guy returned to the clients, clicked "send/receive" and everything
>worked like normal again. I maintain that there was nothing wrong with
>my server, and that it was a client issue. Has anyone experienced
>anything like this before?
Certain Outlook versions have been known to not use proper protocols, and
exit uncleanly leaving stale lock files. Did netstat -a show CONNECTED or
TIME_WAIT for those hung(?) connections? Did anything in the logs give a
clue /var/log/messages or other log having to do with auth or security.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://cgi-help.virtualave.net/ http://hammer.prohosting.com/~cgi-wiz/
------------------------------
From: niketan sharma <[EMAIL PROTECTED]>
Subject: use crontab -e to shutdown computer
Date: Fri, 16 Mar 2001 06:30:09 -0000
how i can use (shutdown -y -g0) command to shutdown my computer every day
at 8:30 p.m.
i tried
30 20 * * * shutdown -y -g0
i do'nt know but it did'nt worked
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Raj Rijhwani)
Subject: Re: how to make a script output required syntax?
Date: Fri, 16 Mar 2001 01:26:12 GMT
Reply-To: [EMAIL PROTECTED]
In article <[EMAIL PROTECTED]>
[EMAIL PROTECTED] "T Sutherland" writes:
> I am writing a simple script that requires the user to string the names
> of two files after it on the command line:
> #script [filename1] [filename2]
> How can I get it to test if the user just typed
> #script
> and then output the preferred syntax (an echo command I type, obviously)?
> I've tried
> if [ $1 == "" ]
> then
> echo "Syntax: script [filename1] [filename2]"
> exit
> fi
> but all I get is
> ./script: [: ==: unary operator expected
I'm forever making this mistake. When it comes time to substitute the
positional variable, if $1 is empty, the test line (in your script)
resolves to
if [ == "" ]
which clearly is syntactically incorrect.
You need
if [ "$1" == "" ]
which then resolves to
if [ "" == "" ]
However, for a quick and easy test omit the == "".
[ "$1" ]
will test for the assignment of a non-null value
if [ "$1" ]; then
do_the_script
else
show_the_usage
fi
--
Raj Rijhwani (umtsb5/16) | This is the voice of the Mysterons...
[EMAIL PROTECTED] | ... We know that you can hear us Earthmen
http://www.rijhwani.org/raj/ | "Lieutenant Green: Launch all Angels!"
------------------------------
From: David <[EMAIL PROTECTED]>
Subject: Re: use crontab -e to shutdown computer
Date: Fri, 16 Mar 2001 07:43:12 GMT
niketan sharma wrote:
>
> how i can use (shutdown -y -g0) command to shutdown my computer every day
> at 8:30 p.m.
> i tried
> 30 20 * * * shutdown -y -g0
> i do'nt know but it did'nt worked
Try using the /path/to/shutdown -y -g0
--
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.114% of seti users. +/- 0.01%
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: Lilo w/ Win98 and RH7, adding Win2k
Date: Fri, 16 Mar 2001 09:05:55 +0100
> I have Windows98 and RedHat7 dual booting ok now. I'm going to reinstall
> 98, and eventually would like to add Win2k.
make a bootfloppy
> How do I put lilo back on the MBR after reinstalling 98? Just boot w/ a
> linux boot disk and then /sbin/lilo?
Yes. If windows respects the partitiontable.
Back-up any important data, just in case...
> From everything I've read, I guess it would've been better to go 98,Win2k,
> then linux, but I didn't have Win2k yet. So, how's this work now?
It would have been easier.
But it isn't impossible to install in a different order.
Do you want all OS's on one HDD?
If you use more than one HDD, things may get a bit different.
> Will lilo let me pick 98, Win2k, or linux if I edit lilo.conf to add
> other = /dev/hdxx
> label = win2k ?
> Or is it much more complicated, something to do with Win2k's boot loader?
No, it will probably be as simple as this.
But make a copy of the MBR before you run /sbin/lilo again.
So install NT, boot to linux, with a bootfloppy and backup the MBR
(dd if=/dev/hda of=/boot/hda_MBR_ntldr.img count=1)
If something fails, and lilo cannot boot the other OS's, just put the old
MBR back (dd if=/boot/hda_MBR_ntldr.img of=/dev/hda count=1)
> Should lilo boot 98, Win2k, or linux? Or linux or Win2k's boot loader,
> then 98 or Win2k? Or is Win2k's boot loader supposed to be first.
Let lilo live in the MBR and chain it to the NTloader.
Eric
------------------------------
From: "James Rossell" <[EMAIL PROTECTED]>
Subject: Im trying to upgrade some RPMS and i get errors plz help!
Date: Fri, 16 Mar 2001 08:28:44 -0000
Hi im trying to upgrade all my installed packages to the latest version and
i get unstaisified dependicies. The problem is that I cant find these files
to fix the problems.
Upgrading rpms:
Failed to upgrade: fetchmail-5.5.0-2.6.i386.rpm imap-2000-2.6.i386.rpm
imap-deve
l-2000-2.6.i386.rpm mutt-1.2.5i-8.6.i386.rpm pine-4.30-1.62.i386.rpm
python-1.5.
2-27.6.x.i386.rpm slrn-0.9.6.4-0.6.i386.rpm up2date-2.1.7-0.6.x.i386.rpm
Tried to add: python-xmlrpc-1.2.1-0.6.x.i386.rpm
rhn_register-1.0.2-0.6.x.noarch
.rpm
Requirements: smtpdaemon libcrypto.so.0 libssl.so.0 liblber.so.1
libldap.so.1
RPM Output:
error: failed dependencies:
smtpdaemon is needed by fetchmail-5.5.0-2.6
libcrypto.so.0 is needed by fetchmail-5.5.0-2.6
libssl.so.0 is needed by fetchmail-5.5.0-2.6
libcrypto.so.0 is needed by imap-2000-2.6
libssl.so.0 is needed by imap-2000-2.6
smtpdaemon is needed by mutt-1.2.5i-8.6
libcrypto.so.0 is needed by mutt-1.2.5i-8.6
libssl.so.0 is needed by mutt-1.2.5i-8.6
libcrypto.so.0 is needed by pine-4.30-1.62
liblber.so.1 is needed by pine-4.30-1.62
libldap.so.1 is needed by pine-4.30-1.62
libssl.so.0 is needed by pine-4.30-1.62
libcrypto.so.0 is needed by python-1.5.2-27.6.x
libssl.so.0 is needed by python-1.5.2-27.6.x
libcrypto.so.0 is needed by slrn-0.9.6.4-0.6
libssl.so.0 is needed by slrn-0.9.6.4-0.6
Where can i optain all the Lib*.so files?
Any help would be very help Full!
thx in advance
James
=====
------------------------------
From: David Wake <[EMAIL PROTECTED]>
Subject: I messed up my computer :( (hangs on "starting sendmail")
Date: 16 Mar 2001 00:31:07 -0800
I have a laptop Pentium II running RedHat 7.0 -- runs great. Then
just now I was trying to reconfigure my ethernet connection. Now the
system hangs on startup at the "starting sendmail". I've a feeling it
is b/c I told eth0 to use bootp (just as a test) and now it's looking
for its own hostname.
Anyway, the fact that my networking's messed up doesn't bother me that
much: I just want to be able to start my computer. I thought that
there would be some hotkey combination to get me into a shell during
boot so that I could get rid of the offending network entry, but I
can't find it. Anyway -- any solutions? WIll sendmail time out if I
leave it long enough?
Thanks
David
------------------------------
Date: Fri, 16 Mar 2001 09:43:12 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: GUI front end for cdrecord/cdparanoia?
Grant Edwards wrote:
>
> I'm looking for a GUI frontend for cdrecord/cdparanoia. I used to have a
> GUI front end that allowed copying an audio cd in a single operation (either
> on-the-fly or disk-buffered).
>
> I thought it was xcdroast, but I just installed the newest version, and it
> won't do on-the-fly audio or even CD->disk->CD as a single operation.
>
> I've searched around for other GUIs and can't find the one I remember using
> about a year ago. Any suggestions?
>
> --
> Grant Edwards grante Yow! -- In 1962, you could
> at buy a pair of SHARKSKIN
> visi.com SLACKS, with a "Continental
> Belt," for $10.99!!
Try:
gcombust
May be search freshmeat.net.
Good luck
Michael Heiming
------------------------------
From: "Christoph Berger" <[EMAIL PROTECTED]>
Subject: Cyrus IMAP
Date: Fri, 16 Mar 2001 09:50:25 +0100
I have installed the Cyrus IMAP Server.
if I try to connect with
imtest -m login -p localhost
i get the error message
C: C01 CAPABILTY
failure. prot layer failure
Has anyone an idea?
CB
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Re: making a partition on an existing disk
Date: Fri, 16 Mar 2001 09:52:00 +0100
> Here's what I'm trying to do. I have 2 disks on a Linux RH7 system.
> The first disk has /, /boot and swap. There is also an extended
partition like so:
>
> Disk /dev/sda: 2231 cylinders, 255 heads, 63 sectors/track
> Units = sectors of 512 bytes, counting from 0
>
> Device Boot Start End #sectors Id
System
> /dev/sda1 * 63 48194 48132 83 Linux
> /dev/sda2 48195 35841014 35792820 5 Extended
Wrong ID, make it either 0x0F when you plan to make win partitions inside
or 0x85 when it should be linux only
> /dev/sda3 0 - 0
0 Empty
> /dev/sda4 0 - 0
0 Empty
> /dev/sda5 48258 3196934 3148677 82 Linux swap
> /dev/sda6 3196998 4257224 1060227 83 Linux
difficult to read. Why not c'n'p the output of `/sbin/fdisk -l /dev/sda`
The cylindernumbers would have been easier.
I reformatted that table a bit, and now you see that sda2 covers the whole
of the disc (2231*255*63=35841015)
So you cannot create sda3 unless you resize sda2.
But you can make sda7
> There's a ton of space left behind that I'd like to make a partition on.
There's no *space* left.
> However sfdisk complains about creating a partition on /dev/sda3,
> because it is an active disk.
No, because there's no space left to create sda3
> I understand the rationale behind this error,
appearantly not
> but is there any workaround where I can:
yes, create sda7, or resize sda2
(I would prefer the first solution)
> 1. Create a partition on /dev/sda3 that covers the remaining disk space.
there's no space left
> 2. Make a filesystem on it.
never do this.
reboot after you repartitioned, then run mke2fs
> 3. Fsck it.
Why?
> 4. Mount it.
> 5. Reboot.
>
1. create /dev/sda7
2. reboot
3. mkfs
4. mount /dev/sda7
Eric
------------------------------
From: "Siddharth Vajirkar" <[EMAIL PROTECTED]>
Subject: Re: making a partition on an existing disk
Date: Fri, 16 Mar 2001 00:56:14 -0800
I'm no guru at this, so someone please correct me:
/dev/sda is your HDD,
/dev/sda1, /dev/sda2 etc. are already partitions on your disk.
so /dev/sda3 is already a partition and not been assigned to be used for
anything.
That's probably the reason that the partitioning isn't working, because its
already there.
You might have to assign it as an extended partition to be able to use it.
May be you can delete /sda3 /sda4 and then create a new extended partition
to be able to use the whole free space in one partition.
hope that helps,
Sid
<SandMan> wrote in message news:[EMAIL PROTECTED]...
>
> Hi there,
> Here's what I'm trying to do. I have 2 disks on a Linux RH7 system. The
first disk has /, /boot and swap. There is also an extended partition like
so:
>
> Disk /dev/sda: 2231 cylinders, 255 heads, 63 sectors/track
> Units = sectors of 512 bytes, counting from 0
>
> Device Boot Start End #sectors Id System
> /dev/sda1 * 63 48194 48132 83 Linux
> /dev/sda2 48195 35841014 35792820 5 Extended
> /dev/sda3 0 - 0 0 Empty
> /dev/sda4 0 - 0 0 Empty
> /dev/sda5 48258 3196934 3148677 82 Linux swap
> /dev/sda6 3196998 4257224 1060227 83 Linux
>
> There's a ton of space left behind that I'd like to make a partition on.
However sfdisk complains about creating a partition on /dev/sda3, because it
is an active disk. I understand the rationale behind this error, but is
there any workaround where I can:
> 1. Create a partition on /dev/sda3 that covers the remaining disk space.
> 2. Make a filesystem on it.
> 3. Fsck it.
> 4. Mount it.
> 5. Reboot.
>
> Thanks in advance,
> SandMan
>
>
> ==================================
> Posted via http://nodevice.com
> Linux Programmer's Site
------------------------------
From: "Siddharth Vajirkar" <[EMAIL PROTECTED]>
Subject: Are mount, unmount, shutdown, sync standalone utilities
Date: Fri, 16 Mar 2001 00:59:12 -0800
Hi,
Are there any libraries that utilities like mount, unmount, shutdown and
sync use?
Or are they standalone utilities?
Thanks,
Sid
------------------------------
From: "Siddharth Vajirkar" <[EMAIL PROTECTED]>
Subject: registering libraries in linux
Date: Fri, 16 Mar 2001 01:03:12 -0800
Hi,
newbie alert. I used to write a lot of C code in DOS and wrote up a
reasonable amount of code for XINU, but now I've graduated to Linux. So
there are some loose ends which I need to tie up.
In linux do programs have to register libraries (like registering a DLL)?
How does one tell linux that the code that I want to run is in 'that'
xxxx.so file?
Would appreciate it if you could point me to some documentation related to
this.
Thanks,
Sid
------------------------------
From: "Robert" <[EMAIL PROTECTED]>
Subject: Re: GUI front end for cdrecord/cdparanoia?
Date: Fri, 16 Mar 2001 03:53:18 -0500
have you tried grip?
Robert
"Grant Edwards" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I'm looking for a GUI frontend for cdrecord/cdparanoia. I used to have a
> GUI front end that allowed copying an audio cd in a single operation
(either
> on-the-fly or disk-buffered).
>
> I thought it was xcdroast, but I just installed the newest version, and it
> won't do on-the-fly audio or even CD->disk->CD as a single operation.
>
> I've searched around for other GUIs and can't find the one I remember
using
> about a year ago. Any suggestions?
>
> --
> Grant Edwards grante Yow! -- In 1962, you
could
> at buy a pair of SHARKSKIN
> visi.com SLACKS, with a
"Continental
> Belt," for $10.99!!
------------------------------
** 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
******************************