{
"method": "hub.network.get",
"id": "_ID_",
"params": {}
}
{
"error": null,
"id": "_ID_",
"method": "hub.network.get",
"result": {
"interfaces": [
{
"_id": "eth0",
"enabled": "auto",
"hwaddr": "02:42:8B:03:79:38",
"internetAvailable": true,
"ipv4": {
"dns": [
"192.168.10.10",
"1.1.1.1",
"8.8.8.8"
],
"gateway": "192.168.10.1",
"ip": "192.168.10.227",
"mask": "255.255.254.0",
"mode": "dhcp"
},
"network": "wan",
"status": "up",
"type": "ethernet"
},
{
"_id": "wlan0",
"enabled": "auto",
"hwaddr": "8C:F7:10:E4:ED:90",
"internetAvailable": false,
"ipv4": {
"dns": [
"192.168.10.10",
"1.1.1.1",
"8.8.8.8"
],
"gateway": "192.168.10.1",
"ip": "192.168.11.126",
"mask": "255.255.254.0",
"mode": "dhcp"
},
"network": "wan",
"status": "down",
"type": "wifi",
"wifi": {
"channel": 0,
"mode": "sta",
"network": {
"bssid": "",
"encryption": "psk2",
"key": "",
"ssid": ""
},
"region": "00"
}
},
{
"_id": "wlan0.1",
"enabled": "on",
"hwaddr": "8C:F7:10:E4:ED:90",
"ipv4": {
"ip": "192.168.4.1",
"mask": "255.255.255.0",
"mode": "static"
},
"network": "lan",
"status": "down",
"type": "wifi",
"wifi": {
"channel": 0,
"mode": "ap",
"network": {
"encryption": "psk2",
"key": "nothing43here",
"ssid": "ezlo_70010999"
},
"region": "00"
}
},
{
"_id": "mobile0",
"enabled": "auto",
"hwaddr": "ppp",
"imei": "867698040111646",
"internetAvailable": true,
"ipv4": {
"dns": [
"10.74.32.5",
"10.74.32.6"
],
"gateway": "10.64.64.64",
"ip": "100.83.201.239",
"mask": "255.255.255.255",
"mode": "3g",
},
"modem": {
"apnName": "internet",
"dialNumber": "*99#",
"pinCode": "1234",
"simInfo": {
"iccid": "89380062300497206200",
"imsi": "255062015074247"
}
},
"network": "wan",
"priority": 3,
"signalQuality": {
"level": 83,
"rssi": -61
},
"status": "up",
"type": "modem"
},
{
"_id": "mobile1",
"enabled": "auto",
"error": {
"code": -32500,
"data": "network.modem.sim.nopresent",
"message": "No SIM card present in the specified interface"
},
"internetAvailable": false,
"network": "wan",
"status": "down",
"type": "modem"
}
]
}
}