Archive

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…]