Linux

dale's picture

Access to logical volumes in domU from the dom0

I currently run a Fedora 8 dom0 with Fedora 9 domU's primarily. I'm working on exactly how I wish to configure the disk layout, but here is how to configure each domU on it's own logical volume, configure further logical volumes within that domU, and how to access those logical volumes from the host dom0.

dale's picture

Backup to Encrypted USB Key Fob

in

I described creating an Encrypted USB Key Fob previously. Here is a script I use to backup my data to it. It rsyncs a few directories and will also download your calendar and contacts from Zimbra if you are so blessed.

Just put this script on the key in bin/backup. Put the key in each computer and cd to /mnt/disk/bin and run the script. If you are not prompted for the password when you insert the key run 'sudo /sbin/cryptsetup luksOpen /dev/sdb1 dm-usb'.

#!/bin/bash
dale's picture

Friendly Spoken RT Ticket Reminders

in

On Friday before the long New Year's holiday weekend I thought I'd help out Christine by hacking her computer to remind her of her open RT tickets by reading the subjects out loud in her headphones every hour. The effect is quite hilarious. I just keep playing dumb and she keeps guessing why it's happening. :)

cjjones's picture

UT2004 on linux and fedora 8 on my mac

in

Ah what a great day. I've got UT2004 working on my desktop running fedora 7 and fedora 8 successfully installed on my mac with the help of Mike Harris! Good stuff. I love my mac! Oh and I switched to KDE, got Amarok set up and can burn mp3s with K3b. A very good day indeed.

dale's picture

Encrypted USB Key Fob

in

I found a 1G USB key on the sidewalk today. The plastic case was missing and it was a bit muddy but it works. So, I decided to play around and set it up with an encrypted filesystem on Fedora 8.

If you run gnome then you will be prompted for the password when you insert the thumbdrive.

#!/bin/bash
################################################################################
# Dale Bewley 
# Mon Dec 10 2007
# Encrypt a USB key fob for use in linux.
# This will totally nuke any existing data.
dale's picture

Xen Networking in Fedora 7+ and RHEL

Starting with Fedora 7 if you use Xen you will notice a new subnet and a
bridge automagically being created by libvirt. This is great for desktop experimenting, but if you are running this on a server you probably have an opinion on how your network should be configured.

Here's how to revert to manually controlled network settings.

dale's picture

Fedora 7 & 8 dom0 Crashes Due to domU Traffic Shaping

A Fedora 7 dom0 I have crashes with null pointer dereferences in tcp_tso_segment. After upgrading to F8 this is still happening. This seems to stem from traffic shaping in a busy domU fedora mirror server. Poking around it looks like this bug http://lists.openwall.net/netdev/2007/02/09/16 Well, they fixed that by twiddling net/ipv4/netfilter/ipt_REJECT.c but I think something in my Xen enviro with a combination of a busy bridge and traffic control rules is still tripping up on net/ipv4/tcp.c line 2241 "skb = skb->next;" from what I can decypher.

Syndicate content