Archive

Printing

Printing with Linux can appear quite complex to setup but can be as simple as installing cups, and then installing a printer from the web interface at http://localhost:631

Local printers are easily setup.

However, I wanted to print using a networked printer that is on a Windows2000 system. This done by:

Windows Box: Install the printer and setup a share. Install “Other Network File and Print Services” from the Add/Remove Programs -> Windows Components list. Ensure that this service, called TCP/IP Print Server is started, and setup to start automatically.

Linux Box: Add a [continued…]

User Mode Linux

User Mode Linux

User Mode Linux is a way of running more instances of Linux on your existing Linux system. It runs as a program, called simply, linux. It might help to see a picture:

{{{ __________________________ | | | Linux (host) | | ________________ | | | | | | | User Mode | | | | Linux | | | |________________| | |__________________________|

}}}

Why would anyone want to do that?

It’s a safe way to test things without installing Linux on another machine, or fiddling with disk partitions or having to reboot [continued…]

CIFS

Setting up cifs client to talk to Windows 2000/XP/2003 machines.

Common Internet File System (CIFS) is the protocol that Microsoft are gradually replacing all SMB communications with. From http://de.samba.org/samba/ftp/docs/faq/Samba-meta-FAQ-3.html :

“If you consider CIFS as a backwardsly-compatible refinement of SMB that will work reasonably efficiently over the Internet you won’t be too far wrong.”

Note: All testing done using Debian unstable (Sid) with 2.6.2 kernel with option CONFIG_CIFS=y.

Head to http://cvs.samba.org/cgi-bin/cvsweb/samba/source/client/mount.cifs.c and grab the latest source (1.7 at time of writing). Compile the source into a binary and move it into /sbin

[continued…]

Knoppix Debian

Introduction

This page details the steps needed to get Knoppix running as a pure Debian system.

The Procedure

The following is a modified extract of an e-mail I sent to HantsLUG

Knoppix, like Debian, uses its own packages and specific .debs, which are nothing to do with Debian at all. Because of this, the route into Debian is controlled from the file /etc/apt/sources.list . This lists the location of the repositories where all the packages are so that apt can access them. My version of /etc/apt/sources.list for my version of Knoppix relies heavily on the [continued…]

DVB Aver Media

This is work in progress THIS IS BROKEN

Apologies to those people thinking this page would answer all their questions. I currently don’t have the card working. When I next get some hacking time it’ll go in another box, and see if it fares any better…

Although it sounds like it is fully up and running, I’m still compiling, I’m writing my thoughts as I go along, so I don’t forget them!

I have an Avermedia AVerTV DVB-T card in my debian(unstable)/freevo mini-itx based set-top box. I chose this card as it appears to be [continued…]

Alsa Config

Having configured the kernel in the previous stage, you can now fire up the audio controller of your choice (aumix, alsamixer, kmix or gnome-alsamixer) and adjust the volumes to your liking. In my experience, the alsaconf utility will have set the volume to zero and muted levels to start out and following a reboot.

After you have everything configured to your liking, you should store the settings with the command:

 1. /usr/sbin/alsactl store

That will enable you change the settings all you want after saving them, and always be able to fall back to a known [continued…]

Alsa Config

Having configured the kernel in the previous stage, you can now fire up the audio controller of your choice (aumix, alsamixer, kmix or gnome-alsamixer) and adjust the volumes to your liking. In my experience, the alsaconf utility will have set the volume to zero and muted levels to start out and following a reboot.

After you have everything configured to your liking, you should store the settings with the command:

 1. /usr/sbin/alsactl store

That will enable you change the settings all you want after saving them, and always be able to fall back to a known [continued…]

Alsa Config

Having configured the kernel in the previous stage, you can now fire up the audio controller of your choice (aumix, alsamixer, kmix or gnome-alsamixer) and adjust the volumes to your liking. In my experience, the alsaconf utility will have set the volume to zero and muted levels to start out and following a reboot.

After you have everything configured to your liking, you should store the settings with the command:

 1. /usr/sbin/alsactl store

That will enable you change the settings all you want after saving them, and always be able to fall back to a known [continued…]

Linux Advocacy

Linux Advocacy

Firstly note that this page is *not* designed to be any of the following;

  • A place to moan about the shortcomings of any particular OS or application.
  • Somewhere to argue about the relative merits of one application over another.

What is is envisaged to be is a resource for the ‘Soon-to-be’ Linux user or ‘Newbie’ who needs help in the transition from another OS or platform to Linux. So this will include, but not be limited to;

  • Listing Linux based applications which are roughly equivalent to apps on other [continued…]

Open VPN

This page details setting up secure access to a LAN using the OpenVPN software. This software is designed to offer secure connections to clients on untrusted networks, for example the internet or wireless networks. Unlike the IPSec technologies that involve reconfiguring the TCP/IP stack, OpenVPN runs in userspace and establishes a separate network connection for encrypted traffic. The OpenVPN homepage is at http://openvpn.sourceforge.net.

The scenario detailed in this page is concerned with setting up a Debian Linux system as an OpenVPN server to protect the LAN from unauthorised access and provide VPN bridge [continued…]