View previous topic :: View next topic |
Author |
Message |
luciano Tux's lil' helper
Joined: 18 Nov 2004 Posts: 132
|
Posted: Sat Sep 16, 2017 3:34 pm Post subject: prevent wpa_supplicant + network-manager from switching SSID |
|
|
I have a wireless home network with both 2.4 and 5 GHz channels. Each has it's own MAC/BSSID but share an SSID.
I only want to connect to the 5 Ghz channel (YY:YY:YY:YY:YY). So I have blacklisted the 2.4 Ghz channel (XX:XX:XX:XX:XX) using nmcli. When I do "nmcli connection myssid show", I see:
Code: | 802-11-wireless.mac-address-blacklist: XX:XX:XX:XX:XX:XX |
However, I can see in my system log that wpa_supplicant continually tries to hop to this channel when the signal becomes poor!
Code: |
Sep 16 16:22:45 chichenitza wpa_supplicant[328]: wlan0: SME: Trying to authenticate with XX:XX:XX:XX:XX (SSID='myssid' freq=2412 MHz)
Sep 16 16:22:45 chichenitza kernel: wlan0: disconnect from AP YY:YY:YY:YY:YY for new auth to XX:XX:XX:XX:XX
Sep 16 16:22:45 chichenitza kernel: wlan0: authenticate with XX:XX:XX:XX:XX
Sep 16 16:22:45 chichenitza kernel: wlan0: send auth to XX:XX:XX:XX:XX (try 1/3)
Sep 16 16:22:45 chichenitza NetworkManager[277]: <info> [1505575365.4384] device (wlan0): supplicant interface state: completed -> authenticating
Sep 16 16:22:45 chichenitza wpa_supplicant[328]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Sep 16 16:22:45 chichenitza wpa_supplicant[328]: wlan0: Trying to associate with a4:08:f5:70:0f:9e (SSID='myssid' freq=2412 MHz)
Sep 16 16:22:45 chichenitza kernel: wlan0: authenticated
Sep 16 16:22:45 chichenitza kernel: wlan0: associate with XX:XX:XX:XX:XX (try 1/3)
Sep 16 16:22:45 chichenitza NetworkManager[277]: <info> [1505575365.4454] device (wlan0): supplicant interface state: authenticating -> associating
Sep 16 16:22:45 chichenitza kernel: wlan0: RX AssocResp from XX:XX:XX:XX:XX (capab=0x431 status=0 aid=1)
Sep 16 16:22:45 chichenitza wpa_supplicant[328]: wlan0: Associated with XX:XX:XX:XX:XX
Sep 16 16:22:45 chichenitza wpa_supplicant[328]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
|
Is this a bug? |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
|