I am trying to turn off my wifi interface using the following ifconfig command:

ifconfig wlan0 down

My wifi disconnected for almost one second and then it comes back up again.

what is the problem and how I fix it ?

  • 2
    use rfkill instead? most likely networkmanager overrides your manual config. Sep 5, 2014 at 16:47

1 Answer 1


You most probably use network-manager, try nmcli nm wifi off.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.