* Note: Things in brackets [] are filenames or directories created by the ALTQ tarball and should be substituted as needed.
1. Get the latest version of ALTQ
from http://www.csl.sony.co.jp/person/kjc/programs.html.
2. Put the tarball in /usr/src and unpack:
home> su root root# cd /usr/src root# cp [altq.tar.gz] /usr/src root# gunzip [altq.tar.gz] root# tar -xvf [altq.tar]3. Check out the README and INSTALL files
root# cd [altq]4. Basically, follow the directions in the INSTALL file under "Making ALTQ-kernel". They should match up pretty well with these directions:
root# cd /usr/src root# mkdir sys-altq root# cd sys root# tar cvf - . | (cd ../sys-altq; tar xf -)
root# cd /usr/src/sys-altq root# patch -p < /usr/src/[altq]/sys-altq.patch >& patch.out
root# find . -name "*.rej" -print
root# mv ALTQ ALTQ.1000 root# cp ALTQ.1000 ALTQ.100 [change HZ in ALTQ.100 to 100]
root# cd /usr/src/sys-altq/i386/conf root# config ALTQ.1000 root# cd ../../compile/ALTQ.1000 root# make depend root# make clean root# make root# cp kernel /kernel.ALTQ.1000 root# cd ../../i386/conf root# config ALTQ.100 root# cd ../../compile/ALTQ.100 root# make depend root# make clean root# make root# cp kernel /kernel.ALTQ.100
root# chflags noschg /kernel root# cp /kernel /kernel.prev root# cp /kernel.ALTQ.[HZ of choice] /kernel root# chflags schg /kernel
root# cd /usr/src/sys-altq/compile/[kernel of choice] root# make install