Difference between revisions of "Android tethering"

From ArchWiki
Jump to: navigation, search
(Started a new page about android tethering)
 
Line 1: Line 1:
== Android Tethering ==
+
==What is Tethering==
  
===What is Tethering===
 
 
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.
 
Tethering is a way to have Internet access on your PC through your smartphone using it's network connection.
 
Usb tethering is natively supported from Android 2.2. Older versions of the Android OS, mostly unofficial roms
 
Usb tethering is natively supported from Android 2.2. Older versions of the Android OS, mostly unofficial roms
 
have this option enabled.
 
have this option enabled.
 +
 +
==Tethering as a network device==
  
 
===Tools Needed===
 
===Tools Needed===
Line 28: Line 29:
 
ifconfig usb0 up && dhcpcd usb0
 
ifconfig usb0 up && dhcpcd usb0
 
</pre>
 
</pre>
 +
 +
==Tethering with proxy==
 +
 +
With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable
 +
only for browsing.
 +
 +
===Tools Needed===
 +
* Root access to the PC
 +
* Android SDK which can be obtained [http://developer.android.com/sdk/index.html here]
 +
* Usb connection cable from your phone to pc
 +
* Proxoid application(free download from the Android market)
 +
 +
 +
===Instructions===
 +
Follow the instructions demonstrated in the following [http://androidcommunity.com/forums/f23/android-usb-tethering-for-linux-using-proxoid-24875/ link]

Revision as of 17:20, 25 July 2010

What is Tethering

Tethering is a way to have Internet access on your PC through your smartphone using it's network connection. Usb tethering is natively supported from Android 2.2. Older versions of the Android OS, mostly unofficial roms have this option enabled.

Tethering as a network device

Tools Needed

  • Root access to the PC
  • Usb connection cable from your phone to pc

Procedure

  1. Enable the the tethering option from your phone. This is usually done from

Settings --> Wireless & Networks --> Internet tethering

  1. Disconnect from for current wifi or ethernet network
  2. Load the usbnet module(if it's not already loaded). You will need root access to do that
modprobe usbnet
  1. Connect the phone to the pc via the usb cable.
  2. Make sure that the usb interface is recognized by the system by using the following command
ifconfig -a

you should be able to see a usb0 device listed.

  1. Configure the new network device via dhcp using the following command
ifconfig usb0 up && dhcpcd usb0

Tethering with proxy

With this method tethering is achieved by port forwarding from the phone to the pc. This is suitable only for browsing.

Tools Needed

  • Root access to the PC
  • Android SDK which can be obtained here
  • Usb connection cable from your phone to pc
  • Proxoid application(free download from the Android market)


Instructions

Follow the instructions demonstrated in the following link