Fix: Cannot enable TUN socket

Posted on December 13, 2014 @ 4:07 am

If you are getting the error Cannot enable TUN socket when connecting it is possible that your device did not loaded your tun module automatically. To verify that tun module is already loaded, open the Run Dignostics and press Start. On the logs you should see the loaded modules on your device below the "Checking for loaded modules..." entry. You should see the word "tun" which means the tun modules is already loaded. The picture below shows that the tun module is already loaded.


Diagnostics tun module

If no tun is listed then it means that it is not yet loaded. To fix this you can load the module by using this app or by manually loading it through your terminal emulator or ADB using the command "insmod /path/to/tun.ko" where "/path/to/tun.ko" is the path to your tun module which is normally at "/system/lib/modules/tun.ko".

×