I remember being able to read the temperature without using Merlin, I think it was native to AsusWRT, but I can't find it, I think it was in the Log or Admin section, any help will be appreciated, thanks
This is much simpler and more elegant than using SSH.Login to the webUI and browse to http://router.asus.com/ajax_coretmp.asp.
cat /proc/dmu/temperature
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1 / 1000}'
# 2.4GHz
wl -i `nvram get wl0_ifname` phy_tempsense | awk '{print $1 / 2 + 20}'
# 5GHz
wl -i `nvram get wl1_ifname` phy_tempsense | awk '{print $1 / 2 + 20}'
For the sake of completeness, and for those with tri-band routers here is some code to get the temperatures for all available wireless radios:WiFi:
Code:# 2.4GHz wl -i `nvram get wl0_ifname` phy_tempsense | awk '{print $1 / 2 + 20}' # 5GHz wl -i `nvram get wl1_ifname` phy_tempsense | awk '{print $1 / 2 + 20}'
All results are in degrees Celsius.
for radioIF in $(nvram get wl_ifnames)
do
wl -i $radioIF status | grep Chanspec | cut -d ' ' -f 2-5
wl -i $radioIF phy_tempsense | awk '{print $1/2 + 20}'
echo
done
We use essential cookies to make this site work, and optional cookies to enhance your experience.