On-access Virus Scan

This article was first written in January 2005 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/200).
On a Linux server, to scan files on access using ClamAV, you can use Clamuko or, if using Samba to access it, use samba-vscan.

HOWTO Install Debian Sarge on an AOpen 1557 GLS

This article was first written in December 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/194).

Introduction

All in all, the basic Debian Sarge install (using Netinst CD) does a lot of work and the laptop is usable as is (network, graphical display, sound, …). However, some things need a bit of tuning to get the best of your laptop. This article is intended to help those people who want to get the best out of it or, so to speak, to make everything work.

HOWTO Use fgetty instead of getty on Debian

This article was first written in November 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/185).
Getty is known to be memory-hungry. Let's replace it with something lighter, which works in most cases: fgetty On Debian Sarge and up, it is already packaged, so sudo apt-get install fgetty will do the trick. But this is not sufficent for it to be installed instead of getty. You will have to edit /etc/inittab. Warning: this is a very dangerous file to edit, as it may render your system unbootable.

HOWTO Install a CUPS server on Debian Woody

This article was first written in September 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/170).
To install a CUPS server on Debian Woody, just:
$ sudo apt-get install cupsys
If you want to connect HP printers, also install package hp-ppd, it contains a lot of printer definitions (PPD - Postscript Printer Definition) for HP printers. Then connect to the machine on port 631 (Ex: http://localhost:631) using your favorite web browser and add your printer(s).

PostgreSQL Autodoc

This article was first written in June 2004 for the BeezNest technical
website (http://glasnost.beeznest.org/articles/134).
PostgreSQL Autodoc is a powerful and useful tool to document a PostgreSQL database. It is written in Perl and generates several outputs. Using it is as simple as launching it with the name of the DB, and user and password to connect to it.

H.323 through a Netfilter (Linux 2.4) firewall

To communicate using a tool like Microsoft NetMeeting or GnomeMeeting through a Linux (kernel 2.4.x-based) firewall, you have to redirect some ports to one IP address in the inside network, otherwise, it won't work. Here is a little script meant to achieve exactly that:
#!/bin/sh
# Script to redirect H.323 trafic to one specific IP behind the firewall

IPTABLES=/sbin/iptables
OUT_DEV=ppp0
IN_HOST=192.168.11.33
TCP_PORT_RANGE=30000:30010
UDP_PORT_RANGE=5000:5003
TCP_LISTENING_PORT=1720

#$IPTABLES -