Header Ads

Header Ads

Connecting PC to internet using android device and usb cable



Hi, there! Today i want to share my knowledge about connecting your PC to Internet by using any Android OS based Device (Tablet, Mobile Phone, etc...). I will use Android 4.0.3 "Ice Cream Sandwich" Tablet connected to computer using USB cable, the device will act as a gateway to Internet (so called USB tethering for Android-based devices)  using my device's Wi-Fi connection.  It works by using a Java-based NAT that communicates with OpenVPN on the computer. It's been tested on MacOS, Windows, and Linux. The connection can be forwarded over the device's active network service, which can be either WiFi or 3G/4G/EDGE.




Required files

All Files can be downloaded from here.
Extract this archive to "C:\tethering"

1) Install OpenVPN (With all options) on the PC. Use file "openvpn-2.1.3-install.exe" from archive you downloaded.
2) Enable USB debugging on the device. From the home screen, this is under Settings>Development>USB debugging.
3) Install the Android USB driver from device manufacturer web site  (if you don't already have one installed). See http://developer.android.com/guide/developing/device.html for more information.
4) Install the Android-Java based program on your device. (Either way you might need to allow installation from unknown sources under Settings>Applications>Unknown Sources), On your PC please do this:
Start > Run > cmd
C:
cd tethering
adb start-server
adb install azilink-2.0.2.apk
5) On the device, run AziLink and make sure "Service active" is checked.
6) First restart the PC and then run "start_inet.cmd" from "C:\tethering". Or right click on file "AziLink.ovpn" and select "Start OpenVPN on this configuration file." If you're using Linux or MacOS, you'll also need to manually set the nameserver to 8.8.8.8 (google dns server).

That's All Guys! Have a nice browsing...

1 comment:

  1. Today i want to share my knowledge about connecting your PC to Internet by using any Android OS based Device (Tablet, Mobile Phone, etc. usb cord

    ReplyDelete

Copyright (c) 2012-2013 Unix Master. Powered by Blogger.