Simple! Check to see if your IP connection is up, then change to root and type:
sh /etc/rc.d/rc.afs
You can add that line into your rc.local script (in /etc/rc.d) or some other startup script, or even in /etc/ppp/ip-up if you're on a dialup line with pppd.
Starting Linux-AFS will load up the kernel module, then start the AFS daemon. It'll then mount /afs and inform you about it. It'll also check for newer releases of the Linux-AFS package, and tell you about it. If this occurs, look for the new release (or contact the administrator to obtain a new version).
Type in these lines as root:
kill `cat /var/run/afsd.pid` rmmod libafs.o
This will shut it down properly and remove the kernel module. AFS should shut itself down durring a standard shutdown. However, you will need to remove the kernel module to restart Linux-AFS.
kpasswd. Derek's AFS 3.3a doesn't have it, so you'll need to pull it from ftp://ftp.uni-hohenheim.de/pub/linux/pam/kpasswd.tar.gz . Tobias says that it needs an AFS authenticating PAM module to work. [Probably you have to adjust some code. It was written for Redhat 4.2. -Tobias] AFS 3.5 has it.
-- Tobias Schaefer Phone 07071-9457-0 science + computing gmbh FAX 07071-9457-27 Hagellocher Weg 71 D-72070 Tuebingen Email: T.Schaefer@science-computing.de WWW: http://www.science-computing.de/
umount /afs rmmod xfs /usr/arla/bin/startarla