slideshow 1 slideshow 2

Rebuilding

Please be patient as I rebuild my server.

The website will be back up shortly, and updated!

HP Touchpad

With HP's decision to cancel all devices that are running the webOS, they put their Touchpad on a fire sale. That means that after only a few weeks of having their tablet on the market for $499 and $599 for their 16GB and 32GB models, that the price went down to $99 and $149 respectively. That's a HUGE discount and prompted so many people to buy them.

Linksys Wireless Fixes

After adding wireless to my network, I started noticing issues with the router I got. Now, I should explain that this router was free as the customer that owned it before complained about having connection drops randomly, mainly while transferring lots of data.

Ubuntu / Putty SSH Woes

So for a while I've been dealing with slowness when logging in to my server.
My setup is I have the main server with dual NICs connected to a switch and my desktop also connected to that switch. They're separated by about 1 foot, so no real distance and all local network. The slowness is only noticed when connecting locally. If I connect in with Putty from, say my work, there is no lag at all.

I finally got around to "Google-ing" the issue and came up with a really simple fix.

DSL Reconnect with PPPOE

Auto Re-Connect to DSL pppoe in Linux

Firstly you will need to configure the pppoe client
sudo pppoeconf
To connect you use
sudo pon dsl-provider
and disconnect using
sudo poff -a
PPPD does not always terminate immediately after, creating a killpppd script and placed in /usr/local/sbin/.

#!/bin/sh
#kill pppd brutally
for i in `ps -eaf | grep "pppd" | tr -s " " | cut -f2 -d " "`
do
sudo kill -9 ${i}
done

Web-Based Administration - Webmin

Webmin is a web-based administration tool that can be installed on any Unix-styled install.
Since I've been using Ubuntu for the past couple of years, this is how you need to install it on Ubuntu.

Static IP Address

pico /etc/network/interfaces

# The primary network interface
auto eth0
iface eth0 inet static
address 192.168.0.100
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

sudo /etc/init.d/networking restart

Sound Editing Tutorial

Below is the tutorial I created back a couple months ago. I've since needed to do some more audio editing, and made it much easier with the installation of my Audigy 5.1 card.

I recorded a live concert. There was a single audio track that I needed to split up into the appropriate songs. There was no need to merge anything together, so it was fairly straight forward and easy. I used Audacity to load, cut and adjust levels and create multiple mp3 tracks.

Read on if you want to see the hard way of doing things... or more just for the Audacity instructions.

PHP GD

Issues were found with GD in my PHP installation - basically it was installed, but not linked properly
This is the error that I kept receiving - mainly noticed after doing a system update.
error while loading shared libraries: libgd.so.2: cannot open shared object file: No such file or directory

Doing the following solved the issue for me.

cd /usr/local/lib
sudo cp libgd.so.2.0.0 libgd.so.2.0.0.broken
sudo ln -f /usr/lib/libgd.so.2.0.0 libgd.so.2.0.0
sudo apache2ctl restart

Apache2 Bandwidth Limit

Download and install the Bandwidth Module from the links below.

Unpack
tar -zxf mod_bw-0.8_0.tgz
cd mod_bw
sudo apxs2 -i -a -c mod_bw.c

Then add this to your apache2.conf
LoadModule bw_module mod_bw.so
and this to your VirtualHost / enabled site

BandwidthModule On
ForceBandWidthModule On
LargeFileLimit .mp3 1 15000

I did mine to limit the speed of MP3 downloads to reduce the total server connection speed, but you can limit everything if you're needing to.
Bandwidth all 10240
MinBandwidth all -1

Pages

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer