These instructions describe how to connect to the Rose-Hulman AFS cell with a computer running Ubuntu Linux version 7.04, "Feisty Fawn." An effort has been made to include every step necessary on a fresh Ubuntu installation, as this HOWTO is intended for those new to Ubuntu.
For more general instructions, consult the AFS page at the Rose LUG Wiki.
This site (my main sorce for this HOWTO) reveals that OpenAFS is incompatible with the 2.6.20-15 kernel, which is the default for Feisty. You can determine your kernel's version with uname -r. Upgrade it with sudo apt-get dist-update if necessary, then restart with sudo shutdown -r now.
Get the packages:
sudo apt-get update sudo apt-get install build-essential module-assistant sudo apt-get install openafs-modules-source
Compile the kernel modules:
sudo module-assistant prepare sudo module-assistant build openafs
Install the kernel modules:
sudo dpkg -i /usr/src/openafs-modules-*.deb
Get the client and Kerberos:
sudo apt-get install openafs-client
OpenAFS's configuration is stored in /etc/openafs/.
Modify the following files (with sudo nano <file> or equivalent):
CellServDB should contain only these lines:
>rose-hulman.edu # Rose-Hulman 137.112.7.11 #fuseki.rose-hulman.edu 137.112.7.12 #chuban.rose-hulman.edu 137.112.7.13 #yose.rose-hulman.edu 137.112.7.14 #atsumi.rose-hulman.edu 137.112.12.10 #drafs.rose-hulman.edu >cs.rose-hulman.edu #Rose-Hulman CS Department 137.112.40.10 #galaxy.cs.rose-hulman.edu
ThisCell should contain nothing but:
rose-hulman.edu
Use of OpenAFS is described on the Rose LUG Wiki page: basically, type kinit <kerberos-username> to log in, aklog -d to register your Kerberos ticket with OpenAFS. By default, AFS is mounted at /afs.
This document was created 2007-10-22 and last modified 2007-11-08.
© 2004–2024 Tom Most