Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
prevent wpa_supplicant + network-manager from switching SSID
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
luciano
Tux's lil' helper
Tux's lil' helper


Joined: 18 Nov 2004
Posts: 132

PostPosted: Sat Sep 16, 2017 3:34 pm    Post subject: prevent wpa_supplicant + network-manager from switching SSID Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Sep 18, 2017 9:10 am    Post subject: Reply with quote

I needed my phone of the 5G freq only as well, but the android ui lacks the knobs to control that.
So the only other approach is to have separate SSID's for each frequency.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum