View Single Post
Posts: 3 | Thanked: 0 times | Joined on Jun 2013
#7029
Today I tried again and the Repo was readable. I downloaded manually all needed deb files and installed OpenVPN successfully.

Now I get a step further, am really close to finish: VPN connects, however the tun device cannot be created:
/etc/openvpn # /usr/sbin/openvpn client.conf
Tue Jul 2 01:00:47 2013 OpenVPN 2.1.3 arm-unknown-linux-gnueabi [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Feb 17 2013
Tue Jul 2 01:00:47 2013 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Tue Jul 2 01:00:47 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
.
.
.
Tue Jul 2 01:00:52 2013 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Jul 2 01:00:52 2013 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Jul 2 01:00:52 2013 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Tue Jul 2 01:00:52 2013 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Jul 2 01:00:52 2013 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Tue Jul 2 01:00:52 2013 [safecomm] Peer Connection Initiated with [AF_INET]192.168.178.174:1194
Tue Jul 2 01:00:54 2013 SENT CONTROL [safecomm]: 'PUSH_REQUEST' (status=1)
Tue Jul 2 01:00:54 2013 PUSH: Received control message: 'PUSH_REPLY,route 10.8.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.130 10.8.0.129'
Tue Jul 2 01:00:54 2013 OPTIONS IMPORT: timers and/or timeouts modified
Tue Jul 2 01:00:54 2013 OPTIONS IMPORT: --ifconfig/up options modified
Tue Jul 2 01:00:54 2013 OPTIONS IMPORT: route options modified
Tue Jul 2 01:00:54 2013 ROUTE default_gateway=192.168.178.1
Tue Jul 2 01:00:54 2013 Note: Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)
Tue Jul 2 01:00:54 2013 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Tue Jul 2 01:00:54 2013 Cannot allocate TUN/TAP dev dynamically
Tue Jul 2 01:00:54 2013 Exiting

/etc/openvpn # whoami
root

/etc/openvpn # lsmod | grep tun

/etc/openvpn # modprobe tun
sh: modprobe: not found

/etc/openvpn # ls /dev/net/tun -al
crw-rw-rw- 1 root root 10, 200 Jan 1 1970 /dev/net/tun
The message "Cannot ioctl TUNSETIFF tun: Operation not permitted (errno=1)" points to not being root. However I am root as 'whoami' tells me.

Anybody has a clue how to solve this?