robinpaulson / SimpleRT

Simple Reverse Tethering utility for Android
GNU General Public License v3.0
905 stars 101 forks source link

libusb callback deregistered! / error open tun: Resource busy / tun_alloc failed: Resource busy #17

Closed Quenz closed 7 years ago

Quenz commented 7 years ago

Phone is Google Pixel XL, Android 7.1.1. Connected to a MacBook Pro (Retina, 15-inch, Mid 2015), macOS Sierra, 10.12.2, with libusb 1.0.20 from the Homebrew package manager.

"SimepleRT connected!" comes up on my phone when I plug it in, but this comes up in the Terminal:

sudo ./simple-rt libusb callback registered! Kernel driver is not active! Device supports AOA 2.0! Sending identification to the device sending manufacturer: Konstantin Menyaev sending model: SimpleRT sending description: Simple Reverse Tethering sending version: 1.0 sending url: https://github.com/vvviperrr/SimpleRT sending serial number: j3qq4-h7h2v-2hch4-m3hk8-6m8vw Turning the device in Accessory mode Found accessory 18d1:2d01 accessory connected! libusb callback deregistered! error open tun: Resource busy tun_alloc failed: Resource busy

Not sure if USB debugging needs to be enabled, but I tried without and with.

vvviperrr commented 7 years ago

upd: omg, my bad. do you installed osx tun driver?

Quenz commented 7 years ago

TunTap? I installed that, yes.

vvviperrr commented 7 years ago

hi. i just removed osx tuntap dependency, now i use utun module (osx buildin userspace tunnels). Now everything is working fine. btw, u need to update android app too.