Searchable Keywords: eth0 appletalk ####################################################################### Getting this up and running was not a simple task. Things to check first: Make sure the DESTDIR in the top level make file is set to an apropreiate place(the default is /usr/local/atalk) DESDIR vs DESTDIR Comment out the*** DESDIR*** in the top level make file. If you don't this will bomb at the end of the compile. This is for locating Data Encryption directories Make sure gcc or cc compiler is some where on the system Compiling: (on Solaris systems you need to do a "make kinstall" 1st) At the top of the netalk directory type "make". Watch for any potential errors. If all goes well type make install You will probably have copy the items from the services.atalk file to /etc/services file. Configuring: Copy the contents of config directory to DESTDIR/etc directory Using the default settings in the afpd.conf is OK. Move the atalkd.conf to atalkd.conf.orig. A new atalkd.conf will be created when atalkd is started. On Solaris systems uncomment out the le0 line in atalkd.conf but for most others atalkd is able to sense the interface(s). I didn't configure a printer so I moved papd.conf to papd.conf.orig. I left AppleVolumes.default and AppleVolumes.system alone and created a "AppleVolumes file in my home directory. It looks like this.... examples: netatalk running under Sparclinux on a IPC: [gkeen@rachel gkeen]$ more AppleVolumes # # volumes ~ Home #/music "Some Tunes" # just in case I want to use this later # # type / creator mappings .txt TEXT MSWD NOTE: Obviously you have to share out(export via /etc/exports and exportfs) the directory(ies) that will be connected to via a Mac [root@rachel root]$vi /etc/exports # I'm exporting my home directory for netatalk /home/gkeen (rw) [root@rachel root]$ exportfs [gkeen@rachel gkeen]$ showmount -e Export list for rachel.physio-control.com: /home/gkeen netatalk running under Solaris 2.6 on a SS20 I also created a AppleVolumes file in my home directory to access both my Unix home that exist on systolic(a sparc 20 that holds most peoples unix home accounts) and a second disk in my Sparc 20 on my desk. Share out the second disk and directory.... emu# more /etc/dfs/dfstab # Place share(1M) commands here for automatic execution # on entering init state 3. # # Issue the command '/etc/init.d/nfs.server start' to run the NFS # daemon processes and the share commands, after adding the very # first entry to this file. # # share [-F fstype] [ -o options] [-d ""] [resource] # .e.g, # share -F nfs -o rw=engineering -d "home dirs" /export/home2 share -F nfs -o root=gkeen -d "shared 2nd disk" /data/losiceses /data is the second disk on my SS20 and losiceses is the directory that netatalk will see. create the AppleVolumes file..... home/gkeen-emu- more AppleVolumes # This is a file to reach the shared volume on emu /data/losiceses losiceses <---This allows me to view the second disk on a SS20 ~ GKunix_home <---This allows me to view my unix home acct # type / creator mappings .txt TEXT MSWD When viewed from the chooser on a Mac I see losiceses and GKunix_home for volumes that I have access to. Questions: How does netatalk see my unix home account on systolic? That involves NIS? Do I need to be signed onto the SS20 for my unix account on systolic to be visible? Because I am logged into emu that would mean that my home accouont was automounted which would make it available if shared out. The auto.home would point to systolic so when netatalk read this it would display content. EVERYBODY GOT THAT ! ! ! TROUBLE SHOOTING: ################################################################ atalkd won't start. You keep getting messages in var/log/messages like..... atalkd: socket: Invalid argument Jul 24 12:08:40 yamin atalkd: atalkd: can't get interfaces, exiting. Jul 24 12:08:40 yamin atalk: atalkd startup failed With this message you won't be able to see your netatalk volume in the chooser. Two things fixed this on my intel_linux RH 6.2 install 1) vi /etc/atalk/atalkd.conf which should look like this... eth0 -phase 2 -net 0-65534 -addr 65280.73 edit this line to say ONLY the eth0 2) vi /etc/conf.modules and add.... alias net-pf-5 appletalk I'm not sure wether this reloads the appletalk module or not because I load that module at boot up 3) /etc/rc.d/init.d/atalk start tail -f /var/log/messages to see that atalkd came up OK You should now see your netatalk volume in the chooser Loading the appletalk modules in rc scripts For some reason I can't seem to remember I had to load appletalk from the /etc/rc.d/init.d directory. I called the load script from /etc/rc.d/rc3.d directory. the script looked something like this....... % more /etc/rc.d/init.d/loappletalk # I have to load the appletalk module from here # for now. insmod /lib/modules/2.2.14-5.0/misc/appletalk.o This may be replaceable with the above step 2) ????? ####################################################################