Analisando a conexão entre nós no librerouterOS/libremesh
Ir para navegação
Ir para pesquisar
Nesse tutorial vamos aprender como analisar a conexão entre os nós em uma rede mesh baseada em Libremesh
1- Acesse o seu roteador por ssh:
ssh root@thisnode.info
2- Identifique a(s) interfaces mesh do seu dispositivo:
root@gateway:~# iwinfo
wlan0-mesh ESSID: "LiMe"
Access Point: A8:40:41:1C:85:A0
Mode: Mesh Point Channel: 11 (2.462 GHz)
Tx-Power: 26 dBm Link Quality: 42/70
Signal: -68 dBm Noise: -83 dBm
Bit Rate: 25.3 MBit/s
Encryption: unknown
Type: nl80211 HW Mode(s): 802.11bgn
Hardware: unknown [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy0
wlan1-mesh ESSID: "LiMe"
Access Point: A8:40:41:1C:83:F2
Mode: Mesh Point Channel: 48 (5.240 GHz)
Tx-Power: 23 dBm Link Quality: 27/70
Signal: -84 dBm Noise: -94 dBm
Bit Rate: 65.8 MBit/s
Encryption: unknown
Type: nl80211 HW Mode(s): 802.11an
Hardware: 168C:0033 168C:0205 [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy1
wlan2-mesh ESSID: "LiMe"
Access Point: A8:40:41:1C:83:DB
Mode: Mesh Point Channel: 157 (5.785 GHz)
Tx-Power: 27 dBm Link Quality: 27/70
Signal: -83 dBm Noise: -92 dBm
Bit Rate: 40.5 MBit/s
Encryption: unknown
Type: nl80211 HW Mode(s): 802.11an
Hardware: 168C:0033 168C:0205 [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: yes PHY name: phy2
3- Nesse caso temos duas interfaces responsáveis por fazer conexões na malha, wlan1-mesh e wlan2-mesh. Para ver as conexões que wlan1-mesh está fazendo podemos usar o comando:
4- N
root@gateway:~# iw dev wlan1-mesh station dump | mac2bat
Station praca_wlan1_mesh (on wlan1-mesh)
inactive time: 30 ms
rx bytes: 248379557
rx packets: 1188027
tx bytes: 434012603
tx packets: 454804
tx retries: 128590
tx failed: 121
rx drop misc: 1084
signal: -84 [-88, -87] dBm
signal avg: -83 [-86, -87] dBm
Toffset: 4368999 us
tx bitrate: 26.0 MBit/s MCS 9
rx bitrate: 14.4 MBit/s MCS 1 short GI
expected throughput: 15.563Mbps
mesh llid: 19685
mesh plid: 53947
mesh plink: ESTAB
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
short slot time:yes
connected time: 21806 seconds
Station quadra_wlan1_mesh (on wlan1-mesh)
inactive time: 40 ms
rx bytes: 550920697
rx packets: 3683517
tx bytes: 6111507779
tx packets: 4641373
tx retries: 521927
tx failed: 1198
rx drop misc: 993
signal: -80 [-90, -80] dBm
signal avg: -78 [-91, -77] dBm
Toffset: 3630882 us
tx bitrate: 135.0 MBit/s MCS 6 40MHz short GI
rx bitrate: 40.5 MBit/s MCS 2 40MHz
expected throughput: 44.677Mbps
mesh llid: 43860
mesh plid: 59632
mesh plink: ESTAB
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
short slot time:yes
connected time: 21806 seconds
Station ze_wlan1_mesh (on wlan1-mesh)
inactive time: 20410 ms
rx bytes: 9754
rx packets: 142
tx bytes: 9474
tx packets: 98
tx retries: 728
tx failed: 90
rx drop misc: 63
signal: -86 [-90, -89] dBm
signal avg: -86 [-91, -88] dBm
Toffset: 18446744073708914488 us
tx bitrate: 26.0 MBit/s MCS 3
mesh llid: 5661
mesh plid: 27148
mesh plink: ESTAB
mesh local PS mode: ACTIVE
mesh peer PS mode: UNKNOWN
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
short slot time:yes
connected time: 249 seconds