Using OpenVPN requires missing ifconfig & route commands
@Chainfire
First of all, thanks for your awesome work.
In your last kernels, u are using a minimal busybox from CWM, this minimal build don't include the ifconfig and route applets.
Sadly, these commands are required for
OpenVPN, to add a virtual interface and to configure the network routing.
As you said in OP, we can install a new busybox version using the "stericson" installer in
/system/xbin. The issue here is than some app (like OpenVPN Settings, from Friedrich Schäuffelhut) will try to locate the ifconfig & route commands directly at
/system/bin, so it links to your minimal busybox located in
/sbin that don't include these commands and fail
Don't u think than, as your kernel includes the busybox app, and had a smart auto-repair scripts at boot time than reinstalls it if missing, it will be better to include a full-featured version of busybox? because a lot of your user base will need the missing features?
BTW, the workaround to use
OpenVPN with your last kernels is as simple as:
- Install last busybox using "stericson" installer app in
/system/xbin.
( Don't uninstall the kernels installed minimal busybox at /sbin)
- Create symlinks for the ifconfig & route commands to the newly installed busybox
Code:
cd /system/bin
ln -s /system/xbin/busybox ifconfig
ln -s /system/xbin/busybox route
Now you can use the Friedrich Schäuffelhut apps to install and start OPenVPN
cheers!