Saturday, 17 October 2009

Tethering your Android phone with Ubuntu 9.10

There are several ways to tether your Android mobile phone, but most require root access to your phone. This is a simple and unobtrusive way to tether, and should work with Linux, Mac and Windows.

Install the Proxoid Android application for the marketplace. Below is a QR code for Proxoid

Download and extract the latest Linux Android SDK from http://developer.android.com/sdk/

Once downloaded extract the archive

tar -xvzf android-sdk-linux_x86-*.tgz

Enable USB debugging on your Phone via Settings > Applications > Development

Connect your Android phone via USB, start the Proxoid application and tick the start box

Forward the ports on your Ubuntu PC

android-sdk-linux_x86-*/tools/adb forward tcp:8080 tcp:8080

Setup your desktop environment to use the new proxy. In Gnome you can setup a New Location in System > Preferences > Network Proxy

Make sure Firefox and any other application you wish to use is using the system wide gnome proxy settings

To disable all you need to do is switch back the proxy settings

Wednesday, 23 September 2009

GWT on 64Bit Ubuntu Karmic 9.10

Lately I've been testing Ubuntu Karmic 9.10 64Bit due out next month, when I came across an annoying bug with Google Web toolkit's hosted mode.

libstdc++.so.5 cannot open shared object file no such file or directory

After searching around it seems the libstdc++5 package has been removed in Karmic.
If you are running 32Bit Karmic you can download and install the version from Jaunty libstdc++5

If your running 64Bit Karmic then you need the ia32-libs package, it contains alot more than libstdc++5 so I just extracted libstdc++.so.5.0.7 from the package and copied it to /usr/lib32/ and created a link to /usr/lib32/libstdc++.so.5