DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Got OpenVPN Running on 2.1!!!

  1. Senior Droid
    Chris.Nelson's Avatar
    Member #
    20924
    Join Date
    Dec 2009
    Location
    Clifton Park, NY
    Posts
    122
    Phone
    Motorola Droid Razr
    #11
    OK. I got my stoopid hat off and got a console app. When I try to insmod tun.ko, I get an "Exec format error." I'm guess it was build for a different phone? I have an original Motorola Droid with Android 2.2. Is there a tun.ko for that?
  2. Senior Droid
    Artimis's Avatar
    Member #
    14507
    Join Date
    Dec 2009
    Posts
    207
    Liked
    1 times
    Phone
    Galaxy Nexus
    #12
    Quote Originally Posted by Chris.Nelson View Post
    OK. I got my stoopid hat off and got a console app. When I try to insmod tun.ko, I get an "Exec format error." I'm guess it was build for a different phone? I have an original Motorola Droid with Android 2.2. Is there a tun.ko for that?
    tun.ko for the stock kernel (2.2) can be obtained from here: http://www.saturnwiki.net/droid_tun_....6.32.9/tun.ko


    If you are not running a the stock kernel, you will need a tun module compiled for that kernel from the kernel dev unless they have built tit into the kernel already which a lot do (and in which case, you don't need to call insmod).
  3. Senior Droid
    Chris.Nelson's Avatar
    Member #
    20924
    Join Date
    Dec 2009
    Location
    Clifton Park, NY
    Posts
    122
    Phone
    Motorola Droid Razr
    #13
    Quote Originally Posted by Artimis View Post
    Quote Originally Posted by Chris.Nelson View Post
    OK. I got my stoopid hat off and got a console app. When I try to insmod tun.ko, I get an "Exec format error." I'm guess it was build for a different phone? I have an original Motorola Droid with Android 2.2. Is there a tun.ko for that?
    tun.ko for the stock kernel (2.2) can be obtained from here: http://www.saturnwiki.net/droid_tun_....6.32.9/tun.ko


    If you are not running a the stock kernel, you will need a tun module compiled for that kernel from the kernel dev unless they have built tit into the kernel already which a lot do (and in which case, you don't need to call insmod).
    As far as I can tell, I have a stock kernel. I unlocked and rooted my phone but didn't replace the kernel (did I? It's been a while.).

    `uname -a` says "Linux localhost 2.6.32.9-g874c292 #1 PREMPT Thu Jul 22 18:48:25 PDT 2010 arm71 GNU/Linux". I've tried tun.ko and tun_alt.ko from saturnwiki with the same results. And I don't understand why Linux on my phone is so finicky when I can often load kernel modules from different builds of the same kernel version on my desktop.
  4. Senior Droid
    Artimis's Avatar
    Member #
    14507
    Join Date
    Dec 2009
    Posts
    207
    Liked
    1 times
    Phone
    Galaxy Nexus
    #14
    Hmmm....the only things I can think of to help troubleshoot are:

    1) are permissions for tun.ko correct?
    2) Did you su first?
    3) what happens when you try "modprobe tun"?
  5. Senior Droid
    Chris.Nelson's Avatar
    Member #
    20924
    Join Date
    Dec 2009
    Location
    Clifton Park, NY
    Posts
    122
    Phone
    Motorola Droid Razr
    #15
    (First, I note that this thread is abut 2.1 and I'm running 2.2 so that may be part of my problem.)

    Quote Originally Posted by Artimis View Post
    Hmmm....the only things I can think of to help troubleshoot are:

    1) are permissions for tun.ko correct?
    I never set them explicitly. I don't know what they should be. I just checked and it's set to 075.

    But the error I'm getting is "Exec format error" which suggests to me that insmod can read the module fine but that the module isn't right somehow.

    Quote Originally Posted by Artimis View Post
    2) Did you su first?
    Yes.

    Quote Originally Posted by Artimis View Post
    3) what happens when you try "modprobe tun"?
    "No such file or directory"
  6. Senior Droid
    Chris.Nelson's Avatar
    Member #
    20924
    Join Date
    Dec 2009
    Location
    Clifton Park, NY
    Posts
    122
    Phone
    Motorola Droid Razr
    #16
    I tried tun_droid2.ko and I still get "Exec format error"
Page 2 of 2 FirstFirst 12

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. OpenVPN on the droid
    By hanlong in forum Android Hacks and Help
    Replies: 14
    Last Post: 12-06-2010, 06:07 AM
  2. OpenVPN and Droid
    By prochobo in forum Android Hacks and Help
    Replies: 3
    Last Post: 12-22-2009, 05:27 AM
  3. Droid running really hot
    By biggestmexi in forum Android Tech Support
    Replies: 8
    Last Post: 12-21-2009, 12:49 AM
  4. Running apps
    By silverjk2007 in forum Android Applications
    Replies: 3
    Last Post: 11-28-2009, 03:52 PM
  5. I'm running two messengers?!?
    By kcook323 in forum Android Tech Support
    Replies: 10
    Last Post: 11-22-2009, 10:13 PM

Search tags for this page

android 2.1 openvpn

,
android openvpn 2.1
,
insmod tun.ko exec format error
,

openvpn android 2.1

,
openvpn android tap0
,
openvpn client android 2.1
,
openvpn client for android 2.1
,
ovpn android
,
ovpn045.ovpn
,
ovpn045.ovpn android
Click on a term to search our site for related topics.
Find us on Google+