Since I have the memory of a goldfish, this will basically used to catalog/archive things so that I can use it as a reference. Maybe someone might find it helpful. It will mostly revolve around tech/linux stuff.
Friday, December 26, 2008
Monday, December 22, 2008
Nvidia custom driver install using module assistant
install nvidia-glx
1) apt-get install module-assistant gcc nvidia-kernel-common
2) m-a update
3) m-a prepare
4) m-a auto-install nvidia (accept all the additional packages it
needs to install)
5) IMMEDIATELY AFTER: apt-get remove nvidia-kernel-`uname -a` (remove
the kernel module you just built, this was to prepare the latest
NVIDIA driver to build)
6) Download NVIDIA's latest drivers here :
http://www.nvidia.com/object/linux_display_ia32_177.82.html
7) Run the installer, it'll have to build a kernel module and it
should complain about the XLib path, but everything should be okay
At that point it should all be ready to go just copy the X config from
the other machine and it should be fine
- A.C.
Distcc/avahi daemon failed to parse host lists file
apt-get returning package errors for valid packages
Monday, October 13, 2008
NFS share with write access
all_squash access on the server to a known server uid/guid
Server(/etc/exports): /<nfs_share>
192.168.1.0/255.255.255.0(rw,async,all_squash,anonuid=1000,anongid=1000)
Client(/etc/fstab): <server_ip>:/<nfs_share> /mnt/<mount_point> nfs
defaults,users,rsize=32768,wsize=32786 0 0
Thursday, September 18, 2008
install nvidia's package drivers with a compiled kernel
CC=gcc SYSSRC=/usr/src/linux-2.6.26 SYSOUT=/usr/src/linux-2.6.26 sh
NVIDIA-Linux-x86-173.14.12-pkg1.run
startx
Monday, September 8, 2008
making a kernel from source
make mrpropper
make menuconfig
make-kpkg --initrd kernel_image
make sure initrd (ramdisk) is installed /boot/initrd-`kernalversion` in grub or lilo
(initrd /boot/initrd.img-2.6.18-6-k7)
DISTCC masquerade recursion issue
mkdir /usr/lib/distcc/bin
cd /usr/lib/distcc/bin
ln -s ../../../bin/distcc gcc
ln -s ../../../bin/distcc cc
ln -s ../../../bin/distcc g++
mkdir /etc/distcc
echo 'localhost' >> /etc/distcc/hosts
echo "export PATH=/usr/lib/distcc/bin:$PATH"
ln -sf /usr/bin/g++-4.1 /usr/bin/g++
ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc
set path variable to have distcc as the first
Wednesday, September 3, 2008
Startup scripts enable disable
- sudo update-rc.d <scriptname> defaults
Disable:
- sudo update-rc.d -f <scriptname> remove
http://www.debian-administration.org/articles/28
ALSA Woes
Explicitly create the device files
mknod -m 777 /dev/dsp c 14 3
mknod -m 777 /dev/mixer c 14 0
Make sure xmms
- using alsa
- NOT software mixer
to reload
sudo alsa reload
Wednesday, August 27, 2008
imageMagicks display wont open cannot find font with X-org 7.0
Monday, August 25, 2008
Thursday, August 21, 2008
CUPS 'No authentication data provided'
Instead of using ipp which the xerox supports, use lpd
Sunday, August 17, 2008
firefox 3 on debian etch
cd /usr/src ; wget http://ftp.gnome.org/pub/gnome/sources/gtk+/2.10/gtk+-2.10.14.tar.bz2; tar xvfj gtk+-2.10.14.tar.bz2; cd gtk+-2.10.14; ./configure && make && make install