Unix & Linux Asked by AdeleGoldberg on November 21, 2021
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?
If you're using hostapd then you could set the desired channel in /etc/hostapd/hostapd.conf
: channel=7
taken from: https://wiki.archlinux.org/index.php/software_access_point
Then there's wifi-ap.config
in Ubuntu: wifi-ap.config set wifi.channel=8
Answered by Artem S. Tashkinov on November 21, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP