pivasoftware / easycwmp

EasyCwmp:
http://www.easycwmp.org/
GNU General Public License v2.0
77 stars 61 forks source link

Cannot see wifi information #42

Open mips171 opened 4 years ago

mips171 commented 4 years ago

I can see some device parameters when running easycwmp get, but nothing related to wifi. Didn't see anything in the documentation, but browsing the code I can see that there are functions that get wifi information. Running some of these in my command line returned empty strings.

For instance in line 40 of lan_device there is: wireless | grep "wireless\.@wifi-iface\[.*\]=wifi-iface" | awk -F'[.=]' '{print $2}'

Running it in the command line as uci show wireless | grep "wireless\.@wifi-iface\[[0-9]\+\].instance="

returned nothing... So is something on my OpenWrt router broken, am I doing it wrong, or is it something else?

komeilkma commented 3 years ago

Announce the output of this command here for better debugging of this

uci show wireless thanks