AiMesh channel change cron job

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

HearToLearn

Occasional Visitor
Hi all, long time lurker first time poster.

I've recently upgraded my home network with an RT-AX88 and RT-AX92u to improve my coverage, although I have recently discover AiMesh might not be the best choice?

Is it possible to utilise the nvram cli in some simple shell script in conjunction with AiMesh to discover the node back-haul channel and ssh into the node to change the WiFi channel to something else?

ie.

For this simple example I run the following commands on my master node to discover the channel and change 1 node. I ssh into the master node and discover its on channel 36/160mhz bandwidth, I guess in theory the child node channel should be 52?

nvram show|grep wl1_chlist|awk -F= '{print $2}'
nvram show|grep wl1_chanspec|awk -F= '{print $2}'

ssh [username]:[password]@[node ip] -m aimesh-channel-control.sh

[email protected]:/tmp/home/root# nvram show|grep wl1_chlist|awk -F= '{print $2}'
size: 64781 bytes (66291 left)
36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140
[email protected]:/tmp/home/root# nvram show|grep wl1_chanspec|awk -F= '{print $2}'
size: 64781 bytes (66291 left)
36/160
[email protected]:/tmp/home/root#ssh user:p[email protected] -m aimesh-channel-control.sh
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top