Useful SUSE Mirror in this area of the world

This mirror in Australia contains a very complete SuSE/OpenSUSE mirror and is quite fast. It contains everything you would need from ISOs to updates in one handy place.

Network Scanning with SANE and Linux

This afternoon I thought I would have a play with Sane (the Linux scanner interface) to see how hard it is to create a network scanner from any old scanner as long as it is supported by SANE.
It turned out to be far easier than I envisioned. In my case I was running SuSE 9.2.

Install the software

You will need to ensure you have sane, saned (the network daemon) and xinetd (or inetd) installed on your system. Follow the sane docs to setup your scanner locally. This is usually just a case of finding the right sane-backend for your particular scanner.

Fixing Samba/CUPS Permission Issues

I have found that Samba < 3.0.9 has a few permissions issues with CUPS when using the printing tools from Windows desktops. It turns out that there is a few issues with CUPS permissions and Samba but these apparently have been fixed in Samba versions 3.0.12 onwards.
In the interim to fix the issue you must edit the cupsd.conf file and comment out a few lines so that you have the following:

<Location /admin>
#  AuthType BasicDigest
#  AuthClass Group
#  AuthGroupName sys
  Order Deny,Allow
  Deny From All
  Allow From 127.0.0.1
</Location>

OpenSUSE 10 is available

OpenSUSE 10 has been available since last week.
I downloaded a copy over the weekend and installed it this evening. The first major difference is the cool little animated bootloader on the CD. Another nice touch is the installer that tells you how long before you must insert another of the CDs. It means you can time coffee and toilet breaks during the install without coming back to find the computer sitting there with its drive open waiting for you to put another disk in.
Overall OpenSUSE is pretty much the same as SuSE 9.3 except all the software versions are slightly newer. Its good to see the open source license apply to everything in the distribution but if you are after non-open source software (such as Java, Acrobat or video codecs) then checkout this page:

Webmin 'Tiger' theme

The StressFree Webmin theme features a new graphical look, high colour icons, dropdown menus and an AJAX search tool for locating Webmin modules quickly. It has been tested in Chrome, Firefox, Safari and Internet Explorer.

» Download the Webmin theme now

Alternatively you can download the latest development build from the Google Code Subversion repository.

News and updates

For the latest development news on this theme please see this listing of articles.

Installation

To install open Webmin and browse to Webmin -> Webmin Configuration -> Webmin Themes
Select the downloaded archive from your local disk and press the Install Theme button.
Once installed change the Current Theme dropdown to StressFree Theme and press the Change button.

Note: This will change the default theme for Webmin but will not effect users who have selected a personal theme. If you have enabled the StressFree theme as the default yet find it is not applied check your personal theme settings:

  • Category -> Webmin -> Webmin Users.
  • Select your username (e.g. root).
  • Open "User interface options" and ensure the "Personal Theme" field is set to either "From Webmin Configuration" or to the specific theme name (StressFree).

Screenshots

 

Customised Netlogon scripts for Samba Howto

I have put up a script that allows customisation of the batch file run when a Windows user logs into a Samba PDC. This script creates a unique login script based on the user's name and the groups they belong to. It ties nicely into any authentication method (file/LDAP/NIS/Kerebos/Samba) as long as PAM has been configured to pull user and group details from that source. The tutorial is online here:

Customised Netlogon scripts for Samba Howto


Customised Netlogon scripts for Samba

When logging into a Windows domain there is the option to run a script on the desktop to setup drives, synchronize time and anything else that maybe required.

Unfortunately the power of these scripts are reduced by the limited functionality of the client side scripting language and Samba's inability to produce tailored batch files for each user.

SuSE/OpenLDAP/Samba Added to Tutorials

Novell SuSE
Today I finished a howto that goes through the steps to setup a Samba Primary Domain Controller (PDC) with an OpenLDAP backend on SuSE. The tutorial draws together a lot of the things I have learnt over the last few weeks working with Samba and OpenLDAP. If anyone reads it through and finds errors (both practical and grammatical) then please get in touch.

SuSE is back in my favourites list

SuSE Logo
For a while there I did not use SuSE a lot as I preferred Red Hat/Fedora's purer file system approach and the Gnome desktop environment (KDE is the default on SuSE). Over the last few months though I am going back to SuSE more and more because of two things: Yast and the way they organise their file system (which is kind of ironic).

Adventures in LVM

In recent times I have been using Logical Volume Management (LVM) on Linux as a very flexible way of operating a flexible file system. LVM is a very powerful way of dynamically adding and removing disk from a Linux server (or desktop). Rather than mounting individual devices in different parts of the file system LVM lets you place all your physical disk drives together into virtual pools. Inside these pools you can dynamically divide the space up however your like and format each partition in any of the available Linux file formats.

It is a great way to work with disk resources and is very similar to Novell's Network Storage Services (NSS) volumes (minus the very useful 'salvage' tool). To get around the lack of a salvage tool you can create regular snapshots of your data. These snapshots are like CVS branches in that rather than creating a separate copy of the data a snapshot tracks what has changed on disk from a particular time.
For example to create a snapshot of your 'data' volume you perform the following command (Note: you must have the dm-snapshot module loaded into the kernel):

lvcreate -L10G -s -n salvage /dev/system/data

Pages