WRT1900AC Fan Always ON!

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
chadycom
Posts: 22
Joined: Fri Jun 09, 2017 9:29 am

WRT1900AC Fan Always ON!

Post by chadycom »

Hi,
I am using Gargoyle version 1.11.0 on a Linksys WRT1900AC
The Router Fan never stops running and its cold around the place. I found others using version 1.12.0 complaining about the same problem.
Some people talk about running scripts such as the one here https://forum.openwrt.org/t/automatic-f ... 1900ac/223
But I am a windows 10 PC user at home and i dont know how to inject those scripts into the AC1900 if this is actually the right way.
I found a page in the router admin showing pluggins, i can't figure out if I can do anything there.
The Fan running all night is very disturbing and make it hard for anyone to sleep at night, i hope someone can assist
thank you very much

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT1900AC Fan Always ON!

Post by Lantis »

That script is the same as what was included on my website (now gone).

Follow the instructions in this thread for connecting to the filesystem, then create the required script files.
viewtopic.php?f=8&t=8505

You'll probably need to set permissions correctly and make the file executable.
Once you know it works, you can run "/etc/init.d/fan_control enable" to set it to run automatically at boot time.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: WRT1900AC Fan Always ON!

Post by RomanHK »

I simplified it a bit. Access the router via SSH using PuTTY (viewtopic.php?f=8&t=8505) and run these commands, which will do everything for you:

Code: Select all

wget --no-check-certificate http://gargoyle.romanhk.cz/WRT1900AC%20Fan%20Control/fan_control -P /etc/init.d/
wget --no-check-certificate http://gargoyle.romanhk.cz/WRT1900AC%20Fan%20Control/fan_monitor -P /usr/sbin/
chmod +x /etc/init.d/fan_control
chmod +x /usr/sbin/fan_monitor
/etc/init.d/fan_control enable
/etc/init.d/fan_control start
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

chadycom
Posts: 22
Joined: Fri Jun 09, 2017 9:29 am

Re: WRT1900AC Fan Always ON!

Post by chadycom »

Guys,,,

you all rock! thank you so much! It worked but now there is another issue. It keeps running and going off every few seconds
I guess i need to play around with the temperature intervals?
The confusing thing is that the Parameters used in the script dont make any sense. The fan should actually turn on when the high levels are reached am i right?

# The fan will turn on if any of these temperatures is exceeded
CPU_ON=58 # Belkin default is 85
DDR_ON=48 # Belkin default is 65
WIFI_ON=51 # Belkin default is 105

# The fan will turn off if all of the temperatures are below these values
CPU_OFF=80 # Belkin default is 80
DDR_OFF=60 # Belkin default is 60
WIFI_OFF=70 # Belkin default is 100

RomanHK
Posts: 794
Joined: Sat May 04, 2013 4:18 pm
Location: Czech Republik

Re: WRT1900AC Fan Always ON!

Post by RomanHK »

Probably yes. For example, if you have a Belkin router, you need to set different temperature limits. The temperature limits are stored in the file /usr/sbin/fan_monitor and you have to set the values yourself.

You can see in real time how you are doing at the temperature:

Code: Select all

while true; do a=`cat /sys/class/hwmon/hwmon2/temp1_input`; b=`cat /sys/class/hwmon/hwmon1/temp1_input`; c=`cat /sys/class/hwmon/hwmon1/temp2_input`; d=`date +"%H:%M:%S"`; f=`cat /sys/devices/platform/pwm_fan/hwmon/hwmon0/pwm1`; echo $d cputemp=$(($a/1000))" "ddrtemp=$(($b/1000))" "wifitemp=$(($c/1000)) fanstatus=$f;sleep 1; done
P.S. Everything is taken from the OpenWrt website, I have never tested it myself: https://forum.openwrt.org/t/automatic-f ... 1900ac/223
Turris Omnia with OpenWrt 21.02 - Tested
Linksys WRT3200ACM with Gargoyle 1.13.x
TL-WR1043ND v2 with Gargoyle 1.10.0

http://gargoyle.romanhk.cz custom builds by gargoyle users

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: WRT1900AC Fan Always ON!

Post by Lantis »

When I had this running on my router I changed the logic to have a half speed point. You can set the fan to 128 and it will run but not as fast. I found it would operate in this mode most of the time.

I can't recall what temp thresholds I used
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

chadycom
Posts: 22
Joined: Fri Jun 09, 2017 9:29 am

Re: WRT1900AC Fan Always ON!

Post by chadycom »

Hi All,

Here is an interesting update. I upgraded Gargoyle to version 1.12, So basically the files and scripts were no longer there.
I am not having any troubles with the fan any more.
This does not mean it is the solution because I saw others using the same new version having the same challenge. But I guess i got luck :)

Post Reply