HDTenEightyP/NetNews huggingface dataset:
Newsgroups: comp.sys.next.sysadmin
Subject: Re: NeXT Remote Power Up/Down?
From: max@ancho.gac.edu (Max Hailperin)
Date: 2 Sep 92 15:56:38
Reply-To: Max Hailperin <max@nic.gac.edu>
 gov><1992Aug26.194128.16156@newshub.ccs.yorku.ca><1992Sep1.080442.18099@csus.edu> <BtxEHp.JIA@ux1.cso.uiuc.edu>
Organization: Gustavus Adolphus College, St. Peter, MN
In-reply-to: lemson@ux1.cso.uiuc.edu's message of Wed, 2 Sep 1992 00:53:34 GMTLines: 20

In article <BtxEHp.JIA@ux1.cso.uiuc.edu> lemson@ux1.cso.uiuc.edu (David Lemson) writes:

   eps@futon.SFSU.EDU (Eric P. Scott) writes:

   >You know the "Printing" panel that pops up when your NeXT Laser
   >Printer runs out of paper?  That's done by a handy little program
   >called /usr/lib/NextPrinter/Inform.  It turns out that Inform can
   >display any message of your choosing:

   >a general-purpose notification service.  (Hmm... you can probably
   >replace the "PrinterAlert" nib section with whatever you want.)

   You sure can, I just did it in about 25 seconds... makes a great app
   to pop up on all the machines in the lab when there is going to be a
   system shutdown!

One more hint to others doing this: your modified program should also
be called Inform, or it won't be able to work on machines with public
window server off, even when run as root.  I don't understand this
fully, but it seems empirically to be true.
From: szatezal@magnus.acs.ohio-state.edu (Shane M Zatezalo)
Newsgroups: comp.sys.next.sysadmin
Subject: NNTP Compiling - type mismatch in initialization
Date: 31 Aug 92 15:26:59 GMT
Organization: The Ohio State University

I'm trying to compile NNTP, and when the compiler is doing the file "misc.c"
it bombs out with this:

(btw... thanks to Tim Gurbick for helping me with my first problem!)


>make server
cd server; make  "LIBS=-ldbm" "CFLAGS=-O "
cc -O  -c misc.c
misc.c:955: type mismatch in initialization
misc.c:955: type mismatch in initialization


Here is the code from the file where it seems to be boming: (approximately)

/*
**  GETLA -- get the current load average
**
**      This code stolen from la.c. (And subsequently stolen from sendmail,
**              conf.c for nntpd.)
**
**      Parameters:
**              none.
**
**      Returns:
**              The current load average as an integer.
**
**      Side Effects:
**              none.
*/

#ifdef USG
getla()
{
        return(0);
}
#else
#include <nlist.h>
#include <sys/ioctl.h>

struct  nlist Nl[] =
{
        { "_avenrun" },
#define X_AVENRUN       0
        { 0 },
};

getla()
{
        static int kmem = -1;
# ifdef FSCALE
        long avenrun[3];
# else
        double avenrun[3];
# endif
        extern off_t lseek();

        if (kmem < 0)
        {
                kmem = open("/dev/kmem", 0, 0);
                if (kmem < 0)
                        return (-1);
                (void) ioctl(kmem, (int) FIOCLEX, (char *) 0);
                nlist("/vmunix", Nl);
                if (Nl[0].n_type == 0)
                        return (-1);
        }




any ideas?

 _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
:   Shane M. Zatezalo         : i-net> szatezal@magnus.acs.ohio-state.edu :
:   CIS Eng Ohio State        : NeXTMail>  shane@kiwi.shws.ohio-state.edu :
:GS:::: Apple II forever!! ::::::GO BUCKS!::::::: Play Lacrosse! :::::::GS:
Newsgroups: comp.sys.next.sysadmin
From: Michael_Pizolato@afs.com (Michael Pizolato)
Subject: Re: UUCP the flat files for NewsGrazer?
Reply-To: Michael_Pizolato@afs.com
Date: Tue, 25 Aug 1992 13:07:09 GMT

In article <1992Aug24.201037.9626@eecs.nwu.edu> garyc@eecs.nwu.edu (Gary I.  
Chang) writes:
> Has anyone tried using NG to read news from a flat file? For our system,
> incoming news are kept in the /usr/spool/news/comp/sys/next/..... directory.
> Since I only subscribe to some certain groups, the c.s.n.... It's a pretty
> good idea to set the cron to uucp news into my machine every night 2:00am when
> the network traffic is lightly loaded. 
> 
> 	I understand using nntp, you always get the first-handed news; but 
> sometimes, the SLIP line is not that easy to dial in, besides you don't get
> spining disk for reading large posts on the slow modem. (Usually my NeXT
> cries when reading some NeXT article with icons and pictures...)
> 
> 	By the way, I remember a while ago, someone was going to post the
> UUCP installation for NeXT to the archive after the final revision? Is it
> finished?
> 
> Gary

We have always read news from flat files.  Here is our setup:

	Machine A: has modem, is our uucp connection to the world
	Machine B: our disk server, news files are stored there
	Machines C thru whatever: nothing special, just on the LAN

Machine A dials out to our provider at regular intervals to upload/download mail  
and news.  The news directories on Machine B are mounted via NFS to all  
machines, including Machine A.  The news processing software (in our case,  
c-news) believes, of course, that the news directories are local, and runs on  
Machine A and at 1:15am daily to upload and download news (we also upload news,  
and both upload and download mail, every 2 hrs. between 7:45am and 5:45pm).  All  
our machines run NewsGrazer with the flat-file option set in preferences, since  
the news directories appear to be local.

This works fine for us.  We only have a modem connection to the outside world,  
which we use as sparingly as we are comfortable with (to keep costs down - we're  
a small company).  I don't really know anything about nntp, but I can't imagine  
that it could be an improvement for us over what we do now.  I could be wrong  
about that; if so, please enlighten me.  Note that our overriding concern in  
using our modem is keeping cost to a minimum, since the phone number we call  
when we get/send mail and news is a toll call.

Michael

--
Michael_Pizolato@afs.com
~18 kyu
Q16
NeXTMail appreciated
Newsgroups: comp.sys.next.sysadmin
From: stark@superc.che.udel.edu (Scott M. Stark)
Subject: NeXTstation monitory shakes
Reply-To: stark@superc.che.udel.edu
Organization: University of Delaware
Date: Wed, 2 Sep 1992 16:59:29 GMT

Just today the image on my NeXTstation monitor started to shake
continously.  This makes it difficult to focus on the screen.  Is
this a serious problem or just minor problem that is easily fixed?
The machine has worked great for over 18 months.  The OS version
is 2.0.

Thanks,
Scott
--
Scott Stark
University of Delaware
Department of Chemical Engineering
123 Colburn Lab
Newark, DE 19716-3119
(302) 831-6713
Xref: sparky comp.sys.next.sysadmin:4888 comp.sys.next.marketplace:648
From: bpja@codex.oz.au (Brett Adam)
Newsgroups: comp.sys.next.sysadmin,comp.sys.next.marketplace
Subject: Better NetInfo Documentation Available
Keywords: netinfo, manual, help
Date: 26 Aug 92 10:58:54 GMT
Reply-To: bpja@codex.oz.au
Organization: Codex Software Development Pty Ltd


I recently noticed a number of postings here with people expressing frustration  
about NetInfo and the lack of _good_ documentation.

We've been shipping our NetInfo for Sun Workstations product for a few months  
now. Part of the product is the complete manual that we had written FROM  
SCRATCH to really document NetInfo - and to Sun customers, who have not  
necessarily got any idea what the heck a NeXT is.

What I'm offering here is that if NeXT users want to get their hands on better  
NI docs, we'd be willing to sell the NetInfo for Sun manual all by itself.

To quote one of our customers:

> BTW, You've done a very good job with the documentation.  If I had
> your document a year ago, I'm sure I would have avoided making many,
> many mistakes.


Any interested parties?

Regards,

Brett Adam
Xedoc
bpja@codex.oz.au

-- 
---------------------------------------------------------------
Brett Adam                 Codex Software Development Pty. Ltd.
NeXTMail: bpja@codex.oz.au                  AppleLink: AUST0335
(Preferred.)                                 (Only if you must) 
Newsgroups: comp.sys.next.sysadmin
From: lemson@ux1.cso.uiuc.edu (David Lemson)
Subject: Re: NetInfo from tty login
Organization: University of Illinois at Urbana
Date: Sun, 30 Aug 1992 17:52:23 GMT

muegel@rtsg.mot.com (Michael S. Muegel) writes:

>Previously, jbradsha@mentor.cc.purdue.edu (Jonathan Bradshaw) wrote:
>>This is undoubtably obvious (I hope) but neither I nor the syadmin of the
>>NeXT machine know how the NetInfo stuff can be changed from a root login
>>via telnet. It's no problem when logged into the console with the GUI
>>editor but is there anyway to put new entries in the mount list etc. from
>>remote?  I checked the FAQ and didn't see anything about this and manuals
>>seem to only geared from console logins.

>Could you use some hacked up nidump/niload scheme? I.e. use nidump to get
>the info, edit it, and them pop it back into NetInfo land via niload.
Sure.
There isn't anything you can't do with niload, nidump, niutil, and
nidomain.  (well, you might need awk or perl and surely grep to get
some of the neat views you can with NetInfoMangler, but you CAN do
it)
-- 
David Lemson                                                 (217) 244-1205
University of Illinois NeXT Campus Consultant  / CCSO NeXT Lab System Admin
Internet : lemson@uiuc.edu                 UUCP :...!uiucuxc!uiucux1!lemson 
NeXTMail accepted                                   BITNET : LEMSON@UIUCVMD
From: zazula@pri.com (Ralph Zazula)
Newsgroups: comp.sys.next.sysadmin
Subject: HELP: Connecting a SCSI Scanner
Keywords: SCSI, Scanner, Help
Date: 28 Aug 92 22:15:40 GMT
Reply-To: zazula@pri.com
Distribution: world,local


Hi -

Sorry if this is a repost - I didn't see the first one come through...

I'm trying to connect an Epson ES-300C Scanner to a NeXTstation using the SCSI  
interface.  The SCSI id is set to 2 and the scanner has an internal terminator.   
When I power up, I don't see any console messages saying that the device was  
recognized.  Can anyone throw me some hints on this?  We are also trying to get  
the /NextDeveloper/Examples/Unix/SCSI/sg_example program working but are not  
sure of the proper configuration.

This work is being done under PR2 but we can also work on 2.1.

Thanks in advance,
Ralph
---
Ralph Zazula
Pinnacle Research, Inc.
zazula@pri.com (NeXT Mail)
(602)529-1135
Newsgroups: comp.sys.next.sysadmin
From: cowboy@trans.csuohio.edu (Syscrusher)
Subject: How to lpr from one NeXT to another NeXT without using Netinfo
Reply-To: cowboy@trans.csuohio.edu
Organization: Cleveland State University
Date: Sun, 30 Aug 1992 18:55:53 GMT

Hello, all:

I am trying to get my NeXT to print to another NeXT and its NeXT Laser  
without setting us both up as a Netinfo domain.  Can one do it?  How?  Is  
it similar to setting up lpr to a non-NeXT printer (in other words, should  
I use nidump, edit the printcap file, and then niload it again)?

Can someone send an example of their printcap?  I appreciate it.

BTW, a second question: can one print a WordPerfect (or any other) binary  
file to a file, as in WP for DOS or WP for Windows?  I think I need to do  
that to lpr to the LPD server (it uses Ka9q) on a binary file.  I cannot  
seem to find this capability, and I am sure I would need the techniques  
for non-WordPerfect files also.

any help is appreciated.

thanks,
Joe


--

________

Joe Rosenfeld                              cowboy@trans.csuohio.edu
Automation Librarian                      joer@inca.law.csuohio.edu
Cleveland State University Law Library
Newsgroups: comp.sys.next.sysadmin
From: torben@foralie.net.hawaii.edu (Torben Noerup Nielsen)
Subject: Gopher client problems on a NeXT running NeXTstep 3.0 (PR2)
Keywords: Gopher
Organization: University of Hawaii
Date: Fri, 28 Aug 1992 03:41:46 GMT

I'm having a problem with the Gopher_1.12 client for the NeXT. I'm running  
it under NeXTstep 3.0 and things like telnet do not work from inside  
gopher. It fails to fire up a terminal window. This means that all of the  
telnet based systems such as library card catalogues are unavailable.

Has anyone out there encountered similar problems? More interestingly,  
does anyone have a solution to the problem?

					Thanks, Torben
Newsgroups: comp.sys.next.sysadmin
From: silbar@mpx2.lampf.lanl.gov (Dick Silbar)
Subject: How to backup to a tapedrive on a Sun?  rdump?
News-Software: VAX/VMS VNEWS 1.41    
Organization: LAMPF Data Analysis Center, Los Alamos, New Mexico
Date: Wed, 2 Sep 1992 04:00:00 GMT

The Sun is on an ethernet with my NeXT, and we just got this nice 4mm
tapedrive.  At the moment I am doing backups to the optical disk on my 
cube, but who knows how long that situation can last...?  So, it is
desirable to back up to the tape, if possible.

It looked pretty simple, we thought: use 'rdump ...', making sure that
root on the NeXT has root login privileges on the Sun.  It even seemed
to work, when we tried it, at least as far as the console on the NeXT
was concerned.

Not so, at the Sun.  The tape was badly written.  We then found in the
man page for rdump that the utility (in 2.1) apparently only works
between NeXTs.  Bummer.

Is that problem with rdump fixed in 3.0?

If not, is there a way to set up the crontab to write a tar file to
the Sun's tapedrive?  It seems it might be tricky (or impossible?) to
NFS mount the tapedrive so it is visible to the NeXT.  [An alternative
might be to NFS mount the NeXT disk on the Sun and run the backup through
the Sun's cron, but that seems kludgy and also shifts the chore of backing
up _my_ machine to my colleague, who doesn't want that responsibility.]

Clearly this is not the first time people have faced this problem.  Any
help here would be much appreciated.

   Dick Silbar
From: dan@quiensabe.az.stratus.com (Dan Danz)
Newsgroups: comp.sys.next.sysadmin
Subject: Re: NetInfo from tty login
Date: 31 Aug 92 03:42:43 GMT
Reply-To: dan@az.stratus.com

David Lemson writes
> muegel@rtsg.mot.com (Michael S. Muegel) writes:
> 
> >Previously, jbradsha@mentor.cc.purdue.edu (Jonathan Bradshaw) wrote:
> >>This is undoubtably obvious (I hope) but neither I nor the syadmin of the
> >>NeXT machine know how the NetInfo stuff can be changed from a root login
> >>via telnet. It's no problem when logged into the console with the GUI
> >>editor but is there anyway to put new entries in the mount list etc. from
> >>remote?  I checked the FAQ and didn't see anything about this and manuals
> >>seem to only geared from console logins.
> 
> >Could you use some hacked up nidump/niload scheme? I.e. use nidump to get
> >the info, edit it, and them pop it back into NetInfo land via niload.
> Sure.
> There isn't anything you can't do with niload, nidump, niutil, and
> nidomain.  (well, you might need awk or perl and surely grep to get
> some of the neat views you can with NetInfoMangler, but you CAN do
> it)

Be VERY careful with niload for hosts -- you'll lose the "serves" property

I've also been able to niutil to modify netinfo directories, including
hosts, without a whole lot of trouble.  It's a little cumbersome, but it
works.

You can even do it from a non-root login, if you know the root password.
Here's a sample where I changed the "rw" option on a mount to a "ro".


quiensabe[125]% niutil -list . /mounts                                        ~
238      bittersprings:/dan 
239      phoenix:/clients 
342      tucson:/Projects 
quiensabe[126]% niutil -read . 238                                            ~
name: bittersprings:/dan 
opts: bg intr net rw soft timeo=20 rsize=1024 wsize=1024 
dir: /Net 
quiensabe[127]% niutil -createprop . 238 opts bg intr net ro soft timeo=20 rsiz
e=1024 wsize=1024
cannot create: Permission denied
quiensabe[128]% niutil -p -createprop . 238 opts bg intr net ro soft timeo=20 r
size=1024 wsize=1024
Password: 
quiensabe[129]% niutil -read . 238                                            ~
name: bittersprings:/dan 
opts: bg intr net ro soft timeo=20 rsize=1024 wsize=1024 
dir: /Net 

--
L. W. "Dan" Danz                  VOS Mail:  Dan_Danz@vos.stratus.com
Sr Consulting Software SE         NeXT Mail: dan@az.stratus.com
Customer Assistance Center        Voice Mail/Pager: (602) 852-3107
Telecommunications Division       Customer Service: (800) 828-8513
Stratus Computer, Inc. 4455 E. Camelback #115-A, Phoenix AZ 85018
Newsgroups: comp.sys.next.sysadmin
From: lemson@ux1.cso.uiuc.edu (David Lemson)
Subject: Re: Securing Netinfo
Organization: University of Illinois at Urbana
Distribution: comp
Date: Fri, 28 Aug 1992 21:39:05 GMT

henrich@crs.cl.msu.edu (Chuck Henrich) writes:

>Is there any way to make it so that only a root process can retrieve
>any information from NetInfo?  I had originally thought that just by chaning
>the permissions on niload/nidump I would be okay, but then I found this
>program "pwget" that shows the password file.  Any ideas?

Nope, no way to do it that I have heard of.  The getpwxxx() calls
will always work for anyone under netinfo.
-- 
David Lemson                                                 (217) 244-1205
University of Illinois NeXT Campus Consultant  / CCSO NeXT Lab System Admin
Internet : lemson@uiuc.edu                 UUCP :...!uiucuxc!uiucux1!lemson 
NeXTMail accepted                                   BITNET : LEMSON@UIUCVMD
From: root@alanine.uwlax.edu (Operator)
Newsgroups: comp.sys.next.sysadmin
Subject: Request for multilevel NetInfo examples
Date: 30 Aug 92 05:18:50 GMT
Reply-To: root@cowley.uwlax.edu
Organization: University of Wisconsin - La Crosse Computer Science Department

Up until now I have lived with the standard two-level NetInfo hierarchy. We now  
have a sizable number of NeXTs organized into two student labs and numerous  
faculty offices in several different departments on four subnets. I am shortly  
going to start creating a more sophisticated NetInfo setup. Before I do  
something that I will regret I would greatly appreciate any examples of  
multilevel configurations people are using and general advice on what to do and  
not to do.

Please respond to: senger@csfac.uwlax.edu

Thanks in Advance
  steve
Newsgroups: comp.sys.next.sysadmin
From: (Michael Bruewer)mib@bio128.uni-bielefeld.de 
Subject: nfs-problem
Date: Wed, 2 Sep 92 08:02:48 GMT
Reply-To: mib@bio128.uni-bielefeld.de 
Organization: Universitaet Bielefeld
Keywords: nfs


We have a pool of four NeXTs. One netinfo-server, one clone server and two  
clients. All user accounts are network accounts. All home directories are nfs  
mounted on all machines.
Now the problem is, that if one machine is overloaded and the nfs server is not  
responding, all machines are hanging (little disk icon turning) and nobody can  
work. (I'm not sure if it should read "nearly all" and "nearly nobody"). Even  
if I have a remote shell connection to a machine outside the pool, and the nfs  
server of the NeXT, where my home directory lives, doesn't respond, the rsh  
connection hangs.
Is this behavior correct or is there something wrong with our installation?

Thanks in advance, 
	Michael.
_________________________________________________________________
Michael Bruewer

e-mail: mib@bio128.uni-bielefeld.de
From: Antoine@osd.ulaval.ca (Antoine Gautier)
Newsgroups: comp.sys.next.sysadmin
Subject: how to receive mail on a SUN sever  (help!)
Keywords: mail sun
Date: 31 Aug 92 18:29:09 GMT
Reply-To: Antoine@osd.ulaval.ca    (Antoine Gautier)
Organization: Universite Laval

call for help:

I would like to be able to receive my NeXTmail on a SUN server (the dept. lab).
I tried mounting usr/spool/mail on my Station, getting identical UID and GID to 
both accounts I have on the two machines, it still does not work (no mail gets to  
me). Does anyone have ecperience with this?

(I temporarily receive all mail directly on my station, so you can email me)

Thks

antoine@osd.ulaval.ca
From: brueck@inm.uni-sb.de (Stefan Brueck)
Newsgroups: comp.sys.next.sysadmin
Subject: serious problem: system doesn't boot after power failure
Date: 27 Aug 92 10:09:36 GMT
Distribution: comp
Organization: Institute for New Materials (INM), Saarbr"ucken, Germany.

hi

after a power failure for about 30 sec. it isn't possible to boot from internal hard
disk anymore. the system stays in an endless loop showing following sequence in nmi-
monitor:

audio kernel server initializing
pcbsetaddr failure 48
audio kernel server unloading

booting from an attached second external hard disk is possible and access to the
internal hard disk is possible in this case too


thanks for help (e-mail preferred)
stefan
Newsgroups: comp.sys.next.sysadmin
From: lemson@ux1.cso.uiuc.edu (David Lemson)
Subject: Re: NeXT Remote Power Up/Down?
Organization: University of Illinois at Urbana
Date: Wed, 2 Sep 1992 00:53:34 GMT

eps@futon.SFSU.EDU (Eric P. Scott) writes:

>You know the "Printing" panel that pops up when your NeXT Laser
>Printer runs out of paper?  That's done by a handy little program
>called /usr/lib/NextPrinter/Inform.  It turns out that Inform can
>display any message of your choosing:

>a general-purpose notification service.  (Hmm... you can probably
>replace the "PrinterAlert" nib section with whatever you want.)

You sure can, I just did it in about 25 seconds... makes a great app
to pop up on all the machines in the lab when there is going to be a
system shutdown!
-- 
David Lemson                                                 (217) 244-1205
University of Illinois NeXT Campus Consultant  / CCSO NeXT Lab System Admin
Internet : lemson@uiuc.edu                 UUCP :...!uiucuxc!uiucux1!lemson 
NeXTMail accepted                                   BITNET : LEMSON@UIUCVMD
Newsgroups: comp.sys.next.sysadmin
From: reed@prism.sps.mot.com (Tim Reed)
Subject: mounted fs hanging net
Organization: SPS
Date: Thu, 3 Sep 1992 22:40:50 GMT


We have 2 Suns and 4 NeXTstations (soon to be 5) sharing a net. The  
NeXTs need a filesystem mounted from each of the Suns. The problem is  
that if 1 of the Suns is down for any reason, the entire net hangs  
and all we get are the spinning mouse cursor. The filesystems were  
mounted in NetInfo Manager. Is there some way to ensure that the  
entire net doesn't hang when 1 of the Suns goes down?

--
-----------------------------------
Tim Reed
reed@prism.sps.mot.com
-----------------------------------
From: olsenc@milton.u.washington.edu (Clint Olsen)
Newsgroups: comp.sys.next.sysadmin
Subject: Allowing access to print facilities on NeXT w/o NetInfo
Date: 27 Aug 92 02:18:15 GMT
Organization: University of Washington, Seattle

Hello:

I was wondering how I could get my NeXT to allow Suns to print on
it.  I have made a test printcap entry on the Suns, but access
continues to be denied.

I ran PrintManager on the NeXT and tried setting the domain to
"/" (the default), but I got an error message saying that I could
not export printer access to itself (maybe something about setting
it's domain to it's own?).

I don't know much about NetInfo and am new to the NeXT so I don't
know much about domains.  I thought that the NeXT's hostname must
be in at least one of the domains (kinda like /etc/hosts).  I do
know that I cannot make another domain containing the machine I
want to export to unless I start running a NetInfo network, which
is NOT what I want to do.

Thanks in advance.

-----------------------------------------------------------------------
Clint Olsen 
olsenc@u.washington.edu

Computers cause dain bramage...
-----------------------------------------------------------------------
From: mark@valjean.radonc.washington.edu (Mark Phillips)
Newsgroups: comp.sys.next.sysadmin,comp.sys.sun.sysadmin
Subject: I can't write on an NFS-mounted directory
Date: 27 Aug 92 17:30:50 GMT
Reply-To: mark@valjean.radonc.washington.edu
Organization: University of Washington


I am new to using NFS.  I have set up a directory on my Next as a server,
and a Sun as the client.  I have used automount and everything seems
to work fine, except the directory (on the Next) is write-protected.
In auto.direct, I used the "rw" mount option, and did not specify "ro"
in the auto.master.  Is there any (obvious) reason that I can't write
into that directory?

THanks in advance for any help.

Mark Phillips
Dept of Radiation Oncology
University of Washington
mphillips@radonc.washington.edu (non-Next mail)
mphillips@valjean.radonc.washington.edu (Next mail)