In RHEL/CentOS 5 this was handled by /etc/modprobe.conf.
Now in RHEL/CentOS 6 this is now handled by udev. The file that controls everything is
/etc/udev/rules.d/70-persistent-net.rules An example of how this file looks is shown below:-
# PCI device 0x14e4:0x164c (bnx2) (custom name provided by external tool) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="00:19:b9:f2:d4:f7", ATTR{type}=="1", KERNEL=="eth", NAME="eth1" # PCI device 0x8086:0x10d6 (igb) (custom name provided by external tool) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?", ATTR{address}=="00:1b:21:0c:2a:70", ATTR{type}=="1", KERNEL=="eth", NAME="eth2" # PCI device 0x8086:0x10d6 (igb) (custom name provided by external tool) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?
Read more →
Not as easy as the title suggests, what a surprise!
Before I went and overwrote the existing OS on the Mac Pro, I downloaded the CentOS 5 live CD to see whether it worked. There were good signs from this wikipedia article. First thing is how to get the Mac Pro to boot from the CD:-
1. Turn on the Mac Pro 2. Hold down the left button on the mouse 3.
Read more →
We are trialling Icinga at work as the interface to Nagios is a little behind the times, but the instructions here are applicable to either. We run a cluster and we needed a way to monitor the nodes within that cluster. To get each node to boot and install an OS we use Cobbler, and to ensure that each node is configured in the same manner we use puppet. Getting a node to be automatically added to puppet, has been covered elsewhere.
Read more →
About two years ago my automatic solar controller broke down. The replacement is $500, with a power controller being a further $500. This was a bit too much.
I came across an Ethernet based power controller, and decided that I can use it as the basis for a Linux based solar controller.
The solar controller’s job is to turn on the pump for the pool, to allow it to filter the water, and in the process of moving the water reduce the ability for algae to form.
Read more →
At work we wanted to use orangeHRM to allow the staff to request leave and have it signed off by the managers, getting rid of a slow paper based system that offered little visibility to the staff on when the leave was signed off. The only issue is that whilst orangeHRM provides some reports, it does not currently allow for a leave summary report to be exported only shown in the web interface as tabbed pages.
Read more →