How to fix problem with conflicting TUN/TAP on Mac

If you try to connect PandaPow and it fails pretty much immediately, chances are that some other program didn’t unload its TUN/TAP extensions. This is not very nice of the other program, since it is stopping PandaPow (and many other programs as well) from doing it’s thing.

 

To find out if this is the case, do as follows:

How to open the Terminal on Mac

  • Open a Terminal window (in Apps > Utilities), and type the following:

kextstat |grep -e tun -e tap

 

  • If the above command results in output similar to:

267 0 0x44ffd000 0x6000 0x5000 com.badprogram.tap (1.0) <7 5 4 1>

 

Then you need to unload the bad programs TUN/TAP extension. Use the following command in the Terminal:

sudo kextunload -b com.badprogram.tap

 

IMPORTANT: The ‘com.badprogram.tap‘ is just an example. It needs to be replaced with whatever is output from the first command. You may also need to type your computers password, note that the password will be invisible, so type your password and then press Enter.

 

  • To make sure no TUN/TAP extensions remains, again type:

kextstat |grep -e tun -e tap

 

Then try connecting PandaPow again.

 

In case the issue comes back again, then we recommend removing the conflicting program completely from your computer. An easy way to do that is to use “AppCleaner” which is a free software that is easy to use:

 

Download AppCleaner from here

 


 

Mac OS Sierra Fix

If you are using Mac OS Sierra, and you have trouble unloading the conflicting TUN/TAP extension, then you can try this:

  • Open a Terminal window (in Apps > Utilities), and type the following:

sudo -s

If prompted, type your computers password. And then type:

rm -fr /Library/Extensions/tap.kext

rm -fr /Library/Extensions/tun.kext

 

  • To make sure no TUN/TAP extensions remains, again type:

kextstat |grep -e tun -e tap

Then try connecting PandaPow again.

 

 

Shares
Shares