Red Hat Bugzilla – Bug 999997
NM ignores the profile's channel setting and connects to wifi network
Last modified: 2013-08-31 10:06:56 EDT
Description of problem:
In nmcli, setting the 802-11-wireless.channel property to a specific channel should result for the profile to only connect to networks on the channel specified. However, currently this setting is ignored and profile is used to successfully connect to a same SSID wifi network on different channel as well.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. nmcli connection add type wifi ifname yyy con-name xxx autoconnect off ssid xxx
2. nmcli connection edit xxx
3. nmcli> set 802-11-wireless.band bg
4. nmcli> set 802-11-wireless.channel 11 #(any other than the network is on)
5. Save and quit, nmcli connection up xxx
Profile connects normally
It does not, as the network does not fit the profile
At the moment, NM doesn't allow locking the channel or band of an access point due to kernel/driver and supplicant restrictions, except for AdHoc and Hotspot connections where the channel is determined by the local machine. These parameters should be hidden from nmcli when the wifi mode is "infrastructure". I'm going to dupe this bug to 1000096 since the problem is actually the same.
*** This bug has been marked as a duplicate of bug 1000096 ***