Archive

Xen

About Xen

Xen allows you to run multiple operating systems, currently Linux (2.4 and 2.6 kernels) and NetBSD, concurrently on one PC. Xen is particularly useful for systems administrators, ISPs, and ambitious/technical home users wishing to add security to their systems. Xen is notable for its very small drop in performance of the virtual machines compared to other solutions such as LinuxHints/UserModeLinux.

For more information take a look at the following web pages:

For a more detailed introduction take a look at [continued…]

What to do when you’ve been hacked

Initial handling

First of all, don’t panic – it won’t help anything. Personally I want to try and track down the pile of slime that did this. That means trying to preserve all data, logs and possibly sniffing network traffic. However you also need to weigh up the risk of further damage to (or from) your compromised system.

Change all your passwords and any other data that might have been grabbed from the compromised system – e.g. credit card details etc. You should also check any other systems that you use from that machine or that are on the [continued…]

Dynamic DNS

Configuring Dynamic DNS & DHCP on Debian Stable

For the average home user there is no need to install a complex package such as the Internet Software Consortium’s BIND DNS or DHCP server. There are far simpler lower resource tools to use such as dnsmasq. However if you wish to learn how to use ISC BIND and DHCP, this is what I did to get it all working on Debian Sarge, the current stable version of Debian GNU/Linux.

This short article was prompted by my question on the Debian-Administration forum site, where I was able to [continued…]

Using Strace

== Using strace ===

A guide to reading, interpreting and understanding strace output.

What is strace?

Strace is a program which traces the system calls that a running program makes. It is an extremely useful debugging tool on Linux systems. A system call is a function that asks the kernel to do something (for example to request that a file is opened). By understanding which system calls a program makes, we begin to understand what it is doing; more often we use it to understand why the program fails.

A simple example

It is easiest to [continued…]

Sound Problems

There are a few common problems with sound under Linux.

ALSA vs OSS

There are two entirely separate and parallel sound drivers – the old OSS drivers, and the newer ALSA drivers. A lot of applications still look for OSS drivers (/dev/dsp) only. If the application error is something like “/dev/dsp: no such file”, or “/dev/dsp: no such device” or “/dev/dsp cannot be found”, then this is probably your problem. If your system is using ALSA (check: does “lsmod” show lots of lines with “snd-” in them?), then the application in question is misconfigured, and needs to be [continued…]

Installing X

I just found on Planet Debian the following:

zakame@zaks:~$ sudo aptitude install xserver-xorg xlibs xlibs-dev

Worked without a hitch! A mere X zap, and presto! X.Org!

Kudos the Debian X team! =)

so my long-winded instructions below may no longer be needed

[20051023] — Xorg has made it in to Debian Etch — the instructions below are superfluous for that flavour of Debian. — ThomasAdam

Peter Salisbury recently gave the URL to an unofficial Debian repository for X-Org. I decided to have a go at installing it on my system and [continued…]

Debian Release Process

Debian’s release process is frequently misunderstood, and the large number of overlapping and shifting code-names can be confusing. This page attempts to explain how the development of Debian works.

First of all, Debian has three development “distributions”:

  • unstable: Rapidly-changing development distribution. Expect things to break
  • testing: Packages that have undergone a (minimal) QA process
  • stable: The current stable release

Any one of these can be installed and used with apt (aptitude, synaptic, …) to perform automated package updates. Updates to stable will only be security fixes, and will not change the version [continued…]

Resizing Partitions

Introduction

There is sometimes a need over the course of a sysadmin’s role to resize partitions. There are a few things that need to be thought about before this is done. This document serves as a guide only in doing that. It is well worth using a knoppix CD to do this, since I would never recommend resizing partitions from the drive that is being resized.

I should point out that I take no responsibility for data loss as a result of the instructions contained herein.

Procedure

I’m assuming that you’ll be resizing an ext3 partition. [continued…]

Knoppix Union FS

Introduction

Knoppix is a live-CD distribution of Linux based on Debian. Once you’ve made a CD, you simply put it in your CD/DVD drive and boot from the drive, the system detects all your hardware, and within about a minute you have a fully-functioning KDE Desktop.

Previously, Knoppix’s primary uses have been as a demo of Linux, or as an environment for fixing a broken system. However, since the recent release of version 3.8, Knoppix has incorporated a system called UNIONFS.

What UNIONFS does, and why it’s important

Until Recently…

Knoppix <=3.7 had a [continued…]

WLAN

Wireless LAN Hints

To see if we can have some actually helpful Wireless pages, – here is a Wireless Hints section.