- DHCP client
- sudo vim /etc/dhcp3/dhclient.conf
- send host-name "blah.sp.cs.cmu.edu";
- supersede domain-name "sp.cs.cmu.edu";
- sudo /etc/init.d/networking restart
- Kerberos
- apt-get install ssh-krb5 krb5-user krb4-config
- dpkg-reconfigure krb5-config krb4-config
- default Kerberos realm = CS.CMU.EDU
- default Kerberos server = kerberos.cs.cmu.edu
- Copy the backed-up krb* files into /etc (root:root)
- klist
- kinit -l 1d
- klist
- AFS
- AFS Kernel Module
- sudo apt-get install module-assistant build-essential gcc-3.4 openafs-modules-source
- sudo module-assistant prepare
- sudo module-assistant auto-install openafs-modules
- sudo depmod -a
- AFS Client
- sudo apt-get install openafs-client openafs-krb5
- sudo dpkg-reconfigure openafs-client
- CellServDB = cs.cmu.edu
- cat /etc/openafs/ThisCell, should show you, cs.cmu.edu
- Optional: copy the backed-up /etc/openafs/* files into /etc/openafs (root:root)
- sudo /etc/init.d/openafs-client force-start
- klog
- tokens
- NOTE for Edgy/Feisty(?)
- Openafs 1.4.2 did not make it to Ubuntu 6.10, and the Openafs release included with 6.10 is broken.
- Use the following fix - Openafs 1.4.2 and Ubuntu
- My kinit and klogin script looks like this.
$ cat my_kinit.sh
#!/bin/bash -x
export PATH=/usr/bin:$PATH
echo "Kerberos Login"
kinit -l 1d
klist
echo "AFS Login"
klog
klog -c andrew.cmu.edu
tokens
- Printing
sudo apt-get remove cupsys
sudo apt-get install lprng
cp printcap_linked /etc/printcap
(change the printer descriptions as required, i.e., add your printer lines to /etc/printcap, but make sure you add the ":force_localhost@" line ... otherwise nothing will work)
After this, lpq, lpr and lprm will work as normal.
- NOTE for Edgy/Feisty/Gutsy/... - The note above works only for Dapper - use cupsys for Edgy/Feisty/Gutsy/... and add the printer manually using System-Admistration-Printing (in Gnome), click on NewPrinter, wait a while, then click on other, url => lpd://yellow.srv.cs.cmu.edu/iron, lpd://cyan.srv.cs.cmu.edu/stone, lpd://monolith.srv.cs.cmu.edu/agate, ....
- For printer model, name, location, etc: csd helpdesk - printing
- NTP: [ntp config file]
- Listing of my installed packages
-
From Running SuSE in the SCS environment
1. Backup
Install the backup client by following the instructions in the README in this directory.
> afs/cs/project/operations/Backup-Client
> However since this is not a facilitized machine there
are some differences. First don't perform step 4(Editing
inedt.conf) Ubuntu uses xinetd. Instead do the
following:
* Enable the terad service.
* Open the port 1967 in the firewall (if you have one set-up).
Step 5 is also different because you must comment out a
line for port 1967 that already exists in
/etc/services. Don't forget to email facilities and tell
them that you have changed your distribution and that
the location of the backup has changed.
2. Terminal Server
The setup of the terminal server is easy. Just add the following:
> cd usr/local/bin
> ln -s afs/cs.cmu.edu/local/rdesktop/common/scripts/004/bin/ts