Author Topic: How to use your Android phone for tethering  (Read 749 times)

Offline Jaycoke

  • Full Member
  • ***
  • Posts: 144
    • PCLinuxOS Group on identi.ca Join today!
How to use your Android phone for tethering
« on: April 17, 2010, 10:24:43 PM »
Here is how I got tethering to work from my 'Android' using some info from the following links.

http://androidforums.com/how-tips/17470-droid-tethering-all-operating-systems-tested-linux.html
http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce-Dmitri-s-open-source-blend-of-productive-computing/Tether-an-Android-Phone-Using-Proxoid
http://developer.android.com/sdk/index.html

First you need to create /etc/udev/rules.d/90-android.rules with the following lines

Code: [Select]
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c01", MODE="0666", OWNER="jaycoke"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c02", MODE="0666", OWNER="jaycoke"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct} =="41db", MODE="0666", OWNER="jaycoke"

Where 'jaycoke' is your user name.


Second, install the android sdk from http://developer.android.com/sdk/index.html (I just extracted it into my home directory.)
Then run
Code: [Select]
cd ~/android-sdk-linux_86/tools
./adb forward tcp:8080 tcp:8080

Third, on the phone change 'Settings' 'Applications' "Development' 'USB debugging' to 'on', then restart the phone.

Fourth, install 'Proxoid' on your android phone from the market
Start the 'Proxoid' service on your phone

Fifth and last step, in Firefox use the proxy setup by going to 'Edit' Preferences' 'Advanced' 'Connection - Settings'
Quote
Select the Manual proxy configuration option, then enter localhost in the HTTP Proxy field and 8080 in the Port field. Press OK to save the settings and close the window. Now you can browse the Web using the created connection.

http://www.linux-magazine.com/Online/Blogs/Productivity-Sauce-Dmitri-s-open-source-blend-of-productive-computing/Tether-an-Android-Phone-Using-Proxoid

You may also be able to use the 'Proxy' system wide in PCC, but I haven't tryed it yet.
Have good fun!