Odp: Najnowsza wersja MiFi uwala routery
Pokaż mi wyniki kilku poleceń:
brctl show
brctl showstp br-lan
swconfig dev switch0 show
ubus call easyconfig statusOgraniczenia czasowe możesz sobie ręcznie poprawić modyfikując skrypt od ucode, tak jak masz w podanym linku.
Oto one
root@ruter:~# brctl show
bridge name bridge id STP enabled interfaces
br-lan 7fff.802689e66cc7 no wlan0
wlan1
eth0.1
root@ruter:~# brctl showstp br-lan
br-lan
bridge id 7fff.802689e66cc7
designated root 7fff.802689e66cc7
root port 0 path cost 0
max age 10.00 bridge max age 10.00
hello time 1.00 bridge hello time 1.00
forward delay 8.00 bridge forward delay 8.00
ageing time 300.00
hello timer 0.00 tcn timer 0.00
topology change timer 0.00 gc timer 27.33
flags
wlan0 (3)
port id 8003 state forwarding
designated root 7fff.802689e66cc7 path cost 100
designated bridge 7fff.802689e66cc7 message age timer 0.00
designated port 8003 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags
hairpin mode 1
wlan1 (2)
port id 8002 state forwarding
designated root 7fff.802689e66cc7 path cost 100
designated bridge 7fff.802689e66cc7 message age timer 0.00
designated port 8002 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags
hairpin mode 1
eth0.1 (1)
port id 8001 state forwarding
designated root 7fff.802689e66cc7 path cost 100
designated bridge 7fff.802689e66cc7 message age timer 0.00
designated port 8001 forward delay timer 0.00
designated cost 0 hold timer 0.00
flags
root@ruter:~# swconfig dev switch0 show
Global attributes:
enable_vlan: 1
mib: Switch MIB counters
PPE_AC_BCNT0: 0
PPE_AC_PCNT0: 0
PPE_AC_BCNT63: 0
PPE_AC_PCNT63: 0
PPE_MTR_CNT0: 0
PPE_MTR_CNT63: 0
GDM1_TX_GBCNT: 0
GDM1_TX_GPCNT: 0
GDM1_TX_SKIPCNT: 0
GDM1_TX_COLCNT: 0
GDM1_RX_GBCNT1: 0
GDM1_RX_GPCNT1: 0
GDM1_RX_OERCNT: 0
GDM1_RX_FERCNT: 0
GDM1_RX_SERCNT: 0
GDM1_RX_LERCNT: 0
GDM1_RX_CERCNT: 0
GDM1_RX_FCCNT: 0
GDM2_TX_GBCNT: 0
GDM2_TX_GPCNT: 0
GDM2_TX_SKIPCNT: 0
GDM2_TX_COLCNT: 0
GDM2_RX_GBCNT: 0
GDM2_RX_GPCNT: 0
GDM2_RX_OERCNT: 0
GDM2_RX_FERCNT: 0
GDM2_RX_SERCNT: 0
GDM2_RX_LERCNT: 3
GDM2_RX_CERCNT: 0
GDM2_RX_FCCNT: 0
mirror_monitor_port: 0
arl_table: address resolution table
Port 0:
mib: Port 0 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 2
link: port:0 link:down
Port 1:
mib: Port 1 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 1
link: port:1 link:down
Port 2:
mib: Port 2 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 1
link: port:2 link:down
Port 3:
mib: Port 3 MIB counters
TxGPC : 60130
TxBOC : 0
TxGOC : 360299740
TxEPC : 0
RxGPC : 8650
RxBOC : 0
RxGOC : 15391335
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 1
link: port:3 link:up speed:100baseT full-duplex
Port 4:
mib: Port 4 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:4 link:down
Port 5:
mib: Port 5 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 1
link: port:5 link:down
Port 6:
mib: Port 6 MIB counters
TxGPC : 8660
TxBOC : 0
TxGOC : 15950903
TxEPC : 0
RxGPC : 60145
RxBOC : 0
RxGOC : 361326053
RxEPC1 : 0
RxEPC2 : 26
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:6 link:up speed:1000baseT full-duplex
Port 7:
mib: Port 7 MIB counters
TxGPC : 0
TxBOC : 0
TxGOC : 0
TxEPC : 0
RxGPC : 0
RxBOC : 0
RxGOC : 0
RxEPC1 : 0
RxEPC2 : 0
enable_mirror_rx: 0
enable_mirror_tx: 0
pvid: 0
link: port:7 link:down
VLAN 1:
vid: 1
ports: 1 2 3 5 6t
VLAN 2:
vid: 2
ports: 0 6t
root@ruter:~# ubus call easyconfig status
{
"system_uptime_since": "202205080859",
"system_uptime": "2639",
"system_load": "0.01 0.06 0.08",
"system_time": "202205080943",
"wlan_clients": 2,
"lan_clients": 3,
"ports": [
{
"port": "eth0.1",
"speed": -1
}
],
"ports_swconfig": [
{
"port": "eth0.1",
"id": 1,
"role": "lan",
"speed": 0
},
{
"port": "eth0.1",
"id": 2,
"role": "lan",
"speed": 0
},
{
"port": "eth0.1",
"id": 3,
"role": "lan",
"speed": 100
},
{
"port": "eth0.1",
"id": 5,
"role": "lan",
"speed": 0
}
],
"wan_rx": "401045595",
"wan_tx": "14495230",
"wan_uptime_since": "202205080901",
"wan_uptime": "2502",
"wan_up_cnt": "1",
"wan_up_since": [
{
"up": 2497,
"since": "20220508090200"
}
],
"wan_ipaddr": "100.97.76.140",
"vpn_up": false,
"sensors": [
]
}a ten ethtool
root@ruter:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
Supported pause frame use: Symmetric Receive-only
Supports auto-negotiation: Yes
Supported FEC modes: Not reported
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Full
1000baseX/Full
Advertised pause frame use: Symmetric Receive-only
Advertised auto-negotiation: Yes
Advertised FEC modes: Not reported
Speed: Unknown!
Duplex: Unknown! (255)
Port: MII
PHYAD: 7
Transceiver: external
Auto-negotiation: on
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: no