Installing Brother MFC5860CN printer on Ubuntu

Ubuntu Fiesty Fawn detected this printer, but it didin’t work.   Here is what I did to get it working:
Delete the existing printer:
Open a web broswer and wet to CUPS management URL: http://localhost:631 -> Administration -> Manage Printers, then deleted the MFC printer.
Followed these instructions and downloaded: 

mfc5860cnlpr-1.0.0-9.i386.deb
mfc5860cncupswrapper-1.0.0-10.i386.deb

Installed:

dpkg -i mfc5860cnlpr-1.0.0-9.i386.deb
  Produces errors – these can be safely [...]

Creating a password protected YUM repository

Setup http authentication in httpd.conf file (encouraged rather than using .htaccess):

<Directory /var/www/repo>
AuthType Basic
AuthName "Password Required"
AuthUserFile /etc/apache2/passwords/repo
Require valid-user
</Directory>

Create auth user password file:

htpasswd -c /etc/apache2/passwords/repo repouser

Restart apache.
Create repo:

yum install createrepo # or equivalent
mkdir /var/www/repo
cp *.rpm /var/www/repo
createrepo /var/www/repo

To use the repo, on the [...]

LDAP – Setting up an address book that Evolution likes

The goal of this exercise was to create an LDAP address book that the Gnome Evolution mail client would read and write. It tooks 3 days to get to the bottom of this. Getting some trivial functionality working was easy. Getting (nearly) all the Evo contact fields to work, with security enabled on [...]

Setup of Hanzo (Ubuntu dual-monitor desktop)

Installed Ubuntu Fiesty Fawn 7.04
Much shenanigans with disk drives, not ubuntu’s fault.
Updated system.
Desktop Effects
Enabled this, which required installation of nvidia proprietary driver (useful for multiple monitor support in a sec).
Dual Monitor Support
After reading this and this, did this:

gksudo nvidia-settings
# -> X Server Display Configuration
# Selected disabled monitor.
# Enabled it (1600×1200 was automatically selected).
# Apply
# Save [...]

Cisco VPN client

Environment:

Ubuntu 7.04 Feisty Fawn, 2.6.20-16-generic
vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz (got from work)
Rackable.pcf

The package is broken wrt this Linux distro. A guy by the name of Alexander Griesser keeps creating patches to fix it. Here is the lastest on at the time of writing http://tuxx-home.at/archives/2007/05/29/T16_34_26/. He provides instructions too:

Unpack vpnclient sources:
 
1. Untar the VPN Client
# [...]

Building Linux Kernels

Downloaded latest kernel from kernel.org, currently http://kernel.org/pub/linux/kernel/v2.6/patch-2.6.20.bz2

cd
tar xvfj linux-2.6.20.tar.bz2
cd linux-2.6.20/
make clean
make mrproper
cp /boot/config-2.6.9-42.ELsmp .config
make menuconfig
# set XFS support to M
make -j6 all
make modules_install
make install
# reboot

-j6 refers to degree of parallelism. They recommend 2x # of processors. I like 1.5x.

Building xfs utilities

Downloaded from ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs_2.8.18-1.tar.gz

tar xvfz xfsprogs_2.8.18-1.tar.gz
cd xfsprogs-2.8.18/
./Makepkgs verbose
rpm –install build/rpm/xfsprogs-2.8.18-1.x86_64.rpm

Linux remounts

To use the mount –bind functionality at boot time, use the following in /etc/fstab:

/space/vol0 /vol0 auto bind [...]