Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Error loading /tmp/tun.kext in Clockworkmod's Tether.app -- I uninstalled OpenVPN to work around this
An "Error loading /tmp/tun.kext" in Clockworkmod's Tether.app for the Mac typically (often?) means that Tether.app failed to detect and unload an interfering tun/tap kext.
Tether.app thus gets an error from the OS when it tries to insert itself into an already occupied spot.
CWM Tether.pp does OK unloading the kexts for TunnelBlick (and probably Viscosity, though I don't have that). However, the OpenVPN kexts weren't found and turned down by Tether.app as of May 2016.
My solution was to uninstall OpenVPN completely. I only had OpenVPN present to see it fail for data center VLAN access, and had months ago switched to TunnelBlick for production use.
After I completely uninstalled OpenVPN, Tether.app can load its kext, and tethering works for me.
@RedxTar

This comment has been minimized.

Copy link

@RedxTar RedxTar commented Dec 24, 2019

I had the same problem but all i had to do was to allow it to run on the security settings

@faitno

This comment has been minimized.

Copy link

@faitno faitno commented Jan 13, 2021

I had the same problem but all i had to do was to allow it to run on the security settings

May you explain your solution? I don't find any useful settings in security settings
https://help.endian.com/hc/en-us/articles/360019434774-How-to-Fix-Cannot-allocate-TUN-TAP-dev-dynamically-error-on-MAC-OS-X?mobile_site=false
I found info about this problem on newest MACos mojave etc
https://stackoverflow.com/questions/54631371/tunnelblick-cant-load-load-net-tunnelblick-tun-and-or-net-tunnelblick-tap-kexts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment