Skip to content

How to disable Wifi after boot? #2087

Answered by AlvinSchiller
vizete asked this question in Q&A
Discussion options

You must be logged in to vote

Ah ok, i missunderstood that part.

You can try and add the command rfkill block wifi || true to the file /etc/rc.local file, right before the exit command.
That way the wifi should be disabled on boot and can be activated later again (the same command is used internally in phoniebox).

It worked in my tests.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@AlvinSchiller
Comment options

@vizete
Comment options

@AlvinSchiller
Comment options

Answer selected by vizete
@AlvinSchiller
Comment options

@vizete
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants