]> arthur.barton.de Git - netatalk.git/blob - INSTALL/README.SOLARIS
Initial revision
[netatalk.git] / INSTALL / README.SOLARIS
1 This is the Solaris README file for netatalk.
2
3 1.  SELECT COMPILER.  This distribution is configured to build with
4     gcc.  It should also work with cc. At the present time only cc
5     v5.0 and above can build the 64-bit kernel module.
6
7 1a. SELECT KERNEL TYPE.  Edit sys/solaris/Makefile and set KCFLAGS to
8      include sparcv9 support if you run a 64-bit kernel, or leave it
9      commented out for a 32-bit kernel. Only UltraSPARC systems
10      running Solaris 7 and above support a 64-bit kernel. If you're
11      not sure what kernel you use, run "isainfo -v". You're running a
12      64-bit kernel if the result includes 64-bit (sparcv9), otherwize
13      it's 32-bit.
14
15      NOTE: If you want both the 32-bit and 64-bit kernel modules to be
16      installed, first compile and install the version appropriate to
17      the kernel that you're currently running, then make clean,
18      compile and install the other version.
19
20 2.  EDIT NETCONFIG.  Add the following line to /etc/netconfig:
21
22         ddp tpi_clts - appletalk ddp /dev/ddp -
23
24     This makes the socket library aware of the AppleTalk protocol
25     family.
26
27 3.  INSTALL DRIVER.  Since the STREAMS ddp driver must be installed as
28     root, we've separated that portion of the build.  Type
29
30         make kinstall
31
32     to install the driver.  This copies the driver and it's config file
33     into /usr/kernel/drv and /usr/kernel/strmod, runs "add_drv ddp" to
34     make the kernel aware of the new driver, and adds an rc file to
35     /etc/rc?.d.
36
37 4.  ATALKD.CONF.  Under Solaris, you must create atalkd.conf, since
38     Solaris provides no method for determining the names of the
39     available interfaces.  It is sufficent to name the available
40     interfaces in atalkd.conf, one per line.  E.g.
41
42         le0
43
44     on a line by itself, on many Suns.  See atalkd(8).
45
46 5.  PRINTING.  To quote my Solaris documentation, "Setting up printing
47     services using the LP print service command-line interface is
48     complicated and error-prone."  See your Solaris documentation for
49     similarly helpful statements.
50
51     Presuming that the Solaris print filters are installed (see your
52     helpful Solaris documentation), the following command adds the
53     printer named "bob" your to system and enables printing:
54
55         lpadmin -p bob -i /usr/local/atalk/etc/lp2pap.sh \
56                 -I postscript -v /dev/null -T PS
57         enable bob
58
59     This creates the directory /etc/lp/bob, in which you should create
60     a file called ".paprc" containing the NBP name of the printer.  See
61     the "pap" man page for more information.
62
63 Research Systems Unix Group
64 The University of Michigan              netatalk@umich.edu
65 c/o Wes Craig                           +1-313-764-2278
66 535 W. William St.
67 Ann Arbor, Michigan
68 48103-4943