Cezary napisał/a:Pokaz mi wynik
ubus call network.wireless status
Z takiego routera. Następnie zrób iw dev XXX station dump gdzie za XXX podstaw sobie nazwę interfejsu na którym masz zapiętych klientów.
ubus call network.wireless status
{
"radio0": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"hwmode": "11g",
"path": "1e140000.pcie/pci0000:00/0000:00:02.0/0000:02:00.0",
"cell_density": 0,
"noscan": "1",
"noscan": true,
"txpower": 25,
"channel": "1",
"htmode": "HT40",
"country": "PA",
"log_level": 4,
"disabled": false
},
"interfaces": [
{
"section": "default_radio0",
"ifname": "phy0-ap0",
"config": {
"mode": "ap",
"encryption": "sae-mixed",
"ieee80211r": true,
"ieee80211k": true,
"bss_transition": true,
"ft_over_ds": false,
"nasid": "xxxxxx",
"wnm_sleep_mode": true,
"time_advertisement": 2,
"mobility_domain": "xxxx",
"key": "xxxxxxxx",
"ssid": "xxxxxxxxxxxx",
"maclist": [
"60:A4:4C:xx:xx:xx"
],
"ocv": 0,
"network": [
"lan"
],
"mode": "ap"
},
"vlans": [
],
"stations": [
]
}
]
},
"radio1": {
"up": true,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": false,
"config": {
"path": "1e140000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0",
"cell_density": 0,
"txpower": 26,
"country": "PA",
"channel": "36",
"band": "5g",
"log_level": 4,
"htmode": "VHT80",
"disabled": false
},
"interfaces": [
{
"section": "default_radio1",
"ifname": "mesh0",
"config": {
"time_zone": "CET-1CEST,M3.5.0,M10.5.0/3",
"mode": "mesh",
"mesh_id": "xxxx",
"ifname": "mesh0",
"mesh_fwding": true,
"mesh_rssi_threshold": -80,
"disassoc_low_ack": false,
"encryption": "xxxx",
"mesh_hwmp_rootmode": 4,
"mesh_gate_announcements": 1,
"key": "xxxxxxxxxx",
"network": [
"lan"
],
"mode": "mesh"
},
"vlans": [
],
"stations": [
]
}
]
}
}
Klienci:
iw dev phy0-ap0 station dump
Station c4:77:af:47:a4:1a (on phy0-ap0)
inactive time: 780 ms
rx bytes: 1582303
rx packets: 9790
tx bytes: 12398594
tx packets: 11489
tx retries: 12385
tx failed: 6
rx drop misc: 2
signal: -78 [-82, -79] dBm
signal avg: -76 [-80, -77] dBm
tx bitrate: 180.0 MBit/s MCS 12 40MHz short GI
tx duration: 2338560 us
rx bitrate: 108.0 MBit/s MCS 11 40MHz
rx duration: 1076576 us
airtime weight: 256
expected throughput: 94.756Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 26432 seconds
associated at [boottime]: 390106.646s
associated at: 1757644275552 ms
current time: 1757670707512 ms
Station b8:06:0d:9a:11:9c (on phy0-ap0)
inactive time: 0 ms
rx bytes: 3826311
rx packets: 102744
tx bytes: 137689
tx packets: 1818
tx retries: 2253
tx failed: 40
rx drop misc: 1
signal: -85 [-87, -89] dBm
signal avg: -84 [-86, -88] dBm
tx bitrate: 26.0 MBit/s MCS 3
tx duration: 676224 us
rx bitrate: 13.0 MBit/s MCS 1
rx duration: 39376134 us
airtime weight: 256
expected throughput: 4.668Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: yes
MFP: yes
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 26428 seconds
associated at [boottime]: 390113.549s
associated at: 1757644282456 ms
current time: 1757670707513 ms
Station 4c:60:ba:cb:ac:84 (on phy0-ap0)
inactive time: 110 ms
rx bytes: 1777860
rx packets: 11028
tx bytes: 882067
tx packets: 3676
tx retries: 5633
tx failed: 0
rx drop misc: 0
signal: -82 [-84, -85] dBm
signal avg: -81 [-83, -85] dBm
tx bitrate: 21.7 MBit/s MCS 2 short GI
tx duration: 1860640 us
rx bitrate: 19.5 MBit/s MCS 2
rx duration: 1512729 us
airtime weight: 256
expected throughput: 11.352Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 26425 seconds
associated at [boottime]: 390113.746s
associated at: 1757644282652 ms
current time: 1757670707514 ms
Station 7c:a7:b0:b3:f5:3c (on phy0-ap0)
inactive time: 5120 ms
rx bytes: 560916
rx packets: 8451
tx bytes: 378923
tx packets: 4762
tx retries: 7427
tx failed: 1
rx drop misc: 1
signal: -73 [-77, -74] dBm
signal avg: -74 [-78, -75] dBm
tx bitrate: 28.9 MBit/s MCS 3 short GI
tx duration: 1226304 us
rx bitrate: 39.0 MBit/s MCS 4
rx duration: 1687791 us
airtime weight: 256
expected throughput: 22.887Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 26409 seconds
associated at [boottime]: 390129.134s
associated at: 1757644298041 ms
current time: 1757670707515 ms
Mesh:
iw dev mesh0 station dump
Station 8c:3b:ad:3a:c8:6c (on mesh0)
inactive time: 60 ms
rx bytes: 52888784
rx packets: 589252
tx bytes: 11292107
tx packets: 30414
tx retries: 11881
tx failed: 2
rx drop misc: 22918
signal: -46 [-51, -47] dBm
signal avg: -46 [-51, -47] dBm
Toffset: 26527948924 us
tx bitrate: 702.0 MBit/s VHT-MCS 8 80MHz VHT-NSS 2
tx duration: 1617866 us
rx bitrate: 585.1 MBit/s VHT-MCS 6 80MHz short GI VHT-NSS 2
rx duration: 1408674 us
airtime weight: 256
expected throughput: 65.1Mbps
mesh llid: 0
mesh plid: 0
mesh plink: ESTAB
mesh airtime link metric: 124
mesh connected to gate: yes
mesh connected to auth server: no
mesh local PS mode: ACTIVE
mesh peer PS mode: ACTIVE
mesh non-peer PS mode: ACTIVE
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
connected time: 26525 seconds
associated at [boottime]: 390183.960s
associated at: 1757644352866 ms
current time: 1757670877193 ms
Station 8c:3b:ad:3a:d1:0c (on mesh0)
inactive time: 60 ms
rx bytes: 81888094
rx packets: 668805
tx bytes: 129869100
tx packets: 168596
tx retries: 49162
tx failed: 1
rx drop misc: 5294
signal: -70 [-77, -71] dBm
signal avg: -70 [-77, -71] dBm
tx bitrate: 324.0 MBit/s VHT-MCS 8 40MHz VHT-NSS 2
tx duration: 10598967 us
rx bitrate: 260.0 MBit/s VHT-MCS 5 80MHz short GI VHT-NSS 1
rx duration: 3443835 us
airtime weight: 256
expected throughput: 58.410Mbps
mesh llid: 0
mesh plid: 0
mesh plink: ESTAB
mesh airtime link metric: 137
mesh connected to gate: yes
mesh connected to auth server: no
mesh local PS mode: ACTIVE
mesh peer PS mode: ACTIVE
mesh non-peer PS mode: ACTIVE
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
connected time: 26524 seconds
associated at [boottime]: 390184.393s
associated at: 1757644353298 ms
current time: 1757670877194 ms
Station b0:39:56:61:2c:1c (on mesh0)
inactive time: 100 ms
rx bytes: 47413367
rx packets: 565684
tx bytes: 7257552
tx packets: 25232
tx retries: 16789
tx failed: 3
rx drop misc: 12718
signal: -75 [-77, -78] dBm
signal avg: -75 [-77, -79] dBm
Toffset: 26520678517 us
tx bitrate: 351.0 MBit/s VHT-MCS 4 80MHz VHT-NSS 2
tx duration: 1717057 us
rx bitrate: 108.0 MBit/s VHT-MCS 3 40MHz VHT-NSS 2
rx duration: 1338250 us
airtime weight: 256
expected throughput: 56.670Mbps
mesh llid: 0
mesh plid: 0
mesh plink: ESTAB
mesh airtime link metric: 141
mesh connected to gate: yes
mesh connected to auth server: no
mesh local PS mode: ACTIVE
mesh peer PS mode: ACTIVE
mesh non-peer PS mode: ACTIVE
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
connected time: 26520 seconds
associated at [boottime]: 390188.801s
associated at: 1757644357705 ms
current time: 1757670877196 ms
Station b0:39:56:1d:f5:bc (on mesh0)
inactive time: 80 ms
rx bytes: 52493241
rx packets: 601447
tx bytes: 7823822
tx packets: 44688
tx retries: 19279
tx failed: 10
rx drop misc: 17655
signal: -60 [-60, -67] dBm
signal avg: -59 [-59, -68] dBm
Toffset: 26519347587 us
tx bitrate: 702.0 MBit/s VHT-MCS 8 80MHz VHT-NSS 2
tx duration: 2343492 us
rx bitrate: 650.0 MBit/s VHT-MCS 7 80MHz short GI VHT-NSS 2
rx duration: 2077771 us
airtime weight: 256
expected throughput: 66.100Mbps
mesh llid: 0
mesh plid: 0
mesh plink: ESTAB
mesh airtime link metric: 122
mesh connected to gate: yes
mesh connected to auth server: no
mesh local PS mode: ACTIVE
mesh peer PS mode: ACTIVE
mesh non-peer PS mode: ACTIVE
authorized: yes
authenticated: yes
associated: yes
preamble: long
WMM/WME: yes
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
connected time: 26498 seconds
associated at [boottime]: 390210.731s
associated at: 1757644379637 ms
current time: 1757670877199 ms