OpenVPN error message


#1

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.


#2

This is not a hardware issue, moved to the appropriate sub forum.

This looks to be your issue.


#3

My apologies. I wasn’t sure which sub forum to post to.
That is indeed the problem. I was hoping someone here who is smarter than me might have an idea as to why under Ubuntu it runs fine but in the ELEC’s it has trouble. I was able to find lots of solutions to try but that is under Ubuntu and CoreELEC is different enough that I can’t seem to even find things like /etc/network/interfaces. Might be easier to just ditch Octane and switch to IPVanish or PIA. I just like to be able figure out and fix things. :smile:


#4

VPN Manager addon . Give that a shot.
I use it with PIA (PS I used to use IP Vanish. Overpriced and i don’t trust anymore)


#5

Thx kostaman. I had initially tried that and it wasn’t working. That’s why I switched to doing it command line so I could see the output in real time. I’ll ask over on zomboided thread on LibreELEC forum. Maybe he’ll have an idea. :slight_smile:


#6

I think this is actually down to a kernel config options turned off but unfortunately I don’t have any time for the next few days to check it.


#7

Thanks adamg. From my research it looks like the error 2 message is indeed a kernel message. No rush. Whenever you get a chance to take a peek at it that would be great. Much thanks! :smiley: