Hello. I am trying to connect to my VPN. It is OctaneVPN. I have 2 boxes running CoreELEC. One is a Minix U1 and the other is a Beelink MiniMX III. The U1 is running from sdcard and the MiniMX III is running from internal. I ssh into either box and run openvpn --config OV_mobile.ovpn. This is the output I am getting in the terminal window.
U1:~/downloads # openvpn --config OV_mobile.ovpn
Tue Mar 12 19:29:35 2019 OpenVPN 2.4.6 armv8a-libreelec-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [AEAD] built on Feb 27 2019
Tue Mar 12 19:29:36 2019 library versions: OpenSSL 1.0.2q 20 Nov 2018, LZO 2.10
Enter Auth Username:
Enter Auth Password:
Tue Mar 12 19:29:55 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]198.144.157.100:8888
Tue Mar 12 19:29:55 2019 UDP link local: (not bound)
Tue Mar 12 19:29:55 2019 UDP link remote: [AF_INET]198.144.157.100:8888
Tue Mar 12 19:29:55 2019 WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
Tue Mar 12 19:29:55 2019 [VPN] Peer Connection Initiated with [AF_INET]198.144.157.100:8888
Tue Mar 12 19:29:56 2019 TUN/TAP device tun0 opened
Tue Mar 12 19:29:56 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Mar 12 19:29:56 2019 /sbin/ip link set dev tun0 up mtu 1500
Tue Mar 12 19:29:57 2019 /sbin/ip addr add dev tun0 local 10.10.6.18 peer 10.10.6.17
ip: RTNETLINK answers: File exists
Tue Mar 12 19:29:57 2019 ERROR: Linux route add command failed: external program exited with error status: 2
Tue Mar 12 19:29:57 2019 Initialization Sequence Completed
^CTue Mar 12 19:30:53 2019 event_wait : Interrupted system call (code=4)
ip: RTNETLINK answers: File exists
Tue Mar 12 19:30:53 2019 ERROR: Linux route add command failed: external program exited with error status: 2
Tue Mar 12 19:30:53 2019 /sbin/ip addr del dev tun0 local 10.10.6.18 peer 10.10.6.17
Tue Mar 12 19:30:53 2019 SIGINT[hard,] received, process exiting
U1:~/downloads #
What I have tried so far. I downloaded a copy of LibreELEC and got that up and running to see if it was strictly a CoreELEC problem and tried same command and the same thing happened. So I ssh into my Ubuntu 14.04 machine and ran the same command and it worked perfectly on the Ubuntu machine. So it seems to be something ELEC that it doesn’t like. Does anyone have any idea what the problem might be? I have googled extensively and tried a number of solutions but I can’t run ifup or ifdown on ELEC so google hasn’t been much help. I checked with Octane and they don’t seem to have a clue either. Any suggestions or hints would be greatly appreciated. Thanks.