Git Product home page Git Product logo

Comments (21)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I have this exact problem. settings worked perfectly under TunnelDroid. 
double-checked lsmod and 
modprobe/insmod settings, everything looks good.

Original comment by [email protected] on 24 Apr 2010 at 1:58

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
OpenVPN-Settings is indeed talking to an interactive shell when launching the 
openvpn
binary. What kind of shell is /system/bin/sh on DroidMod `1.0?

Original comment by friedrich.schaeuffelhut on 25 Apr 2010 at 2:54

  • Changed state: Accepted

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I believe DroidMod 1.0 installs a more feature-filled version of sh to
/system/bin/sh, although I am not sure of exactly what version of sh. it is 
about
1.3MB, much larger then the sh from stock android.

Original comment by [email protected] on 26 Apr 2010 at 9:17

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
from my phone running DM1.0:

[user@droid] / $ /system/bin/sh --version
GNU bash, version 4.1.0(4)-release (arm-none-linux-gnueabi)

Original comment by [email protected] on 28 Apr 2010 at 7:28

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Could you please 'adb  pull /system/bin/sh' from your phone and post it here.

Original comment by friedrich.schaeuffelhut on 28 Apr 2010 at 9:01

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
See file.

shouldnt `bash` be backwards compatible with `sh` though?

Original comment by [email protected] on 29 Apr 2010 at 9:50

Attachments:

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I switched to Cyanogenmod. once I finally got that working (protip: you need to 
wipe to update from 2.0.1 to 
2.1), OpenVPN Settings worked perfectly.

I cant get the Cyanogen /system/bin/sh to spit any info out about itself 
though. all the - and -- args I try are 
invalid.

Original comment by [email protected] on 30 Apr 2010 at 12:15

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I'm also having these issues (if it makes a difference)
It *was* working before, I don't know what changed.
for the record I had things working just fine with openvpn-settings until I 
wiped
droidmod and reinstalled

Original comment by [email protected] on 5 May 2010 at 1:39

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Hi, just wanted to report that I'm experiencing these same issues. I'm running 
a 
heavily modded Bugless Beast 1.0, but my shell is Bash, compiled through 
Busybox. The 
stock /system/bin/sh is symlinked to /system/xbin/bash. Here's the version 
information:

DROID: / # /system/bin/sh --version
/system/bin/sh --version
GNU bash, version 4.1.0(2)-release (arm-unknown-eabi)

I'm also seeing OpenVPNSettings open interactive shells and stall. 
DROID: / # ps | grep sh
 1669 0         1268 S    /system/bin/sh -
 1702 0         1264 S    /system/bin/sh -s -x -i
 1740 0          668 S    grep sh

Adb logcat dump is attached. Let me know if I can help!

Original comment by [email protected] on 10 May 2010 at 7:34

Attachments:

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Sorry, forgot to include Busybox version in my post.

DROID: / # busybox
BusyBox v1.15.2 (2010-01-24 18:40:52 UTC) multi-call binary

Original comment by [email protected] on 10 May 2010 at 7:35

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I'm experiencing the same troubles running OpenVPN-Setting 0.4.4 on my Motorola 
Milestone running Android 2.1-update 1 (SHOLS_U2_02.34.0 / rooted).

How to reproduce it:

1. start OpenVPN Settings
2. press/click on "OpenVPN" (Turn on OpenVPN) 
3. press/click on "client.conf" (Select to turn on OpenVPN tunnel)
   => that's my OpenVPN configuration)
4. the system prompts with "The following application has requested
   Superuser access to the phone: 
   User ID: 10104 de.schaeuffelhut.android.openvpn) 
   Would you like to grant it permission to run privileged commands?".
5. press "Yes" leads to a hanging "OpenVPN Settings hang" with message 
"Startup..."

Work-Around

When I press "client.conf" a 2nd time shortly after 5. , OpenVPN setting 
connects/establishes the tunnel and everything works fine.

Cheers, Peter

Original comment by [email protected] on 24 May 2010 at 9:13

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I just noticed in the logcat that was posted:
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/TarantellaHome.ovpn]-daemon-stderr( 
1452):
SHELL-PROMPT-READY
D/OpenVPN-DaemonMonitor[/sdcard/openvpn/TarantellaHome.ovpn]-daemon( 1452): exec
/system/bin/su -c 'exec /system/bin/sh-s -x -i'

Shouldn't there be a space between the /system/bin/sh and the -s -x -i? Might 
that
cause the problem?

Original comment by [email protected] on 26 May 2010 at 6:22

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024

Original comment by friedrich.schaeuffelhut on 27 May 2010 at 12:54

  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
This issue has started to occur in nightly builds of cyanogenmod 5.0.8 starting 
with 
May 27th.

Original comment by [email protected] on 1 Jun 2010 at 7:58

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
roger could you please do a adb pull /system/bin/sh with cyanogen

Original comment by [email protected] on 7 Jun 2010 at 11:06

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I havs met the same  troubles running OpenVPN-Setting 0.4.4 on my Motorola 
Milestone running Android 2.1

The Openvpn hangs up at "startup ..."



Original comment by [email protected] on 7 Jun 2010 at 3:05

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I'm still running Cyanogen 5.0.6.2-Droid but here you go!

Original comment by [email protected] on 7 Jun 2010 at 7:52

Attachments:

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I finally could reproduce the issue on my G1 running cm-5.0.8test4.
Please test the attached apk.

Original comment by friedrich.schaeuffelhut on 11 Jun 2010 at 2:42

Attachments:

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
I'm updating to Cyanogen 5.0.7.1-Droid and will report back later.

Original comment by [email protected] on 11 Jun 2010 at 8:32

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024
Appears to be working on Cyanogen 5.0.7.1-Droid. huzzah!

Original comment by [email protected] on 11 Jun 2010 at 8:59

from android-openvpn-settings.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 26, 2024

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 1:58

  • Changed state: Verified

from android-openvpn-settings.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.