Archive

Boot CD

Booting from CDs via grub

This is a way of getting a grub menu entry which will boot a CD on a PC which can’t boot from CD’s through the BIOS.

What you do is set the kernel to memdisk (which comes with the syslinux package) and set the initrd to the Smart Boot Manager (SBM) master boot record copied from a SBM floppy. The steps are:

  • Install syslinux, copy memdisk to /boot and then remove syslinux:
  • aptitude install syslinux cp /usr/lib/syslinux/memdisk /boot aptitude purge syslinux
  • Download SBM from their website (http://btmgr.webframe.org) and [continued…]

  • Exim Virtual Domains

    Configuring exim for virtual domains

    This will configure exim (version 3.35, as in Debian stable) to accept mail for virtual domains.

    /etc/exim/exim.conf configuration

    Specify local domains

    Exim needs to know the local domains it handles. Edit the local_domains = line in /etc/exim/exim.conf so it looks like:

    local_domains = yourdomain.com:localhost:lsearch;/etc/exim/virtual/domains

    Where yourdomain.com is your main domain exim handles mail for (i.e. not a virtual domain).

    Also local_domains_include_host should be set to true as well as local_domains_include_host_literals

    Adding a transport

    Edit /etc/exim/exim.conf and add a transport. The following must go at the top of the [continued…]

    Network Diagnostics

    A reasonable “diagnostic path” for checking your network config is:

  • Check there’s a physical connection. Do you have a link light? Is the cable the correct configuration (xover/straight through)? Is it something that’s wrong at the other end (faulty switch/switch port etc.)?
  • ifconfig Do you have a stanza for each of lo and eth0 interfaces? If no – try bringing them up with “ifup lo” and “ifup eth0”. Check that both interfaces have an ip address assigned to them.

  • ping -c 5 127.0.0.1 Can you ping the local host on the local interface? [continued…]

  • Locked Down Gnome

    Introduction

    Note: This document is barely begun: please don’t expect to read anything useful here yet…

    In fact it’s now New Year’s Eve 2005 and nothing has happened here for months. I haven’t entirely forgotten this project though…

    Another Note: The project of which this was part has now ceased to exist as of April 2005, so I no longer have the motivation to continue with this at the moment. I may well delete this page at some stage, unless anyone finds a use for it — if so, please add a comment to this page. [continued…]

    Recording VNC

    Using VNC is a great way to make movies of a desktop session. It’s possible to record a desktop session from any operating system that runs a VNC server, including Linux, Windows and the BSDs. These could be for demonstration, training purposes or advertising. Once the recording has been made, it can be converted to a standard video file using transcode, ready for distribution.

    Installing

    • Download the vncrec source code from the website.

    • You will need the following packages and their dependencies installed to compile vncrec: build-essential libxmu-headers libxt-dev libxaw-headers libxaw7-dev libxvidcore [continued…]

    Screen

    Introduction

    In the words of the manpage, “Screen is a full-screen window manager that multiplexes a physical terminal between several processes (typically interactive shells).”. What? Well basically what screen allows you to do is run one or more applications in a terminal session which can be ‘disconnected’ so that it runs in the background. This is different from simply backgrounding a running process because you can retrieve a screen session easily and get full interactive control over it again. OK, you can regain interactive control of backgrounded processes too, using the fg command, but this approach isn’t suitable [continued…]

    Compile From Source

    Introduction

    Most of the information contained herein has been lifted from an email sent to the list. I hope it will be of use to some of you when you consider compiling an application from source. I’ve expanded it.

    Prerequisites

    I assume that you have the necessary base tools for compiling programs. Although:

    debian: apt-get install build-essential patchrpm-based: rpm -i glibc-devel gcc g++

    are the most likely packages you’ll need as a base. But this doesn’t include any of the source packages (such as other libs) that the application you’re going to compile relies [continued…]

    LPIC

    LPI-C

    Linux Professional Institute – Certification

    The LPI is an open vendor neutral institute offering exams and certification worldwide. They do not offer training directly, rather a syllabus, and exams via partner organisations. It is up to the candidate to obtain their own training via any third party, and then sit the exams independently. Several training companies offer courses tailored for the LPIC exams, and there are a wide number of book and web sites that provide teaching and self help guides.

    There are two exams for the level I certification (introductory), 101 and 102, and two [continued…]

    Desktop Adapted Dad

    Desktop Adapted for Dad

    “DAD”

    The ideas in this page came from my project to give my retired father a computer running Debian Sarge. All the ideas can be transplanted to any modern Linux distribution, and most of these ideas should work with any desktop system. I used KDE and found it easy to configure, others will no doubt add comments on the other desktop systems.

    Introduction

    My father is in his late 60s, and has never used a computer before, though he has seen others use them. There are a lot of people that now fall [continued…]

    Pcmcia And DHCP

    Debian uses /etc/network/interfaces to configure network interfaces to request an IP address from a DHCP server with a line like:

    iface eth0 inet dhcp

    However if you are using a PCMCIA card as your NIC you should also check your /etc/pcmcia/network.opts file and ensure that there is a line DHCP=”y” and that there is no setting for a static IP address.

    A static IP address setting is likely to be found in this file if the Laptop has been setup to use a static IP address prior to wanting to use a DHCP server. The /etc/pcmcia/network.opts file [continued…]