[FS#428] openvpn missing /sbin/ip + possible solutions

LEDE Bugs lede-bugs at lists.infradead.org
Mon Feb 27 04:13:28 PST 2017


The following task has a new comment added:

FS#428 - openvpn missing /sbin/ip + possible solutions
User who did this - tofurky (tofurky)

----------
hi,
i just ran into this same issue of /sbin/ip not existing, due to disabling busybox 'ip' and instead enabling the full iproute2 version of 'ip'.

here is the simple fix i made to the openvpn init file to allow the use of the 'iproute' parameter, which lets you tell openvpn to usr /usr/sbin/ip instead:

commit 0c27007e841a35dc8bfc75efa1a6410577a27dc5
Author: matt 
Date:   Mon Feb 27 07:06:34 2017 -0500

    add iproute param to allow use of /usr/sbin/iproute

diff --git a/package/network/services/openvpn/files/openvpn.init b/package/network/services/openvpn/files/openvpn.init
index af9c144..64395df 100644
--- a/package/network/services/openvpn/files/openvpn.init
+++ b/package/network/services/openvpn/files/openvpn.init
@@ -121,7 +121,7 @@ start_instance() {
                syslog tcp_queue_limit tls_auth tls_crypt tls_version_min tls_cipher tls_timeout \
                tls_verify tmp_dir topology tran_window tun_mtu tun_mtu_extra txqueuelen user verb \
                down push up verify_x509_name x509_username_field ifconfig_ipv6 route_ipv6 server_ipv6 \
-               ifconfig_ipv6_pool ifconfig_ipv6_push iroute_ipv6
+               ifconfig_ipv6_pool ifconfig_ipv6_push iroute_ipv6 iproute
 
        openvpn_add_instance "$s" "/var/etc" "openvpn-$s.conf"
 }

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=428#comment1990



More information about the lede-bugs mailing list