All,
Noob here but have lots of experience on other platforms. New to raspberry pi.
I have managed to stumble through and get most services up and running.
Running latest OMV (3.x) for raspberry pi 2 and have had success in getting the NAS up and running and adding a number of other items such as vcgencmd.
Logged in as root.
But I am stumped by the error message I get when I try to connect to my VPN service.
Here is what I have done so far:
1) Installed Openvpn plugin on OMV
2) Downloaded the ovpn file from my VPN service
3) Renamed from .ovpn to .conf and provided rights
4) Provided for auto login to VPN service
5) To start: openvpn /etc/openvpn/vpn.conf
This is what I get as output to trying to invoke VPN:
Thu Dec 28 09:38:14 2017 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=eth0 HWADDR=b8:27:eb:17:30:ef
Thu Dec 28 09:38:14 2017 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Thu Dec 28 09:38:14 2017 Exiting due to fatal error
It seems to be working up to that point. I searched the internet for a solution and I don't see any discussion around this.
I have found the tun.ko files in the /lib64/modules/ directory assuming I need to copy to some other location??
The file from my VPN provider looks like this:
# --------------------------------------------------------
# Air VPN | https://airvpn.org | Tuesday 26th of December 2017 04:01:30 PM
# OpenVPN Client Configuration
# AirVPN_Canada_UDP-443
# --------------------------------------------------------
client
dev tun
proto udp
remote ca.vpn.airdns.org 443
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo no
auth-user-pass login.txt
route-delay 5
verb 3
explicit-exit-notify 5
<ca>
..... then come the certs and keys.
Not sure where to go from here?
Any thoughts out there?
Thanks in advance.