You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2021. It is now read-only.
During the auto-connect process, prey is not able to enable airport if it is disabled, which makes it impossible to pull or push any information.
It looks like the function to enable airport in try_to_connect() is
$ networksetup -setairportpower on
This command networksetup returns "The amount of parameters was not correct" as it expects the device name (on my mac, airport is en1) as one of the parameters in order to work successfully.
This line needs to read like:
$ networksetup -setairportpower en1 on
(Although I'm not sure airport is always en1 on all macs)
The text was updated successfully, but these errors were encountered:
It is lines 27 & 28 of prey/platform/mac/functions
Changing them to...
networksetup -setairportpower Airport off 2>/dev/null
networksetup -setairportpower Airport on 2>/dev/null
may be more appropriate.
During the auto-connect process, prey is not able to enable airport if it is disabled, which makes it impossible to pull or push any information.
It looks like the function to enable airport in try_to_connect() is
This command networksetup returns "The amount of parameters was not correct" as it expects the device name (on my mac, airport is en1) as one of the parameters in order to work successfully.
This line needs to read like:
(Although I'm not sure airport is always en1 on all macs)
The text was updated successfully, but these errors were encountered: