Open sol-invictus opened 14 years ago
Hi, the paths to ifconfig and route are hard coded into openvpn. This basically means openvpn has to be recompiled for each possible directory location ifconfig and route may reside in. I'm not really sure how to handle the fact that that there is no standardized location for ifconfig on android. A clean solution would be the MoDaCo guys include the openvpn binary and change the paths accordingly. Of course you could link /system/xbin/bb/ifconfig to busybox as quickfix. Best thing would be to figure out why openvpn and androids version of ifconfig don't play well together. If that could be fixed openvpn would not need to rely on busybox anymore.
BTW: How did you get openvpn? Through OpenVPN-Installer?
Thx for your fast and detailed answer!
looks like there is a need for a Linux Standard Base for Android!
yes, i used your other app OpenVPN Installer - thx for thoose apps!
I guess In your app OpenVPN Settings it would be to hard to add a "Path to ifconfig" menu? Anyway, I will try to contact Paul (MoDaCo) if he can integrate your app...
Well as I said, the path to ifconfig is hard coded into openvpn. So OpenVPN-Settings can not change it. But the binary could be patched upon installation. I implemented such a feature in OpenVPN-Installer.
Please see http://code.google.com/p/android-openvpn-installer/issues/detail?id=2 for a potential fix. I attached a new version of openvpn-installer to that issue. Could you please try it and give feedback if it works for you?
I am having the same problem with your openvpn-installer 0.2.3 on Nexus 1 Froyo + cyanogen rooter (busybox, su).
Details here: http://code.google.com/p/android-openvpn-installer/issues/detail?id=2
Hope you can help with this, really need OpenVPN running :(
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!