2.4GHz wifi AUTO (but 1, 6 and 11 are the only option) can this be done?

i want to set the 2.4ghz band wifi channel to "AUTO" (but the choices for channels should only be 1, 6 or 11).
is this possible?

I doubt that there is a way to do this automatically by an OpenWrt function. But you could write a script doing that for you.

  • disable autostart for the wlan device (uci or luci gui).
  • Scan environment to identify the less crowded frequency (e. g. iw) and grep/filter out the channel to choose.
  • Set the channel with uci command line or any other cli tool editing config files (e. g. sed).
  • startup your wlan device.

you modify
/etc/config/wireless

option channels '1 6 11'
option channel 'auto'

2 Likes

works
100%
thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.