ChaiBangkok / android-openvpn-settings

Automatically exported from code.google.com/p/android-openvpn-settings
GNU General Public License v3.0
0 stars 0 forks source link

Unrecognized Command or missing parameter #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Connect to VPN
2.Options Error: Unrecognized option or mising parameter(s) in
[PUSH-OPTIONS]:1: route (2.1.1)
Options Error: Unrecognized option or mising parameter(s) in
[PUSH-OPTIONS]:1: ifconfig (2.1.1)
3.Busybox 1.1.6 installed and I'm rooted (SDX Root). (Samsung Moment)

What is the expected output? What do you see instead?
Should have input the routes into the phone, but didn't import properly.

What version of the product are you using? On what operating system?
OpenVPN 2.1.1 (Server/Client)

Please provide any additional information below.
Config works 100% on Windows box.
Phone will connect and stay connected, just will not be able to ping
gateway. (Windows box can ping gateway using same config on android)

Original issue reported on code.google.com by Daniel.W...@gmail.com on 12 May 2010 at 11:14

GoogleCodeExporter commented 9 years ago
problems with the openvpn binary, don't know which problem but it can't 
understand
the pushed network configurations.
Solved in a quick way:

1) downloaded another binary from
http://github.com/downloads/fries/android-external-openvpn/openvpn-static-2.1.1.
bz2
2) uncompressed and pushed in /system/xbin
3) make a symbolic link in /system/xbin/bb to /system/xbin ('ln -s /system/xbin
/system/xbin/bb')

I've installed the binary with openvpn-installer, may be this is an issue 
reported there

Original comment by pietro.m...@gmail.com on 16 May 2010 at 10:08

GoogleCodeExporter commented 9 years ago
Thanks! Just got it to work with this tip!

Original comment by goch...@gmail.com on 4 Jun 2010 at 2:10

GoogleCodeExporter commented 9 years ago
doesn't work for me...

Original comment by ceylan...@gmail.com on 5 Jun 2010 at 7:39

GoogleCodeExporter commented 9 years ago
Thanks Pietro, your tip works! Just one step is missing after pushing openvpn 
to the phone:

chmod +x /system/xbin/openvpn

Original comment by honerme...@gmail.com on 24 Jun 2010 at 2:38

GoogleCodeExporter commented 9 years ago
Same issue here... workaround works

Original comment by jernstje...@gmail.com on 5 Jul 2010 at 3:12

GoogleCodeExporter commented 9 years ago
Again, same issue. Workaround fixes this.

Original comment by undertak...@gmail.com on 3 Sep 2010 at 6:05

GoogleCodeExporter commented 9 years ago
Issue 31 has been merged into this issue.

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 2:26

GoogleCodeExporter commented 9 years ago
Issue 27 has been merged into this issue.

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 2:42

GoogleCodeExporter commented 9 years ago
Problem due to openvpn installation issue.
Also see http://code.google.com/p/android-openvpn-installer/issues/detail?id=2

Original comment by friedrich.schaeuffelhut on 16 Sep 2010 at 3:07

GoogleCodeExporter commented 9 years ago
how do you push the openvpn-static file into /system/xbin?

Original comment by szee...@gmail.com on 5 Jun 2011 at 4:49

GoogleCodeExporter commented 9 years ago
Yo lo sulucione instalardo nuevamente el openvpn, los binarios en /system/xbin 
y el ifconfig/route en /system/xbin/bb, despues hice un link simbolico 'ln -s 
/system/xbin /system/xbin/bb', con eso funciono. cualquier duda comente y yo 
vere los comentarios

Original comment by jimmyvaz...@gmail.com on 15 Nov 2011 at 4:04