Mikko Kortelainen

Tag: Linux

How to prefer IPv4 over IPv6 for some hosts

If an IPv6 address is unreachable, but you can reach the IPv4 one, you can set the preference to IPv4 for that particular address by adding a line such as this in /etc/gai.conf:

precedence ::ffff:198.145.11.105/128 100

That will set the preference for host …

ACPI Shutdown on Virtual Ubuntu

If your virtual machine does not shut down when asked by the hypervisor, install the package acpi-support.

sudo apt-get install acpi-support

Works at least with KVM, but I see no reason why it would not work as well in other virtualization platforms, if they just send the ACPI shutdown signal …

read more

N900 Scandinavic Letters from US keyboard

My Nokia N900 has the US keyboard with four arrow keys but no diacritics, two of which are used in my native Finnish language. I actually like having the four arrow keys instead of two arrow keys plus dedicated diacritics. You can anyway get those from the on-screen keyboard, but …

read more

NIC bonding with Red Hat/CentOS

Here are simple instructions on how to configure network interface bonding on Red Hat based distros. The thing I always forget. There's also a little script which will create a bonding interface bond0 between eth0 and eth1 and migrate existing IP settings from eth0. You can find it in the …
read more

Redundant iSCSI storage for Linux

Here's how to set up relatively cheap redundant iSCSI storage on Linux. The redundancy is achieved using LVM mirroring, and the storage servers consist of commodity hardware, running the OpenFiler Linux distribution, which expose their disks to the clients using iSCSI over Ethernet. The servers are completely separate entities, and …

read more
Page 1 of 3 >>