Tag: Linux/BSD
Sandbox a VMware Virtual Machine With iptables
Occasionally I need to play with an experimental machine using VMware Workstation on my Linux host. The virtualizaton already sanboxes my disks, memory, and other resources. However I only have 3 choices for networking: Bridged, NAT, and host-only.
Bridged is often unacceptable for experimentation due to it’s unrestricted nature. It also [...]
Posted: August 27th, 2007.
Tags: Linux/BSD, Work
Comments: 1
pynotify - CLI tool for Gnome libnotify
On my Mac, I use Growl all the time. Especially using the CLI tool growlnotify to notify me from my scripts. Recent versions of Gnome use libnotify to display notifications similarly to Growl.
I couldn’t find a CLI tool, so I wrote one. The Python API is very handy and easy to understand, [...]
Posted: June 22nd, 2007.
Tags: Linux/BSD
Comments: 6
Desktop Effects on Ubuntu Feisty + ATI + Beryl
Now that I have a nice fast machine at work with an ATI X1300 dual-head video card, I had to get my desktop effects going. It is very simple to get the basics on Ubuntu Feisty Fawn.
First things first. With a recent ATI card you must use Xgl. It will not work [...]
Posted: May 7th, 2007.
Tags: Linux/BSD
Comments: 19
Gentoo: LVM on a root partition
Start the install as normal
use fdisk/cfdisk to create a small /boot partition, the rest can be an LVM partion.
pvcreate /dev/sda2
vgcreate vg /dev/sda2
lvcreate -n swap -L 256M vg
lvcreate -n root -L 2G vg
Continue normally using /dev/vg/swap and /dev/vg/root for device nodes.
At kernel configure.
Install genkernel and lvm tools “emerge genkernel lvm2″
sensible default config
zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-config-2.6
genkernel –lvm2 [...]
Posted: April 16th, 2007.
Tags: Linux/BSD
Comments: none
Spam statistics and spamd
I discovered today that I left my [tag]procmail[/tag] deliveries logging all kinds of information. I had logs that went back a month and a half. I thought why not parse them up, and generate some [tag]stats[/tag].
My procmailrc sorts most of my mail into folders for me. When I was writing the script [...]
Posted: December 22nd, 2006.
Tags: Linux/BSD, Work
Comments: 2