Linux-Misc Digest #308, Volume #19                Thu, 4 Mar 99 23:13:14 EST

Contents:
  Re: Problems with Chat Script/pppd/diald on RedHat 5.1 ... ("Keith Montgomery")
  Re: Linux/FreeBSD compatability (Was Re: Best Free Unix? (why FreeBSD?)) (david 
parsons)
  Re: Public license question (Christopher Seawood)
  Re: why is compiling (and installation) so difficult (Paul Kimoto)
  Re: Port redirection in C question (Roy Stogner)
  Re: ASCII screen saver (Roy Stogner)
  Re: Overclocking (was: Re: K6-2 and Linux, Are there any Bug?) ("C.R.")
  Re: Public license question (Bill Kent)
  Re: Windows NT & partition tables (Matthias Benkmann)
  Re: FreeAgent for Linux ([EMAIL PROTECTED])
  [Printer] HP697C and Ghostscript--Wet printing (Moses Fridman)
  Module configuration (Tommy Willoughby)
  Re: Module configuration (Anatol Quabach)

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

From: "Keith Montgomery" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Problems with Chat Script/pppd/diald on RedHat 5.1 ...
Date: Thu, 4 Mar 1999 22:09:43 -0500

I know it works, because I'm using it right now.
Check your diald.conf - did you include the "mode ppp"?
If that doesn't do it, send me an email and we can compare scripts in more
detail -
I'm dialing to a line in Framingham, MA.

Eli White wrote in message <[EMAIL PROTECTED]>...
>I've been having a problem with my chat script I am trying to use to
>automate connecting to the net through diald.
>
>I have everything set up ok and can dial in through minicom, and run
>pppd by hand ... Everything works fine (as long as I am REALLY QUICK on
>the draw - bellatlantic.net likes to drop you quickly if you don't start
>talking ppp)
>
>But when I try to do it automatically through diald/chat ... it breaks
>... in particular, the chat script breaks ...
>
>diald automatically starts running the chat script just like it should,
>however in the chat, it never sees the 'CONNECT 48000/ARQ' string, and
>timeouts instead ...
>
>I see the CONNECT line just fine when going thorugh minicom ...
>
>Anyway please have an answer for me?
>
>Included below are my chat script, and the log file of the attempt ...
>
>Thanks,
>Eli
>[EMAIL PROTECTED]
>
>
>chat-script:
>ABORT BUSY ABORT 'NO CARRIER' '' ATZ OK ATDT4103395344
>CONNECT
>
>(NOTE: Using PAP, so no login stuff there)
>
>
>/var/log/messages:
>Mar  4 20:05:29 shield diald[326]: Running connect (pid = 401).
>Mar  4 15:05:29 shield chat[401]: abort on (BUSY)
>Mar  4 15:05:29 shield chat[401]: abort on (NO CARRIER)
>Mar  4 15:05:29 shield chat[401]: send (ATZ^M)
>Mar  4 15:05:29 shield chat[401]: expect (OK)
>Mar  4 15:05:29 shield chat[401]: ATZ^M^M
>Mar  4 15:05:29 shield chat[401]: OK
>Mar  4 15:05:29 shield chat[401]:  -- got it
>Mar  4 15:05:29 shield chat[401]: send (ATDT4103395344^M)
>Mar  4 15:05:30 shield chat[401]: expect (CONNECT)
>Mar  4 15:05:30 shield chat[401]: ^M
>Mar  4 15:06:15 shield chat[401]: alarm
>Mar  4 20:06:15 shield diald[326]: Connect script failed.
>Mar  4 15:06:15 shield chat[401]: Failed
>Mar  4 20:06:17 shield diald[326]: Delaying 30 seconds before clear to
>dial.
>
>





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

From: o r c @ p e l l . p o r t l a n d . o r . u s  (david parsons)
Crossposted-To: 
comp.unix.questions,comp.unix.advocacy,comp.unix.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Linux/FreeBSD compatability (Was Re: Best Free Unix? (why FreeBSD?))
Date: 4 Mar 1999 18:15:30 -0800

In article <7beri9$jm9$[EMAIL PROTECTED]>,
Felix Schroeter <[EMAIL PROTECTED]> wrote:
>Hello!
>
>In article <7b9jfp$[EMAIL PROTECTED]>,
>david parsons <o r c @ p e l l . p o r t l a n d . o r . u s> wrote:
>>In article <7b6skh$27ts$[EMAIL PROTECTED]>,
>>Robert Sexton <[EMAIL PROTECTED]> wrote:
>
>>>I'm still unsure as to why the Linux camp has made /proc into the
>>>lazy programmers kernel interface.   I guess its easier to open a file
>>>than to look up a system call.
>
>>     It's easier to get to the information that it is if that information
>>     is only in a system call.  If all the kernel information is locked
>>     up behind a system call, it's somewhat difficult to get at it from
>>     a shellscript.
>
>Why? On 4.4BSD, there's sysctl(3) for much kernel related information.

      Why?  It's an additional binary to shlep around, and something
      else to forget.    while read line;do echo "$line"; done < /proc/foo
      doesn't take anything that's not already in the shell (and with
      Linux anything that doesn't attract the newer and more bloated
      libc's is a definite win.)

                    ____
      david parsons \bi/ Why, yes, I am the last of the Linux a.out
                     \/                               distributions.

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

From: [EMAIL PROTECTED] (Christopher Seawood)
Subject: Re: Public license question
Crossposted-To: comp.os.linux,gnu.misc.discuss
Date: Thu, 04 Mar 1999 23:04:30 GMT

Distribution: 
Lines: 103
X-Newsreader: TIN [UNIX 1.3 BETA-950824-color PL0]

John Hasler ([EMAIL PROTECTED]) wrote:
: Christopher Seawood writes:
: > Per Section 3, what constitutes "normally distributed with major
: > components of the operating system"?

I asked the wrong question.  That should've been "who decides what's
normally distributed with the major components of a free operating
system?"

: Exactly.  When the GPL was written it was easy to tell where one OS left
: off and another began.  With Linux the boundaries are fuzzy.  RMS has made
: the (reasonable, IMHO) interpretation that Linux distributions are
: variations on a single OS.

So who decides what the major components of that single OS are?
The copyright holders of the individual pieces?  The distributors?
Or do we go the route of the least common denominator of packages amongst
distributions?

: Copyright law does not concern itself about processes, source files,
: sockets, linkage, etc.  Copyright is about making copies.  If your work as
: didtributed contains a copy of part or all of another work it is a
: derivative of that work.  If not, it isn't.
: 
: > 4) If a dynamically loaded module under the GPL is considered to be a
: > derivative work of a proprietary product, is there a violation of the
: > GPL?
: 
: RMS says yes.  I say no, as long as your work as distributed does not
: contain any portion of the GPL work (this may not be practical).

Is there any practical way to refute what RMS says?  As writer of the
license, he obviously has insight to what the license should mean but
what if his interpreation of a scenario is based upon what he wants the
license to say rather than what it actually does say?  I'd hate to think
that going to court would be the only way to resolve these differences.

Since copyright law only concerns itself with copying, why would
dynamically loaded modules be considered derived works if there is no
copying involved?  From what I've read, they shouldn't be.

And since the GPL has no conditions about the *use* of a the product
(only copying, modification and distribution), how is dynamically loading
a GPL'd shared library or module by a non-GPL'd program a violation
of the GPL?  The executable of the program has no GPL'd code in it.
Now when the executable is run, the executable may share process space
with the GPL'd code but that's a runtime (*use*) issue and should be
out of the scope of the GPL.  This is also assuming that the program
and the GPL'd module/lib are distributed separately.

: > If so, who is performing the violation?
: 
: Reread the GPL.  It can't be the end user because the GPL does not limit

I never said the end user was performing the violation.  If there is a
violation, then who is doing it?  Could it be that there is no actual
violation but only the potential for one?  The GPL doesn't say anything
about use so the combination of the proprietary product and the GPL'd
module is only a violation if the combination is distributed as a *single
product* if I'm reading the GPL correctly.  Existing on the same media
isn't enough to declare it a violation since the GPL explicitly states

   "mere aggregation of another work not based on the Program
   with the Program (or with a work based on the Program) on a volume
   of a storage or distribution medium does not bring the other work
   under the scope of this License."

: > The linux kernel comes with a notice (quoted below) at the top of the GPL
: > distributed with it.  Is this notice adding an exception to the GPL or
: > merely clarifying a point?
: 
: I'd call it an exception, but there is really no difference.

Well, the difference is whether the kernel is under pure GPL or GPL
with an exception which is very similar to the KDE situation.  If it's
clarifying a point, then it doesn't change the meaning of the license.

: 
: > Lesse, if you ask a question, you're considered to be whining.
: 
: No.  You should understand, however, that "questions" about the GPL often
: turn into "What do you mean, putting 10 lines from emacs in my 10,000 line
: program will require that I GPL it!  That's not fair!"  This has happened
: so often that people sometimes respond reflexively.

Yes, I understand it but I don't necessarily like it.  Preemptive strikes
against the proven "bad guy" is one thing but against someone asking an
honest question is quite another.

: You also have to read it, read some copyright law, go to dejanews and read
: the extensive discussions on the subject that have taken place on these
: newsgroups in the past, and, if necessary, ask your lawyer.

I see the same arguments being brought up over and over again in the
newsgroups without any clear resolution.  From my limited readings of it,
copyright law hasn't quite adapted to software yet so can't be relied
upon in all cases.  With leaves us with going straight to the lawyers
who, in most cases, know nothing about how software works but would be
willing to take the case to court for a judge to decide (who may also
know nothing about how software works).

- cls


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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: why is compiling (and installation) so difficult
Date: 4 Mar 1999 00:56:37 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, 
[EMAIL PROTECTED] wrote:
> Installation of nedit.rpm worked
> fine, but trying to start the software produced an "undefined symbol
> error: register frame info".

This is a symptom of moving binaries between systems with
differently-compiled libraries, e.g., taking a binary compiled
with egcs on a system with egcs-compiled glibc and trying to run
it on a system with gcc-compiled glibc.  (Not easy to describe!)

(If this particular situation is yours -- although perhaps other 
configuration combinations may cause the __register_frame_info 
problem -- you need to ask the supplier of your binary executable 
to compile with gcc, or to install an egcs-compiled libc on your
own system.  Note that libc is crucial to the functioning of your
system, and replacing it is not for the faint-hearted.)

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Roy Stogner)
Subject: Re: Port redirection in C question
Date: 4 Mar 1999 05:50:36 GMT

On Wed, 3 Mar 1999 21:00:03 -0500, David Sisk wrote:

>Is there a/what is the system call in Linux (from C) to redirect an INET
>socket request to a socket server listening on a different port?

There is none - once you connect on one TCP port, you've already done
the handshake, and you're connected on that port only.  All the
incoming client packets are now stamped "port 2000" and that won't
change.

>For instance, say you have a socket server listening on port 2000 and a
>different socket server listening on port 2001.  A socket connection request
>from a client shows up at port 2000.  How can the socket server listening on
>port 2000 send the request to the socket server listening on port 2001?
>
>I can think of one way to do this:  let the client connect to the server on
>port 2000, have the server on port 2000 send it the port number to connect
>to, then have the client disconnect from the server on port 2000 and
>reconnect to the server on port 2001.

The way to do this depends on just which programs you can rewrite.

If you can rewrite all three programs, why not just have the client
connect to 2001 in the first place?

If you can rewrite the server on 2000 and the client, then the best
thing to do is what you said - include a message in your comm protocol
to tell the client to switch to another port.

If you can rewrite both servers, perhaps you could fork() the 2000
server, use a dup2() to copy the client file descriptor onto some
prearranged value, then exec() a copy of the 2001 server which will
check that value for an open descriptor to use.  Inetd does
essentially this, handing processes like in.telnetd an open TCP
connection which has been assigned to stdin/stdout.

If all you can rewrite is the 2000 server, the best you can do is open
a connection to localhost:2001 yourself and start echoing.  If you've
written good code this won't add more than a few milliseconds latency.
---
Roy Stogner

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

From: [EMAIL PROTECTED] (Roy Stogner)
Subject: Re: ASCII screen saver
Date: 4 Mar 1999 05:52:58 GMT

On Wed, 3 Mar 1999 18:21:54 +0000, Matthias Warkus wrote:

>Is there a nice ASCII screen saver for the console? I'd love to have
>something different from the usual blank screen.

Try hunting around for "aalib" - with that you can make any svgalib
or libggi program run on a tty.
---
Roy Stogner

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

From: "C.R." <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux.slackware,comp.os.linux.development.system,comp.os.linux.hardware,comp.os.linux.setup
Subject: Re: Overclocking (was: Re: K6-2 and Linux, Are there any Bug?)
Date: Fri, 05 Mar 1999 02:56:04 GMT

Just raise the voltage to at least 2.3V.  If that doesn't work try 2.4V.

My K6-2/350 works PERFECTLY at 400 but, like yours, it won't even boot if I
run it at only the standard 2.2V.

C.R.


Michael Creasy wrote:

> If this is the case can someone tell me why my K6-2 350 when overclocked
> to 400 crashes linux on boot, it has a huge fan on it.
>
> Michael
>
> > Bulls. some chips are meant to beoverclocked - the P2-300 for example,
> > in the last 6 months of it's manufacture, it was made with a P2-350 core
> > hard wired to be 300. you can easily un-wire it (OK , not so easily). or
> > the Celeron 300A which overclocks to 450 w/o a glitch just by changing
> > the FSB speed, or the K6-2 300 which can overclock to 375 w/o additional
> > cooling, or any P5 MMX chips which can usually be overclocked to about
> > 20% more, if you have the right board, w/o needing for extra hardware
> > (coolants) or voltage tweeking. nowdays, you can even overclock
> > HardDisks.
> > Oded


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

From: Bill Kent <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux
Subject: Re: Public license question
Date: Thu, 04 Mar 1999 01:11:44 -0500

Matthias Warkus wrote:

> - have a solicitor/lawyer (what's ein Notar / un huissier in English?)
>   keep a sealed copy, let him sign a paper about the exact date you
>   gave him the copy

Notary Public???

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

From: [EMAIL PROTECTED] (Matthias Benkmann)
Subject: Re: Windows NT & partition tables
Date: Thu, 04 Mar 1999 23:57:16 GMT

>Now my partition table is screwed up bad by NT which trashed the
>partition table.  This must happen to so many people and I hope that
>surely there is some way to recover...........

The following is a posting I found on comp.os.linux.announce. I don't
have any personal experience with it but it might help. To avoid these
kinds of problems in future you should make a backup of the partition
table (with the dd command) that you can write back in case of
emergency (of course you must keep this backup on a floppy not on the
hard disk :-)

========================== from comp.os.linux.announce =============
This is the first public release of gpart, a small tool
which attempts to reconstruct the primary partition table
of a hard disk by stepping through its sectors and looking
for possible filesystem/partition starts.

Because this is an alpha-release it still needs lots of
testing. Especially the HPFS-detection was not tested.

Begin3
Title:          gpart
Version:        0.1b
Entered-date:   11JAN99
Description:    A tool which tries to guess the primary partition
                table of a PC-type hard disk in case the primary
                partition table in sector 0 is damaged, incorrect
                or deleted. The guessed table can be written to a
                file or device. Supported (guessable) filesystem or
                partition types: DOS/Windows FAT, Linux ext2 and
                swap, OS/2 HPFS, Windows NTFS, FreeBSD and Solaris/x86
                disklabels, Minix FS.
Keywords:       hard disk primary partition table reconstruction
Author:         [EMAIL PROTECTED] (Michail Brzitwa)
Maintained-by:  [EMAIL PROTECTED] (Michail Brzitwa)
Primary-site:   http://home.pages.de/~michab/gpart/
                ~42k gpart-0.1b.tar.gz
Alternate-site: sunsite.unc.edu /pub/Linux/system/filesystems
Platforms:      Linux, FreeBSD
Copying-policy: GPL

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

From: [EMAIL PROTECTED]
Subject: Re: FreeAgent for Linux
Date: Fri, 26 Feb 1999 17:09:47 +0100

Try the lightweight NNTP server Leafnode
Available from:

http://wpxx02.toxi.uni-wuerzburg.de/~krasel/leafnode.html

Rudy Taraschi <[EMAIL PROTECTED]> wrote:
> Hi folks,

> I want something that doesn't exist, FreeAgent for Linux.  Believe it or
> not, it's the only reason I have Windoze95 still installed on my PC.
> (I've sent them an email asking for FreeAgent for Linux, if you're
> interested, maybe you should do the same and create some demand).

> Now here's my question.  I still like using 'tin' to read news, but need
> to do my reading offline (ie, at home).  Is there a 'news sucker' for
> Linux that will read in all the headers, allow me to wade through them
> and tag what I want, and inhale them onto my computer so I can use tin
> (or whatever) to read them later on?  Thanks.
-- 
Anders Gulden Olstad @ Brinkley | * * * * * * * * * * * * * * * * * * * * 
RedHat 5.2 Linux kernel 2.0.36  | "Penguins are generally nice creatures"

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

From: Moses Fridman <[EMAIL PROTECTED]>
Crossposted-To: comp.graphics.apps.ghostscript
Subject: [Printer] HP697C and Ghostscript--Wet printing
Date: Fri, 05 Mar 1999 03:40:53 GMT

I have a new HP697C printer which I have set up to use the HP550 driver
in Ghostscript.  I have used the "-sDepletion=2" switch, but it still
seems like the printer is soaking the paper with ink when I print in
black and white.  Is there a ghostscript option which will reduce the
ink usage?  Or is this more a paper problem (I'm using plain copier
paper).

Moses



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

Date: Wed, 03 Mar 1999 18:22:30 -0800
From: Tommy Willoughby <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Module configuration

I'm running RedHat 5.2 and re-compiled the stock 2.0.36 kernel and
modules.

All went ok (the boot process whizzes now!) but it's looking for sound
and midi which are now compiled-in.

I see that /etc/conf.modules contains the config instructions for these
and my guess is that it's this file which is causing the failed search
at boot. Is there some step I missed which would re-generate this file
for my new setup, or should I edit it by hand?

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

From: Anatol Quabach <[EMAIL PROTECTED]>
Subject: Re: Module configuration
Date: Thu, 04 Mar 1999 01:58:31 +0100

Tommy Willoughby wrote:
> 
> I'm running RedHat 5.2 and re-compiled the stock 2.0.36 kernel and
> modules.
> 
> All went ok (the boot process whizzes now!) but it's looking for sound
> and midi which are now compiled-in.
> 
> I see that /etc/conf.modules contains the config instructions for these
> and my guess is that it's this file which is causing the failed search
> at boot. Is there some step I missed which would re-generate this file
> for my new setup, or should I edit it by hand?

/etc/modules ?

-- 
Anatol Quabach <[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 (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