Recent content by bjan

  • 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!

  1. B

    Get radio status

    I'm using the radio command to turn of the radio like so: radio off 0 radio off 1 So it might indeed be the problem, though it sounds strange that this method bypasses the nvram state yet the UI still reflects that change. As I mentioned in the previous message, on each UI refresh...
  2. B

    Get radio status

    I get that I can't invoke it from shell, that's why I'm asking if there's another way :) The thing is, there is inconsistency between the values in nvram and the values ioctl return, not sure why. I have the option of wgeting the state.js and greping the values injected there but it seems like...
  3. B

    Get radio status

    Thanks for your response. I tried both previously, they always return 1 regardless of the value seen in the UI, not sure why, so I followed the UI path: The function int get_radio(int unit, int subunit) { char tmp[100], prefix[] = "wlXXXXXXXXXXXXXX"; if (subunit > 0)...
  4. B

    Get radio status

    Hi guys, I'm currently running ASUS RT-AC68U with Asuswrt-Merlin 380.57 and I'm trying to find a way to fetch from the router the current WiFi status (on/off for each frequency) for some WiFi availability orchestration. My personal preference is to get the information using shell and do a...
Top