[comp.unix.amiga] Unix rookie questions

jason@cbmami.UUCP (Jason Goldberg) (04/25/91)

Hi,

I have a network of A2500's and A3000's with an A3000UX as the file server,
all using CBM ethernet cards with TCP/IP software.  The unix machine has a
directory called /mnt/amiga which we use as a partition for the AmigaDos
machines.  Every time the A3000UX is booted, we need to log in and issue
the command "share /mnt/amiga", is there a file that we can add this
command to, so that it is executed each time the A3000UX is booted?

Also, occationally we have to take the A3000UX down while the AmigaDos
machines are still running.  Is there a file that is executed during
shutdown, so that we could use some rsh commands to notify the AmigaDos
machines that the net is going down?

What is the best shell to use?  I am using the borne shell now, is there
anything like TCSH included in Amiga Unix?  Whenever, I add a user as per
the Amiga Unix manual, when that user logs in they get an error message
along the lines of "unable to open /mail file" what is going wrong?

Can someone recomend a good book for me?  I need to learn the basics like
group and user ID's etc...  It appears I am the system administrator for
this network (by default)...

Any help is greatly appreciated!


-Jason-

---------------------------------------------------------------------------
Jason Goldberg				UUCP: ucsd!serene!cbmami!jason
Del Mar, CA				

kent@swrinde.nde.swri.edu (Kent D. Polk) (04/26/91)

In article <1909cb3f.ARN0fab@cbmami.UUCP> jason@cbmami.UUCP writes:
>Hi,
>
>I have a network of A2500's and A3000's with an A3000UX as the file server,

>Also, occationally we have to take the A3000UX down while the AmigaDos
>machines are still running.  Is there a file that is executed during
>shutdown, so that we could use some rsh commands to notify the AmigaDos
>machines that the net is going down?

rsh amiga1 say "Unix server going down in 3 minutes"
rsh amiga2 say "Unix server going down in 3 minutes"
...
etc.

(Hey! it works :^)

=====================================================================
Kent Polk - Southwest Research Institute - kent@swrinde.nde.swri.edu
                  "Duct Tape is like the Force...
It has a Light Side, a Dark Side, and it holds the Universe together"
=====================================================================

ag@amix.commodore.com (Keith Gabryelski) (04/28/91)

In article <1909cb3f.ARN0fab@cbmami.UUCP> jason@cbmami.UUCP writes:
>[...] Every time the A3000UX is booted, we need to log in and issue
>the command "share /mnt/amiga", is there a file that we can add this
>command to, so that it is executed each time the A3000UX is booted?

/etc/dfs/dfstab.  `man dfstab' for more information.

>[...]  Is there a file that is executed during shutdown, so that we
>could use some rsh commands to notify the AmigaDos machines that the
>net is going down?

Depends on how you shutdown.  If you use `shutdown' you can modify it
to deal with such things.  You could modify the /etc/init.d/nfs.

>What is the best shell to use?

This is a religious question that is better asked of oneself.  What do
you want to do?  How do you want to do it?  The bourne shell is fine
for some people.  Others claim KSH or nothing.  Some even go so far as
to think CSH is useful :-).

KSH or CSH are probably your best bet.  They are probably the most used
(non bourne shells) around.  They both support job control, aliasing,
and history.

TCSH is not on the current release of Amiga Unix.  I did try porting
it at one time but got distracted.  Since I probably would not use it
on a daily basis it never went very high on my priority list.  If
someone were to send me diffs I'm sure it would make it into the
release someday, though.

>Can someone recomend a good book for me?  I need to learn the basics
>like group and user ID's etc...  It appears I am the system
>administrator for this network (by default)...

There are many introduction to UNIX manuals out there.  There is a
specific System V Release 4 manual that goes from basics to advanced
system operations.  It is from Prentice Hall and is about two inches
thick.  I Have forgotten its name though.

Pax, Keith

-- 
Keith Gabryelski                                 Advanced Products Group
ag@amix.commodore.com                                 ...!cbmvax!amix!ag

rhealey@digibd.com (Rob Healey) (04/28/91)

In article <1909cb3f.ARN0fab@cbmami.UUCP> jason@cbmami.UUCP writes:
>I have a network of A2500's and A3000's with an A3000UX as the file server,
>all using CBM ethernet cards with TCP/IP software.  The unix machine has a
>directory called /mnt/amiga which we use as a partition for the AmigaDos
>machines.  Every time the A3000UX is booted, we need to log in and issue
>the command "share /mnt/amiga", is there a file that we can add this
>command to, so that it is executed each time the A3000UX is booted?
>
	There should be a /etc/dfs/dfstab file, inside it put a line like:
	share -F nfs /mnt/amiga

	and then it should be exported automatically when the machine is
	brought into networking mode, init 3 I believe. This works on our
	386 R4 boxes so I'll make the leap that it'll work on Amix too.
	See "Network user's and administrator's guide; volume 1" of
	the standard R4 manual set sold at bookstores for gory details.

>What is the best shell to use?  I am using the borne shell now, is there
>anything like TCSH included in Amiga Unix?  Whenever, I add a user as per
>the Amiga Unix manual, when that user logs in they get an error message
>along the lines of "unable to open /mail file" what is going wrong?
>
	Just so you know, asking "What's the best shell to use?" is
	tantamount to asking "What is the worlds best editor?" As you
	can see we've wasted more bandwidth on religous blithering about
	emacs/???/vi that would have been better spent on REAL issues
	like how to get Amix 1.1 serial ser device to work right etc...
	csh,jsh and ksh all provide good interpreters and job control. Since
	you're using /bin/sh now, try jsh, the only difference is jsh provides
	interactive job control commands and functions.

>Can someone recomend a good book for me?  I need to learn the basics like
>group and user ID's etc...  It appears I am the system administrator for
>this network (by default)...
>
	Pick an intro to UNIX book at a bookstore and page through it, find
	the one that looks best to you and buy it. You'll also need to
	eventually get the System V Release 4 manual set, buy the members
	of the set as you need them.


	Good luck,

		-Rob
-- 

Rob Healey                                          rhealey@digibd.com
Digi International (DigiBoard)
Eden Prairie, MN                                    (612) 943-9020

ag@amix.commodore.com (Keith Gabryelski) (04/28/91)

In article <1917@amix.commodore.com> ag@amix.commodore.com (Keith Gabryelski)
writes:
>There are many introduction to UNIX manuals out there.  There is a
>specific System V Release 4 manual that goes from basics to advanced
>system operations.  It is from Prentice Hall and is about two inches
>thick.  I Have forgotten its name though.

The book is:

	UNIX System V Rekease 4 (An Introduction)
	by Rosen, Rosinski, and Farber
	McGraw-Hill 552.
	~$30.00

Pax, Keith
-- 
Keith Gabryelski                                 Advanced Products Group
ag@amix.commodore.com                                 ...!cbmvax!amix!ag

po87553@korppi.tut.fi (Pasi 'Albert' Ojala) (05/01/91)

forwarded message:

I know Amiga Unix sysV is shipped with A3000UX, but can I buy it as a
separate package from a local dealer yet? I've got A2000A, A2620
(4 megs of RAM), GVP S-II interface with Q100S and A2320. Dave Haynie
said that this system is capable to run Unix, but I'll need updated
rom kit for A2620. Where can I find it? 
Oh and then I'd like to know some prises... How much cost Unix's basic 
configuration with the ROM upgradge kit for A2620? More or less than $1000?

							-Juha

---

   ////////////////////////////////////////  My friend runs a bbs in
  //  Pasi Ojala     //   Pasbox v2.6   //   his Vic-20. Is there
 // po87553@tut.fi  //   C64 forever   //    another one in the world?
////////////////////////////////////////