-
Notifications
You must be signed in to change notification settings - Fork 56
Description
OSX Version: Mojave 10.14.2
find-3-scanner version: (probably a bug)
usr/local/bin/find3-cli-scanner -v
find3-cli-scanner version
Hi, thank you for this library.
It looks like find3-cli-scanner needs iwconfig that is not present on OSX computers. Is there a work around? The install section describes how to install it on OSX, so I am assuming I can run it natively as well, without a docker image. The only other issue I found related to OSX is a closed issue that is actually running a docker linux image, so my apologies if I missed any other reference.
It doesn't look like iwconfig is available in brew either.
sudo /usr/local/bin/find3-cli-scanner -i en0 -device mycomputer -family myfamily -server https://cloud.internalpositioning.com -scantime 40 -forever -passive
Password:
2019-01-25 08:50:45 [INFO] main.go func1:209 scanning with en0
2019-01-25 08:50:45 [INFO] main.go func1:218 scanning for 40 seconds
2019-01-25 08:50:45 [INFO] main.go func1:222 working in passive mode
2019-01-25 08:50:46 [ERROR] utils.go RunCommand:27 exec: "iwconfig": executable file not found in $PATH
It seems iwconfig is only needed to switch the card to monitor mode (find3-cli-scanner invokes iwconfig en0 mode monitor), but I haven't found out how to switch the card to monitor mode and keep it that way and exit. Tools like airport and tcpdump (ref) only seem to switch on monitor mode for the duration of their own scans. I also tried running wireless diagnostics sniff (ref) whilst trying to run this cli program.
So is there a command equivalent I can use on OSX? In that case, I can just write a wrapper iwconfig script)