Here's how I got it working:
The ErisDon't expect to be able to watch Hulu or anything, but you should be able to check your email or connect via SSH with ease =)
1 - Install "Proxoid" from the Market
2 - Configure the port number - I used 8181
3 - [Optional] Set up your user-agent filter
4 - Start Proxoid
5 - Connect your phone to your laptop via USB
6 - In the alert menu (swipe down from the status bar), tap 'HTC Sync' - you can ignore the fail message
The Lappy
1 - Create the following file$ sudo gedit /etc/dev/rules.d/11-android.ruleswith these two lines:
SUBSYSTEMS=="usb", SYSFS{idVendor}=="0bb4", SYSFS{idProduct}=="0c02", MODE="0666", OWNER="yourusername"
SUBSYSTEMS=="usb", SYSFS{idVendor}=="0bb4", SYSFS{idProduct}=="0c01", MODE="0666", OWNER="yourusername"
2 - Restart udev$ sudo /etc/init.d/udev restart
3 - Download and extract the Android SDK - http://developer.android.com/sdk/index.html
4 - Install corkscrew$ sudo apt-get install corkscrew
5 - Create the following script with executable privs: (CAUTION, this will overwrite your ~/.ssh/config)
#!/bin/bash
if [ "$1" == on ]; then
echo "TURN IT ON"
/path/to/android-sdk-linux_86/tools/adb forward tcp:8181 tcp:8181
echo "Host *" > ~/.ssh/config
echo " ProxyCommand corkscrew localhost 8181 %h %p" >> ~/.ssh/config
elif [ "$1" == off ]; then
echo "TURN IT OFF"
/path/to/android-sdk-linux_86/tools/adb kill-server
rm ~/.ssh/config
else
echo "So are you going to turn me 'on' or 'off'?"
fi
6 - Start the tether$ ./tether.sh on
7 - In Firefox - Preferences > Advanced > Network > Connection Settings > Manual proxy
> HTTP Proxy = localhost
> Port = 8181
> Use this proxy server for all protocols = yes
7.1-I just use the FoxyProxy Basic add-on to manage all this for me
Please let me know if any part of this doesn't work for you or if you find a better way to do it.
Cheers!


6 comments:
Which OS are you running on your laptop?
I use Ubuntu 9.04 on my lappy, but the Proxoid website has instructions for Win* as well - http://code.google.com/p/proxoid/
Do you know if this works on 64bit ubuntu? I am having trouble with sdk pack. TKS
Hi Thistle SC,
Check out this link:
http://developer.android.com/sdk/installing.html#troubleshooting
It should have the info you need. Also, don't forget Step #6 on "The Eris" section.
-Ben
Great blog! However the newbie that I am, creating a script with Executable privileges is beyond my scope. Do you have instructions? Thanks!!
Post a Comment