Install the OpenAFS modules with the following command:
sudo apt-get install krb5-user openafs-modules-dkms openafs-client openafs-krb5
Please use the following configuration for the setup:
for Kerberos Version 5||TU-BERLIN.DE |
|AFS cell of the
The following command allows you to change the configuration at a later point:
sudo dpkg-reconfigure -plow openafs-client
Run these commands:
sudo wget www.tubit.tu-berlin.de/fileadmin/a40000000/tubIT/afs/ubuntu_krb5.conf  -O /etc/krb5.conf
www.tubit.tu-berlin.de/fileadmin/a40000000/tubIT/afs/CellServDB  -P
You can start the AFS client with this command:
sudo service openafs-client start
If you get the following error message, please follow the instructions of OpenAFS with Ubuntu 14.04LTS:
AFS module /lib/modules/<kernel version>-generic/fs/openafs.ko does not exist. Not starting AFS.
This error is typical for Ubuntu 14.04LTS with kernel version 4.x.
The configuration is finished now. With the following two commands you can sign in to the AFS service. These commands have to be entered before any new session.
You can find your user directory here:
/afs/tu-berlin.de/home/"1st character of your username"/"username"
The user rights can be displayed with the command
The rights can be changed with
A description of these commands (with examples) can be found in the MAN pages
OpenAFS with Ubuntu 14.04LTS
To install OpenAFS with Ubuntu 14.04LTS you have to install more recent packages of openafs. Therefor add the launchpad openafs stable releases (https://launchpad.net /) to your system with the following command:
sudo add-apt-repository ppa:openafs/stable
and accept the query with enter. Afterwards reinstall the affected packages:
sudo apt-get install openafs-modules-dkms openafs-client openafs-krb5
and stick to the guide again.