Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tuntap was deprecated by Apple since Apple silicon M1 chip #773

Open
AielloChan opened this issue Sep 9, 2021 · 4 comments
Open

tuntap was deprecated by Apple since Apple silicon M1 chip #773

AielloChan opened this issue Sep 9, 2021 · 4 comments
Labels

Comments

@AielloChan
Copy link

http://tuntaposx.sourceforge.net/
image

And when I installed TunnelBlink on my m1 mac, start edge will give blow error:

image

Looks like I haven't installed tuntap successfully yet πŸ€·β€β™‚οΈ

@Oliver0624
Copy link

@AielloChan Tunnelblick has a customed tuntaposx which supports macOS 11.0 and above.

You may install Tunnelblick, copy the .kext file then simply uninstall it. All you need is the signed tap kext file.

Before running edge, you need load the kernel extension via "kextload tuntap.kext".

@yongqianme
Copy link

There is a method you can try from the link: https://omniedge.io/docs/article/install/macoscli#for-m1-mac-user

Fast installation

  • Download and install Tunnelblick, install the tun/tap driver with the built-in script.

tuntap-by-tunnelblick

Slow but clean installation

  • Download https://github.com/Tunnelblick/Tunnelblick/tree/master/third_party/tap-notarized.kext
  • Download https://github.com/Tunnelblick/Tunnelblick/tree/master/third_party/tun-notarized.kext
  • Change the name to tap.kext and tap.kext,
  • Copy to /Library/Extensions
  • add net.tunnelblick.tap.plist and net.tunnelblick.tun.plist to /Library/LaunchDaemons/
  #net.tunnelblick.tap.plist
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  <dict>
      <key>Label</key>
      <string>net.tunnelblick.tap</string>
      <key>ProgramArguments</key>
      <array>
          <string>/sbin/kextload</string>
          <string>/Library/Extensions/tap.kext</string>
      </array>
      <key>KeepAlive</key>
      <false/>
      <key>RunAtLoad</key>
      <true/>
      <key>UserName</key>
      <string>root</string>
  </dict>
  </plist>
  #net.tunnelblick.tun.plist
  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  <dict>
      <key>Label</key>
      <string>net.tunnelblick.tun</string>
      <key>ProgramArguments</key>
      <array>
          <string>/sbin/kextload</string>
          <string>/Library/Extensions/tun.kext</string>
      </array>
      <key>KeepAlive</key>
      <false/>
      <key>RunAtLoad</key>
      <true/>
      <key>UserName</key>
      <string>root</string>
  </dict>
  </plist>
  • Run sudo kextload /Library/Extensions/tap.kext in the terminal
  • restart Mac after allowing the security check.

@yongqianme
Copy link

No more Tun/Tap drivers for using OmniEdge macOS GUI on M1/M2 MacBook !

Download from App Store https://apps.apple.com/us/app/omniedgenew/id1603005893

@qianshengzj
Copy link

I use kextload /Library/Extensions/tunnelblick-tap.kext

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants