What's new

reading temperature from AX88U command line

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

mekabe remain

Regular Contributor
Hi,

On my AC88U , I was able to get temperature of CPU and wifi chips with following 3 shell commands:
cputemp=`cat /proc/dmu/temperature | sed 's,øC,,g' | awk '{print $4}'`
chip1temp=`wl -i eth1 phy_tempsense | awk '{print $1}'`
chip2temp=`wl -i eth2 phy_tempsense | awk '{print $1}'`

On the AX88U , none of these work.
How can I get the temperature from command line on AX88U ?

thanks.
 
I found it on another thread for AX86U:

# CPU Temperature with mC->C calculation performed
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1 / 1000}'

# Wireless Module Temperatures with calculations performed (eth6: 2.4GHz, eth7: 5GHz)
wl -i eth6 phy_tempsense | awk '{print $1 / 2 + 20}'
wl -i eth7 phy_tempsense | awk '{print $1 / 2 + 20}'

is this the same for AX88U ?
 
al
Try it and find out.
already tried. it gives an output and seems realistic. But I am not sure.
Because maybe the interface names (eth6 and eth7) are not correct for this model.
Maybe I also need to get a 3rd interface output.
So I asked opinion here. Maybe some who knows could answer.
 
I found it on another thread for AX86U:

# CPU Temperature with mC->C calculation performed
cat /sys/class/thermal/thermal_zone0/temp | awk '{print $1 / 1000}'

# Wireless Module Temperatures with calculations performed (eth6: 2.4GHz, eth7: 5GHz)
wl -i eth6 phy_tempsense | awk '{print $1 / 2 + 20}'
wl -i eth7 phy_tempsense | awk '{print $1 / 2 + 20}'

is this the same for AX88U ?
mekabe,
You can find the interface for 2.4GHz and 5GHz as follows:
Code:
nvram get wl0_ifname
nvram get wl1_ifname
 
The CPU temperature IS the CPU temperature.
The physical ports on your router are:
Code:
ethctl phy-map
...and any command starting with 'wl -i' on a physical interface will yield an error message.
The wireless interfaces are:
Code:
nvram get wl_ifnames
 
Last edited:
I know this is an old thread, but could you confirm what the command line would be to get the wifi temperature. Many thanks.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

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