Linux-Misc Digest #71, Volume #24 Fri, 7 Apr 00 16:13:03 EDT
Contents:
Re: [Q]: Shell Script to generate an array of 1, 2, ... n (Tim Hockin)
Re: Can linux act as apps server? (Robie Basak)
Re: News Readers for Linux ("Morgan LaVigne")
text 2 voice ? (James Stevenson)
Re: Kill! (Grant Edwards)
Tar updating on multiple volumes- How? (William Gibson)
Netscape 6 won't start (Shawn Kubik)
Re: Merging 2 partition
Re: kernel installation on a RedHat system
Re: install problems
how to mount a second hard drive (bytor)
Re: Setting date correctly for my time zone (John Hasler)
Re: Why linux will never go beyond geekdom (Spike)
Re: News Readers for Linux (Rick Ellis)
relay_allow or ip_allow ("L.J.")
Re: Windows 2000 has 63,000 bugs - Win2k.html [0/1] - Win2k.html [0/1] (Pjtg0707)
cron daemon alternatives (Darren Wyn Rees)
----------------------------------------------------------------------------
From: Tim Hockin <[EMAIL PROTECTED]>
Subject: Re: [Q]: Shell Script to generate an array of 1, 2, ... n
Date: 7 Apr 2000 18:06:07 GMT
Young4ert <[EMAIL PROTECTED]> wrote:
: for (i=0;i<lenght;i++)
: printf ("%d ", i);
I=0
LENGTH=100
while [ "$I" -lt "$LENGTH" ]; do
echo $I
I=$((I+1))
done
--
Tim Hockin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
This program has been brought to you by the language C and the number F.
------------------------------
From: [EMAIL PROTECTED] (Robie Basak)
Subject: Re: Can linux act as apps server?
Reply-To: [EMAIL PROTECTED]
Date: 7 Apr 2000 18:12:38 GMT
On Fri, 07 Apr 2000 12:57:51 +1000, Sim Grant said:
>Hi,
> Can linux act as apps server let say for M$SQL 7 or something
>? Else what is the main advantage for Samba ?
Running Windows programs in Linux is possible, but most programs won't
work, or will have limited functionality. Certainly for a server it
isn't reliable enough. Microsoft SQL Server will almost certainly not
work. If you wan't a database server I would recommend PostgreSQL
(www.postgresql.org) which has drivers for ODBC, IIRC. If your client
programs are happy using this, then it should work, but YMMV. I
assume that your client computers are running Windows.
Samba is for file and print sharing between Linux and Windows. Linux
can act as a file or printer server for Windows machines, or can use
Windows file or printer servers.
Robie.
>
>Thanks
>Falcon
--
------------------------------
From: "Morgan LaVigne" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking
Subject: Re: News Readers for Linux
Date: Fri, 07 Apr 2000 18:16:43 GMT
I use Pan and find it to be the closest to Agent I've found, if that's
what you're looking for.
-Morgan
In article <[EMAIL PROTECTED]>, "Scott Zielinski"
<[EMAIL PROTECTED]> wrote:
> Anyone know of a good news reader for Linux?
> --
> *************************** IMPORTANT NOTE ***************************
> The opinions expressed in this message and/or any attachments are those
> of the author and not necessarily those of Greitzer and Locks, its
> subsidiaries and affiliates ("G&L"). There is no guarantee that this
> message is either private or confidential, and it may have been altered
> by unauthorized sources without your or our knowledge. Nothing in this
> message is capable or intended to create any legally binding obligations
> on either party. G&L accepts no responsibility for loss or damage from
> its use, including damage from virus.
>
>
------------------------------
From: [EMAIL PROTECTED] (James Stevenson)
Subject: text 2 voice ?
Date: 7 Apr 2000 19:07:48 GMT
Reply-To: [EMAIL PROTECTED]
Hi
are there any good speech programs for linux that will
convert text to sound.
thanks
James
--
=============================================
Check Out: http://www.users.zetnet.co.uk/james/
E-Mail: [EMAIL PROTECTED]
7:00pm up 43 days, 2:30, 5 users, load average: 0.83, 0.63, 0.52
------------------------------
From: grant@nowhere. (Grant Edwards)
Subject: Re: Kill!
Date: Fri, 07 Apr 2000 18:20:37 GMT
In article <[EMAIL PROTECTED]>, Dances With Crows wrote:
>
>There is something drastically wrong if kill -9 $PID doesn't kill that
>process immediately. grep for "Oops" in /var/log/warn and
>/var/log/messages ; if you get *any* output at all, you have a serious
>problem.
I've seen one time where kill -9 wouldn't make a process go
away. It involved a device driver bug that caused race
condition that resulting in a process waiting in nasty way
during a close() operation. Nothing really bad happened (no
Oops or Panic or anthing), the processes just wouldn't die.
--
Grant Edwards grante Yow! .. I'll make you
at an ASHTRAY!!
visi.com
------------------------------
From: William Gibson <[EMAIL PROTECTED]>
Subject: Tar updating on multiple volumes- How?
Date: Fri, 07 Apr 2000 14:21:14 -0400
Does anyone know if tar is capable of updating an archive on multiple
volumes?
I am trying to backup my system on a series of Jaz disks but the update
seems to simply save the whole thing out again.
Here is the idea. I do a full backup with:
tar -cMpPvf /mnt/jaz/linuxbox_backup_full.tar / --exclude /proc
(etc..)
which goes across about 2 disks. Then I try to update the next day with:
tar -uMpPvf /mnt/jaz/linuxbox_backup_full.tar / --exclude /proc
(etc..)
This examines the first disk and then asks for volume #2, but then when I
insert the second disk it tries to write the whole root volume out again
(or at least a lot of it) to the extent that I need a third and fourth
disk. It seems to me that tar gets confused when updating to multiple
disks. Is this the case or am I doing something wrong?
Is there a recommended strategy for updating daily changes to an
existing multiple disk tar archive?
Thanks in advance.
--
William Gibson
1stDesk Systems
[EMAIL PROTECTED]
------------------------------
Date: Fri, 07 Apr 2000 12:21:54 -0600
From: Shawn Kubik <[EMAIL PROTECTED]>
Subject: Netscape 6 won't start
I downloaded the PR1 release of Netscape 6 the other day, and have
played around with it a little bit. Everytime I started it, however, I
did so from an X terminal and it worked fine. So I decided to put a link
to it in KDE. It created the 'shortcut' fine, but when I click on it,
nothing happens at all.
I untarred the netscape6 package in /usr/local/bin/Netscape6
(subseqently, by untarring the package it created the subdirectory
package, where everything for the program now lies). So in the terminal
I would run netscape 6 by entering
/usr/local/bin/Netscape/package/bin/netscape.
I'm just wondering whether anyone else has run into this problem with
Netscape 6, or whether it's merely a limitation of the Preview Release.
Thanx,
Shawn Kubik.
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: Merging 2 partition
Date: Fri, 07 Apr 2000 18:30:42 GMT
So far as I know, even the PartitionMagic program cannot do this. PM could
only merge two side by side partitions.
I don't know any partitioning programs there exists in the Non-Commercial
world that can do this, nor in the Commmercial world.
s_kitrungroj wrote:
>
> Hi, I need some help that I want to install Linux in my computer.
> I have 6.4 Gb HDD with (original 3 partition & 1 unpartition:
2G,2G,1Gand
> 1.4G(unpartition)). Let say C, D,E and unpartiton.
> I partition unparttion HDD to be F. So at moment, I got C(Bootable) 2G,
D: 2G,
> E:1G and new partition F:1.4G
> I want to merg C and F, so my new partion will be C:3.4G, D:2G and
E:1G.
> How can I do that without destroy and my boot table and my data in C.
What
> program should I use? (Non-commercial)
> Thank you very much
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: kernel installation on a RedHat system
Date: Fri, 07 Apr 2000 18:30:45 GMT
Try Linux Mandrake. It should support USB mouse right without additional
modules.
asage wrote:
>
> I've been trying to install the Linux 2.3.99-pre3 so that I can use a
> USB wheel mouse. The installation seemed okay. Make menuconfig went
> beautifully. Make dep presented no problems. Make bzImage, likewise no
> problems. Make modules, make modules_install, both great. The kernel
> is /vmlinuz, lilo is in /sbin and /etc/lilo.conf agrees with that. I
> copied the bzImage into /vmlinuz. I reran lilo.
>
> It wouldn't boot. The message is :
>
> ttyS01 at 0x02f8 (irq + 3) is a 16550a
> request_module[block-major-3]: Root fs not mounted
> VFS: Cannot open root device "342" or 03:42
> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 03:42
>
> Additionally items such as initrd still reference the old 2.12-20 kernel
> which was installed by RedHat 6.1
>
> Is this problem to do with it being on a RedHat 6.1 version of Linux? Or
> should I be looking at something else?
>
> Thanks
>
> Allison
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: install problems
Date: Fri, 07 Apr 2000 18:31:07 GMT
Did you install XWindows and properly configured? If not, you will need to
either install those stuff from Mandrake CD or download them from
www.xfree86.org. (Yes, there is a text based FTP program in Linux). Type
"ftp" to run FTP program and download those components.
After you installed them (following XF86's instructions), XF86Setup should
get you into a setup program where you will need to enter your monitor's
refresh rates.
But I think Mandrake will setup X for you automatically. If you clicked no
to the question "Do you want X to start after reboot?", you should edit you
/etc/inittab file to get into runlevel 5 everytime you boot linux.
If you already installed X and configured it properly, issue the startx
command.
michael davis wrote:
>
> I am new to linux so please be gentle. I have mandrake installed on my
> computer. The problem is that I can only get the command line. How do I
> get the xwindows to work. Remember I don't know much.
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
Subject: how to mount a second hard drive
From: bytor <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.caldera
Date: Fri, 07 Apr 2000 11:37:42 -0700
First of all, I am not sure if you are asking this as a
"hardware" or "software" question.
To configure your hardware,you need to set jumpers on your
second hard drive to make it a "primary/slave". If you do not
know how to do this, you should be able to learn how in your
drives manual or a schematic on the drive.
As for Linux software install on a 2 drive system, these
instructions will put Linux on your 2nd drive. I am assuming
Windows 9X is your OS now.
1. Begin OpenLinux install (by booting from the "Linux kernel &
Installation" CD) and setup your passwords,mouse, display,
network options, etc.
2. When Selecting the Installation Target, choose "Custom".
3. Select Root Partition as /dev/hdb1 and click EDIT.
*Note:
*IDE drives are designated as follows:
*- Primary Master = /dev/hda
*- Primary Slave = /dev/hdb
*- Secondary Master = /dev/hdc
*- Secondary Slave = /dev/hdd
*/dev/hda1 will be your DOS/Windows partition
*/dev/hdb2 will be your virtual memory/swap partition
*/dev/hdb1 will be your Linux Root partition
4. Set the System to Linux, the Mount Point to "/", and be sure
that the bootable box is checked. The start sector will be 1,
but leave enough room at the end of the drive for a Swap
partition (usually equal to the amount of ram, e.g. 64Meg of ram
equals roughly a 64Meg Swap partition.) Click OK.
5. Select hdb2 and click Edit.
6. Set the System to SWAP and click OK.
7. Click on the Write button and then Next.
8. Continue with the install until it asks where you want to
install LILO. Choose Target partition (/dev/hdb1). *Read note at
bottom to understand why not to place it in MBR at this point*
9. After you are finished Linux should start. Log on as Root and
select utilities/terminal from the "K" (similar to Windows
"Start") button. Type the command: "lisa" and choose "configure
boot manager" choose to place lilo in the mbr of hda (your
primary hard drive). First chose Win95/98 for it to boot to (if
you want Windows to be default), then choose to add other
operating systems. Choose vmlinus Linux (as the second OS). When
you're done, choose to add no further entries to Lilo. It will
come back and tell you what it's written to the file. You can
read what it's written to the file (lilo.conf); continue. It
will now try and take you back thru the process again, but just
hit esc each time and it'll get you back out of it.
Then you can log out of Linux and your PC should boot using
Lilo!
10. When you boot up, Lilo will prompt you to load the OS of
your choice (if no selection after 20 seconds, the primary OS
auto boots). Hit the tab key and it will display your options.
Type in the name of the OS you choose to boot (ie. Linux or
Windows).
*Note:
*You will notice that we are not using "PartitionMagic" or
"BootMagic" at all. Also we have placed Lilo first in /dev/hdb1
and then turned around and moved it to the MBR of /dev/hda
later. This was done because I find it much easier to configure
LILO outside of the "Install" process. Maybe you will find this
idea crazy, but it works for me :)
I hope I gave all correct info. I read thru it all and it sounds
o.k., but I did not actually go thru line by line and follow to
see if it worked without errors along the way. Please email me
with your results !!!
Bytor- Nashville TN USA ([EMAIL PROTECTED])
* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Setting date correctly for my time zone
Date: Fri, 7 Apr 2000 17:57:09 GMT
> My questions are, am I on the right track for fixing the problem with
> using cron and netdate or rdate to get an accurate time?
No.
> Is there an atomic clock on the east coast that I can query or do I need
> to write a script to subtract the 4 hours?
The timeservers are all on UTC but you needn't worry about that. The
software knows all about timezones.
> I have seen something about just setting you clock to UTC and then
> specifing a time zone on your system, then when the time on your system
> is queried it returns the time according to the time zone you set. Should
> I look more into this solution?
Yes. The problem is not really very complicated. Set your CMOS clock to
UTC, set UTC=yes in /etc/default/rcS (may have been different in slink:
email me if so) and install the chrony package. Because you are on cable
you will need to edit the standard configuration slightly. Email me for
help: I'm the chrony maintainer.
--
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI
------------------------------
From: Spike <[EMAIL PROTECTED]>
Subject: Re: Why linux will never go beyond geekdom
Date: Fri, 07 Apr 2000 18:46:57 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Purely because it sucks the big one, no games ! no word !
> KDE....it stinks....Gnome.....amateur hacks with pretty graphics
>
Man, you're just as freaky as the idiots who love Linux who mindlessly
critisize Microsoft. There is room for everyone's tastes. Bill Gates
and Microsoft are essentially modern day hero's without who's efforts
the computing world would be very poor indeed. Linux is a brave,
robust and exciting new upstart who will quickly move into the
mainstream. Smart computer people are replacing NT servers with Linux
servers as quickly as possible. It's just the right thing to do.
Linux is far more stable and is a true network OS. People are NOT
buying Linux boxes for their teenage kids birthday's (unless there are
hackers in the house) YET. The games and "stuff" aren't there, YET.
The desktops (not a one of them) aren't "there", YET. Give the Linux
community some time, dude. They'll finally build a box that will
thrill your soul. Watch and see.
Spike Parker
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Rick Ellis)
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: News Readers for Linux
Date: 7 Apr 2000 19:06:37 GMT
In article <[EMAIL PROTECTED]>,
Scott Zielinski <[EMAIL PROTECTED]> wrote:
>Anyone know of a good news reader for Linux?
trn 4 (beta)
--
http://www.fnet.net/~ellis/photo/linux.html
------------------------------
From: "L.J." <[EMAIL PROTECTED]>
Subject: relay_allow or ip_allow
Date: Fri, 07 Apr 2000 19:19:53 GMT
Hi,
I can't send email from outside the local network using a
dialup connection (server assigned IP) whereas I can
receive email. I get a "we do not relay..." error.
I check the sendmail configuration files. Under relay_allow
and ip_allow I have *.*.*.* at the bottom. But this didn't
seem to work. What did I miss here?
The server is running on RH5.2 if that makes a difference.
Thanks in advance!
========
Regards,
L.J.
------------------------------
From: [EMAIL PROTECTED] (Pjtg0707)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.redhat
Subject: Re: Windows 2000 has 63,000 bugs - Win2k.html [0/1] - Win2k.html [0/1]
Reply-To: [EMAIL PROTECTED]
Date: Fri, 07 Apr 2000 17:29:12 GMT
On Fri, 07 Apr 2000 16:59:43 GMT, Mork <*[EMAIL PROTECTED]*> wrote:
>On 7 Apr 2000 14:55:40 GMT, [EMAIL PROTECTED] (J Bland)
>wrote:
I never understood what people do or run on those machines that require
frequent reboots.
My LAN is a mixed set of Win95, WIn98 and Linux machines, and none of them
required reboots for the past 87 days or so, and all of the machines will be
working on something, be it fitting data, calculating something or running
some processes to grab something off of the Internet etc...
Are you sure you guys having so much problems with your machines, whateve
r the OS, have them configure right?
------------------------------
From: [EMAIL PROTECTED] (Darren Wyn Rees)
Crossposted-To: uk.comp.os.linux
Subject: cron daemon alternatives
Date: 7 Apr 2000 20:02:35 GMT
looking for an alternative (or adaption) of
vixie's cron daemon. for a computer which
is not running most or all of the time.
ie. cron daemon must check whether any jobs
have been missed during downtime etc.
i'm currently evaluating Felix Braun's hc-cron
(URL http://www.in-berlin.de/User/fbraun/hc-cron-0.84.tar.gz)
but would welcome suggestions for any /other/
suitable cron daemons (or solutions for above problem).
much thanks.
--
Le biblioteche ci hanno dato il potere,
poi il lavoro � venuto e ci ha reso liberi.
Che prezzo ora, per un piccolo assaggio di dignit�...
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************