Giter Site home page Giter Site logo

openwrt_bitrate-monitor's People

Contributors

emilwojcik93 avatar

Watchers

 avatar  avatar

openwrt_bitrate-monitor's Issues

Check alternative command for script syntax/logic

New script for parsing JSON output of "wifi status" command which show all required parameters:

wifi reload wlan0
wifi down wlan0
wifi up wlan0
Usage: /sbin/wifi [config|up|down|reload|status]
enables (default), disables or configures devices not yet configured.

output:

{
        "radio0": {
                "up": false,
                "pending": true,
                "autostart": true,
                "disabled": false,
                "retry_setup_failed": false,
                "config": {
                        "hwmode": "11g",
                        "path": "soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0",
                        "country": "PL",
                        "htmode": "HT40",
                        "channel": "13",
                        "disabled": false
                },
                "interfaces": [
                        {
                                "section": "default_radio0",
                                "config": {
                                        "mode": "ap",
                                        "encryption": "psk2",
                                        "key": "SecretPassword",
                                        "ssid": "ssid_name",
                                        "network": [
                                                "lan"
                                        ],
                                        "mode": "ap"
                                }
                        }
                ]
        },
        "radio1": {
                "up": true,
                "pending": false,
                "autostart": true,
                "disabled": false,
                "retry_setup_failed": false,
                "config": {
                        "channel": "36",
                        "hwmode": "11a",
                        "path": "soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0",
                        "htmode": "VHT80",
                        "country": "PL"
                },
                "interfaces": [
                        {
                                "section": "default_radio1",
                                "ifname": "wlan1",
                                "config": {
                                        "wds": true,
                                        "encryption": "psk2",
                                        "mode": "sta",
                                        "key": "SecretPassword",
                                        "ssid": "ssid_name",
                                        "network": [
                                                "lan"
                                        ],
                                        "mode": "sta"
                                }
                        },
                        {
                                "section": "wifinet2",
                                "ifname": "wlan1-1",
                                "config": {
                                        "ssid": "ssid_name",
                                        "encryption": "psk2",
                                        "mode": "ap",
                                        "key": "SecretPassword",
                                        "mode": "ap",
                                        "network": [
                                                "lan"
                                        ]
                                }
                        }
                ]
        }
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.