How to switch to a different WiFi channel?

I am running a server sending data from a linux embedded device which is hosting its own network using a network module. It is running on an iMX7 processor connected to a network module.

The problem that I am facing is that my host is always unluckily choosing a random channel that is quite noisy and crowded and because of this, my data transfer is having some latencies.

My question is: is there a linux command or a programatic way to switch the wifi channel?

I can run iwlist p2p-wlan0-0 scan | grep (Channel to see the available channels on that interface. But is there a way to enforce my interface which is p2p-wlan0-0 to choose a specific channel like channel 49 for example?

Unix & Linux Asked by AdeleGoldberg on November 21, 2021

1 Answers

One Answer

Answered by Artem S. Tashkinov on November 21, 2021

Add your own answers!

Related Questions

Weird textures on KDE Plasma 5.0

0  Asked on August 11, 2020 by rushisrinivas-k


How do I syntax check a Zsh script?

1  Asked on August 9, 2020 by akhil-jalagam


How can I swap my two screens, left to right?

5  Asked on August 4, 2020 by ripper234


Adding suffix to filename during for loop in bash

1  Asked on August 3, 2020 by mishal-ahmed


Why are aliases skipped if escaped?

2  Asked on August 2, 2020


Why can’t I type a g̃ the same way I type ñ?

1  Asked on July 29, 2020 by mmaluff


Custom logrotate with hostnames

0  Asked on July 29, 2020 by gwynn


Ask a Question

Get help from others!

© 2021 All rights reserved.