How to tether your Droid's internet connection with slackware 13.1
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
By codeblocker1247 at 2010-09-24 23:16
First, you will need this apk on your droid, azilink:
There are a few things that you will need installed on your slack system before we begin, this is whats required:
openvpn 2.1 and the Android SDK for linux (no build necessary, just unpack it and follow instructions)
2. Extract the SDK, then navigate to the folder where the adb application is:
Code:
tar xvf android-sdk_r07-linux_x86.tgz
cd android-sdk-linux_x86/tools
3. copy from tools the adb application to /usr/bin
Code:
cp tools/adb /usr/bin
4. we need a rules file. create a new text file "/etc/udev/rules.d/91-android.rules" and use vi option "i" or vim option "i" (input) or whatever text editor you like if you are allergic to the command line =/.
key the following (replacing "USERNAME" with the slack user):
6. On your Droid, enable USB debugging (its under settings|applications|development)
7. connect your Droid to your slackware machine and run the command adb devices to check for your device. should look something like this:
Quote:
root@slackware# adb devices
List of devices attached
040384FA0811E012
8. check for openvpn 2.1, its used for opening the point to point protocol connection on your device. openvpn, the latest version should be built in by default in 13.1.
9. now we will build our source package. start by creating a *non root* directory called droid-tether (i recommend putting this in your home directory.
13.
kill your wireless (ifconfig wlan0 (or whatever assigned interface) down)
open the azilink application on your phone and start the service.
on your computer, cd into the droid-tether directory and execute the start_modem script.
Code:
./start_modem
14. VOILA! you have a tethered phone to your slackware computer =)
*************************************************************************************
Most of the credit for this tutorial goes to the creators of azilink
some credit goes to google
very little credit goes to myself (i added one line in the script to make it slack friendly, can you guess it? =])
*************************************************************************************
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.