How to check TUN/TAP is enabled or not ?

Started by Dipak Bhoi, October 13, 2014, 04:38:35 PM

Previous topic - Next topic

Dipak Bhoi

Hello guys,

Once you are connected via SSH we can get to work. To verify that TUN/TAP is enabled or not. Run the following:

Quote#cat /dev/net/tun

If TUN/TAP is enabled, it will return the following:

Quote[root@server ~]# cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state

If you get anything else, you will need to contact your hosting provider to have TUN enabled. Generally if it is disabled it will return a "file not found" message.

MilesWeb - 30-Day Money Back
cPanel Web Hosting - cPanel Hosting in India
Grab a Free SSL for your website.  WordPress Optimized Solution.