seemoo-lab / owl

An open Apple Wireless Direct Link (AWDL) implementation written in C
https://owlink.org
GNU General Public License v3.0
1.24k stars 87 forks source link

Not working on macOS 10.14 #5

Closed jtsylve closed 5 years ago

jtsylve commented 5 years ago

When trying to run on macOS 10.14 I get the following errors

16:51:34 TRACE: pcap: unable to open savefile (en0: No such file or directory)
16:51:34 ERROR: tun: cannot open available device
16:51:34 ERROR: Could not open device: awdl0
16:51:34 ERROR: could not initialize core

Looking at the code it seems to be trying to open a /dev/tun0 device that doesn't seem to exist. What am I doing wrong?

schmittner commented 5 years ago

Correct, macOS does not have native support for tun/tap devices, so you'll need to install tuntaposx. For example, with homebrew: brew cask install tuntap.

osehgol commented 4 years ago

for mac 10.15.3 (Catalina), mac security blocks brew installation of tuntap. to overcome System Preferences-> Security and Privacy -> General -> Allow app downloaded from: App Store and Identified developers and (verify, then) unblock developer

Ocelot124286 commented 4 years ago

Can you help me? Mine opens a tun0 interface instead of awdl0. It doesn’t seem to have a awdl0 interface at all.

osehgol commented 4 years ago

sure. i did this a while back sudo owl -i -D -vv en0 (on mac)
and awdl0 became active. if this doesn't work let me know ill get back to it

Ocelot124286 commented 4 years ago

Yeah so I tried that and it didn’t create awdl0, instead it always seems to create tun0.

SalilJain commented 1 year ago

Yeah so I tried that and it didn’t create awdl0, instead it always seems to create tun0.

@Ocelot124286 you may want to try following command: opendrop find -i tun0