SmartMonTools Package for Linux

The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA and SCSI harddisks. In many cases, these utilities will provide advanced warning of disk degradation and failure.

This is a very handy set of tools for your physical Linux boxes.

More info at main website:

How to Redirect to virtual folder under default website in IIS

In IIS 6.0 and 7 I want to have this URL to be accessible by anyone typing (sitemain is a virtual directory setup under the default website) instead of the full URL.

To achieve this, simply enter in the “redirect to” box “/sitemain” and (VERY IMPORTANT) select the “A permanent redirection for …..”.

Note: I had to do this for a website recently and it did take a bit of working out at first.

IPTABLES script to run boot time with Debian

In order to get Debian to start a firewall script on boot up, get the script to run before the network interface starts.

Edit /etc/network/interfaces
and place the script at the start with the path and the pre-up command e.g.
pre-up /etc/

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
pre-up /etc/
# dns-* options are implemented by the resolvconf package, if installed

Note: the is the IPTABLES Script, see IPTABLES posts for details about this.