Archive for June, 2008

debian linux network bonding

Wednesday, June 25th, 2008

apt-get install ifenslave

debian:~# cat /etc/modprobe.d/arch-aliases
options bonding mode=0 miimon=100

#mode=0 for round-robin
#mode=4 for 802.3ad

debian:~# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug bond0
auto bond0
iface bond0 inet dhcp
slaves eth0 eth1

Linux bonding driver infos

php mint cgi

Saturday, June 21st, 2008

AddHandler php4-script .php
Action php4-script /cgi-bin/php