sniffglue icon indicating copy to clipboard operation
sniffglue copied to clipboard

Failed to activate interface: BIOCSETIF failed: Device not configured

Open lewismc opened this issue 3 years ago • 2 comments

Hi @kpcyrd I just came across the project and wanted to try it out on my local network. Invocation of sniffglue ... enp0s25 with all verbose levels results in the same outcome.

% sudo sniffglue -vvvv enp0s25
Error: Failed to activate interface: BIOCSETIF failed: Device not configured

I am not sure how to configure the BIOCSETIF ioctl.

macOS Catalina
Version 10.15.7

Do you have any ideas? Thank you

lewismc avatar Jun 03 '21 21:06 lewismc

hey! I don't have that specific MacOS version to test with (I reached out to friends but also no luck). Is the devices configured with an ip address? Is tcpdump able to open it?

kpcyrd avatar Jun 05 '21 19:06 kpcyrd

Hi @kpcyrd tcmpdump seems to work fine

% tcpdump
tcpdump: data link type PKTAP
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on pktap, link-type PKTAP (Apple DLT_PKTAP), capture size 262144 bytes
... # loads of output
375 packets captured
375 packets received by filter
0 packets dropped by kernel

Is the devices configured with an ip address? I am able to determine my IPv4 address but nothing exists above that.

lewismc avatar Jun 07 '21 17:06 lewismc