Tethering has come along way since the android proxy tethering app, we can now tether over encrypted wep and bluetooth with the new Tether Wifi For Root Users App 1.5.1
This program enables tethering (via wifi and bluetooth) for “rooted” handsets running android (such as the Android DevPhone 1). Clients (your laptop for example) can connect via wifi (ad-hoc mode) or bluetooth and get access to the internet using the 3G, 2G mobile connection or (in case you are using bluetooth) the wifi connection which is established by the handset.
This is an experimental SOCKS proxy and Port Bouncer that should allow you to connect your laptop to the internet using the internet connection (EDGE, 3G or Wifi) of your T-Mobile G1 Cellphone.
Installation
Read the bit above about no warranty again. This shouldn’t damage your phone, but if it does, it’s your own fault!
Install the app on your android phone, by clicking here (from your phone browser of course) You might have to change your settings to permit apps that don’t come from the Google Market by going to your home screen and choosing MENU > Settings > Applications > Unknown Sources.
Turn USB debugging on on your phone On your G1 go to the home screen, press MENU > Settings > Applications > Development, then enable USB debugging.
Follow the instructions here to install the Android driver – you’ll need to do this on Windows & Linux but apparently not on the Mac.
Download and install the Android SDK for your computer platform. Alternatively if you are on Windows and don’t want a 100 meg download, just get the ADB utility from here
Plug your phone into your computer
Using the Socks Proxy
The SOCKS proxy will let you connect things like firefox to the internet
Choose Tetherbot from your phone’s menu
Press the “Start Socks” button on your phone
Move to the directory that has the adb utility, using inside the Sdk Tools folder and run
Now you should have a socks proxy running on port 1080 that you can use to configure firefox
Set your firefox proxy : Options > Advanced > Network > Manual Proxy Configuration
Socks Proxy: localhostPort: 1080
Leave the others blank
Remember to disable your proxy settings in firefox if you want to stop using your phone.
Using the Port Bouncer
The port bouncer will let you connect to a single port on a remote host. This works well if you need to establish an SSH tunnel to your home machine.
This should work for TCP only vpns (openvpn can be configured in this mode) but it wont work for Microsoft PPTP (because it’s GRE based) or most typical openvpn setups (because they are UDP based).
Choose Tetherbot from your phone’s menu
Enter the hostname of the server you wish to connect to on your phone
Enter the port you wish to use
Press the “Start Tunnel” button on your phone
Move to the directory that has the adb utility, using inside the Sdk Tools folder and run
This is a HIGHLY EXPERIMENTAL proxy application that should allow you to browse the web via a USB connected T-Mobile G1.
Use at your own risk!
This does seem to be pretty slow when relaying the EDGE data network, however i think T-Mobile are having issues in my neighborhood tonight. I’ve done most of my testing on Wifi. There’s no 3G network here yet, but there’s no reason why it won’t work.
What is this not?
It’s not really a “tethering” app. Right now it only allows web access, you can’t use it as a general purpose internet tool
I do think I can use this approach to tunnel SSH and maybe VPN traffic – so if you have your own server somewhere then it could come in pretty handy
Ok, I’ve read all the caveats above
Really..?
Yes… where do i start
Install the app on your android phone, by clicking here (from your phone browser of course) You might have to change your settings to permit apps that don’t come from the Google Market by going to your home screen and choosing MENU > Settings > Applications > Unknown Sources.
Turn USB debugging on on your phone On your G1 go to the home screen, press MENU > Settings > Applications > Development, then enable USB debugging.
Follow the instructions here to install the Android driver – you’ll need to do this on Windows & Linux but apparently not on the Mac.
Download and install the Android SDK for your computer platform. Alternatively if you are on Windows and don’t want a 100 meg download, just get the ADB utility from here
Plug your phone into your computer
Choose Proxy App from your phone’s menu
Press the “Start Proxy” button on your phone
Move to the directory that has the adb utility, using inside the Sdk Tools folder and run
Now you should have a proxy server running on port 8080 of your own computer that will relay the information over the Android Debug Bridge to the Proxy App which will relay it on to the internet.
Set your firefox proxy : Options > Advanced > Network > Manual Proxy Configuration
HTTP Proxy: localhostPort: 8080
Leave the others blank
Enjoy the slow slow EDGE network, or let me know if you have glorious fast 3g coverage!
Remember to disable your proxy settings in firefox if you want to stop using your phone.