Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> I was able to somewhat disable AWDL by doing this like you suggest:

> sudo /usr/libexec/airportd en0 prefs AWDLEnabled=YES

Wait, why AWDLEnabled = YES? Is it like with those Cisco routers, where "do X" was usually done by negating "do inverse-of-X"? E.g. "no interface up foo" to bring down interface "foo".



Sorry, you're 100% right. It should be AWDLEnabled=NO! (and was in my testing)

Also you can check what your current prefs by just not passing any args after `prefs`:

    sudo /usr/libexec/airportd en0 prefs


I suspect that in this case, they're telling MacOS to use the physical Ethernet port for awdl, which can't do airtime slicing.

That prevents it from doing any WiFi direct things, but otherwise would leave it functional.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: