HDTenEightyP/NetNews huggingface dataset:
From: venenga@iscsvax.uni.edu
Newsgroups: comp.sys.sun.admin
Subject: Changing IP flags under Solaris 2.x
Date: 21 Jan 93 09:17:49 -0600
Organization: University of Northern Iowa

Netters,

    We just purchased a SPARCstation 10 running Solaris 2.1.  I am having
problems with ping, in that certain hosts on our network won't respond
to the ping request.  I have captured the packets from the SUN (using both
a sniffer and the supplied snoop), and see only one difference between the
Solaris packets and the ping request packets generated from other hosts on
the network.  The Solaris IP header has the flags set at 0x4, which disallows
fragmentation.  The IP header from the other platforms (SUNOS4, SYSVR3, etc.)
has the flags set at 0x0, which allows fragmentation.  The snoop output looks
like:

IP:   Flags = 0x4                       (Solaris)
IP:   .1.. .... - do not fragment

versus

IP:   Flags = 0x0                       (Others)
IP:   .0.. .... - may fragment


My question is, how do I change these flags on Solaris to 0x0.  I've looked
at ndd and ifconfig, but cannot figure out if either of these is what I need.
From what I've read and played with, neither ndd nor ifconfig allows me to
set these flags.  Any help would be greatly appreciated.  Thanks.

-jay
 
===========================================================================
Jay Venenga                              Internet: venenga@uni.edu
Systems Programmer                             or: venenga@att1.uni.edu
Information Systems and Computing Services
University of Northern Iowa             USWestNet: (319) 273-2008
Cedar Falls, IA  50614-0509                   FAX: (319) 273-3509

Disclaimer:  Standard

"Thinking for us, basically, is a trick, like a dog walking on two legs.
 It's amazing we can do it at all." - Hans Moravec 
===========================================================================
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.sys.sun.admin
Subject: Subnet-cognizant rarpd
Date: 28 Jan 1993 16:55:57 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
Distribution: world
NNTP-Posting-Host: telecaster.think.com

Does anyone know of a version of rarpd for Sparcstations that can deal with
multiple hosts having the same ethernet address, and return the address
that's appropriate for the subnet from which the query came?

We have some X terminals that are frequently moved between two different
subnets at our site.  Currently we have to edit the host table or ethers
map whenever we do this.  We would like to be able to list both hostnames
in the ethers map (or some replacement for it) and have rarpd return the
address that the terminal has on the subnet it's currently attached to.

-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.sys.sun.admin
From: jdell@nefertiti.mit.edu (John Ellithorpe)
Subject: Re: /dev/ttyp* modes and openwindows
Organization: Massachusetts Institute of Technology
Date: Thu, 21 Jan 1993 16:48:46 GMT

On Wed, 20 Jan 93 21:52:57 GMT, pwh@bradley.bradley.edu (Pete Hartman) said:

> I've seen this problem several times over the last couple of
> years of administering Suns of various types.  It seems to be
> getting to be more of a concern with the newer SunOS (4.1.2 and
> 4.1.3), where /etc/rc has a chmod 644 /dev/tty[pqrs]*.

> Whenever ttyp* is mode 644, and someone starts OpenWindows,
> they cannot open any shell or command tools.  If I go in and
> chmod 666 /dev/ttyp*, it works fine.  Obviously, the problem
> is that the windows can't write the device unless ownership is
> changed or the mode is 666.

In our /etc/rc file, we have chmod 666 not 644.  This is the way it was when I
upgraded from 4.1.1 to 4.1.3.  I don't know how yours got changed to 644 but
I would just change it back to 666.

John
--

===============================================================================
John Ellithorpe                           | Internet: jdell@maggie.mit.edu
Dept. of Physics, Rm 26-349               | Phone   : (617) 253-3074  Office
Massachusetts Institute of Technology     |           (617) 253-3072  Lab
Cambridge, MA  02139                      |           (617) 236-4910  Home
===============================================================================
Newsgroups: comp.sys.sun.admin
From: dlin@sal12.nynexst.com (David Lin)
Subject: DiskSuite on SPARC 10
Organization: NYNEX Science & Technology, Inc.
Date: Thu, 21 Jan 93 01:50:14 GMT

Does anyone know if Sun Online DiskSuite 1.0 is compatible with SunOS 4.1.3?
Specifically it's for Sparc10 M30. We are getting some interesting results..

-- 
   David Lin                dlin@nynexst.com
   NYNEX Science and Technology Inc.
   White Plains, NY         (914) 644-2336
Newsgroups: comp.sys.sun.admin
From: eoliver@ralph.cs.haverford.edu (Erik Oliver)
Subject: Bringing a Sun to it's knees
Organization: Haverford College Computer Science Department
Date: Mon, 25 Jan 1993 21:01:38 GMT

During our Operating Systems class, we were being asked to see for
ourselves that "modern" operating systems place limits on the number of
processes an individual user can run thus preventing over load.

Unfortunately, the following simple C program:
#include <stdio.h>
main()
{
makeproc();
}

makeproc()
{
fork();
printf("%d is Making a child\n",getpid());
makeproc();
}

Brought our Sun4 running SunOS 4.1.2 to its knees by using up _all_ the
available processes and thus preventing vfork from executing, even
typing ls from an already open shell was impossible.

We are thinking of ways to prevent this from happening again, any
suggestions?

-Erik
From: guy@Auspex.COM (Guy Harris)
Newsgroups: comp.sys.sun.admin
Subject: Re: Bringing a Sun to it's knees
Date: 27 Jan 93 19:14:29 GMT
Organization: Auspex Systems, Santa Clara

>SunOS limits a normal user to 25 processes or so.

As has already been pointed out in many postings here, it only does so
under SunOS 4.x if:

	1) you've set "maxusers" so that the total number of processes
	   is 30 - which would be rather tricky in at least some SunOS
	   4.x versions, given that the total number of processes is 10
	   + 16*"maxusers", and "maxusers" is an integer;

	2) you've tweaked the "param.c" file to, for example, not
	   override the definition of MAXUPRC, and to use the value of
	   25 from "/usr/include/sys/param.h".

You weren't simply assuming that, because MAXUPRC is 25 in
"/usr/include/sys/param.h", the total number of processes per user was
25, were you?  If so, please read "/usr/share/sys/conf.common/param.c"
if you have it on your machine....

Dunno what SunOS 5.x does.
From: brown@ftms.UUCP (Vidiot)
Newsgroups: comp.sys.sun.admin
Subject: Re: Adobe transcript with Sparc Printer?
Date: 22 Jan 93 15:47:30 GMT
Reply-To: brown@ftms.UUCP (Vidiot)
Organization: Vidiot's Other Hangout

In article <1jkk5aINN866@shelley.u.washington.edu> olsenc@stein2.u.washington.edu (Clint Olsen) writes:
<Hello:
<
<Does anyone know if Transcript will work with this printer, and if
<so, can someone tell me if it's worth the effort?

No, it will not.

Let me clarify before someone jumps on my tail.  The SPARCprinter is not a
PostScript printer, it is a raster engine, that has all of the rastering done
in the SPARCstation.  The output is then sent to the SPARCprinter via the
Sbus interface card.  All of the rastering is done via NeWSprint.  NeWSprint
has TranScript-like qualities, like enscript.

While the TranScript package can be used to manipulate PostScript, it cannot
talk directly to the printer.  The output must be sent to NeWSprint in order
to be printed (indirectly done with lpr, which does the NeWSprint filter
calling).  So, in the end, having TranScript running while using NeWSprint
is a total waste of money and resources.
-- 
harvard\
  ucbvax!uwvax!astroatc!ftms!brown  or  uu2.psi.com!ftms!brown
rutgers/
INTERNET: brown@wi.extrel.com  or  ftms!brown%astroatc.UUCP@cs.wisc.edu
Newsgroups: comp.sys.sun.admin
From: ohnielse@fysik.uni-c.dk (Ole Holm Nielsen)
Subject: Re: Setting up a postscript printer....
Reply-To: ohnielse@fysik.uni-c.dk
Organization: UNI-C, Danish Computer Center for Research and Education
Date: Wed, 27 Jan 1993 14:10:30 GMT

One possibility for adding a PostScript printer to your network is to buy
a network box that knows the BSD lpd protocol.  Then you can simply tell
lpd on your sun (via /etc/printcap) to print remotely.

We have two Chase IOPRINT boxes, which in Denmark cost approx. US$800,
that drive 1 parallel and 2 serial printers each.  They are really excellent
devices and well worth the money !!  You can telnet to the box for
configuration, and it can act as an lpd print server.  You can also print
from HP-UX and IBM-AIX systems, as well as through NeWSprint.
PCs with FTP Software's PC/TCP can also print directly.

/Ole

Newsgroups: comp.sys.sun.admin
From: tim@hssc.scarolina.edu (Tim White)
Subject: Re: Watcher
Organization: USC  Department of Computer Science
Date: 24 Jan 93 23:01:42 GMT

josem@manila.Eng.Sun.COM (Joey R. Montilla ES0 SunSoft) writes:


>Where can I get a copy of this ? its source ?

    See the July 1991 SunExpert for Dinah McNutt's article on Watcher. A
  good article. According to the author Watcher is on the Sun User Group
  CD-ROM or available by anonymous ftp at ariel.unm.edu.

--
==============================================================================
Tim White				 University of South Carolina
tim@otis.hssc.scarolina.edu	   Humanities and Social Sciences Laboratory
(803)-777-7840 		  		     Columbia, S.C. 29208
From: barmar@think.com (Barry Margolin)
Newsgroups: comp.sys.sun.admin
Subject: Re: LOTS of Questions ...
Date: 21 Jan 1993 22:57:55 GMT
Organization: Thinking Machines Corporation, Cambridge MA, USA
NNTP-Posting-Host: telecaster.think.com

In article <bern.727634821@kleopatra> bern@Uni-Trier.DE (Jochen Bern) writes:
>3) (X-Stations)	Having X-Stations or diskless Clients is a Question
>			of Console <-> Application Data Flow Amount vs.
>			Application <-> Disk Data Flow Amount (my Server
>			is empty enough to handle several XStats). Any
>			Experience about where the Equilibrium is?

I can't give you precise numbers.  In general, unless your applications
frequently produce continuous graphics (e.g. real-time animation) X has
relatively minor network overhead.

>4) (X-Stations)	Can I have the SUN's Window Manager "take over"
>			the XStat's Window Manager, like I can have the
>			DECwindows Session Manager taking over my OW Sun?
>			(What I really want to know is: Do I get the
>			Openwindows Window Frames, their Menu, and the
>			Workspace Menu, or am I stuck with the XStat's
>			Replacements for this?)

Not all X terminals have local window managers (e.g. my NCD19R doesn't).
On all the X terminals I've seen that have it, it can be turned off from a
configuration option.

>8) (NFS in 4.1.2)	I've heard that in the very Moment when a Filesys-
>			tem gets exported with more than 10 Clients named
>			as allowed for Mounting, NFS erroneously allows
>			ALL (local) Nodes to mount the FS. Is this true?

Not just local nodes.  When this happens, any node that can reach the file
server can mount it.

>			If yes, are there any Workarounds or Patches
>			available?

Yes, there's a patch.  I heard about the bug when the patch was announced.
-- 
Barry Margolin
System Manager, Thinking Machines Corp.

barmar@think.com          {uunet,harvard}!think!barmar
Newsgroups: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc
From: poffen@sj.ate.slb.com (Russ Poffenberger)
Subject: Re: SEGV inside malloc() - This shouldn't happen!
Followup-To: comp.sys.sun.admin,comp.sys.sun.apps,comp.sys.sun.misc
Organization: Schlumberger Technologies, ATE division, San Jose, Ca.
X-Newsreader: TIN [version 1.1 PL7]
Distribution: na
Date: Tue, 26 Jan 93 00:47:46 GMT

Conor P. Cahill (cpcahil@vti.com) wrote:
: In article <1993Jan22.215835.25188@sj.ate.slb.com>, poffen@sj.ate.slb.com (Russ Poffenberger) writes:
: > 
: > The best product I have seen is called "purify". It is not a debugger, but
: > rather instruments your module at link time. No funny macros, no funny
: > switches, just a change of your link line from "cc ..." to "purify cc ...",
: > then run the program. It will report memory overwrites, uninitialized
: > pointer usage, and memory leaks.
: 
: This is very similar to how SENTINEL works.  No funny macros, no funny 
: switches, just change your link line from "cc .... " to "cc ... -lsent .."
: then run the program.
: 

Yes, but this sounds like you are merely replacing the Sun library with your
own to do heap checking. Purify does much more than that, actually tracks
pointer usage for validity whenever you refernce memory. A simple library
cannot do this.

Russ Poffenberger               DOMAIN: poffen@sj.ate.slb.com
Schlumberger Technologies ATE   UUCP:   {uunet,decwrl,amdahl}!sjsca4!poffen
1601 Technology Drive		CIS:	72401,276
San Jose, Ca. 95110             Voice: (408)437-5254  FAX: (408)437-5246
From: wilson@moonshine.llnl.gov (Mike Wilson )
Newsgroups: comp.sys.sun.admin
Subject: Re: Sun Solaris 1.x on new Sun Classic
Date: 27 Jan 93 18:33:35 GMT
Organization: Magnetic Fusion Energy - LLNL

nanook@eskimo.com (Robert Dinse) writes:

>     It has definitely cost them some sales.  We need more workstations and
>didn't want to spend big dollars on the more expensive IPX.  The Classic looked
>like a great alternative, until I found out it could not run Solaris 1.X.

I second this.  We _cannot_ move to solaris 2.* within the next 8 months, so
we can only buy old tech.  Annoying to say the least.

>     Our application depends on a number of Sun-Link products, which aren't
>yet available under Solaris 2.x, so we can't move to 2.X even if we want to.
>Sun tells me they won't be available until the middle of this year, which
>probably translates to Dec 15th.  At any rate, the wait is unacceptable so now
>we are looking into clones.

We are looking into other vendors.  If we are screwed on the OS, why not be
screwed with the fastest hardware?

>     It amazes me how companies become arrogant and try to drive the market
>when they get large rather than remaining market driven.

Hmmm, First IBM, then DEC, now (say it ain't so) SUN?  Sigh, and I really liked
sun.
--
-------------------------------------------------------------------
wilson@moonshine.llnl.gov | Unix Sysadmin - MFE	 | 510-423-5937
Newsgroups: comp.sys.sun.admin
From: bob@sparkie.nrri.umn.edu (Robert I. Benett)
Subject: Contemporary Cybernetics tapedrives
Organization: U of Minnesota, Natural Resources Research Institute
Date: Mon, 25 Jan 1993 02:04:57 GMT



Hello,

We have a Contemporary Cybernetics tapedrive and are having a little confusion.
The thing is a 5GB (Cy-8500) model with the compression option and when first
powered up with a blank tape, shows ~18GB remaining (normal).  But as soon
as we write anything to the tape it goes to 8200 mode, showing ~8GB remaining
and we're running out of backup space *way* to early.

The question:
	How to get the thing into 8500 mode and make sure it stays that way

Thanks,

Bob Bennett
bob@sparkie.nrri.umn.edu
(218) 723-4914
Newsgroups: comp.sys.sun.admin,comp.periphs.printers
From: ron@mlfarm.com (Ronald Florence)
Subject: monitoring printer off/on (was Re: IPC <-> LPLJ II Cable)
Followup-To: comp.sys.sun.admin
Organization: Maple Lawn Farm, Stonington, CT
	<1jkameINN7kj@uwm.edu>
Date: Mon, 25 Jan 1993 13:53:56 GMT

Bill Stapleton writes:

   I think by default, most Suns are
   set up to ignore the carrier, which means you can also "print" when the
   printer is off.  :-)  

Hmm.  Is there a way to get Sun's lpd/lpr to recognize that a serial
printer is off?  Hardware flow-control seems to work fine with our
HPIIp and Pacific-Page postscript cartridge, but if the printer is
switched off, anything sent to the printer from the local machine or a
remote machine on the network disappears into some null bucket.

It appears from the HPIIp manual that pin 4 of the rs232 connector
(RTS) is switched HIGH when the unit is powered on.  Is there a way to
get the Sun print spooler to monitor that pin?

Thanks.
-- 

				Ronald Florence
				ron@mlfarm.com
Newsgroups: comp.sys.sun.admin
From: eilif@itek.norut.no (Eilif Pettersen)
Subject: Newsprint ver 2.0 again
Reply-To: eilif@itek.norut.no (Eilif Pettersen)
Organization: FORUT Information Technology
Date: Mon, 25 Jan 1993 10:07:54 GMT


I guess I should have included that we are running SunOS 4.1.1 on a
Sparc 2.
Sorry....

--


| Eilif Pettersen               | Phone: +478380150, FAX: +478382420 
| NORUT-IT AS                  	| EMAIL1: eilif.pettersen@itek.norut.no
| NORUT-gruppen AS              | EMAIL2: C=no;A=;P=uninett;O=norut;  
| N-9005 Tromsoe, Norway        | OU=itek;CN=eilif.pettersen
Newsgroups: comp.sys.sun.admin
From: proffen@kri.physik.uni-muenchen.de (Thomas Proffen)
Subject: Problem HP-DAT <-> Sun IPX
Summary: write error usig HP-DAT at a SUN IPX
Keywords: DAT SUN
Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
Date: Tue, 26 Jan 1993 10:30:22 GMT


Hello,

we are running SunOS 4.1.2 on our Sun Sparcstation (IPX). Our new HP
35480A DAT-drive makes a write error, when trying a dump command :


esp0: Disconnected command timeout for Target 4 Lun 0
st0:	transport completed with timeout
st0:	attempting a device reset
st0:	SCSI transport failed: reason 'timeout': giving up
st0:	Error for command 'write file mark', Error Level: 'Fatal'
    	Block: 3
    	Sense Key: Unit Attention
    	Vendor (Vendor 'HP      ' Product 'HP35480A        ',) 
                Unique Error Code: 0x29

It does the same error with the modified kernel described in the manual. This
new drive has a switch to run it with or without a modified kernel. 

Thomas
--
Thomas Proffen                   Institut fuer Kristallographie, LMU
Phone:  (+49 89)3209 4019        Am Coulombwall 1
Fax:    (+49 89)3209 4015        D-8046 Garching, Germany
Email:  proffen@yoda.kri.physik.uni-muenchen.de
From: wls@cray.csd.uwm.edu (Bill Stapleton)
Newsgroups: comp.sys.sun.admin
Subject: Re: print filter (/etc/printcap : if=) too persistent
Date: 22 Jan 1993 17:04:07 GMT
Organization: Computing Services, U of Wisc-Milwaukee
Distribution: comp
Reply-To: Bill Stapleton <wls@csd4.csd.uwm.edu>
NNTP-Posting-Host: 129.89.6.69

In article <1993Jan21.180848.26090@pwcs.stpaul.gov>, derekt@pwcs.stpaul.gov (Derek Terveer) writes:
> I ran into the same problem before, and i agree that lpd seems to be
> out-clevering itself in attempting to optimize its input queue if there
> are jobs waiting at the completion of any particular job.  I never
> really found a solution that was elegant.  I replaced the filter with a
> hand written hack job that looked for various characters, etc. to start
> a new job, but it never really worked 100% of the time.  sigh.

That's because you're "out-clevering" yourself assuming "lpd" works in a way
much different from the way it actually works, which is a very much dumber
way with none of the optimization stuff you allude to.  The only way "lpd"
knows which printer a file gets sent to is by what spool directory it's
in.  When you "lpr" a file, the printer name is used to find the proper
spool directory, then is essentially thrown away.  The jobs in the directory
have no information about what printer they were sent to.  Similarly, when
"lpd" prints the queue for a printer, it uses the name to find the spool
directory, and tries to make a lock file there. If it can lock the
directory, it prints all of the files it finds there, unlocks, and quits.
If it can't, then another "lpd" must already be printing the files, so it
exits.

Now, if you point two different printers to the same spool file, "lpd"
won't even notice.  Which ever printer entry happens to get started first
will print everything in the directory on the printer pointed to by the
entry it started with, including new files that arrive while it's working.
So, if you send a file to printer A, an "lpd" will start for printer A.
If you then send a file to printer B, if the "lpd" for printer A is done,
an "lpd" for printer B will start.  But if the "lpd" for printer A is not
done, the new "lpd" for printer B will exit, the "lpd" for printer A will
find a new file in it's spool directory and print it, on printer A, with no
idea it was really sent to printer B.

There's a way to kludge around this problem using two spool directories with
one lock file, but that gets into other problems I won't try to explain.
(like above, printer B still exits, but then printer A needs to start
printer B when it's done).

The best way to deal with this problem is to either use the built-in lpr/lpd
flags, or perhaps have some auto-switching program as ":if=" that looks at
the file and runs different filters depending on the input.  Perhaps using
different commands that users call instead of different printer names
(ie instead of "lpr -P text" & "lpr -P ps" use "lprtext" and "lprps" that
do the right thing internally).

--
Bill Stapleton
     wls@csd4.csd.uwm.edu
     uwmcsd4!wls
From: bjr@oddjob.uchicago.edu (Bernie Rauscher)
Newsgroups: comp.sys.sun.admin
Subject: Setting Timezone?
Date: 25 Jan 93 01:25:49 GMT
Organization: University of Chicago, Astronomy and Astrophysics

Our group recently acquired a sparcstation 2 that had been initialized to
run in a different timezone that the one the machine now runs in.

Unfortunatly, the manuals did not suggest any remedy other than re-initializing
the system. Does anybody know a good way to set the timezone correctly?

Sincerely,
Bernie Rauscher
From: limes@straylight.eng.sun.com (Greg Limes)
Newsgroups: comp.sys.sun.admin
Subject: Re: 630MP boot problem revisited
Date: 20 Jan 93 22:02:10
Organization: Sun Microsystems Computer Corporation (Mountain View, California,
	USA)
Distribution: world
NNTP-Posting-Host: straylight
In-reply-to: weinberg@sho.Eng.Sun.COM's message of 20 Jan 1993 19:39:37 GMT

In article <llrajpINNdcq@appserv.Eng.Sun.COM> weinberg@sho.Eng.Sun.COM (Glenn Weinberg) writes:

|   In article 15288@coral.uucp, jdc@coral.uucp (James D. Corder) writes:
|   >  SCSI ID 3 is sd0.  Sun stated that they once had a
|   >good reason to do this.  However, I have yet to meet a rep who knew what that
|   >resson was, and why they still do it:-)
|
|   So you can explain it to your rep the next time you see them :-)
|
|   When the SPARCstation 1 came out (almost 4 years ago now!), there were lots
|   of old "shoebox" SCSI expansion boxes out there.  Each shoebox could contain
|   two devices.  Since older "desktop" systems such as the 4/110 had no
|   provision for internal disk drives and this was in the days before embedded
|   controllers, the first shoebox typically used target 0, luns 0 and 1, and the
|   second used target 2, luns 0 and 1.  It was decided to make life "easier" on
|   SPARCstation 1 customers who wanted to continue to use their existing
|   shoeboxes by making the internal drives be targets 3 and 1 to avoid
|   conflicting with the existing target usage.

And, to make it worse, the 4/330 -- which came out at the same time -- solved
the same problem in almost but not quite the same way ;-)

Same solution on the target IDs, we wanted old shoeboxes at ID=0 and
ID=2 to still work as expected.

However, different solution on what UNIX called them. The SS1
scrambled the names of the disks, so that targets {3,1,2,0} were
{sd0,sd1,sd2,sd3}, while the 4/330 kept the old Sun-4 mappings of
targets to names, {0,1,2,3}=>{sd0,sd2,sd4,sd6}.

So, on the SS1 (and cousins), you boot from sd0 just as you would
expect, but the target is #3. Frankly, I have no idea what an SS1
would do if fed a double-disk shoebox (ie. target #0, lun #1).

And, on the 4/330 (and cousins), your old shoebox at ID#0 is sd0, and
your other shoebox at ID#2 is sd4, just like always, but now you boot
from sd6 at ID #3 ...
--
   Greg Limes						[limes@eng.sun.com]
Not speaking for Sun Microsystems Computer Corp., Mountain View, California