Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MISC_LUA does not work on boxes w/o 5 Ghz #42

Open
uahim opened this issue Jan 31, 2024 · 0 comments
Open

MISC_LUA does not work on boxes w/o 5 Ghz #42

uahim opened this issue Jan 31, 2024 · 0 comments

Comments

@uahim
Copy link

uahim commented Jan 31, 2024

MISC_LUA did not work at all for me - I assume that the format is different on boxes that only have 2,4 GHz. in the output on my box, "LAN" is uppercase and there is no "desc", only "type":"WLAN - 2,4 GHz"

fixed it for myself with an additional
totalConnectionsWLAN2G=$(grep -io '"type":"wlan - 2' <<< $overview | wc -l)
(but I don't know if "type":"wlan - (...)" is present on boxes with 5ghz)

and an exta -i in grep here
totalConnectionsLAN=$(echo $overview | grep -iow '"type":"lan"' | wc -l)

also, is it just me or is MISC_LUA very, very slow? at least on my box, it takes up to 30 seconds or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant