#StackBounty: #linux #wifi #wpa-supplicant How to prevent wpa_supplicant from connecting to a network, while allowing other networks

Bounty: 50

Based on this answer I try to configure wpa_supplicant as follows:

network={
        ssid="known_to_be_bad"
        key_mgmt=NONE
        disabled=1
}
network={
        key_mgmt=NONE
        priority=-10
}

The idea is that the known_to_be_bad network is not to be used, but I still want wpa_supplicant to consider any other open network.

But with this configuration, it can still happen that wpa_supplicant connects to the bad networking, showing this upon list_networks:

110 known_to_be_bad any [DISABLED]
111     any [CURRENT]

Can I blacklist this ssid more reliably?


Get this bounty!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.