Open Source Android Apps for Developers: Azilink (usb tethering application for android)

Cute Android: Open Source Android Apps for Developers: Azilink (usb tethering application for android)

Description
AziLink is an open source Android application that allows USB tethering for Android-based phones, without requiring root access. It works by using a Java-based NAT that communicates with OpenVPN on the host computer. It’s been tested on MacOS, Windows, and Linux. The connection will be forwarded over the phone’s active network service, which can be either WiFi or 3G/EDGE.

Project Home
http://code.google.com/p/azilink/

Project owners
jpe…@lfx.org

Version
2.0.2

Downloads
http://code.google.com/p/azilink/downloads/list

QR code

Source Code
# Non-members may check out a read-only working copy anonymously over HTTP.
svn checkout http://azilink.googlecode.com/svn/trunk/ azilink-read-only

Required files

* ADB from the 1.1 or 1.5 Android SDK or from the download section
* OpenVPN 2.1 (not 2.0) from http://www.openvpn.net/
* AziLink.apk from the download section
* AziLink.ovpn from the download section

Installation

1) Install OpenVPN on the host. I use version 2.1_rc15, but any version should work. Apparently if you use version 2.0 you’ll need to remove the NO_DELAY option from the AziLink.ovpn configuration file. You can find OpenVPN at: http://www.openvpn.net/

2) Enable USB debugging on the phone. From the home screen, this is under Settings>Applications>Development>USB debugging.

3) Install the Android USB driver (if you don’t already have one installed). See http://developer.android.com/guide/developing/device.html for more information. The driver is included in the ADB download if you don’t want to get the full SDK.

4) Install the program. You can either use ADB to install by typing “adb install azilink.apk” with the file in the current directory, or you can browse (on the phone!) to: http://lfx.org/azilink/azilink.apk

Either way you might need to allow installation from unknown sources under Settings>Applications>Unknown Sources.

Configuration steps:

1) On the host, run “adb forward tcp:41927 tcp:41927″ to set up port forwarding. Be sure to use adb from the Android 1.1 or 1.5 SDK! The version from 1.0 will lock up under heavy load. If you don’t want to download the entire SDK, you can get a copy of ADB+drivers from the download section.

2) On the phone, run AziLink and make sure “Service active” is checked.

3) Right click AziLink.ovpn on the host (not in the web browser!) and select “Start OpenVPN on this configuration file.” You can find this file in the download section. If you’re using Linux or, god forbid, MacOS, you’ll also need to manually set the nameserver to 192.168.56.1 (the phone’s NAT IP address). This address is automatically forwarded to the phone’s current DNS server.

Posted by Cute Android

Related posts:

  1. Open Source Android Apps for Developers: Androideasysms (Browser/HTTP based SMS Interface for android devices)
  2. Open Source Android Apps for Developers: StyloDownload (Android application for syncing Google Reader starred items to the media player)
  3. Open Source Android Apps for Developers: Diskusage (Diskusage application for android phone)
  4. Open Source Android Apps for Developers: Android-wired-tether (Wired Tether for Root Users)
  5. Open Source Android Apps for Developers: Get-a-robot-vpnc (VPN Connections for android)
  6. Open Source Android Apps for Developers: Proxoid (An http proxy for Android)
  7. Open Source Android Apps for Developers: Rowboat (Android for Texas Instruments Devices)
  8. Open Source Android Apps for Developers: Livingwallpaper (Living wallpaper application for the Google Android platform)
  9. Open Source Android Apps for Developers: Droid Explorer
  10. Open Source Android Apps for Developers: facebook-android-sdk