TUN adapter missing (OpenVPN)

226 views
Skip to first unread message

ALT-FUser

unread,
Nov 18, 2016, 5:53:58 AM11/18/16
to Alt-F
Hi, 
Just installed openVPN and tried to run vpn on my box. But the TUN adapter is missing and i could found any package to install it. 
[root@dns325]# openvpn us-west.ovpn
Fri Nov 18 02:23:31 2016 OpenVPN 2.2.1 arm-linux [SSL] [LZO2] [EPOLL] [eurephia] built on Jun 23 2014
Enter Auth Username:XXXXXX
Enter Auth Password:
Fri Nov 18 02:23:46 2016 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Fri Nov 18 02:23:46 2016 LZO compression initialized
Fri Nov 18 02:23:46 2016 Attempting to establish TCP connection with 192.40.89.70:443 [nonblock]
Fri Nov 18 02:23:47 2016 TCP connection established with 192.40.89.70:443
Fri Nov 18 02:23:47 2016 TCPv4_CLIENT link local: [undef]
Fri Nov 18 02:23:47 2016 TCPv4_CLIENT link remote: 192.40.89.70:443
Fri Nov 18 02:23:47 2016 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Fri Nov 18 02:23:48 2016 [171ea36eed070e382ea752aaba2950c5] Peer Connection Initiated with 192.40.89.70:443
Fri Nov 18 02:23:51 2016 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Fri Nov 18 02:23:51 2016 /sbin/ifconfig  10.33.1.6 pointopoint 10.33.1.5 mtu 1500
ifconfig
: SIOCSIFADDR: No such device
Fri Nov 18 02:23:51 2016 Linux ifconfig failed: external program exited with error status: 1
Fri Nov 18 02:23:51 2016 Exiting

Regards

João Cardoso

unread,
Nov 18, 2016, 9:50:11 AM11/18/16
to Alt-F


On Friday, 18 November 2016 10:53:58 UTC, ALT-FUser wrote:
Hi, 
Just installed openVPN and tried to run vpn on my box. But the TUN adapter is missing and i could found any package to install it. 

modprobe tun # loads the tun driver and creates the device node

The 'rcopenvpn' init script (/etc/init.d/S41openvpn) handles that automatically

ALT-FUser

unread,
Nov 18, 2016, 5:25:12 PM11/18/16
to Alt-F
Really your great man, Thanks alot!
Reply all
Reply to author
Forward
Message has been deleted
0 new messages