Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Sat Dec 18, 2021 6:59 Post subject:
Hello.
Everything is possible in the world of Linux. Caveat emptor. I'm not responsible for your house burning down, kittens drowning or babies being killed (but not limited to those events) in the process of you being you and doing something I advised or not advised.
I'm not familiar with your router's internals, if it has a FAN or not (pics on the web says it does), if it does, then DD-WRT should have an option on the Services -> Services tab see attached screenshot. <- this is what you should be aiming for with internal fans.
You should be running a pretty recent build of DD-WRT at time of writing this is v3.0-r47853 std (12/15/21)
If that option is missing and the fan is internal then its possible by finding out what the gpio pin is for the fan and the we could cat /proc/dmu/temperature and enable / disable the gpio pin for the fan.
On my router completely different from yours, I have external fans plugged into a USB port and I control them via a script, since the option in DD-WRT doesnt account for USB fans.
Thanks the-joker, I am running build r47581, and there is indeed an option For High Temperature (fan on) and Normal Temperature (fan off) under Services -> Services.
I'm going to tweak these and see how I go. My problem is that the fan basically oscillates between on and off, so I think the current settings are right at the threshold.
If possible, I'd like to get a reading of the current temperature. Do you know how to do this? /proc/dmu does not exist on my device.