1. p08757's Avatar
    Is there a way to tether my Droid with Linux similar to how you can with Windows?

    If so, can you point me to some instructions.

    I know I can root and run my Droid as a WiFi hotspot, but I would perfer not to do that if I can avoid it.

    04-29-2010 09:15 AM
  2. mjesenovec's Avatar
    i googled this last night, and found some results. the reason i searched this is because i plan on trying eeebuntu linux on my Acer Aspire One netbook. I currently have 7 professional on it, but i'm in the mood to try something different. from the small amount of research i did, it looked like there were some quick and easy solutions to tether to linux. I know that it can be done, so that isn't the issue. you just might have to google a bit to figure out HOW.
    04-29-2010 09:18 AM
  3. p08757's Avatar
    Thanks for suggesting the Google search. I found one post that may help. I will try this tonight and replay back.

    Here is the link I found that may be as of use:

    Linux + GNU = Humans Enabled: Tether your Verizon Droid (as an Internet modem) to Ubuntu GNU/Linux 9.10

    Cut from article:

    1.) Download the current Android SDK (Linux version) from:Download the Android SDK | Android Developers

    2.) Extract the SDK, then navigate to the folder where the adb application is:

    tar xvf android-sdk_r04-linux_86.tgz
    cd android-sdk-linux_86/tools

    3.) Copy the "adb" application to your Ubuntu /usr/bin directory (sudo privs needed)

    sudo cp adb /usr/bin/adb

    4.) Create/edit/save a rules file for udev to allow your machine to see your device

    sudo vi /etc/udev/rules.d/91-android.rules

    Put the text below into the file(using "i" to enter "insert" mode and hitting the escape key to return to "select" mode before saving.. C'mon, what fun would Linux be without using vi? If you really don't like vi, you can substitute with something like gedit, or nano, or kate, or etc.), replace USERNAME with your Linux username, then type ZZ to save the file from vi.

    SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"

    5.) Set the appropriate permissions to the rules file you just created.

    sudo chmod a+r /etc/udev/rules.d/91-android.rules

    6.) Restart udev to load the new rule.

    sudo restart udev

    7.) Enable "USB debugging" on your Verizon Droid via Settings>Applications>Development

    8.) Connect your Droid to the computer with the USB cable and then use the following adb command to check for your device.

    adb devices

    $ adb devices
    List of devices attached

    9.) Install openvpn on Ubuntu so you can connect to your device with it.

    sudo apt-get install network-manager-openvpn openvpn
    sudo /etc/init.d/networking restart
    sudo /etc/init.d/network-manager restart

    10.) Install openvpn on your Verizon Droid. Note: the line "adb install" actually installs the azilink application on your Droid device. After azilink is installed, an icon that looks like a flying insect will appear on your Droid in th applications area.

    cd /home/Downloads/
    mkdir azilink
    cd azilink
    wget http://lfx.org/azilink/azilink.apk
    adb install azilink.apk
    wget http://azilink.googlecode.com/files/azilink.ovpn

    11.) Create a replacement resolv.conf file to be copied over to your /etc directory at run-time:

    vi resolv.conf

    #Type in the text below(hit "i" for insert first, then ESC after the insert, before saving) and then hit ZZ to save

    domain lan
    search lan

    12.) Now create a very small script to start the modem

    vi start_modem

    #Type in the text below, then hit ZZ to save
    adb forward tcp:41927 tcp:41927
    sudo cp resolv.conf /etc/
    sudo openvpn --config azilink.ovpn

    13.) Set your new script to be executable.

    chmod 755 start_modem

    14.) On your Verizon Droid, launch the azilink app and place a checkmark by "Service active" so it can receive the connection from your Ubuntu machine.

    15.) With your wireless connection in Ubuntu "unchecked"(via right-click of the Network manager applet), launch the the connection script you just made in the Terminal:


    You should now be able to surf the Internet, using your Verizon Droid as a tethered modem. When you're finished - hit ctrl+c at the Terminal from which you started the connection script. Then uncheck "Service active" in Azilink on your Droid.
    04-29-2010 12:09 PM
  4. p08757's Avatar
    Does any one know what the IP addresses for DNS servers Verizon uses? I think I need this for step 11 above. I can ping the internet, but I cant resolve any names.

    Thanks in advance!
    04-29-2010 09:03 PM
  5. p08757's Avatar
    Works as designed above. One note -- in step 11 you have to use a public DNS server.

    Good luck!!!
    04-29-2010 09:10 PM