Skip to content
sudo kextunload /Library/Extensions/tun.kext
sudo kextunload /Library/Extensions/tap.kext
You could either type them directly into the Terminal application, or save them as a shell file which you can simply double-click on. For example save a text file with the following contents, give it a name ending in .sh (e.g. disabletuntap.sh), and set the file to open using the Terminal:
#!/bin/sh
sudo kextunload /Library/Extensions/tun.kext
sudo kextunload /Library/Extensions/tap.kext
To switch back to Viscosity, you can simply reopen it (Viscosity will ask for your username and password), or create another script:
sudo kextload /Library/Extensions/tun.kext
sudo kextload /Library/Extensions/tap.kext
Cheers
James
Viscosity and Cisco VPN
Got a problem with Viscosity or need help? Ask here!
Both Viscosity and the standard Cisco VPN client can be installed on the same computer. They can both be used at the same time, however it's necessary to open the Cisco VPN client before connecting an OpenVPN connection to avoid a subsystem error from the Cisco client.
The tun/tap drivers that OpenVPN requires are incompatible with the drivers bundled with the Cisco Anyconnect VPN client, so Viscosity and Cisco Anyconnent will not play nicely together. More information at: http://tuntaposx.sourceforge.net/faq.xhtml
Cheers
James
The tun/tap drivers that OpenVPN requires are incompatible with the drivers bundled with the Cisco Anyconnect VPN client, so Viscosity and Cisco Anyconnent will not play nicely together. More information at: http://tuntaposx.sourceforge.net/faq.xhtml
Cheers
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
James wrote:The tun/tap drivers that OpenVPN requires are incompatible with the drivers bundled with the Cisco Anyconnect VPN client, so Viscosity and Cisco Anyconnent will not play nicely together. More information at: http://tuntaposx.sourceforge.net/faq.xhtmlThis kinda sucks... a lot... Is there any workaround for this? Or am I stuck reinstalling one or the other over and over?
XenoPhage wrote:This kinda sucks... a lot... Is there any workaround for this? Or am I stuck reinstalling one or the other over and over?Well you should be able to save yourself rebooting/reinstalling with the following commands (run them before opening Cisco AnyConnect):
sudo kextunload /Library/Extensions/tun.kext
sudo kextunload /Library/Extensions/tap.kext
You could either type them directly into the Terminal application, or save them as a shell file which you can simply double-click on. For example save a text file with the following contents, give it a name ending in .sh (e.g. disabletuntap.sh), and set the file to open using the Terminal:
#!/bin/sh
sudo kextunload /Library/Extensions/tun.kext
sudo kextunload /Library/Extensions/tap.kext
To switch back to Viscosity, you can simply reopen it (Viscosity will ask for your username and password), or create another script:
sudo kextload /Library/Extensions/tun.kext
sudo kextload /Library/Extensions/tap.kext
Cheers
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
-
Guest
James wrote:Well you should be able to save yourself rebooting/reinstalling with the following commands (run them before opening Cisco AnyConnect):For what it's worth, apparently the anyconnect tun adapter is in /System/Library/Extensions/tun.kext ... And the tap adapter doesn't need to be messed with (or so it seems)
sudo kextunload /Library/Extensions/tun.kext
sudo kextunload /Library/Extensions/tap.kext
Thanks everyone, I am now unloading and loading the two different tun drivers for each client when needed via scripts. For a second I thought I was SOL cause I definitely need both to work without reboots
I did however spend another hour or so getting a scutil script to fix my multiple search domains suffixes, I'm using a pfsense 1.2.3RC1 for reference.
-Joaquin
I did however spend another hour or so getting a scutil script to fix my multiple search domains suffixes, I'm using a pfsense 1.2.3RC1 for reference.
-Joaquin
7 posts
Page 1 of 1