PrivatePerson
Occasional Visitor
it doesn't work in any way The width of the channel has not once risen to 160. After deleting the script and rebooting, it became 160.How does it not work, please elaborate
Channel cleared for radar: shows --
it doesn't work in any way The width of the channel has not once risen to 160. After deleting the script and rebooting, it became 160.How does it not work, please elaborate
cru a ChannelChange "30 5 * * * /jffs/scripts/check_channel.sh"
#!/bin/sh
check_channel() {
current_channel=$(nvram get wl1_chanspec)
if [ "$current_channel" != "100/160" ]; then
logger "Current channel is $current_channel, switching to 100/160"
nvram set wl1_chanspec=100/160
nvram commit
service restart_wireless
logger "5GHz channel was changed to 100/160"
else
logger "5GHz channel is already set to 100/160"
fi
}
check_channel
nvram set wl1_bw=5
l -i "eth7" down
l -i "eth7" up
wl -i $1 assoc | grep Chanspec | awk '{print $5}'
wl -i ethX channel [channel]
no DFS channels. 36-64
That’s correct. 36-64 total. I was thinking of no DFS on the upper channels 100-128 which consists of 100-112 & 116-128 where 116-128 & on upper channels also 169-177 is restricted DFS and isn’t allowed unlike in the US. Really a shame.Ch. 50 takes 36-48 non-DFS + 52-64 DFS.
I was thinking of no DFS on the upper channels 100-128
I have not.Have you tried to force the channel with the wl command?
the syntax is:
Without the [channel] number it should report the present channel.
I think I got it installed correctly when I choose option 1 start channelhog I don't get any error message so that's a good signv1.1.1
Updated - 28th June 2022
ChannelHog - Monitor and force maximum 5GHz bandwidth
About;
Tired of badly configured neighbours and DFS cutting your wireless bandwidth in half? Then this is the script for you!
ChannelHog will monitor your current 5GHz channel bandwidth on a daily basis and if it detects anything lower then 160MHz it will restart the 5Ghz radio. This script also includes optional Discord notification support.
Note: Your clients will temporarily be disconnected from the 5GHz band in the event of a restart, this usally takes 1-2 minutes and occurs at 4.45am.
This script will always be open source and free to use, but if you want to support future development you can do so by Donating With PayPal.
Usage;
To open the menu its as simple as;
Code:sh /jffs/addons/channelhog/channelhog.sh
Installation;
In your favorite SSH Client;
Code:mkdir -p /jffs/addons/channelhog && /usr/sbin/curl -s "https://raw.githubusercontent.com/Adamm00/ChannelHog/master/channelhog.sh" -o "/jffs/addons/channelhog/channelhog.sh" && chmod 755 /jffs/addons/channelhog/channelhog.sh && sh /jffs/addons/channelhog/channelhog.sh install
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!