Answer the question
In order to leave comments, you need to log in
Authorization using Wi-Fi (PAM)?
The idea is to log in to the system if there is a smartphone within the range of Wi-Fi and lock the screen if the smartphone is out of range of Wi-Fi. For PAM, I found only authorization using Bluetooth and Flash drives. I also came across such a thing, but I'm not sure if this is exactly what I need, plus I have Cinnamon.
Anyone set it up? Post links to manuals.
Answer the question
In order to leave comments, you need to log in
No way. Wifi was not designed for this. The reason is that the workstation, on which the screen is supposed to be blocked, should not distribute Wi-Fi. Why hasn't this been hacked yet? I can name many reasons, at least for example wifi - multiple access, unlike bluetooth point-to-point. If someone else connect, block the screen? Or if someone else connects with your mac address? Or, my God, someone will create a hotspot with the same ssid as your computer, while the client will connect to it, and not to your computer. Or the wifi network periodically changes in the phone - what should happen in this case?
If you still want to hack, you can, for example, in the same hostapd, hang a hook to connect a specific device (mac?) and unlock the screen. This is done, but I did not check the correctness of the work.
And of course, no one canceled the opportunity to slightly tweak the card driver itself)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question