development blog for the wicked stuff we encounter

today, a 5 disk SATA raid5 array misteriously went to 'beeping mode', it was unable to mount the JFS partition, however the ext3 root partition worked (thank God!) so we've needed to do the following: apt-get install jfsutils fsck.jfs -a -f /dev/sda2 -j /dev/sda2

I like to use OpenSSH for Windows on my XP box, but unfortunately it does not understand utf-8. Ubuntu, however forces utf-8. balint@s-xxx:~$ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= All we need to do is to remove the '.UTF-8' from all listings, by inserting the following lines into our .bashrc (or the configuration file of the shell we use): export LANG=en_US export LC_ALL=en_US

Edit /etc/network/interfaces, and do it like this below: Make sure, you have all interfaces listed and automatically started: auto lo eth0 eth1 iface lo inet loopback First uncomment the DHCP, if it was active for eth0: # The primary network interface #auto eth0 #iface eth0 inet dhcp Now you can enter the fixed values for eth0: #custom iface eth0 inet static address 10.1.1.233 netmask 255.255.255.0 network 10.1.1.0 broadcast 10.1.1.255 gateway 10.1.1.254 If you have more interfaces, type all in as abowe. iface eth1 inet static address 80.xx.xx.xx netmask 255.255.255.0 broadcast 80.xx.xx.254 network 80.xx.xx.0