Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

How do I rfkill block wi-fi on my raspberry only for a few hours? (Only ssh access)

Right now I can only access my raspberry pi zero w via wifi but still I would like to block wifi for a few hours every day and then unblock it automatically so I can access the raspberry again.

Normally, one could just use rfkill to block and unblock but because I will not be able to log in when wi-fi is down, I will need a script to unblock wi-fi automatically after a few hours.

Is this possible?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

use a cron-job or a systemd timer.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading