Archive for August, 2008

Music and shuffeling the network

Ok so the title doesn’t quite explain it.

Earlier today I moved the d600 to the lounge and hooked it up to the surround system, the d600 runs our primary MPD (music player daemon).

I thought this would be an easy move, but I forgot that the scanner and printer run through that machine, also it didn’t have WIFI…

Well finally got the el’chepo wifi usb adapter working, and moved the printer and scanner to the firewall machine, and there we go, no the d600 is sitting under the tv and seems to be quite content :)

This note is maily so I can find the machine :)

Wish list (ver 1)

Well as most people I have a list of things I’d like to get/have ;)

  • Decent internet (Unfortunately the best connection available in South Africa is a 4M line, and the exchange I’m connected to only have 512k lines available) (Also to get the 5 static IP’s I want (no option for just one on ADSL) the total package is going to cost around R3000p/m :( ) Guess I stick with iBurst for now
  • Virtulisation server, I’m wanting to setup some hosting of mail and websites for my self and other people, and want to also test out virtulisation on a proper server
  • NAS, I’d prefer to take a small machine (PIII/PIV) and either get a couple of USB disks or get a RAID controller. Looking at round 5TiB of storage for now, this must be easily extended :) Basically this is to create backups of our DVD collection (well when we build it up again) and then I can put the orig DVD’s in a safe :)
  • MythTV server, this machine needs a couple of TVTuner cards in it, and will be used as a PVR, and we possibly need more than two DSTV decoders :/
  • Nokia N810, cause I’d love to play around with Debian :)
  • Asus EEEPC (900+), just for the heck of it

Well thats the list for now, there are a couple of other things, but I can’t remember offhand :)

ilovedebian

Debian Day

Firstly Happy Belated 15th Birthday Debian… (was on the 16th Aug 2008)

Well I havn’t even been using Linux that long, but it’s good to know that the Distro I finally settled on has a long proud history. (History)

Here’s to the next 15 and more :)

Artwork by Andre L.R.Ferreira, source: debianart.org

Memories and plugins

Well as I’m uploading pictures to Flickr, I am reminded of various events :)

Like the birth of Catelyn (Ok lucky for all of you I left the camera in the car, so no pics of the C Section :p )

Catelyn Birth 01.jpg Catelyn Birth 04.jpg Catelyn Birth 06.jpg Catelyn Birth 07.jpg Catelyn Birth 09.jpg

The first picture after we got home :)

Catelyn Birth 12.jpg

Well enough with the trip down memory lane :)

I finally found a nice plugin for WordPress that can pull in my Flickr photos, not only does it create a flickr page and widget (see the pics on the side), but when you add/edit a post you can click the flickr button and insert pictures directly into your posts :)

For those interested: the link to Flickr Photo Album for WordPress : tan tan noodles

Tweaking the linux console: vga=xxx

So the other day I was playing around with the vga=xxx line in grub.conf trying to get a better than 1024x768x24(vga=792), since my Laptop can do better than that it should be possible, right?

Well finally after asking google nicely I managed to fine the following command: hwinfo –framebuffer

Well I needed to install it first (apt-get install hwinfo) and run it as root but it gave me the answers for my graphics card :)

Not that I spend much time in a raw console, but at least it’s in a decent res :)

Weird Firefox Problem

Well it seems like I’m not the only one, I have this issue with Firefox (Iceweasel for the Debian folk) where after a while FF hangs (maybe it’s low self esteem, you’d think IE would do so :p). I’m still not 100% sure but I thik this is related to flash or maybe even some rouge javascript.

I say I’m not the only one cause on Planet Debian I saw that Weird Firefox Problem

One of the comments on his page suggests running: strace -p `pidof firefox`

Hopefully I remember the next time it happens :)

Happy hunting!!

Multiple WordPress blogs off one install

I have been looking for a way to run multiple WordPress blogs off of one code base.

There are a couple of "solutions" out there but none where what I was looking for, some of these are only for subdomain/subdirectory type installs:

http://clifford.nighthawk.co.za or http://nighthawk.co.za/clifford/

As I was looking for a way to use differend domains this proved a little trickyer…

Then I found the following: Multiple blogs, one WordPress install, zero code changes

I didn’t follow that completly but it works :)

  1. svn co http://svn.automattic.com/wordpress/trunk /var/www/.wordpress
    Check out the code from SVN
  2. echo "<?php require(‘local/wp-config.php’); ?>" > /var/www/.wordpress/wp-config.php
    Create a config file that will point to the final config
  3. mkdir /var/www/nighthawk.co.za/www/
    Create the directory that will hold the site
  4. ln -s /var/www/.wordpress/* /var/www/nighthawk.co.za/www/
    Symlink all the files in the wordpress SVN directory to the web directory
  5. mkdir /var/www/nighthawk.co.za/www/local
    Create the directory that will house the local config file
  6. vi /var/www/nighthawk.co.za/www/local/wp-config.php
    This is the wordpress config file, the one with your database settings in.
  7. echo ‘php_value include_path ".:/var/www/nighthawk.co.za/www/local/:/var/www/nighthawk.co.za/www/"’ > /var/www/nighthawk.co.za/www/.htaccess
    This will create the .htaccess file and change the php include path, this is important as it causes php to load the files in the include path before it checks the local path.

Well this worked for me, and the difference from this and the original is that I have a shared themes and plugins directory.

Also if you want to override any of the wordpress files you will need to delete the relavent symlinks and create the relavent directory structure (creating all other symlinks as needed)

To new heights…

Earlier today we had a braai, Cecilia invited a friend of hers and her family, it was a lekker afternoon…

And while I’m busy looking after the fire I look over at the couch, and I see Catelyn is sitting on the couch. At first I didn’t pay much attension to this, and then I remembered,,, “I didn’t put her on the couch”…

She can no climb on to the couch :D We can’t believe it :)

In other news, I have put some photos up on Flickr, please feel free to have a look :)

Today Catelyn was wearing her LEGO clothes, yes I was stunned when my Dad brought them when they were here a couple of months back. Well she looks really cute, and it’s kewl to know she is probibly the only person in the country who has LEGO clothing :)

100_1436.JPG 100_1433.JPG 100_1431.JPG

Anyways enough rambeling from me. After a “party” there are dishes… :(

update: Changed the flickr link (now part of this site), and added photos to the post :)

DVD’s for sale

So… We decided to sell most of our DVD collection, for a couple of reasons.

1. Well we can’t move to the UK will all our DVD’s
2. This will help to get rid of some of our debt.

If you are interested in what we have please feel free to leave a comment/email me.

WordPress

Ok, yet again I’ve changed the software behind this site.

Well I’m not finding the time to update the code for this site, and also why reinvent the wheel.

Well lets see how this goes, hopefully we stick with it for a while ;)

PS. This also means that comments are once again enabled, and soon to come Flickr :)