Enabling mod_rewrite in Apache under Ubuntu Server

Here’s some quick instructions on enabling mod_rewrite in Apache under Ubuntu 10.04 Server. sudo a2enmod rewrite sudo vi /etc/apache2/sites-available/default Change “AllowOverride” from “None” to “all” for the /var/www directory. sudo /etc/init.d/apache2 restart That’s it!

Arduino with Sparkfun 7-segment Serial Display

Here’s a quick example of getting an Arduino working with a Sparkfun 7-Segment Serial Display. This short example just counts up from zero to 9999. Connections Arduino 5v pin to “VCC” on LED module Arduino GND pin to “GND” on LED module Arduino TX pin to “RX” on LED module Source Code int i = [...]

Installing Peerguardian Linux on Ubuntu 10.10

Here are some quick notes on how to install pgl under Ubuntu 10.10. 1. Add the gpg key to the apt keyring: – gpg –keyserver keyserver.ubuntu.com –recv 9C0042C8 gpg –export –armor 9C0042C8 | sudo apt-key add – 2. Add the repository sources to your /etc/apt/sources.list: – vi /etc/apt/sources.list deb http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu maverick main deb-src http://ppa.launchpad.net/jre-phoenix/ppa/ubuntu maverick [...]

Checking video codec information via the command-line

Here are a couple of commands to get he information about a video file in Linux (bitrate etc): – ffmpeg -i foo.avi mplayer -vo null -ao null -identify -frames 0 foo.avi

VirtualBox piix4_smbus Error

VirtualBox 3.2.10 gives me the following error message when booting Ubuntu 10.10: – piix4_smbus 0000.00.07.0: SMBus base address uninitialized – upgrade bios or use force_addr=0xaddr This error is caused by VM having no smbus but Ubuntu always trying to load the module. It doesn’t affect anything but is a bit annoying – to fix: – [...]

Serial connection to Seagate Dockstar via FTDI USB-Serial Cable

Here’s a quick summary of how to use a FTDI data cable to connect to a Seagate Dockstar. Requirements Xbox 360 DVD power cable ( http://www.dealextreme.com/details.dx/sku.42313 ) Strip of 5 male header pins ( http://www.oomlout.co.uk/male-header-36-pin-x4-p-254.html ) FTDI USB-Serial cable ( http://www.oomlout.co.uk/usb-serial-cable-33v-p-232.html ) Making the Connector Cut the cable of the Xbox power connector in half. [...]

Connecting an Arduino to a Seagate Dockstar

Here’s a quick summary of how to connect your arduino to a Seagate Dockstar. Checking connection 1. Install Plugbox Linux on the Dockstar (via http://plugapps.com/index.php5?title=PlugApps:Pogoplug_Setboot ) 2. Plug in arduino to Dockstar via USB cable 3. Check arduino recognised [root@Plugbox ~]# dmesg The bottom lines should look something like: – [ 126.200168] usb 1-1.3: new [...]

Creating EFI String for Asus 8400GS Silent

There are a number of ways of getting your graphics card working within OS X (in order of difficulty) : – Adding “GraphicsEnabler=Yes” to Chameleon /Extra/com.apple.Boot.plist Adding EFI string to Chameleon /Extra/com.apple.Boot.plist Using an injector such as NVInject or NVEnabler Patching your DSDT file The first one didn’t work for my Asus Silent EN8400GS, so [...]

Sub-£200 Hackintosh

Here are the specs of my soon-to-be-built hackintosh… Gigabyte GA-G31M-ES2L iG31 Socket 775 mATX Motherboard Manuf Code: GA-G31M-ES2L £ 32.35 Intel Celeron Dual Core CPU – E1500 2.2 GHz (800 MHz) Socket 775 512kb Cache Manuf Code: BX80557E1500 £ 34.63 Asus 8400GS Silent 512MB DDR2 DVI VGA Out PCI-E Graphics Card Manuf Code: 8400GSILENTP512MA £24.86 [...]

Installing Torrentflux on the Viglen MPC-L

This is a quick guide to installing Torrentflux on my Viglen MPC-L. First, make sure that python, mysql-server and mysql-client are installed. Then simply install the software with apt-get: – sudo apt-get install torrentflux Once it is installed, point your web browser at the following location (where a.b.c.d is the IP address of your Viglen).: [...]