mnadvornik / android-openvpn-installer Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/android-openvpn-installer
Automatically exported from code.google.com/p/android-openvpn-installer
Motorola razr. ifconfig ok, openvpn installed ok, conf file ok,
1-When gui execute /system/bin/ifconfig tun0...
Linux ifconfig failed: External Program ...
2-Then i try to create a tun0, because tun exists, and ifconfig no problem.with
it.
(also module is up)
Well, i do:
./openvpn -mkdev --dev tun0
Succefull, persisten mode on, and i can manage the interface without problem.
3- Execute again openvpn-gui buttttt
now execute /system/bin/ifconfig tun1 <----!!!!
4-Then go to step 2, (create tun1)
5-Execute again openvpn-gui buttttt
now execute /system/bin/ifconfig tun2 <----!!!!
(for ever loop)
I cant manage the tun device in gui???, because, if i do -rmdev for all tun
devs they askme for tun0!..if i create that, they ask me for tun1!!!.
Please help.
Original issue reported on code.google.com by [email protected]
on 1 Jun 2012 at 6:45
On pressing "Install", and it completing it shows "Failed to install, please
check log".
Log shows as follows:
mountPoint /dev/block/mtdblock0 on /system type yaffs2 [ro]
/system is mounted read-only
trying to remount read-write
executing 'su -c mount -o remount,rw /dev/block/mtdblock0 /system'
exit code 0
copying openvpn to /system/bin/openvpn
executing 'su -c cp '/sdcard/openvpn.mem30811tmp' '/system/bin/openvpn'; chmod
555 '/system/bin/openvpn'
STDERR: cp: not found
STDERR: Unable to chmod /system/bin/openvpn: No such file or directory
exit code 10
making binary executable
executing 'su -c chmod 555 '/system/bin/openvpn''
STDERR: Unable to chmod /system/bin/openvpn: No such file or directory
exit code 10
/system was mounted read-read-only
trying to remount read-only
executing 'su -c mount -o remount,ro /dev/block/mtdblock0 /system'
exit code 0
Success!
This appears to be an issue where the cp command doesn't exist in the busybox
on the X10's, however cat $IN >> $OUT does work.
Original issue reported on code.google.com by [email protected]
on 14 Oct 2010 at 9:09
What steps will reproduce the problem?
Running both, the installer and the settings app lets superuser (clockworkmod
one) complain about the missing permission flag.
To make the app work in future and for security reasons, please add following
line to your android manifest file:
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />
thanks for the great app!
Original issue reported on code.google.com by [email protected]
on 28 Aug 2013 at 8:36
What steps will reproduce the problem?
1. install openvpn-installer
2. run it
3. try openvpn
What is the expected output? What do you see instead?
Everything should be good, instead my device didn't set up the network
interface
What version of the product are you using? On what operating system?
openvpn installer 0.2.3 available from market on liquid with android 1.6 donut
Please provide any additional information below.
simply solved using another openvpn binary file downloaded from
http://github.com/downloads/fries/android-external-openvpn/openvpn-static-2.1.1.
bz2
May be you should only need to change that.
Original issue reported on code.google.com by [email protected]
on 16 May 2010 at 10:13
Well, I don't think there is much that can be done for this aspect. However,
would it be possible to significantly improve battery for openvpn? I'm guessing
unless there is a way to handle openvpn's continuous connection, there won't be
solution. But, I just wanted to ask in case.
Original issue reported on code.google.com by [email protected]
on 3 Feb 2012 at 2:15
What steps will reproduce the problem?
1. add proxy with authentication (set file.txt)
2.
3.
What is the expected output? What do you see instead?
show connected [ip privete] on [ISP IP]
What version of the product are you using? On what operating system?
0.4.13 android ICS
Please provide any additional information below.
has been connect to VPN Server but traffic not route to VPN. reset DNS does not
working
Original issue reported on code.google.com by [email protected]
on 26 Nov 2012 at 10:22
All installed OK
Using Openvpn Settings from the market
All correct when connected - picks up IP addresses etc from the server.
Indeed an external WiF connection through the internet to the server -
everything works.
However using 3G - it connects OK but fails - failure shown when a VoIP SIP
client connects to a VoIP SIP server - the client registers OK but cant make
calls. Also the Android browsing to a web server over the VPN starts to
connect - then hangs.
Also tested - Android was set up for tethering (WiFi Access Point to 3G
internet service) and a Windows laptop connected. The Windows laptop runs
OpenvpnGUI and everything works - inc VoIP and all web services. To me this
means that it IS possible to run across the 3G.
Notes:-
The Openvpn server is a DD-WRT Linksys working as a UDP Bridge (tap0) which
works perfectly for other clients.
Here are the config files
SERVER
mode server
proto udp
port 1194
dev tap0
server-bridge 10.0.020.001 255.255.255.0 10.0.020.050 10.0.020.060
keepalive 10 120
daemon
verb 5
client-to-client
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
CLIENT
remote XXX.XXX.XXX.XXX 1194
client
dev tap0
proto udp
resolv-retry infinite
nobind
persist-key
persist-tun
float
ns-cert-type server
ca ca.crt
cert client.crt
key client.key
verb 3
Any ideas?
Original issue reported on code.google.com by [email protected]
on 22 Jul 2011 at 10:56
Ok, this is what happened to me, I have everything set, busybox, proper tun.ko
for my kernel and openvpn from this package.
When I run "openvpn --config android.conf" on my device, I get an error saying
that the config line "ifconfig 10.1.1.2 10.1.1.1" which should set its IP
address is not working or unsupported.
Installing a new openvpn binary solved the problem completely, I've used the
one from this page:
http://code.google.com/p/android-openvpn-settings/issues/detail?id=26
Since replacing the binary solved the issue, I think I can safely state that it
is this actual version's fault.
Most likely openvpn as for now is only working in its PKI form, not the PSK.
Original issue reported on code.google.com by [email protected]
on 3 Jun 2011 at 4:36
After selecting to install openvpn binary configured tu use
/system/xbin/ifconfig from gui, wrong version is installed (in logs there are
"/system/xbin/bb/ifconfig not found" errors).
There is typo error in OpenVPNInstaller.java file - wrong binary files in "case
1:" and "case 2:" lines #173 and #177. Correct values are shown in lines #159
and #160.
https://code.google.com/p/android-openvpn-installer/source/browse/src/de/schaeuf
felhut/android/openvpn/installer/OpenVPNInstaller.java#156
Original issue reported on code.google.com by [email protected]
on 2 Dec 2012 at 11:06
ifconfig and route might sit in other locations than /system/bin or /system/xbin
* Use a text field to enter path.
* Try to locate busybox and ifconfig/route links to busybox.
Original issue reported on code.google.com by friedrich.schaeuffelhut
on 11 Jun 2010 at 4:17
Original post from:
http://github.com/fries/android-external-openvpn/issues#issue/2
I have a problem with OpenVPN Settings and my HTC Hero / T-Mobile G2 - i
have installed the MoDaCo custom ROM 3.2.
So Busybox is integrated, but i have no /system/xbin/bb/ifconfig - if i ask
'which ifconfig' i get /system/xbin/ifconfig (which links to busybox)
if i want to start my openvpn config, after entering the password i get
this error:
FATAL: Linux ifconfig failed: could not execute external program
Can you fix this for the MoDaCo Hero users? :)
Let me know if i can help you in any way!
Original issue reported on code.google.com by friedrich.schaeuffelhut
on 15 Mar 2010 at 9:57
What steps will reproduce the problem?
1. Install openvpn-installer.
What is the expected output? What do you see instead?
I expect to install openvpn and tun.ko because both are required. Without
tun.ko, I get the error message: fatal: cannot allocat tun/tap device
automatically
What version of the product are you using? On what operating system?
Latest version of openvpn-installer from android market 5/3/2011: Openvpn
2.1.1, openvpn installer 0.2.3. And I'm on android 2.2
Where should I find the download for tun.ko?
Original issue reported on code.google.com by [email protected]
on 3 May 2011 at 10:41
What steps will reproduce the problem?
1. Install openvpn
2. Connect to server
3. Using tap
What is the expected output? What do you see instead?
Connected bit cant ping remote devices
What version of the product are you using? On what operating system?
Android 5.1.1
Please provide any additional information below.
The same config works on KitKat
Original issue reported on code.google.com by [email protected]
on 5 May 2015 at 6:25
What steps will reproduce the problem?
1. it doesnt work. no reproducing problem
2.
3.
What is the expected output? What do you see instead?
I cannot run blocked websites (i am from Oman, Middle East)
What version of the product are you using? On what operating system?
OpenVPN 0.4.7 on Samsung Galaxy s2 2.3.3 says connected and i can see data
traffic but i cannot access sites blocked by my ISP
Please provide any additional information below.
I have rooted and installed and everything looks good, only thing i cannot do
is access blocked websites from my ISP. I need openvpn because i want to
connect with my family in USA via skype which is blocked here in Oman
Original issue reported on code.google.com by [email protected]
on 21 Oct 2011 at 10:21
What steps will reproduce the problem?
enable 4G and let it connect
What is the expected output? What do you see instead?
openvpn will connect but will not bind route to Wimax interface.
What version of the product are you using? On what operating system?
ver 0.2.3 on android 2.3.4
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 29 Dec 2011 at 6:46
What steps will reproduce the problem?
1. run openvpn with command line option --auth-user-pass.
2. System should prompt to enter your username first.It is happening ok.
3. System should now prompt for password. THIS IS NOT COMING.
What is the expected output? What do you see instead?
username and password should be passed to VPN server and authorization check
should be passed. VPN connection should be established.
Instead a authorization check failed message is coming shortly and the VPN
connection is terminated.
What version of the product are you using? On what operating system?
openvpn 2.1.1
System android 3.2.1
Toshiba Thrive-HTK55D.31.5.0002
Kernel version: 2.6.36.3-00020-g3d351b6
Please provide any additional information below.
For more details, please see the link ,
http://code.google.com/p/android-openvpn-installer/issues/detail?id=2 , comment
#70 to #73.
Can we get an updated binary please which will pass the username & password
correctly to the server ?
Original issue reported on code.google.com by [email protected]
on 11 Feb 2012 at 6:47
E/AndroidRuntime( 4589): java.lang.NullPointerException
E/AndroidRuntime( 4589): at
java.util.Arrays$ArrayList.<init>(Arrays.java:39)
E/AndroidRuntime( 4589): at java.util.Arrays.asList(Arrays.java:162)
E/AndroidRuntime( 4589): at
de.schaeuffelhut.android.openvpn.installer.OpenVPNInstaller$FindBinaryThread.run
(OpenVPNInstaller.java:460)
Original issue reported on code.google.com by friedrich.schaeuffelhut
on 4 Apr 2010 at 9:56
What steps will reproduce the problem?
1. Install openvpn binary with android-openvpn-installer
2. use android-openvpn-settings to connect to openvpn-server with
push "redirect-gateway def1" set
3. test if all traffic is routed through vpn-connection
What is the expected output? What do you see instead?
All Traffic should be routed through the VPN-Server, instead all traffic goes
through "standard" connection (eg. Wifi or 3G).
when calling 'route' on terminal I get the route to my Wifi-accesspoint.
What version of the product are you using? On what operating system?
recent market versions of openvpn-settings and openvpn-installer
If I use the openvpn binary from
http://forum.xda-developers.com/showthread.php?t=702634
setting the route works (checked with 'route' on terminal) and traffic is
routed through the server.
Original issue reported on code.google.com by [email protected]
on 21 Jun 2010 at 10:31
What steps will reproduce the problem?
1. I had OpenVPN working ok in Gingerbread
2. I updated to ICS through Kies and rooted the new kernel
3. OpenVPN stopped working
4. I unisntalled and reinstalled application
5. OpenVPM Installer failed to install the openvpn binaries
6. I tried to reinstall tun.ko with Tun.ko Installer but tun module
appears as already loaded
7. I configure advanced option in OpenVPN Settings to load tun kernel module
8. OpenVPN still not working
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
OpenVPN Installer 2.1.1
Android 4.0.3
Kernel 3.0.15-I9100XWLP7
Please provide any additional information below.
The configuration files and the certificates are the same I used with
OpenVPN in Gingerbread.
Some screenshots are attached.
Original issue reported on code.google.com by [email protected]
on 24 May 2012 at 4:20
Attachments:
What steps will reproduce the problem?
1. Install OpenVPN Installer apk on Samsung Moment running cupcak MR14
2. Run OpenVPN installer, select Install, either /system/bin or /system/xbin
3. Wait for install to fail. Show log indicates it failed to remount /system
due to invalid arguments for mount due to basic mount implementations
Please provide any additional information below.
It attempts to issue the command (in su -c):
mount -oremount,rw /system
but this is syntax is not as widely supported.
Attached patch adjusts the mount command to include the device name
which is more widely supported by basic mount implementations.
Changes mount command (on my device) to:
mount -o remount,rw /dev/stl5 /system
Original issue reported on code.google.com by [email protected]
on 9 Mar 2010 at 12:13
Attachments:
This is a known "problem" with 4.3. While remounting the /system partition in
rw mode actually works, it only shows it for the user that did the mount
command, root here. So reading /proc/mounts as normal user will not show
/system as rw, and the test fails
The attached patch works around this problem by reading it via "su -c cat
/proc/mounts", working fine here :)
Original issue reported on code.google.com by [email protected]
on 28 Aug 2013 at 7:03
Attachments:
On HTC Desire, rooted, stock Android 2.2 rom
What steps will reproduce the problem?
1. run the OpenVPN installer
2. allow the root access to remount rw and to cp the file into /system/bin
3. error 'Binary not installed - choose Show Log'...
Log says STDERR: cp: not found
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
2.1.1 on Android 2.2
Please provide any additional information below.
HTC Desire
Original issue reported on code.google.com by [email protected]
on 16 Nov 2010 at 12:02
Hello Everyone
I has the following problems
What steps will reproduce the problem?
1. adb install Busybox_1.17.1.apk
2. ln -s /system/bin/busybox /system/bin/cp
3. adb install OpenVPN-Installer-0.2.3.apk
4. start OpenVPN Installer. it show "Binary not installed" message
5. push "Install" button
What is the expected output? What do you see instead?
I expect "Binary not installed" message disappear, but did not disappear.
What version of the product are you using? On what operating system?
Android tablet(2.3.4) and rooted.
Busybox 1.17.1
OpenVPN Installer 0.2.3
Please provide any additional information below.
I check the log. A message in the following
---begin---
Executing 'su -c cp '/sdcard/openvpn.mem-208591934tmp'
'/system/xbin/openvpn'; chmod 555 '/system/xbin/openvpn''
Exit code 1
STDERR: su: uid 10044 not allowd to su
----end----
It seems that apparently failed to su, but machine is already rooted!!
Please tell me you know the cause of the problem.
Original issue reported on code.google.com by [email protected]
on 3 Oct 2011 at 8:53
When installing the binary, after 4 root requests and the mount --remount
/dev/block command, the device reboots. Install fails.
Original issue reported on code.google.com by [email protected]
on 4 Jul 2010 at 9:20
What steps will reproduce the problem?
1. Run the installer
2. Look at the log
What is the expected output? What do you see instead?
Openvpn gets installed.
What version of the product are you using? On what operating system?
OpenVPN Installer 0.2.4
Android 4.1.1
Please provide any additional information below.
There is no cp binary. You can either use cat to copy the file with a redirect
(cat filename > /install/path)
Or you can use busybox's cp implementation.
Original issue reported on code.google.com by [email protected]
on 17 Jul 2012 at 2:49
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.