Archive for the ‘Linux’ Category

My Bad: A Guest VirtualBox Machine on windows only shares internet on host via a proxy

Two months ago I took on a personal ambition to reduce my power bill. One of my culprits was to shutdown the home server that was a storage server, media streaming server, XBMC media center etc. It was also the internet gateway. I moved the entertainment functions to the MK802 device running android 4.0

The home devices:- phones, MK802 and PS3 had to continue to access the internet.

I chose my working laptop as the gateway sharing the 3G modem internet. The laptop runs windows 7 and it so happens that enabling ICS stops the VPN connections from working. This is a known issue. Windows Internet Connection Sharing (ICS) is not compatible with the VPN client. It produces errors such as:-

  1. The vpn client agent was unable to create the interprocess communication depot.
  2. Sometime it seems the tunnel is being established but terminated.

So turning off ICS fixes the error. Read more…

Categories: Linux, Networking, Windows

Unlocking a Huawei 3G Modem, use it on multiple networks

Being able to use a locked Huawei 3G modem on another network involves two steps.

  1. Unlock the modem using Simbwa Phillip steps.
  2. Set the APN of the SIM Network whenever initializing the modem

Simbwa Phillip has some steps which I was able to follow to perfectly unlock my Huawei 3G modem.
I will just paste here the steps again so that you don’t have to bounce back and forth.
Read more…

Upgrade OpenERP the Mad Scientist way

September 19, 2010 Leave a comment

If you happen not to know OpenERP, its one of the best opensource ERP solutions. There is also OpenBravo, but why I settled to concentrate on deploying OpenERP is because its simpler and quicker to fix errors as compared to OpenBravo.

I have installed the 5.0.6 version on a number of clients and overtime we have had to fix some bugs the mad scientist way.
What I mean by mad scientist way, we don’t document changes, we don’t use any version control, and we leave the fixes at the client. But this hasn’t gone really well over time, as the number of bugs in accounting and currency issues have increasingly crippled up as its being used more. Read more…

Categories: Linux, Programming Tags:

Update on crazy caching for orange 3G modem

It has been more than a month when I blogged about stealthily caching using squid.

I have requested my usage data two times from the ISP and I have decided to share it.

My usage statistics start from 3rd March.

The first usage data was on 6th April Read more…

Categories: Linux, Networking

Facebook Greg Dingle at Linux User Group Meeting 19th March 2010

This months Linux User Group meeting was different, we had a special guest appearance by Greg Dingle, a Facebook software developer from San Fransisco, CA. We had a chance to have an interesting QA session with him asking various questions about the technologies behind Facebook Platform.

Do you have a poor internet connection? Worry no more, You can still continue Facebooking on Facebook Lite.¬† Its a lighter version of Facebook we people in Africa will be happy with. It performs well on slow links. You can try it at Also Greg Dingle gave an overview of how Hadoop, Hive and MapReduce can be used for distributed processing of large data sets on compute clusters. Read more…

Categories: Linux Tags: , , , ,

Setting up crazy caching for orange 3G modem on FreeBSD

This is a guide to illustrate how to set up a 3G USB modem on FreeBSD. Due to the cap limit on the 3G plans on the market, there is need to maximize link usage hence the guide illustrates how to setup squid + squidGuard + bind caching server. On capped links you need to monitor usage of the link, so darkstat will come in handy.

In this setup I used an old ASUS board PC with Celeron processor 500 MHz, 256MB RAM + 150GB disk I had stashed away; it is the perfect piece for the Job. To be able to access internet all around the house, I purchased a cheap TP Link wireless ADSL 2+ modem router, it goes for around UGX 100,000, that’s around EUR 37. Read more…

Some images of Linux User Group Meeting Febuary 19th 2010

February 23, 2010 1 comment

LUG photos

Categories: Linux Tags: