Archive for August, 2007

QStat with automake 1.4

Intended for those using Qstat - a command line game server query application for Linux:

  • Make sure you get the latest version from their CVS, as the prepackaged version is almost a year old.
  • When compiling in Linux (using ./autogen.sh), make sure you have ‘automake1.9′ installed, and not simply ‘automake’ - which defaults to v1.4. A simple ‘apt-get install automake1.9′ should do it.

If you have automake 1.4 installed and you try to compile the code, you’ll get the following errors:

egn@dekky:/tmp/qstat2$ make
make[1]: Entering directory `/tmp/qstat2′
cd . && autoheader
make[1]: Leaving directory `/tmp/qstat2′
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=[gnuconfig.h] \
/bin/sh ./config.status
config.status: error: cannot find input file: [gnuconfig.h].in
make: *** [stamp-h] Error 1

EGN use qstat for their server listing page, and in investigating the issues I was having above, I also came across a few really good alternatives: GameQ which unlike QStat (which is written in C), is written in PHP.

Migrated to WordPress

As you can see, and as previously predicted, I’ve now migrated my Drupal (5.1) based blog, to WordPress (2.2.2).

The changeover was fairly easy to do, thanks largely to this post: Migrating Drupal to Wordpress. Since that post is almost two years old, the sql needed some tweaking to work with the 5.x series of Drupal. If you need the tweak’s I’ve made them available here: convert-drupal-wp.txt

In the process of converting over, I noticed a large number of sp4m comments - so I decided to purge all comments. Also keep in mind that user accounts were not copied across either. There shouldn’t be anymore sp4m comments now, due to the trustly WP plugin: Akismet which is like a blacklist for comments.

From a blogger perspective, WP is pretty damn neat! It’s really polished with its ajax, and overall design.

Accessing Vista shares from Samba

If you’re having trouble accessing Vista machines, from Samba (Linux), the following fix, works a treat:

  1. On the Vista machine, edit the registry (Ctrl-R for Run, and then trype ‘regedit’ and enter).
  2. Find the Key:
    "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System"
  3. Create a new DWORD Value (Edit->New->DWORD Value), and call it “LocalAccountTokenFilterPolicy”. Set the Base to hexadecimal and the value data to ‘1′.

A restart on both machines is helpful incase previous failed attempts are cached, either in Linux or Vista.

The just proceed on the Linux box to mount your disks:

mount -t smbfs -o username=joe,password=bloggs //Joey/Users /mnt/joey

Another quick tip for Ubuntu users wanting to perform the samba mounts, make sure you have the smbfs package installed:

sudo apt-get install smbfs

References:

Driving hits

It’s interesting to compare the number of visitors to this blog today and yesterday when I made a post regarding various political topics.

Various things (8th August): ~80 Views in one day
Edgy to Fiesty - truecrypt, virginblue (9th August): ~5 views in one day

Looking at the awstat reports, it looks as if the kevin zero seven dot com dot au keyword is what did it, probably via Technorati (which this blog syndicate’s to).

Next Page »