schollz / howmanypeoplearearound

Count the number of people around you :family_man_man_boy: by monitoring wifi signals :satellite:
MIT License
6.92k stars 386 forks source link

Am I missing any step? #53

Open satwikkansal opened 5 years ago

satwikkansal commented 5 years ago

Hi @schollz , first things first, thanks for making such a cool project.

I was trying to use this on my mac osx. And here's what I did.

  1. Connected to wifi
  2. Ran
    $ brew install wireshark
    $ brew cask install wireshark-chmodbpf
    $ sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
  3. Installed the pip package, and ran howmanypeoplearearound

I see a very big list of options

image

I'm not sure which one is my wifi adapter that supports monitor mode. Is there any way to figure that out?

Also, I tried to bruteforce and give it a shot with all the option but everytime the response after scanning is Found no signals, are you sure en0 supports monitor mode?

Can you please help if I'm missing any step?

SeanLiver commented 5 years ago

You can have a try on "networksetup -listallhardwareports" to check which one is your wifi port.

mathematicalmichael commented 5 years ago

for me, the cask command conflicted with wireshark, so it didn't work. But that was okay. I needed to change permissions with sudo chmod o+r /dev/bpf* and then selecting en1 finally started to work.

sulrich70 commented 1 year ago

"I'm not sure which one is my wifi adapter that supports monitor mode. Is there any way to figure that out?"

sudo iw dev

will give you a list of devices. Next to the identifier "interface" (eg. wlan1) is the wireless adapter

Assuming your interface is wlan1

sudo ip link set wlan1 down
sudo iw wlan1 set monitor none
sudo ip link set wlan1 up