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

2 comments:

Shannon VanWagner said...

Pretty cool... I've been using this method so far:
http://www.humans-enabled.com/2009/12/how-to-tether-your-verizon-droid-as.html

How's the download/upload speeds? Here's mine:(Download Speed: 842 kbps (105.3 KB/sec transfer rate)
Upload Speed: 484 kbps (60.5 KB/sec transfer rate).

Cheers!
Shannon VanWagner
humans-enabled.com

Dmitry said...

there is no such switch "forward" in adb forward tcp:8080

running ADB version 1.0.26
Ubuntu 9.10

Post a Comment