Dec
31
2009
iLO is a management interface supporting SSH, available on HP Proliant servers. It provides interesting features such as remotely powering the server on and off.
But it is also possible to access the Linux console and reboot in single mode remotely. How handy is that!?
BIOS
While booting up, press F9 to go in the BIOS Setup
Go in [...]
Tags: console, Grub, HP, ilo, linux, serial
Dec
29
2009
From Linux Suse /etc/bash.bashrc:
# Colored root prompt (see bugzilla #144620)
if test “$UID” -eq 0 -a -t && type -p tput > /dev/null 2>&1 ; then
_bred=”$(tput bold 2> /dev/null; tput setaf 1 2> /dev/null)”
_sgr0=”$(tput sgr0 2> /dev/null)”
PS1=”\[$_bred\]$PS1\[$_sgr0\]”
unset _bred _sgr0
fi
Tags: bash, color, linux, prompt
Dec
19
2009
All systems need bridge-utils package installed either with yum or apt-get.
Redhat / Fedora
Edit each network interface startup file that is going to be added to the bridge
[root@redhat ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:C0:4F:44:41:8A
ONBOOT=yes
BRIDGE=br0
And create the bridge configuration file
[root@redhat ~]# cat /etc/sysconfig/network-scripts/ifcfg-br0
DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.100
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
USERCTL=no
IPV6INIT=no
PEERDNS=no
ONBOOT=yes
Ubuntu
root@ubuntu:~# cat /etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
auto br0
iface br0 inet static
[...]
Tags: bridge, debian, fedora, linux, network, redhat, Startup, ubuntu