ubuntu change frequency to 2,6 GHz code example
Example: how to use iwconfig to change 2.4 ghz
sudo iwconfig <wlan> mode Managed
sudo iwconfig <wlan> freq <desired-freq>
sudo iwconfig <wlan> channel <desired-channel>
sudo iwconfig <wlan> mode Managed
sudo iwconfig <wlan> freq <desired-freq>
sudo iwconfig <wlan> channel <desired-channel>