Subject: Linux-Misc Digest #702
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sat, 3 Sep 94 00:13:14 EDT

Linux-Misc Digest #702, Volume #2                 Sat, 3 Sep 94 00:13:14 EDT

Contents:
  Re: SOCK_PACKET: Why not reading outgoing packets ? (Peter Howlett)
  Re: Does Linux really benefit from video cards? (Bill Broadley)
  Pointer to Linux UUCP/News/Mail HOWTO documents (Vince Skahan)
  *** PLEASE READ THIS BEFORE POSTING *** (misc-2.07) (Ian Jackson)
  Re: uugetty doesn't work!!!!!!!!!!!!!!!! (Chris Kwasnicki)
  do EIDE drives(>500 MB) work in Linux (William Parsons Newhall, Jr.)
  Re: Boca 8 Port Board - Great For Linux (Maciej Otreba)
  Problems with TMC-1660ER SCSI card. (Joe Smith)
  Re: Application to format/read/write Macintosh Disks (Phil Hughes)
  Re: Unix programming question (Andrew R. Tefft)
  Re: Does Linux really benefit from video cards? (Kurt M. Hockenbury)
  Green Motherboards (Karsten Johansson)
  Looking for X11 Apps (Steve Murphy)
  Re: Does Linux honor the setuid bit on shell scripts? (H. Peter Anvin)
  Re: Class 1 FAX Software for Linux? (Gary Lawrence Murphy)
  Re: Linux Inside T-Shirts, Now Printing! (Dave Rossow)
  Re: PGP Signature (Was: Suggest:SCSI Tape File System) (Darin Johnson)
  Re: Boca 8 Port Board - Great For Linux (Harald Milz)
  Re: Does Linux honor the setuid bit on shell scripts? (H. Peter Anvin)

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

From: [email-masked] (Peter Howlett)
Crossposted-To: comp.os.linux.admin,comp.os.linux.development,comp.os.linux.help
Subject: Re: SOCK_PACKET: Why not reading outgoing packets ?
Date: 2 Sep 1994 14:35:46 GMT

Alan Cox ([email-masked]) wrote:
: In article <[email-masked]> [email-masked] (Morten Jammer) writes:
: >Why can the socket typ SOCK_PACKET only read outgoing packets
: >when the interface is in promiscious mode ?

: It can definitelyt read all incoming packets on all the cards I use
: (barring etherexpress) otherwise tcpdump wouldnt work. Outgoing packet
: viewing is very recent but now works.

: Alan

Is it possible for me to get more information on how to use this
type of socket? (Can it be used to implement user level routing
protocols or packet filters?)

====================================================================
Peter Howlett                   Atlantic Systems Group
E-Mail: [email-masked]     Fredericton, N.B. Canada

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

From: [email-masked] (Bill Broadley)
Subject: Re: Does Linux really benefit from video cards?
Date: Wed, 31 Aug 1994 18:37:39 GMT

: no-name S3-805 card in an 486SX-33 and it gets 86K xstones using XFree
: 2.1. I paid 630 FIM for it, so it must be well under $100 in the US.
: (US$ is ~5 FIM, and we have a 22% VAT).

: 86K xstones seems surprisingly good to me, especially considering that
: 486SX-33 is nowadays pretty lame. Anyone know if this score correlates
: with realistic X video performance? I didn't notice that the S3 server
: would cheat somehow, but don't trust me in that.

: Note: I'm not flaming CL5428 either. They're also good cards for their
: price, and very common, which means good support.

I got similiar performance from an ISA bus 386-40 with a S3-801.  I
was very pleased that my $110 S3 card with 1 MB ram, did just
about as well as the ATI-Ultra-pro which was $$$ at the time.

--
Bill Broadley           [email-masked]           UCD Math Sys-Admin
Linux is great.         Bike to live, live to bike.                     PGP-ok

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

Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.announce
From: [email-masked] (Vince Skahan)
Subject: Pointer to Linux UUCP/News/Mail HOWTO documents
Reply-To: [email-masked] (Vince Skahan)
Date: Wed, 31 Aug 1994 19:09:14 GMT

Last-modified: 26 Aug 1994

This is a periodic pointer to the Linux Mail, UUCP, and News 
HOWTO documents that are part of the Linux Documentation Project.  

These contain (hopefully) enough information to answer the 
Frequently Asked Questions on those subjects that are epidemic 
in the comp.os.linux.* hierarchy.

(the following is straight out of the Linux FAQ that is posted
        routinely to comp.os.linux.announce)

To get HOWTOs via anonymous ftp, please try the following sites:
        ftp.funet.fi (128.214.6.100) : /pub/OS/Linux/doc/HOWTO
        tsx-11.mit.edu (18.172.1.2) : /pub/linux/docs/HOWTO
        sunsite.unc.edu (152.2.22.81) : /pub/Linux/docs/HOWTO
 
To get them via the WorldWideWeb, please use the following URLs:
        http://sunsite.unc.edu/mdw/HOWTO/MAIL-HOWTO.html
        http://sunsite.unc.edu/mdw/HOWTO/UUCP-HOWTO.html
        http://sunsite.unc.edu/mdw/HOWTO/NEWS-HOWTO.html
        http://sunsite.unc.edu/mdw/HOWTO-Index.html

To get them via electronic mail:
        There are a variety of ftp-by-electronic mail servers on
        Internet, each with their own particular syntax.  In
        general, you want to mail to any of the following addresses
        with the word 'help' as the text of your message:

        [email-masked]
        [email-masked]
        [email-masked]
 
--
   ------------------- Vince Skahan ------ [email-masked] ----------------
   Try http://www.halcyon.com/vince/welcome.html for the latest versions of
   the Linux Electronic Mail, UUCP, and USENET News 'HOWTO' documentation...

--
Send submissions for comp.os.linux.announce to: [email-masked]
Be sure to include Keywords: and a short description of your software.

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

From: [email-masked] (Ian Jackson)
Subject: *** PLEASE READ THIS BEFORE POSTING *** (misc-2.07)
Date: 2 Sep 1994 04:03:25 -0600

Please do not post questions to comp.os.linux.misc - read on for details of
which groups you should read and post to.

Please do not crosspost anything between different groups of the comp.os.linux
hierarchy.  See Matt Welsh's introduction to the hierarchy, posted weekly.

If you have a question about Linux you should get and read the Linux Frequently
Asked Questions with Answers list from sunsite.unc.edu, in /pub/Linux/docs, or
from another Linux FTP site.  It is also posted periodically to c.o.l.announce.

In particular, read the question `You still haven't answered my question!'
The FAQ will refer you to the Linux HOWTOs (more detailed descriptions of
particular topics) found in the HOWTO directory in the same place.

Then you should consider posting to comp.os.linux.help - not
comp.os.linux.misc.

Note that X Windows related questions should go to comp.windows.x.i386unix, and
that non-Linux-specific Unix questions should go to comp.unix.questions.
Please read the FAQs for these groups before posting - look on rtfm.mit.edu in
/pub/usenet/news.answers/Intel-Unix-X-faq and .../unix-faq.

Only if you have a posting that is not more appropriate for one of the other
Linux groups - ie it is not a question, not about the future development of
Linux, not an announcement or bug report and not about system administration -
should you post to comp.os.linux.misc.

Comments on this posting are welcomed - please email me !
--
Ian Jackson  <[email-masked]>  (urgent email: [email-masked])
2 Lexington Close, Cambridge, CB4 3LS, England;  phone: +44 223 64238

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

From: [email-masked] (Chris Kwasnicki)
Subject: Re: uugetty doesn't work!!!!!!!!!!!!!!!!
Date: Fri, 2 Sep 1994 16:55:23 GMT

In article <[email-masked]> [email-masked] (Tracy R. Reed) writes:
>From: [email-masked] (Tracy R. Reed)
>Subject: uugetty doesn't work!!!!!!!!!!!!!!!!
>Date: 31 Aug 1994 01:46:48 GMT

>[ Article crossposted from comp.os.linux.help ]
>[ Author was Tracy R. Reed ]
>[ Posted on 31 Aug 1994 01:45:18 GMT ]

>ttyS1 to answer incoming calls. Yes, I have read the Serial-HOWTO and did 
>everything they prescribed. uugetty starts in inittab and takes ttyS1. 
>But it does not run the conf.uugetty.ttyS1 file!!!! Therefore, I get no 
>modem init, no wait for RING, no ATA, etc. I have tried changing the file 
>so that it does ATS0=1 and that does not work either. I have also tried 
>using uugetty.ttyS1, which I am told some of the older versions of 

In one of the HOWTO's, it mentions doing a 
     strings uugetty | grep "/etc/defaults"
to verify that you have the right version.  I installed Slackware 2.0, and the 
versions of getty there did not support the conf.uugetty.* setup.

Chris

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

From: [email-masked] (William Parsons Newhall, Jr.)
Subject: do EIDE drives(>500 MB) work in Linux
Date: Wed, 31 Aug 94 15:37:39 EDT

I am thinking of buying a 1 GB Western Digital IDE drive, but someone told me
that IDE drives have a max. limit of 500 MB and that this drive is an Extended
IDE drive. Does Linux support this type of drive?
   William Newhall
   [email-masked]

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

From: [email-masked] (Maciej Otreba)
Subject: Re: Boca 8 Port Board - Great For Linux
Date: 1 Sep 1994 07:07:00 GMT

Referring to multi serial cards: does anyone know, how advanced is support
for "intelligent" multi serials such as DigiBoard?

Maciej
--

                        ___________________________________________________
                       |                          /                        |
                       | Maciej Otreba           / E-MAIL:                 |
                       |------------------------/--------------------------|
                       | 87-116 Torun, POLAND  /                           |  
                       | Dzialowskiego 4/4    / [email-masked]   |    
                       | phone +48-56-485645 /                             |
                       |____________________/______________________________|

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

From: [email-masked] (Joe Smith)
Subject: Problems with TMC-1660ER SCSI card.
Date: 1 Sep 1994 22:31:24 -0700

I have a Future Domain TMC-1660ER which I use with Windows NT and OS2
connected to access an IBM ( Toshiba ) CDROM drive.  I recently
purchased the Yggdrasil Plug and Play package.  On booting, the system
does not detect the SCSI interface.  I have configureed the card to use
the BIOS and also I have tried disabling the BIOS and booting linux with
the

    boot: linux tmc16xx=0xCA000,5 

Is anyone else using this interface that could offer a suggestion. Any
help would be much appreciated.

-- 
[email-masked]  Public Access User --- Not affiliated with TECHbooks
Public Access UNIX and Internet at (503) 220-1016 (2400-14400, N81) 

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

From: [email-masked] (Phil Hughes)
Subject: Re: Application to format/read/write Macintosh Disks
Date: Fri, 2 Sep 1994 13:18:24 GMT

Holger Dunkel UP4 ([email-masked]) wrote:
: [email-masked] (James Pinakis) writes:

: >I'm curios to know if there is a Linux application which will format, read
: >and write Macintosh disks.  I understand that there is some kind of fundamental
: >incompatability between the two kinds of drives, but I desperately need to
: >transfer some files between the two and don't have easy access to a Macintosh.

: Several solutions:
: - use xhfs to read data from Apple 1.44 MB HFS floppies (no write so far as 
: I  know)
: - use mtools to exchange data on DOS formatted flopies, and 
:   Dosmounter, PCexchange or the Convert-Program included in the System 7
:   distrubution.

What we need to do is at least read Syquest 88MB cartridges written by a
MAC.  xhfs only does floppies and, according to our Mac person, a PowerMac
will not write DOS format stuff on a Syquest (just on floppies).  Can
anyone confirm this or offer an alternative?  This just because real
important since we converted our office to a network of Linux systems and
just leased an imagesetter that will be connected to a Linux system.
--
Phil Hughes, Publisher, Linux Journal (206) 527-3385
usually [email-masked], sometimes [email-masked]

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

From: [email-masked] (Andrew R. Tefft)
Subject: Re: Unix programming question
Reply-To: [email-masked]
Date: Fri, 2 Sep 1994 14:02:19 GMT

In article [email-masked], [email-masked] (Mark Weaver) writes:
>In article <[email-masked]>,
>Van Dao Mai <[email-masked]> wrote:
>>I have programmed UNIX for a long time and feel frustrated with the way
>>software is installed on the system. Under UNIX people often have to 
>>hardwire the paths and settings into the executable at compile time.
>>This is in contrast with DOS that passes the full path name of the execuatble
>>as argv[0] so that you can search for library + data files. 
>
>Un*x passes the pathname the executable (relative to the current
>directory) in argv[0], and that in addition to the current working
>directory tells you exactly where the program is.

No, I did some testing, and argv[0] seems to always be the command name
that is used to execute the command; if it is found by virtue of being
in the user's search path, only the command name itself is there.

In shell scripts, however, $0 seems to be the full path to the script,
or the path relative to the current directory when the script is started.
It is easy enough for the script to tell which, by virtue of a leading /.

So a shell script wrapper can be used to tell your program where it lives,
through environment variables, executing the real program using the full
path (and thus passing argv[0] the way the original poster likes), or
an extra argument.

---

Andy Tefft               - new, expanded .sig -     [email-masked]

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

From: [email-masked] (Kurt M. Hockenbury)
Subject: Re: Does Linux really benefit from video cards?
Date: Fri, 2 Sep 1994 15:40:57 GMT

Phil Homewood ([email-masked]) wrote:
: S. Hosseini ([email-masked]) wrote:
: : Hi Linuxers:

: : My question: 
: :   I know there is much fuss about video cards in Linux 
: : commumity, but does Linux really benefit from them? and how ?

: Yes, it does.  Makes it a LOT easier to connect a monitor to the
: machine. :-)

But do you need one? I've seen at least one post about a system with no
monitor, just a dumb terminal on the serial port.  :-)

For that matter, you could remove the monitor and video card off a networked
system just fine if it was only for remote work (WWW server, ftp site, etc.)

        -Kurt Hockenbury

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

From: [email-masked] (Karsten Johansson)
Subject: Green Motherboards
Date: Thu, 25 Aug 1994 01:03:36 GMT

Sorry if this is the wrong newsgroup, but I really don't know where to ask
this one.

I just purchased a 486DX2-66 green motherboard.  This is the kind of
motherboard with the option to half the power to devices which are inactive
after a certain period of time, and then reset the power consumption upon
any sign of device activity.

I know that this works very well for DOS, which doesn't really care what is
happening to the system it is on.  I wonder though, will Linux react
favourably to devices having their power cut in half, without raising a
fuss?  Since my systems are running 24 hours a day, I'd be interested in
upgrading all of my systems to green motherboards, so long as Linux will
handle them well.

At the same time, I don't want to cause problems by trying it.  I've had
unusual experiences with self-caching hard-drives hooked to Linux, and don't 
want to go through this again.

Anybody else have a green motherboard, with these options enabled?

Thanks for any information. 

-- 
There are those who are born UNIX     |  Karsten Johansson
Those who are made UNIX               |  416/691-9838
And those who become UNIX             |
For the kingdom of heaven's sake      |  Matthew 19:12

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

From: [email-masked] (Steve Murphy)
Subject: Looking for X11 Apps
Date: 1 Sep 1994 19:55:00 GMT

Help: I'm in need of a good WYSIWYG word processor for X11/Linux.  I have 
searched around, but fear I'm not looking in the right places.  I'm also
looking for a good presentation creation program or a flowcharting tool
for X11/Linux.  Something like Microsoft PowerPoint would be nice.
I'm trying to replace my application base of MS-Office with X11/Linux
applications and need these two to finish complete the set. 

If I can get rid of DOS/Windows, I'd be very very happy.  But I need these
apps to do my design work.  BTW: I've tried XFIG and TGIF for drawing, but 
find them a bit too cumbersome for flowcharting and presentation work.

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

From: [email-masked] (H. Peter Anvin)
Subject: Re: Does Linux honor the setuid bit on shell scripts?
Reply-To: [email-masked] (H. Peter Anvin)
Date: Fri, 2 Sep 1994 15:40:17 GMT

Followup to:  <[email-masked]>
By author:    [email-masked] (Matthew Dillon)
In newsgroup: comp.os.linux.misc
>
>     Shell scripts are not just used for tcsh, csh, and bash stuff... Frankly,
>     there are plenty of interpreted languages out there that benefit greatly
>     from a suid capability that I cannot run under linux without creating
>     a C wrapper.
> 
>     perl comes to mind.
> 

Matt, at least some versions of Perl can run suid scripts?  How?  By
making /usr/bin/perl setuid root and have that binary handle the
permissions/security stuff.  This is THE RIGHT WAY to handle *any*
language which securely can run setuid programs, and can be done on a
language-by-language basis.

        -hpa
-- 
INTERNET: [email-masked]             --- Allah'u'abha ---
IBM MAIL: I0050052 at IBMMAIL     HAM RADIO:   N9ITP or SM4TKN
FIDONET:  1:115/511 or 1:115/512  STORMNET:    181:294/1 or 181:294/101
WWW hyplan available at <http://www.eecs.nwu.edu/hpa/plan.html>

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

Crossposted-To: comp.os.linux.help
From: [email-masked] (Gary Lawrence Murphy)
Subject: Re: Class 1 FAX Software for Linux?
Date: Fri, 2 Sep 1994 21:53:40 GMT

I could only find efax06a on sunsite --- where does 06b live?

--
Gary Lawrence Murphy --------------------------- garym@[199.71.70.30]
Sr.Scientist, Media Technology --------- Research & Exhibits Planning
Ontario Science Centre ------------------- voice: (416) 429-4100x2215
770 Don Mills Road, Don Mills, Ontario M3C 1T3 -------- fax: 696-3181
====================================== nothing surpasses the ordinary

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

From: [email-masked] (Dave Rossow)
Crossposted-To: aus.computers.linux,alt.linux.sux,alt.os.linux,comp.os.linux.admin,comp.os.linux.development,comp.os.linux.help
Subject: Re: Linux Inside T-Shirts, Now Printing!
Date: 2 Sep 1994 22:11:25 -0500

[email-masked] (Justin Scott) writes:

>Any type of JPEGs, etc we can see of the shirts before we order?

>I would love to have the "Linux Inside" as will as the "GNU Generation" 
>shirts, but only if I can see pics before purchase

>Justin

Likewise!

        dave
        [email-masked]

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

From: [email-masked] (Darin Johnson)
Crossposted-To: comp.os.linux.development
Subject: Re: PGP Signature (Was: Suggest:SCSI Tape File System)
Date: 02 Sep 1994 05:57:14 GMT

> If I write a message and sign it with my 
> public key (that you have and you *KNOW* comes from me) you can tell 2 
> things: 1) that I wrote it and 2) the message text was not tampered with.

That also begs the question of whether or not your message was
important enough to even care if you really wrote it or not.

Now maybe if you were my boss telling me to get ready and head
over to meet with the European office for the week, I'd be concerned.
But I've seen nothing so far on the net (well over 10 years) where
it mattered who posted or not.
--
Darin Johnson
[email-masked]
       Support your right to own gnus.

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

From: [email-masked] (Harald Milz)
Subject: Re: Boca 8 Port Board - Great For Linux
Reply-To: [email-masked]
Date: Fri, 2 Sep 1994 16:10:15 GMT

In comp.os.linux.misc, Maciej Otreba ([email-masked]) wrote:

> Referring to multi serial cards: does anyone know, how advanced is support
> for "intelligent" multi serials such as DigiBoard?

There is none up to now. A driver for the Specialix SI is in progress. 
Pls check the Projects Map. 

-- 
Don't abandon hope: your Tom Mix decoder ring arrives tomorrow.
-- 
Harald Milz ([email-masked])      WWW: http://www.ix.de/editors/hm.html
iX Multiuser Multitasking Magazine      phone +49 (511) 53 52-377
Helstorfer Str. 7, D-30625 Hannover     fax   +49 (511) 53 52-378
Opinions stated herein are my own, not necessarily my employer's.
arily my employer's.

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

From: [email-masked] (H. Peter Anvin)
Subject: Re: Does Linux honor the setuid bit on shell scripts?
Reply-To: [email-masked] (H. Peter Anvin)
Date: Fri, 2 Sep 1994 15:51:55 GMT

Followup to:  <[email-masked]>
By author:    [email-masked] (Alan Cox)
In newsgroup: comp.os.linux.misc
> 
> Valid point. I guess if someone feels like fixing the kernel so that it
> doesn't have the implicit script re-open race and is thus safe at that level
> it would be quite nice.
> 

This has already been done several times, by utilizing the /proc
filesystem (which is the only way to do it).  Linus has rejected the
patches every time.

        *** Explanation for anyone who missed this thread last time ***

When the kernel detects a shell script (magic number "#!") it will do
the usual checks for accessibility, then open the file to read the
command processor.  Then it exec's the *command processor* with the
filename on the command line.  The command processor than opens the
file in user space: race condition.

The alternative proposed was passing the file argument as a file
descriptor through the /proc filesystem; however, all of a sudden you
have an essential kernel service *dependent* on having the /proc
filesystem properly mounted; in fact, the patches I saw all hard-coded
the name /proc and used it for all shell scripts.  I am not too sure
how well the system startup would have dealt with that.

However, once again I am saying that this is the Wrong Thing to do.
The kernel should assign the new process with the privileges by the
user and the *binary* executed, which is the command processor.  If
the command processor can handle setuid scripts, and the sysadmin
wants to enable them, it should be run as setuid root and convey the
privileges itself.

        /hpa

-- 
INTERNET: [email-masked]             --- Allah'u'abha ---
IBM MAIL: I0050052 at IBMMAIL     HAM RADIO:   N9ITP or SM4TKN
FIDONET:  1:115/511 or 1:115/512  STORMNET:    181:294/1 or 181:294/101
Denied!

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

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

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Misc Digest
******************************