Linux-Misc Digest #432, Volume #18                Fri, 1 Jan 99 21:13:07 EST

Contents:
  Re: How To Slow Down System Clock (Ron Bean)
  CGI & Perl Problem (Andy Birkett)
  Re: Upgrade to Redhat 5.2 (Robert Jasa)
  Re: help me choose license (steve mcadams)
  mgetty not answering after hangup (Tripp Lilley)
  Re: Upgrade to Redhat 5.2 (Robert Jasa)
  Re: help me choose license (steve mcadams)
  help linux swap [fat 32] partition vs. [linux native] ("D'Jae")
  Re: Stealth II G460 and X-Windows (Mike Werner)
  Re: Upgrade to Redhat 5.2 (Bill Unruh)
  Re: WordPerfect 8 (Bill Unruh)
  Clocks and timeservers (David Steuber)
  Re: Infringement of the GPL (David Steuber)
  Re: NOSPAM in addresses.. (David Steuber)
  Re: Infringement of the GPL (Bill Unruh)
  Re: NOSPAM in addresses.. (David Steuber)

----------------------------------------------------------------------------

From: [EMAIL PROTECTED] (Ron Bean)
Crossposted-To: comp.os.linux.setup
Subject: Re: How To Slow Down System Clock
Date: 1 Jan 1999 18:14:15 -0600


> Now I know (I think) how to compensate for the Hardware clock drift
> using CLOCK (or HWCLOCK). But doesn't that rely on a accurate System
> clock.

No, it doesn't. Clock(8) and hwclock(8) apply a correction factor
to the hardware clock, independant of what the system clock does.
Once you have the corrected time in the hardware clock, you can
use that to reset the system clock. The correction factor can be
calculated by hand (for clock), or hwclock can calculate it for
you if you tell it the correct time, but neither one requires the
system clock to be accurate on its own.

You can use chron to reset the system clock periodically from the
(corrected) hardware clock, but that won't "slew" the time
gracefully like xntpd does. This might cause problems for some
programs that don't like the time to jump around.

On the other hand, if you're not running one of those programs,
hwclock(8) is easy to set up and very accurate (over the long
run), and it comes already installed with every distribution,
because it's used to set the system clock at boot time.
Note that the man page for hwclock may be named "clock" for
backward compatibility.


------------------------------

From: Andy Birkett <[EMAIL PROTECTED]>
Subject: CGI & Perl Problem
Date: Sat, 2 Jan 1999 00:30:22 +0000

Hi

I am running RH5.1 and Apache 1.2 and I am having problems with my CGI
Perl scripts.  I cannot get my scripts to read or create a file located
on the web server, yet when I run the same scripts from a shell, the
files are read/created fine.

I haven't changed any settings in the Apache conf files, do I need to
allow CGI scripts to access the files stored in the HTML directory of
the web server.  Or is it a file system problem? I have given write
access to the directory I want to create my log files in, and Navigator
can read the HTML OK, so why can't my CGI scripts?

Hope you can help 
-- 
Andy Birkett

------------------------------

From: Robert Jasa <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Upgrade to Redhat 5.2
Date: Thu, 31 Dec 1998 08:20:56 -0700
Reply-To: [EMAIL PROTECTED]

Michael Howard wrote:

> Hi,
>
> Does anyone know a quick, easy
> method of upgrading Redhat 5.1 to
> 5.2?  Preferably from the ftp site
> rather than from the cd (ftp.ou.edu
> has the complete cd on it).  I have
> already manually upgraded the kernel
> and a few libraries but I've now run
> into some mismatched versions which
> is crippling some of my apps.
>
> Thanks
>
> Mike

  I am looking for the same solution.  Only I am starting from scratch.

Thanks
Bob J


------------------------------

From: [EMAIL PROTECTED] (steve mcadams)
Crossposted-To: linux.redhat.misc
Subject: Re: help me choose license
Date: Thu, 31 Dec 1998 04:29:31 GMT

On 30 Dec 1998 17:39:21 -0800, Peter Potter <[EMAIL PROTECTED]>
wrote:

>Have you carefully considered using already existing such libraries?
>There's a whole mess of them listed in this page and at pages linked
>to from this page of Gary's Encyclopedia:

Thanks for the suggestion; Gary's Encylcopedia is a good thing.

>  I'm not talking about "non-profit use only"
>licences here. That's a different issue.  Those you can sell
>and you don't want your competitors to use your stuff.

I'm sorry, I don't understand this, it seems contradictory.  -steve
========================================================
Tools for programmers: http://www.codetools.com/showcase

------------------------------

From: Tripp Lilley <[EMAIL PROTECTED]>
Subject: mgetty not answering after hangup
Date: Fri, 01 Jan 1999 20:10:29 -0500

I've dejanews'ed myself silly trying to find an answer to this, but to
no avail.

I have mgetty controlling a Zoom V.34 (model 2836). It has trouble
answering after a successful answer/do/hangup session. Basically, if I
call in, establish a session, then hangup (actually, logout using 'exit'
in the shell), it tries to clean up the connection and comes up with
this in the logs:

--
01/01 19:55:36 yS1  mgetty: experimental test release 1.1.14-Apr02
01/01 19:55:36 yS1  check for lockfiles
01/01 19:55:36 yS1  locking the line
01/01 19:55:36 yS1  lowering DTR to reset Modem
01/01 19:55:37 yS1  send: \dATQ0V1H0[0d]
01/01 19:55:37 yS1  waiting for ``OK'' ** found **
01/01 19:55:37 yS1  send: ATS0=0Q0&D3&C1[0d]
01/01 19:55:37 yS1  waiting for ``OK'' ** found **
01/01 19:55:37 yS1  mdm_send: 'ATI'
01/01 19:55:37 yS1  non-numeric ID string: 'ATS0=0Q0&D3&C1'
01/01 19:55:37 yS1  mdm_send: 'AT+FCLASS=2.0' -> OK
01/01 19:55:37 yS1  mdm_send: 'AT+FAA=1;+FCR=1' -> ERROR
01/01 19:55:37 yS1  cannot set answer/reception flags
01/01 19:55:38 yS1  mdm_send: 'AT+FBO=1' -> OK
01/01 19:55:38 yS1  mdm_send: 'AT+FNR=1,1,1,0' -> ERROR
01/01 19:55:38 yS1  mdm_send: 'AT+FLI="+1 (540) 961-4879"' -> ERROR
01/01 19:55:38 yS1  cannot set local fax id. Huh?
01/01 19:55:38 yS1  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> ERROR
01/01 19:55:38 yS1  mdm_send: 'AT+FCC=1,3,0,2,0,0,0,0' -> ERROR
01/01 19:55:38 yS1  huh? Cannot set +FDCC parameters
01/01 19:55:38 yS1  waiting...

It appears that this portion of the log:

01/01 19:55:37 yS1  send: ATS0=0Q0&D3&C1[0d]
01/01 19:55:37 yS1  waiting for ``OK'' ** found **
01/01 19:55:37 yS1  mdm_send: 'ATI'
01/01 19:55:37 yS1  non-numeric ID string: 'ATS0=0Q0&D3&C1'

is where things are going south -- it expects to get something like this
(culled from a line reset that worked):

01/01 19:54:45 yS1  send: ATS0=0Q0&D3&C1[0d]
01/01 19:54:45 yS1  waiting for ``OK'' ** found **
01/01 19:54:46 yS1  mdm_send: 'ATI'
01/01 19:54:46 yS1  Generic Rockwell modem (33600)


I suspected that there was some sort of wonky timing issue, so I
inserted the \d at the end of the send, but that doesn't seem to have
had any effect.

The failure is characterized by the receiving modem sending RINGs, to
which mgetty responds with ATA, but the modems are never able to
establish carrier. Finally, mgetty times out. Once it times out, it
resets the line again, but this time everything resets cleanly! (ie: it
gets the "Generic Rockwell modem" identifier in response to ATI).

Any clues here? Fortunately, I can at least get on with my business if
I'm patient :-)

Thanks!



------------------------------

From: Robert Jasa <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Upgrade to Redhat 5.2
Date: Thu, 31 Dec 1998 08:21:47 -0700
Reply-To: [EMAIL PROTECTED]

Michael Howard wrote:

> Hi,
>
> Does anyone know a quick, easy
> method of upgrading Redhat 5.1 to
> 5.2?  Preferably from the ftp site
> rather than from the cd (ftp.ou.edu
> has the complete cd on it).  I have
> already manually upgraded the kernel
> and a few libraries but I've now run
> into some mismatched versions which
> is crippling some of my apps.
>
> Thanks
>
> Mike

  Sorry I meant to post that to the group.

Bob J


------------------------------

From: [EMAIL PROTECTED] (steve mcadams)
Crossposted-To: linux.redhat.misc
Subject: Re: help me choose license
Date: Fri, 01 Jan 1999 05:39:14 GMT

On 31 Dec 1998 02:04:27 -0500, David Steuber
<[EMAIL PROTECTED]> wrote:

>GPL will gaurantee that no one takes your work and hides it.  But it also
>means that some commercial vendors may not want it.

Why wouldn't they?  Yes, I really don't "get it".  Assuming it's good
enough for them to want to use, and they can buy a proprietary license
and use it, why wouldn't they want to because it was also GPL'ed?  Or
are you saying something else?

>Porting between X and Win32 is not trivial.  If you toss
>the Mac OS into the soup, things get more complex.  Java is trying to
>do the same thing, and look at the problems Sun is having fulfilling
>its promise of write once, run everywhere.

Even the Win32 side of it alone is far from trivial; I try not to
think about how much work that aspect by itself will be, it makes me
cringe.  But it's not like I'm on a specific schedule for this, and
the less time-pressure there is, the faster things usually go.

>However, there is one possibility with GPL to consider.  If you pull off the
>near miricle of creating a good app framework that is X/Win32 cross
>platform, then you can use it as the basis for large cunsulting fees.
>A few hours a week of work at an outragous hourly rate can get you
>that cabin in the woods.

Sigh.  Outrageous hourly rates are embarassing.  Might write a book
though, if my code is badly documented enough to warrant one; will
have to plan ahead a little here<g>  -steve
========================================================
Tools for programmers: http://www.codetools.com/showcase

------------------------------

From: "D'Jae" <[EMAIL PROTECTED]>
Subject: help linux swap [fat 32] partition vs. [linux native]
Date: Sat, 2 Jan 1999 00:27:01 +0100

help me please

Today I was running linux.conf  to configure my brand new linux installation
but when I quit the configuration utility there was a big problem
(and I must confess that I didn't bother to write the error message all I
can say it's that it was a major error even ctrl-alt-del couldn't do
anything. I was forced to reboot manualy. Fortunaly linux was installed on a
secondary hard disk but after rebooting under windows 95 I could'nt reach my
second disk with two linux partition (native and swap) and a fat 32
partition. After running fdisk I discovered that the type of my linux native
and fat 32 where inverted. so now a can't reach the data under windows.
explorer list an disk D: with no data but when I look at the property the
disk got the size of the linux partition and is half full.

so, I decided to try to boot linux and after some loading seconds i got this
:

PARTITION CHECK
/dev/hdc3 contains a file system with errors, check forced.

then the hard disk works for 40 sec

/dev/hdc3: Inode 33996 has illegal blocks
/dev/hdc3: UNEXPECTED INCONSISTENCY, RUN fsck MANUALLY
                            (i.e , without -a or -p options)
*** AN ERROR OCCUR DURING THE FILE SYSTEM CHECK
*** DROPPING YOU TO A SHELL; THE SYSTEM WILL REBOOT
*** WHEN YOU LEAVE THE SHELL.
Give root password for maintenance
(or type) Control-D for normal startup:

so I entered my root password but I don't know what to do then...

My primary goal is to saved my windows files.. I can format and reinstall
linux if i have to, it's just a week till I first installed it and can do it
again but my problem is to change back the type of my partiton from non-dos
to pri-dos

does somebody can help me ....

if you could copy your response to my email...I can't access USENET every
day

thanxxx





------------------------------

From: Mike Werner <[EMAIL PROTECTED]>
Subject: Re: Stealth II G460 and X-Windows
Date: Fri, 01 Jan 1999 19:24:27 -0500

http://www.xfree86.org/
http://www.xfree86.org/cardlist.html


------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux.setup,comp.os.linux.questions
Subject: Re: Upgrade to Redhat 5.2
Date: 2 Jan 1999 01:38:36 GMT

In <[EMAIL PROTECTED]> Robert Jasa <[EMAIL PROTECTED]> writes:

>Michael Howard wrote:

>> Hi,
>>
>> Does anyone know a quick, easy
>> method of upgrading Redhat 5.1 to
>> 5.2?  Preferably from the ftp site

>  I am looking for the same solution.  Only I am starting from scratch.


Buy a copy of the CD from say cheapbytes ( for about $6) Far far easier
than trying to do it over the net. Then choose the upgrade option on the
floppy boot disk.

------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: WordPerfect 8
Date: 2 Jan 1999 01:40:26 GMT

In <[EMAIL PROTECTED]> John Berezinski <[EMAIL PROTECTED]> writes:

>I've just down loaded Wordperfect 8.  When I try to unzip the file(s), gunzip says
>the last file is missing (the one that has header info?) and if I use unzip, it
>says its not in zip format.  I am using a recent version of Slakware.

a) That is gunzip, not unzip
b) The files are probably not gz files. Try just untarring them
tar -xf *



------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Clocks and timeservers
Date: 01 Jan 1999 16:28:30 -0500

The question of setting the computer clock on a linux machine seems to 
come up fairly often.  I have xntp3, but I haven't set it up yet.  One 
thing the documentation mentions (I am still reading it) is the
existance of radio clocks that receive a standard time signal.  These
clocks can be attached to computers to turn them into a primary
(stratum 1) timeserver.

If such a clock isn't too expensive, I would like to get one for my
linux network.  Does anybody know anything about doing this, how much
a reasonable clock costs, and what the set up involves?

BTW, my definition of 'too expensive' would be more than a few hundred 
dollars (US).

-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends.  These people, they're, they're  terrorists."

-- Secret Service Agent Richard Gill

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Subject: Re: Infringement of the GPL
Date: 01 Jan 1999 16:20:51 -0500

[EMAIL PROTECTED] (steve mcadams) writes:

-> On 31 Dec 1998 00:56:46 -0500, David Steuber
-> <[EMAIL PROTECTED]> wrote:
-> >
-> >It is quite rare to make a living by writing books.  Most book authors 
-> >have jobs.  Sometimes they are consultants, but that is still a job.
-> 
-> Actually I think a lot of book authors are professional writers... I
-> spent about 3 years as a tech writer for IBM (and learned a lot) but
-> as I recall, out of about 75 writers, there were usually at least a
-> dozen writing a book on the side.  Kind of like programmers cranking
-> out shareware in their spare time, on a slightly different wavelength.
-> -steve

Yes, but look at how long it takes to write one good book.  Then look
at how much money the auther makes writing that book.  Prolific
enough authors can make enough money that they don't need another
job.  But how many of those are there?  A few hundred perhaps?

I buy a lot of computer books.  I have learned through experience how
to tell which books are tree killing landfill fodder and which books
are actually useful.  I am very selective.  I expect that when I buy a 
copy of a book, the author makes a couple dollars (US).  In the grand
scheme of things, these are not the most popular books sold.  The
really good books may sell a few tens of thousands of copies.  That
will probably compensate the writer well enough to cover living
expenses while writing the book.

As for all that crap from Sams and Que, I bet the author makes squat.
Those books need all those dumb screen shots and computer generated
code as filler to hide the fact that even a good author just can't put 
in the time necessary to turn out quality work for such a publisher.
Those publishers aren't interested in quality anyway.

There is not a lot of profit margin in books.  They are expensive to
produce and distribute.  The author only gets a thin slice of that
profit.  The publisher gets the rest.  In a sense, writing a good book 
for a good publisher (O'Reilly, Addison-Wesley, Prentice Hall) is a
lot like writing sharewhere.  The primary benifit to the author is the 
knowlege of contributing something useful to society.  Those writers
you mentioned are in the same boat.  They have day jobs just like you
do to support their need to eat.

-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends.  These people, they're, they're  terrorists."

-- Secret Service Agent Richard Gill

------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: NOSPAM in addresses..
Date: 01 Jan 1999 15:50:51 -0500

[EMAIL PROTECTED] () writes:

-> (edit)
-> > 
-> > Don't email to people who munge addresses. (edit)
-> 
-> I endorse this sentiment. I frequently reply to questions by
-> E-mail only to subsequently receive an " undeliverable " message,
-> even though I try to decipher a "proper" E-mail address.

My feeling is that when a question is asked in a news group, it should 
be answered in a news qroup.  With DejaNews being available, it should 
not be an excuse, "I don't get to read this group often."  Or
whatever.  Those people who do bother to follow the groups for
answeres, or use DejaNews can then possible benifit from the answere
without having to post the same or similar question again.

So, what is the spam situation now?  I have been fairly active in
several news groups, and my trashcan is not receiving much spam.  I
don't think I've seen any for a few weeks.  Could the ISPs be finaly
cracking down?

-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends.  These people, they're, they're  terrorists."

-- Secret Service Agent Richard Gill

------------------------------

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Infringement of the GPL
Date: 2 Jan 1999 02:02:20 GMT

In <76jfqi$[EMAIL PROTECTED]> [EMAIL PROTECTED] (Floyd Davidson) writes:
>Bill Unruh <[EMAIL PROTECTED]> wrote:
>>[EMAIL PROTECTED] (Rod Smith) writes:
>>
>>>The language of the GPL is such that derivative works are also covered by
>>>the GPL.  Therefore, including GPLed code in a product automatically
>>
>>Unfortunately the GPL is of dubious valididty. While the user of the GPL
>>in violation of the license may be in violation of copright, the remedy
>>is under law, not under license.  You cannot violate someone elses
>>copyright just because they violated yours. (and even less so if the

>That all may be true, however even if the remedy is not under
>license, there is no reason to assume that said license is not a
>valid contract.  There is a great deal of reason to assume that

Sure there is. invalid contracts are written every day, and if we
believed all of them we would be paupers. A contract is something which
two people enter into and must give their consent to and must exchange
something of value for.  Now you might be abole to argue in court that
you permitted the other person to copy only under the terms in the
license, but then that license cannot exceed those terms allowable by
law. The GPL license, by trying to restict use, not copying, probably
does exceed such law., just as most software licenses do by for example
restricting uncompiling the binary code. 


>it is valid, since it has never been voided in a court and has
>been commonly been used by thousands or millions of people who
>are all assuming that it is in fact valid.  Any court would have

So have bribes, and they are still illegal.

>to weigh that very heavily before upsetting that particular
>apple cart.

I am sorry? Millions of people speed, but the courts appear to have no
difficulty in fining those who appear before it.

>>orginal GPLed work was not yours). The statement that works containing
>>GPLed code is also GPLed is as valid as if it stated that the user of
>>the GPLed work therafter became the indentured slave of the original
>>writer, especially as the terms of the GPL were not agreed to by the
>>two parties before hand.

>That is clearly not a valid comparison.  The GPL license does
>not obligate either party to violate any law.  Indentured

Unclear. The license probably does contain restrictions which do violate
the law.

Do you mean that you believe everything anyone tells you which restricts
your actions? If I tell you that you can only go to the bathroom by
backing in through the door you will from nowon do so because what I
said might be a legal contract which no court has ever ruled on?

>slavery would invalidate a contract because if its against the
>law.  The statement in the GPL requiring derivative works to
>also be released under the GPL may or may not be a valid
>contract, but until a court rules that it is not then the only
>reasonable approach (especially given the number of years,
>number of works, and number of people that *have* assumed it is
>valid) is to act as if it is indeed valid.

It might be a valid restriction under copyright law (Ie, the person so
releasing the code might be found to have violated the copyright law by
doing so) but the fact of him doing so does not lift his own right to
copyright on his own work. Ie, the inclusion of GPL code may be
copyright infringment, but that infringment gives noone the right to
therefor copy the rest of the code which is clearly his to control as he
wishes.

Were he to have signed a contract which stated that any code which
contained code under the GPL then the original writer might be able to
sue him for breach of contract, but he would find it very difficult to
get a court to agree that such a breach had occured with code copied
from the net with no explicit contractual agreement directly between him
and the holder of the GPLed  copyrighted work.

>Any other avenue is inviting disaster.

The avenue that one person can impose restrictions on the behaviour of
the other without legislative edict or explicit agreement by both
parties would be an avenue inviting disaster.  Or are you now only
entering your bathroom backwards.

>> Ie, just because it is written in a so called 
>>license, does not mean it is legal.

>But it generally is a good indication that one best take some
>extreme care in any assumption that it is not, because the
>consequences of making the wrong decision are very clear!

I guess you had better be careful in your toilet from now on.

(Just to be clear, I imposed the copyright restriction on you that you
are allowed to copy this message to your computer in order to read it
only under the condition that you ufrom now and henceforth only enter
you bathroom backwards. Your reading this message, and in particular
your replying to it indictes your acceptance of this condition.)


------------------------------

From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: NOSPAM in addresses..
Date: 01 Jan 1999 15:56:31 -0500

[EMAIL PROTECTED] writes:

-> Politicians live for power and they are starting to see possibilities in
-> the Net.  They are also starting to see it as a threat to their power.

This probably isn't true for all politicians.

The Internet is most threatend by commercial interests rather than
governments.  Look at all the web sites that have content that is not
viewable on non Windows platforms, for example.  Know the real enemy.

-- 
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends.  These people, they're, they're  terrorists."

-- Secret Service Agent Richard Gill

------------------------------


** 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
******************************

Reply via email to