[lime] Comfast CF-313ac - Tests

Borrar esta mensaxe

Responder a esta mensaxe
Autor: Carlos Flores
Data:  
Para: libremesh
Asunto: [lime] Comfast CF-313ac - Tests
Hello everyone again.

Apologies for the delay in responding, but I’ve been quite busy these 
days, which has prevented me from running the tests. Many thanks to 
Ilario and Pony for your responses.

I’ll share the tests I’ve had done:

Firmware 2023-rc2. We installed it on two antennas and it works 
correctly. The antennas connect to each other, the lime-app works with 
two antennas on the network, and the configurations are saved correctly. 
The wifi LED blinks from a clean installation, indicating that the 
hardware is active. Attached lime-report for this version. df results:

root@LiMe-7f62e1:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5120      5120         0 100% /rom
tmpfs                    28412       108     28304   0% /tmp
/dev/mtdblock5             448       256       192  57% /overlay
overlayfs:/overlay         448       256       192  57% /
tmpfs                      512         0       512   0% /dev


Firmware 2024-rc1-mini: We verified that the file system works 
correctly, saving the configurations. We couldn't activate the hardware. 
The wifi LED is off. df results:

root@LiMe-7f62e1:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 4096      4096         0 100% /rom
tmpfs                    28292       116     28176   0% /tmp
tmpfs                    28292        88     28204   0% /tmp/root
tmpfs                      512         0       512   0% /dev
/dev/mtdblock5            1472       232      1240  16% /overlay
overlayfs:/overlay        1472       232      1240  16% /


Firmware 2024-rc1: As I mentioned, the system loads into RAM. 
lime-report attached. Df results:

root@LiMe-7f62e1:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5376      5376         0 100% /rom
tmpfs                    28292       108     28184   0% /tmp
tmpfs                    28292       132     28160   0% /tmp/root
overlayfs:/tmp/root      28292       132     28160   0% /
tmpfs                      512         0       512   0% /dev


I’m not sure if it’s better to write on the forum instead of by email.

Thanks in advance and merry christmas!

-- 
    

Carlos Flores Álvarez

Cofundador y Director de Innovación


CREÁTICA

el Hub - Calle Rocafort 101, Bajo. 28021 MADRID
*Movil: 675 857 112    •    Skype: carlos@??? *

carlos@??? <mailto:carlos@asociacioncreatica.org>    • 
www.creatica.ong <http://www.creatica.ong>

La información contenida en esta comunicación es confidencial. Esta 
comunicación tiene el unico proposito de su uso por el individuo o 
entidad designado como receptor. Si el lector de esta comunicación no es 
el receptor designado, se le notifica por la presente que cualquier 
divulgación, distribución o copia de esta información esta estrictamente 
prohibida.



### CMD echo hostname LiMe-7f62e1

hostname LiMe-7f62e1

### CMD date '+%Y-%m-%d %H:%M:%S'

2023-04-27 20:34:33

### CMD uptime

20:34:33 up 6 min, load average: 0.11, 0.42, 0.27

### FILE /etc/board.json

{
    "model": {
        "id": "comfast,cf-e313ac",
        "name": "COMFAST CF-E313AC"
    },
    "led": {
        "lan": {
            "name": "LAN",
            "sysfs": "green:lan",
            "trigger": "switch0",
            "type": "switch",
            "mode": "",
            "port_mask": "0x02",
            "speed_mask": ""
        },
        "wan": {
            "name": "WAN",
            "sysfs": "green:wan",
            "type": "netdev",
            "device": "eth1",
            "mode": "link tx rx"
        },
        "rssilow": {
            "name": "",
            "sysfs": "red:rssilow",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "1",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        },
        "rssimediumlow": {
            "name": "",
            "sysfs": "red:rssimediumlow",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "26",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        },
        "rssimediumhigh": {
            "name": "",
            "sysfs": "green:rssimediumhigh",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "51",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        },
        "rssihigh": {
            "name": "",
            "sysfs": "green:rssihigh",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "76",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        }
    },
    "rssimon": {
        "wlan0": {
            "refresh": 200000,
            "threshold": 1
        }
    },
    "network": {
        "lan": {
            "device": "eth0",
            "protocol": "static"
        },
        "wan": {
            "device": "eth1",
            "protocol": "dhcp"
        }
    }
}


### FILE /proc/cpuinfo

system type        : Qualcomm Atheros QCA9533 ver 2 rev 0
machine            : COMFAST CF-E313AC
processor        : 0
cpu model        : MIPS 24Kc V7.4
BogoMIPS        : 432.53
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 16
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa            : mips1 mips2 mips32r1 mips32r2
ASEs implemented    : mips16
Options implemented    : tlb 4kex 4k_cache prefetch mcheck ejtag llsc dc_aliases perf_cntr_intr_bit perf
shadow register sets    : 1
kscratch registers    : 0
package            : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available



### FILE /etc/lime_release

LIME_ID="LiMe"
LIME_RELEASE="2023.1-rc2"
LIME_CODENAME="2023.1 second release candidate"
LIME_BRANCH="(no branch)"
LIME_REVISION="4668846"
LIME_DESCRIPTION="LiMe 2023.1-rc2 2023.1 second release candidate ((no branch) rev. 4668846 20230920_1208)"
LIME_BUILDDATE="20230920_1208"


### FILE /etc/openwrt_release

DISTRIB_ID='LiMe'
DISTRIB_RELEASE='2023.1-rc2'
DISTRIB_REVISION='4668846'
DISTRIB_TARGET='ath79/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LiMe 2023.1-rc2 2023.1 second release candidate ((no branch) rev. 4668846 20230920_1208)'
DISTRIB_TAINTS='busybox'

### FILE /etc/openwrt_version

r20134-5f15225c1e

### FILE /etc/config/lime-node

# Read the documentation in /docs directory
# and on http://libremesh.org

### System options

config lime system


### Network general option

config lime network


### WiFi general options

config lime wifi

### FILE /etc/config/lime-community


config lime 'system'
    option hostname 'LiMe-%M4%M5%M6'
    option domain 'thisnode.info'
    option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
    option deferable_reboot_uptime_s '97200'
    option firstbootwizard_configured 'false'
    option firstbootwizard_dismissed 'false'


config lime 'network'
    option primary_interface 'eth0'
    option main_ipv4_address '10.%N1.0.0/16'
    option anygw_dhcp_start '2'
    option anygw_dhcp_limit '0'
    option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
    list protocols 'ieee80211s'
    list protocols 'lan'
    list protocols 'anygw'
    list protocols 'batadv:%N1'
    list protocols 'bmx6:13'
    list protocols 'olsr:14'
    list protocols 'olsr6:15'
    list protocols 'olsr2:16'
    list protocols 'babeld:17'
    list protocols 'bmx7:18'
    list resolvers '4.2.2.2'
    list resolvers '141.1.1.1'
    list resolvers '2001:470:20::2'
    option bmx6_mtu '1500'
    option bmx6_publish_ownip 'false'
    option bmx6_over_batman 'false'
    option bmx6_pref_gw 'none'
    option bmx6_wifi_rate_max '54000000'
    option bmx7_mtu '1500'
    option bmx7_publish_ownip 'false'
    option bmx7_over_batman 'false'
    option bmx7_pref_gw 'none'
    option bmx7_wifi_rate_max 'auto'
    option bmx7_enable_pki 'false'
    option anygw_mac 'aa:aa:aa:%N1:%N2:aa'
    option use_odhcpd 'false'


config lime 'wifi'
    option ap_ssid 'LibreMesh.org'
    option apname_ssid 'LibreMesh.org/%H'
    option adhoc_ssid 'LiMe'
    option adhoc_bssid 'ca:fe:00:c0:ff:ee'
    option adhoc_mcast_rate_2ghz '24000'
    option adhoc_mcast_rate_5ghz '6000'
    option ieee80211s_mcast_rate_2ghz '24000'
    option ieee80211s_mcast_rate_5ghz '6000'
    option ieee80211s_mesh_fwding '0'
    option ieee80211s_mesh_id 'LiMe'


config generic_uci_config 'uhttpd_https'
    list uci_set 'uhttpd.main.redirect_https=0'


config lime-wifi-band '2ghz'
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'
    option distance '100'
    option channel '11'
    option htmode 'HT20'


config lime-wifi-band '5ghz'
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'
    option distance '1000'
    option htmode 'HT40'
    list channel '48'
    list channel '157'



### FILE /etc/config/lime-defaults

# Beware this file is NOT supposed to be edited by the end user, modify /etc/config/lime-node instead
# If the same option or list is defined both in /etc/config/lime-node and lime-community file, the former will prevail
# Beware this file is not supposed to store interface specific configuration, like "config net eth0"

# Read the documentation in /docs directory
# and on http://libremesh.org

config lime system
    option hostname 'LiMe-%M4%M5%M6'
    option domain 'thisnode.info'
    option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
    option deferable_reboot_uptime_s '97200'
    option firstbootwizard_configured false
    option firstbootwizard_dismissed false


config lime network
    option primary_interface 'eth0'
    option main_ipv4_address '10.%N1.0.0/16'
    option anygw_dhcp_start '2'
    option anygw_dhcp_limit '0'
    option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
    list protocols ieee80211s
    list protocols lan
    list protocols anygw
    list protocols batadv:%N1
    list protocols bmx6:13
    list protocols olsr:14
    list protocols olsr6:15
    list protocols olsr2:16
    list protocols babeld:17
    list protocols bmx7:18
    list resolvers 4.2.2.2   # b.resolvers.Level3.net
    list resolvers 141.1.1.1 # cns1.cw.net
    list resolvers 2001:470:20::2 # ordns.he.net
    option bmx6_mtu '1500'
    option bmx6_publish_ownip false
    option bmx6_over_batman false
    option bmx6_pref_gw none
    option bmx6_wifi_rate_max 54000000
    option bmx7_mtu '1500'
    option bmx7_publish_ownip false
    option bmx7_over_batman false
    option bmx7_pref_gw none
    option bmx7_wifi_rate_max 'auto'
    option bmx7_enable_pki false
    option batadv_orig_interval '2000'
    option batadv_routing_algo 'BATMAN_IV'
    option anygw_mac "aa:aa:aa:%N1:%N2:aa"
    option use_odhcpd false


config lime wifi
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'
    option ap_ssid 'LibreMesh.org'
    option apname_ssid 'LibreMesh.org/%H'
    option adhoc_ssid 'LiMe'
    option adhoc_bssid 'ca:fe:00:c0:ff:ee'
    option ieee80211s_mesh_fwding '0'
    option ieee80211s_mesh_id 'LiMe'
    option unstuck_interval '10'
    option unstuck_timeout '300'


config lime-wifi-band '2ghz'
    option channel '11'
    option htmode 'HT20'
    option distance '1000'
    option adhoc_mcast_rate '24000'
    option ieee80211s_mcast_rate '24000'


config lime-wifi-band '5ghz'
    list channel '48'
    list channel '157'
    option htmode 'HT40'
    option distance '10000'
    option adhoc_mcast_rate '6000'
    option ieee80211s_mcast_rate '6000'


config generic_uci_config uhttpd_https
    list uci_set 'uhttpd.main.redirect_https=0'


### FILE /etc/config/lime-autogen

# DO NOT EDIT THIS FILE!. This is autogenerated by lime-config!
# Instead please edit /etc/config/lime-node and/or /etc/config/lime-community files
# and then regenerate this file executing lime-config


config lime-wifi-band '5ghz'
    option adhoc_mcast_rate '6000'
    option htmode 'HT40'
    option ieee80211s_mcast_rate '6000'
    option distance '1000'
    list channel '48'
    list channel '157'
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'


config lime 'network'
    option bmx6_publish_ownip 'false'
    option bmx6_wifi_rate_max '54000000'
    option main_ipv4_address '10.%N1.0.0/16'
    option bmx6_mtu '1500'
    option bmx7_pref_gw 'none'
    option batadv_orig_interval '2000'
    option bmx6_pref_gw 'none'
    option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
    option use_odhcpd 'false'
    option bmx6_over_batman 'false'
    option anygw_mac 'aa:aa:aa:%N1:%N2:aa'
    option primary_interface 'eth0'
    option bmx7_enable_pki 'false'
    option batadv_routing_algo 'BATMAN_IV'
    option bmx7_publish_ownip 'false'
    option anygw_dhcp_limit '0'
    option bmx7_mtu '1500'
    option bmx7_wifi_rate_max 'auto'
    option anygw_dhcp_start '2'
    option bmx7_over_batman 'false'
    list resolvers '4.2.2.2'
    list resolvers '141.1.1.1'
    list resolvers '2001:470:20::2'
    list protocols 'ieee80211s'
    list protocols 'lan'
    list protocols 'anygw'
    list protocols 'batadv:%N1'
    list protocols 'bmx6:13'
    list protocols 'olsr:14'
    list protocols 'olsr6:15'
    list protocols 'olsr2:16'
    list protocols 'babeld:17'
    list protocols 'bmx7:18'


config generic_uci_config 'uhttpd_https'
    list uci_set 'uhttpd.main.redirect_https=0'


config lime-wifi-band '2ghz'
    option channel '11'
    option adhoc_mcast_rate '24000'
    option htmode 'HT20'
    option ieee80211s_mcast_rate '24000'
    option distance '100'
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'


config lime 'wifi'
    option apname_ssid 'LibreMesh.org/%H'
    option ap_ssid 'LibreMesh.org'
    option ieee80211s_mesh_id 'LiMe'
    option unstuck_timeout '300'
    option unstuck_interval '10'
    option ieee80211s_mesh_fwding '0'
    option adhoc_bssid 'ca:fe:00:c0:ff:ee'
    option adhoc_ssid 'LiMe'
    option ieee80211s_mcast_rate_5ghz '6000'
    option ieee80211s_mcast_rate_2ghz '24000'
    option adhoc_mcast_rate_5ghz '6000'
    option adhoc_mcast_rate_2ghz '24000'
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'


config lime 'system'
    option firstbootwizard_dismissed 'false'
    option domain 'thisnode.info'
    option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
    option firstbootwizard_configured 'false'
    option deferable_reboot_uptime_s '97200'
    option hostname 'LiMe-%M4%M5%M6'


config net 'lm_hwd_openwrt_wan'
    option autogenerated 'true'
    list protocols 'ieee80211s'
    list protocols 'anygw'
    list protocols 'batadv:%N1'
    list protocols 'bmx6:0'
    list protocols 'olsr:14'
    list protocols 'olsr6:15'
    list protocols 'olsr2:16'
    list protocols 'babeld:17'
    list protocols 'bmx7:0'
    list protocols 'wan'
    option linux_name 'eth1'



### FILE /etc/config/network


config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'


config globals 'globals'

config device
    option name 'br-lan'
    option type 'bridge'
    list ports 'bat0'
    list ports 'eth0'


config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ip6assign '60'
    option ip6addr 'fd0d:fe46:8ce8::e162:7f00/64'
    option ipaddr '10.13.98.225'
    option netmask '255.255.0.0'
    option mtu '1500'


config interface 'wan'
    option device 'eth1'
    option proto 'dhcp'


config interface 'wan6'
    option device 'eth1'
    option proto 'none'


config device 'lm_net_br_lan_anygw_dev'
    option type 'macvlan'
    option name 'anygw'
    option ifname 'br-lan'
    option macaddr 'aa:aa:aa:0d:fe:aa'


config interface 'lm_net_br_lan_anygw_if'
    option device 'anygw'
    option auto '1'
    option netmask '255.255.0.0'
    option proto 'static'
    option ipaddr '10.13.0.1'
    option ip6addr 'fd0d:fe46:8ce8::1/64'


config rule6 'lm_net_anygw_rule6'
    option src 'fd0d:fe46:8ce8::1/128'
    option lookup '170'


config route6 'lm_net_anygw_route6'
    option interface 'lm_net_br_lan_anygw_if'
    option target 'fd0d:fe46:8ce8::/64'
    option table '170'


config rule 'lm_net_anygw_rule4'
    option src '10.13.0.1/32'
    option lookup '170'


config route 'lm_net_anygw_route4'
    option interface 'lm_net_br_lan_anygw_if'
    option target '10.13.0.0'
    option netmask '255.255.0.0'
    option table '170'


config interface 'bat0'
    option proto 'batadv'
    option routing_algo 'BATMAN_IV'
    option bridge_loop_avoidance '1'
    option multicast_mode '0'
    option orig_interval '2000'
    option distributed_arp_table '0'
    option gw_mode 'client'


config interface 'lm_net_wlan0_mesh'
    option proto 'none'
    option mtu '1536'
    option auto '1'


config device 'lm_net_wlan0_mesh_batadv_dev'
    option type '8021ad'
    option name 'wlan0-mesh_29'
    option ifname '@lm_net_wlan0_mesh'
    option vid '29'
    option macaddr '02:58:47:7f:62:e1'
    option mtu '1532'


config interface 'lm_net_wlan0_mesh_batadv_if'
    option auto '1'
    option device 'wlan0-mesh_29'
    option proto 'batadv_hardif'
    option master 'bat0'


config device 'lm_net_wlan0_mesh_babeld_dev'
    option type '8021ad'
    option name 'wlan0-mesh_17'
    option ifname '@lm_net_wlan0_mesh'
    option vid '17'


config interface 'lm_net_wlan0_mesh_babeld_if'
    option auto '1'
    option device 'wlan0-mesh_17'
    option proto 'static'
    option ipaddr '10.13.98.225'
    option netmask '255.255.255.255'


config device 'lm_net_eth0_batadv_dev'
    option type '8021ad'
    option name 'eth0_29'
    option ifname 'eth0'
    option vid '29'
    option macaddr '02:95:39:7f:62:e1'
    option mtu '1496'


config interface 'lm_net_eth0_batadv_if'
    option auto '1'
    option device 'eth0_29'
    option proto 'batadv_hardif'
    option master 'bat0'


config device 'lm_net_eth0_babeld_dev'
    option type '8021ad'
    option name 'eth0_17'
    option ifname 'eth0'
    option vid '17'
    option mtu '1496'


config interface 'lm_net_eth0_babeld_if'
    option auto '1'
    option device 'eth0_17'
    option proto 'static'
    option ipaddr '10.13.98.225'
    option netmask '255.255.255.255'


config device 'lm_net_eth1_batadv_dev'
    option type '8021ad'
    option name 'eth1_29'
    option ifname 'eth1'
    option vid '29'
    option macaddr '02:bb:ed:7f:62:e1'
    option mtu '1496'


config interface 'lm_net_eth1_batadv_if'
    option auto '1'
    option device 'eth1_29'
    option proto 'batadv_hardif'
    option master 'bat0'


config device 'lm_net_eth1_babeld_dev'
    option type '8021ad'
    option name 'eth1_17'
    option ifname 'eth1'
    option vid '17'
    option mtu '1496'


config interface 'lm_net_eth1_babeld_if'
    option auto '1'
    option device 'eth1_17'
    option proto 'static'
    option ipaddr '10.13.98.225'
    option netmask '255.255.255.255'



### FILE /etc/config/wireless


config wifi-device 'radio0'
    option type 'mac80211'
    option path 'pci0000:00/0000:00:00.0'
    option band '5g'
    option disabled '0'
    option distance '1000'
    option noscan '1'
    option channel '48'
    option htmode 'HT40'


config wifi-iface 'lm_wlan0_ap_radio0'
    option mode 'ap'
    option device 'radio0'
    option ifname 'wlan0-ap'
    option unstuck_interval '10'
    option ssid 'LibreMesh.org'
    option distance '1000'
    option network 'lan'
    option unstuck_timeout '300'


config wifi-iface 'lm_wlan0_apname_radio0'
    option mode 'ap'
    option device 'radio0'
    option ifname 'wlan0-apname'
    option unstuck_interval '10'
    option ssid 'LibreMesh.org/LiMe-7f62e1'
    option distance '1000'
    option network 'lan'
    option unstuck_timeout '300'


config wifi-iface 'lm_wlan0_mesh_radio0'
    option mode 'mesh'
    option device 'radio0'
    option ifname 'wlan0-mesh'
    option network 'lm_net_wlan0_mesh'
    option mcast_rate_2ghz '24000'
    option unstuck_interval '10'
    option mcast_rate_5ghz '6000'
    option unstuck_timeout '300'
    option mcast_rate '6000'
    option mesh_fwding '0'
    option distance '1000'
    option mesh_id 'LiMe'



### CMD dmesg

[    0.000000] Linux version 5.10.176 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r20134-5f15225c1e) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 Thu Apr 27 20:28:15 2023
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is COMFAST CF-E313AC
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000]   Normal zone: 144 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55604K/65536K available (5895K kernel code, 610K rwdata, 1284K rodata, 1224K init, 210K bss, 9932K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000010] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008360] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074953] pid_max: default: 32768 minimum: 301
[    0.080019] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.087727] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.098886] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.110297] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.120744] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.128084] pinctrl core: initialized pinctrl subsystem
[    0.139538] NET: Registered protocol family 16
[    0.145429] thermal_sys: Registered thermal governor 'step_wise'
[    0.220857] clocksource: Switched to clocksource MIPS
[    0.234227] NET: Registered protocol family 2
[    0.239121] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.247898] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.256896] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.265008] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.272470] TCP: Hash tables configured (established 1024 bind 1024)
[    0.279370] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.286352] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.294175] NET: Registered protocol family 1
[    0.298809] PCI: CLS 0 bytes, default 32
[    0.311813] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.323772] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.329931] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.342928] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.354827] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.362199] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.371859] printk: console [ttyS0] disabled
[    0.376458] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.385661] printk: console [ttyS0] enabled
[    0.394732] printk: bootconsole [early0] disabled
[    0.427744] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[    0.433255] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.439876] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.446781] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.454547] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.461498] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.468626] Creating 5 MTD partitions on "spi0.0":
[    0.473659] 0x000000000000-0x000000010000 : "u-boot"
[    0.485911] 0x000000010000-0x000000020000 : "art"
[    0.492399] 0x000000020000-0x0000007e0000 : "firmware"
[    0.501590] 2 uimage-fw partitions found on MTD device firmware
[    0.507727] Creating 2 MTD partitions on "firmware":
[    0.512949] 0x000000000000-0x000000250000 : "kernel"
[    0.519426] 0x000000250000-0x0000007c0000 : "rootfs"
[    0.527921] mtd: setting mtd4 (rootfs) as root device
[    0.533358] 1 squashfs-split partitions found on MTD device rootfs
[    0.539757] 0x000000750000-0x0000007c0000 : "rootfs_data"
[    0.546857] 0x0000007e0000-0x0000007f0000 : "config"
[    0.555566] 0x0000007f0000-0x000000800000 : "nvram"
[    0.961962] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.655393] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.713436] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.723605] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.730483] i2c /dev entries driver
[    1.737141] NET: Registered protocol family 10
[    1.755972] Segment Routing with IPv6
[    1.759912] NET: Registered protocol family 17
[    1.764743] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.778168] 8021q: 802.1Q VLAN Support v1.8
[    1.783759] PCI host bridge /ahb/pcie-controller@180c0000 ranges:
[    1.790114]  MEM 0x0000000010000000..0x0000000013ffffff
[    1.795593]   IO 0x0000000000000000..0x0000000000000000
[    1.801258] PCI host bridge to bus 0000:00
[    1.805503] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    1.812649] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.818403] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[    1.825434] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.833693] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000
[    1.839933] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.847103] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.853988] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.860914] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    2.203021] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:00 [uid=004dd042, driver=Generic PHY]
[    2.213619] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    2.234740] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.252173] Freeing unused kernel memory: 1224K
[    2.256856] This architecture does not have kernel memory protection.
[    2.263563] Run /sbin/init as init process
[    2.267792]   with arguments:
[    2.267797]     /sbin/init
[    2.267801]   with environment:
[    2.267806]     HOME=/
[    2.267810]     TERM=linux
[    3.058452] init: Console is alive
[    3.062795] init: - watchdog -
[    4.697981] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.752404] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.762143] init: - preinit -
[    6.365964] random: jshn: uninitialized urandom read (4 bytes read)
[    6.550108] random: jshn: uninitialized urandom read (4 bytes read)
[    6.672736] random: jshn: uninitialized urandom read (4 bytes read)
[    7.415797] eth0: link up (1000Mbps/Full duplex)
[    7.420630] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.641556] random: procd: uninitialized urandom read (4 bytes read)
[   11.899426] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   11.919219] urandom-seed: Seed file not found (/etc/urandom.seed)
[   12.174400] eth0: link down
[   12.195395] procd: - early -
[   12.198916] procd: - watchdog -
[   13.001021] procd: - watchdog -
[   13.039520] procd: - ubus -
[   13.256501] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.267019] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.281583] random: ubusd: uninitialized urandom read (4 bytes read)
[   13.293481] procd: - init -
[   14.651669] random: jshn: uninitialized urandom read (4 bytes read)
[   14.721739] random: ubusd: uninitialized urandom read (4 bytes read)
[   14.728860] random: ubus: uninitialized urandom read (4 bytes read)
[   14.790373] kmodloader: loading kernel modules from /etc/modules.d/*
[   15.400966] urngd: v1.0.2 started.
[   15.446173] Loading modules backported from Linux version v5.15.92-0-ge515b9902f5f
[   15.454092] Backport generated by backports.git v5.15.92-1-0-gdfe0f60c
[   15.877589] PPP generic driver version 2.4.2
[   15.893435] NET: Registered protocol family 24
[   15.986238] ath10k 5.15 driver, optimized for CT firmware, probing pci device: 0x56.
[   16.010335] random: crng init done
[   16.013939] random: 26 urandom warning(s) missed due to ratelimiting
[   16.022436] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   16.029240] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   19.442111] ath10k_pci 0000:00:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   19.451712] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   19.472620] ath10k_pci 0000:00:00.0: firmware ver 10.4b-ct-9888-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 59e741e7
[   19.805512] ath10k_pci 0000:00:00.0: Loading BDF type 0
[   20.568399] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id 0:24 crc32 3a069bee
[   22.445654] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   22.453478] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   22.504817] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   22.516178] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508'
[   22.760642] ath10k_pci 0000:00:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1
[   22.862487] ath: EEPROM regdomain: 0x0
[   22.862503] ath: EEPROM indicates default country code should be used
[   22.862508] ath: doing EEPROM country->regdmn map search
[   22.862525] ath: country maps to regdmn code: 0x3a
[   22.862533] ath: Country alpha2 being used: US
[   22.862538] ath: Regpair used: 0x3a
[   22.961181] batman_adv: B.A.T.M.A.N. advanced 2022.0-openwrt-6 (compatibility version 15) loaded
[   23.124107] kmodloader: done loading kernel modules from /etc/modules.d/*
[   76.908117] eth0: link up (1000Mbps/Full duplex)
[   76.921655] br-lan: port 1(eth0) entered blocking state
[   76.927080] br-lan: port 1(eth0) entered disabled state
[   76.932980] device eth0 entered promiscuous mode
[   76.960244] br-lan: port 1(eth0) entered blocking state
[   76.965757] br-lan: port 1(eth0) entered forwarding state
[   77.024503] device br-lan entered promiscuous mode
[   77.277291] device eth1 entered promiscuous mode
[   77.941007] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   79.440984] 8021q: adding VLAN 0 to HW filter on device bat0
[   79.511840] br-lan: port 2(bat0) entered blocking state
[   79.517263] br-lan: port 2(bat0) entered disabled state
[   79.523180] device bat0 entered promiscuous mode
[   79.528166] br-lan: port 2(bat0) entered blocking state
[   79.533642] br-lan: port 2(bat0) entered forwarding state
[   79.940985] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   79.949365] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   81.616419] batman_adv: bat0: Adding interface: eth0_29
[   81.621947] batman_adv: bat0: The MTU of interface eth0_29 is too small (1496) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   81.646925] batman_adv: bat0: Interface activated: eth0_29
[   90.194925] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   90.224775] jffs2_build_filesystem(): unlocking the mtd device... 
[   90.224942] done.
[   90.233381] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   90.961281] ath10k_pci 0000:00:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   90.976853] ath10k_pci 0000:00:00.0: msdu-desc: 2500  skid: 32
[   91.028483] ath10k_pci 0000:00:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   91.040008] ath10k_pci 0000:00:00.0: wmi print 'free: 114572 iram: 12644 sram: 29508'
[   91.361201] ath10k_pci 0000:00:00.0: rts threshold -1
[   91.374179] ath10k_pci 0000:00:00.0: Firmware lacks feature flag indicating a retry limit of > 2 is OK, requested limit: 4
[   91.459407] br-lan: port 3(wlan0-ap) entered blocking state
[   91.465272] br-lan: port 3(wlan0-ap) entered disabled state
[   91.471519] device wlan0-ap entered promiscuous mode
[   91.861180] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-ap: link becomes ready
[   91.868373] br-lan: port 3(wlan0-ap) entered blocking state
[   91.874230] br-lan: port 3(wlan0-ap) entered forwarding state
[   91.932114] br-lan: port 4(wlan0-apname) entered blocking state
[   91.938259] br-lan: port 4(wlan0-apname) entered disabled state
[   91.944985] device wlan0-apname entered promiscuous mode
[   91.959878] ath10k_pci 0000:00:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   92.046763] ath10k_pci 0000:00:00.0: rts threshold -1
[   92.071966] br-lan: port 4(wlan0-apname) entered blocking state
[   92.078110] br-lan: port 4(wlan0-apname) entered forwarding state
[   92.417248] br-lan: port 4(wlan0-apname) entered disabled state
[   92.501033] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-apname: link becomes ready
[   92.508752] br-lan: port 4(wlan0-apname) entered blocking state
[   92.514988] br-lan: port 4(wlan0-apname) entered forwarding state
[   93.561188] done.
[   93.563233] jffs2: notice: (3059) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   94.661419] ath10k_pci 0000:00:00.0: rts threshold -1
[   95.391154] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-mesh: link becomes ready
[   95.943891] overlayfs: upper fs does not support tmpfile.
[   96.062060] device wlan0-mesh entered promiscuous mode
[   96.829323] batman_adv: bat0: Adding interface: wlan0-mesh_29
[   96.835362] batman_adv: bat0: Interface activated: wlan0-mesh_29
[  119.199696] ath10k_pci 0000:00:00.0: wmi: fixing invalid VHT TX rate code 0xff


### CMD batctl if

eth0_29: active
wlan0-mesh_29: active

### CMD batctl o

[B.A.T.M.A.N. adv 2022.0-openwrt-6, MainIF/MAC: eth0_29/02:95:39:7f:62:e1 (bat0/2e:2b:1f:05:f7:b4 BATMAN_IV)]
   Originator        last-seen (#/255) Nexthop           [outgoingIF]


### CMD bmx6 -c show=status show=interfaces show=links show=originators show=tunnels

/bin/lime-report: eval: line 13: bmx6: not found

### CMD bmx7 -c show=status show=interfaces show=links show=originators show=tunnels

/bin/lime-report: eval: line 13: bmx7: not found

### CMD echo dump | nc ::1 30003

BABEL 1.0
version babeld-1.12.2-ubus-mod
host LiMe-7f62e1
my-id e2:e1:a9:ff:fe:7f:62:e1
ok
add interface wlan0-mesh_17 up true ipv6 fe80::e2e1:a9ff:fe7f:62e3 ipv4 10.13.98.225
add interface eth0_17 up true ipv6 fe80::e2e1:a9ff:fe7f:62e1 ipv4 10.13.98.225
add interface eth1_17 up false
add xroute fd0d:fe46:8ce8::/64-::/0 prefix fd0d:fe46:8ce8::/64 from ::/0 metric 0
add xroute 10.13.0.0/16-0.0.0.0/0 prefix 10.13.0.0/16 from 0.0.0.0/0 metric 0
ok

### CMD ubus call babeld get_info

{
    "babeld-version": "babeld-1.12.2-ubus-mod",
    "my-id": "e2:e1:a9:ff:fe:7f:62:e1",
    "host": "LiMe-7f62e1"
}


### CMD ubus call babeld get_neighbours

{
    "IPv4": {

        
    },
    "IPv6": {

        
    }
}


### CMD ubus call babeld get_xroutes

{
    "IPv4": {
        "10.13.0.0/16": {
            "src-prefix": "0.0.0.0/0",
            "metric": 0
        }
    },
    "IPv6": {
        "fd0d:fe46:8ce8::/64": {
            "src-prefix": "::/0",
            "metric": 0
        }
    }
}


### CMD ubus call babeld get_routes

{
    "IPv4": {

        
    },
    "IPv6": {

        
    }
}


### CMD free

              total        used        free      shared  buff/cache   available
Mem:          56828       26896       16404         264       13528       10756
Swap:             0           0           0


### CMD ps

  PID USER       VSZ STAT COMMAND
    1 root      1684 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW   [kworker/0:0-eve]
    4 root         0 IW<  [kworker/0:0H-kb]
    5 root         0 IW   [kworker/u2:0-ph]
    6 root         0 IW<  [mm_percpu_wq]
    7 root         0 SW   [rcu_tasks_trace]
    8 root         0 SW   [ksoftirqd/0]
    9 root         0 IW<  [netns]
   10 root         0 IW   [kworker/u2:1-ba]
   44 root         0 SW   [oom_reaper]
   45 root         0 IW   [kworker/0:1-eve]
   46 root         0 IW   [kworker/u2:2-ph]
  116 root         0 IW<  [writeback]
  118 root         0 SW   [kcompactd0]
  130 root         0 IW<  [kblockd]
  131 root         0 IW<  [blkcg_punt_bio]
  132 root         0 SW   [watchdogd]
  166 root         0 SW   [kswapd0]
  168 root         0 IW<  [kthrotld]
  203 root         0 SW   [spi0]
  393 root         0 IW<  [ipv6_addrconf]
  394 root         0 IW   [kworker/0:2-eve]
  404 root         0 IW<  [kworker/0:1H-kb]
  554 ubus      1332 S    /sbin/ubusd
  555 root       996 S    /sbin/askfirst /usr/libexec/login.sh
  590 root      1108 S    /sbin/urngd
  680 root         0 IW<  [cfg80211]
  719 root         0 IW<  [ath10k_wq]
  720 root         0 IW<  [ath10k_aux_wq]
  721 root         0 IW<  [ath10k_tx_compl]
  888 root         0 IW<  [bat_events]
 1559 logd      1340 S    /sbin/logd -S 64
 1613 root      2048 S    /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30
 1841 root      1208 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3
 1945 root      2656 S    {hostapd} /sbin/ujail -t 5 -n hostapd -U network -G network -C /etc/capabilities/wpad.json -
 1946 root      2656 S    {wpa_supplicant} /sbin/ujail -t 5 -n wpa_supplicant -U network -G network -C /etc/capabiliti
 1949 network   4600 S    /usr/sbin/hostapd -s -g /var/run/hostapd/global
 1972 network   4436 S    /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
 1994 root      1972 S    {hotplug-initd-o} /usr/bin/lua /usr/bin/hotplug-initd-observer
 2056 root      1844 S    /sbin/netifd
 2118 root      1312 S    /usr/sbin/crond -f -c /etc/crontabs -l 5
 2159 root      1184 S    /usr/bin/netserver
 2213 root      3236 S    /usr/sbin/uhttpd -f -h /www -r LiMe-7f62e1 -x /cgi-bin -l /cgi-bin/luci -L /usr/lib/lua/luci
 2484 root      1404 S    /usr/sbin/babeld -I  -c /etc/babeld.conf -c /var/etc/babeld.conf
 2583 root         0 IW   [kworker/u2:3-ph]
 2912 root      2656 S    {dnsmasq} /sbin/ujail -t 5 -n dnsmasq -u -l -e USER_DHCPSCRIPT -r /bin/ubus -r /etc/TZ -r /e
 2924 dnsmasq   1524 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411
 3074 root      1508 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411
 3164 root         0 SWN  [jffs2_gcd_mtd5]
 3202 root         0 IW   [kworker/u2:4]
 3322 root      1496 S    /usr/sbin/rssileds wlan0 200000 1 red:rssilow 1 100 0 1 red:rssimediumlow 26 100 0 1 green:r
 3359 root      2656 S    {ntpd} /sbin/ujail -t 5 -n ntpd -U ntp -G ntp -C /etc/capabilities/ntpd.json -c -u -r /bin/u
 3376 ntp       1308 S    /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.n
 3825 root      1308 S    /bin/ash -c ((sleep $(($(random-numgen) % 1000)); shared-state-publish-all &> /dev/null)&)
 3838 root      1308 S    sleep 392
 5031 root      1228 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3 -2 9
 5032 root      1312 S    -ash
 5059 root      1328 S    {lime-report} /bin/sh /bin/lime-report
 5158 root      1328 S    {lime-report} /bin/sh /bin/lime-report
 5161 root      1316 R    ps


### CMD ip address show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/16 brd 10.13.255.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fd0d:fe46:8ce8::e162:7f00/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::e2e1:a9ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever
6: anygw@br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether aa:aa:aa:0d:fe:aa brd ff:ff:ff:ff:ff:ff
    inet 10.13.0.1/16 brd 10.13.255.255 scope global anygw
       valid_lft forever preferred_lft forever
    inet6 fd0d:fe46:8ce8::1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::a8aa:aaff:fe0d:feaa/64 scope link 
       valid_lft forever preferred_lft forever
7: eth0_17@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/32 brd 255.255.255.255 scope global eth0_17
       valid_lft forever preferred_lft forever
    inet6 fe80::e2e1:a9ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever
9: eth1_17@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/32 brd 255.255.255.255 scope global eth1_17
       valid_lft forever preferred_lft forever
10: eth1_29@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000
    link/ether 02:bb:ed:7f:62:e1 brd ff:ff:ff:ff:ff:ff
11: bat0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UNKNOWN group default qlen 1000
    link/ether 2e:2b:1f:05:f7:b4 brd ff:ff:ff:ff:ff:ff
12: eth0_29@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue master bat0 state UP group default qlen 1000
    link/ether 02:95:39:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::95:39ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever
13: wlan0-mesh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1536 qdisc noqueue state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::e2e1:a9ff:fe7f:62e3/64 scope link 
       valid_lft forever preferred_lft forever
14: wlan0-ap: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
    link/ether e2:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff permaddr e0:e1:a9:7f:62:e3
    inet6 fe80::e0e1:a9ff:fe7f:62e3/64 scope link 
       valid_lft forever preferred_lft forever
15: wlan0-apname: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP group default qlen 1000
    link/ether e6:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff permaddr e0:e1:a9:7f:62:e3
    inet6 fe80::e4e1:a9ff:fe7f:62e3/64 scope link 
       valid_lft forever preferred_lft forever
16: wlan0-mesh_17@wlan0-mesh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1536 qdisc noqueue state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/32 brd 255.255.255.255 scope global wlan0-mesh_17
       valid_lft forever preferred_lft forever
    inet6 fe80::e2e1:a9ff:fe7f:62e3/64 scope link 
       valid_lft forever preferred_lft forever
17: wlan0-mesh_29@wlan0-mesh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1532 qdisc noqueue master bat0 state UP group default qlen 1000
    link/ether 02:58:47:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::58:47ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever


### CMD ip route show

10.13.0.0/16 dev br-lan proto kernel scope link src 10.13.98.225
10.13.0.0/16 dev anygw proto kernel scope link src 10.13.0.1

### CMD brctl show

bridge name    bridge id        STP enabled    interfaces
br-lan        7fff.e0e1a97f62e1    no        eth0
                            bat0
                            wlan0-ap
                            wlan0-apname


### CMD ip link show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
6: anygw@br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether aa:aa:aa:0d:fe:aa brd ff:ff:ff:ff:ff:ff
7: eth0_17@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
9: eth1_17@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
10: eth1_29@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
    link/ether 02:bb:ed:7f:62:e1 brd ff:ff:ff:ff:ff:ff
11: bat0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 2e:2b:1f:05:f7:b4 brd ff:ff:ff:ff:ff:ff
12: eth0_29@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue master bat0 state UP mode DEFAULT group default qlen 1000
    link/ether 02:95:39:7f:62:e1 brd ff:ff:ff:ff:ff:ff
13: wlan0-mesh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1536 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff
14: wlan0-ap: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP mode DEFAULT group default qlen 1000
    link/ether e2:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff permaddr e0:e1:a9:7f:62:e3
15: wlan0-apname: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP mode DEFAULT group default qlen 1000
    link/ether e6:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff permaddr e0:e1:a9:7f:62:e3
16: wlan0-mesh_17@wlan0-mesh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1536 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e3 brd ff:ff:ff:ff:ff:ff
17: wlan0-mesh_29@wlan0-mesh: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1532 qdisc noqueue master bat0 state UP mode DEFAULT group default qlen 1000
    link/ether 02:58:47:7f:62:e1 brd ff:ff:ff:ff:ff:ff


### CMD df

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5120      5120         0 100% /rom
tmpfs                    28412       120     28292   0% /tmp
tmpfs                    28412       144     28268   1% /tmp/root
tmpfs                      512         0       512   0% /dev
/dev/mtdblock5             448       284       164  63% /overlay
overlayfs:/overlay         448       284       164  63% /


### CMD logread -l 20

Thu Apr 27 20:31:53 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:31:53 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:32:00 2023 cron.err crond[2118]: USER root pid 4861 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Thu Apr 27 20:32:26 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:32:26 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:32:58 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:32:58 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:33:35 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:33:35 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:33:59 2023 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(anygw) 10.13.120.241 00:e0:19:00:19:f6
Thu Apr 27 20:33:59 2023 daemon.info dnsmasq-dhcp[1]: DHCPACK(anygw) 10.13.120.241 00:e0:19:00:19:f6 ThinkPad-X1-Carbon
Thu Apr 27 20:34:00 2023 cron.err crond[2118]: USER root pid 5013 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Thu Apr 27 20:34:00 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:34:00 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:34:00 2023 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(anygw) 10.13.120.241 00:e0:19:00:19:f6
Thu Apr 27 20:34:00 2023 daemon.info dnsmasq-dhcp[1]: DHCPACK(anygw) 10.13.120.241 00:e0:19:00:19:f6 ThinkPad-X1-Carbon
Thu Apr 27 20:34:04 2023 authpriv.info dropbear[5031]: Child connection from 10.13.120.241:34670
Thu Apr 27 20:34:27 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:34:27 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available

### CMD logread | grep err

Thu Apr 27 20:28:38 2023 kern.err kernel: [    0.439876] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Thu Apr 27 20:28:38 2023 kern.err kernel: [    0.446781] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Thu Apr 27 20:28:38 2023 kern.err kernel: [    0.454547] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Thu Apr 27 20:28:38 2023 kern.err kernel: [    0.461498] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Thu Apr 27 20:28:38 2023 kern.err kernel: [    0.961962] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
Thu Apr 27 20:29:12 2023 cron.err crond[2118]: crond (busybox 1.35.0) started, log level 5
Thu Apr 27 20:29:22 2023 daemon.err babeld[2484]: Warning: couldn't determine channel of interface eth0_17.
Thu Apr 27 20:29:22 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:22 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:23 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:23 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:23 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:23 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:24 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:24 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:24 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:24 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:25 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:25 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:25 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:25 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:26 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:26 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:26 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:26 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:26 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:26 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:27 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:27 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:27 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:27 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:28 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:28 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:32 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:32 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:33 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:33 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:33 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:33 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:34 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:35 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:35 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:35 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:35 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:35 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:35 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:36 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:36 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:36 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:36 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:36 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:36 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Warning: couldn't determine channel of interface wlan0-mesh_17.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: send: Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:37 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:38 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:39 2023 daemon.err mount_root: failed to sync jffs2 overlay
Thu Apr 27 20:29:40 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:40 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:41 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:41 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:42 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:42 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:29:44 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:29:44 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3806 cmd ((sleep $(($(random-numgen) % 120)); shared-state sync dnsmasq-leases &> /dev/null)&)
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3807 cmd /usr/sbin/last_internet save
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3808 cmd ((sleep $(($(random-numgen) % 120)); shared-state sync babeld-hosts &> /dev/null)&)
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3809 cmd ((sleep $(($(random-numgen) % 120)); shared-state sync bat-hosts &> /dev/null)&)
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3812 cmd ((sleep $(($(random-numgen) % 120)); shared-state sync nodes_and_links &> /dev/null)&)
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3813 cmd ((sleep $(($(random-numgen) % 120)); shared-state sync dnsmasq-hosts &> /dev/null)&)
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3818 cmd ((sleep $(($(random-numgen) % 1000)); shared-state-publish-all &> /dev/null)&)
Thu Apr 27 20:30:00 2023 cron.err crond[2118]: USER root pid 3820 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Thu Apr 27 20:30:08 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:30:08 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:30:41 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:30:41 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:31:16 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:31:16 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:31:53 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:31:53 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:32:00 2023 cron.err crond[2118]: USER root pid 4861 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Thu Apr 27 20:32:26 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:32:26 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:32:58 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:32:58 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:33:35 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:33:35 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:34:00 2023 cron.err crond[2118]: USER root pid 5013 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Thu Apr 27 20:34:00 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:34:00 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Thu Apr 27 20:34:27 2023 daemon.err babeld[2484]: Interface eth1_17 has no link-local address.
Thu Apr 27 20:34:27 2023 daemon.err babeld[2484]: setsockopt(IPV6_LEAVE_GROUP): Address not available


### CMD iw dev wlan0-mesh station dump


### CMD iw dev wlan1-mesh station dump

command failed: No such device (-19)

### CMD iw dev wlan2-mesh station dump

command failed: No such device (-19)

### CMD iw dev wlan0-mesh mpath dump

DEST ADDR         NEXT HOP          IFACE    SN    METRIC    QLEN    EXPTIME        DTIM    DRET    FLAGS    HOP_COUNT    PATH_CHANGE


### CMD iw dev wlan1-mesh mpath dump

command failed: No such device (-19)

### CMD iw dev wlan2-mesh mpath dump

command failed: No such device (-19)

### CMD iwinfo

wlan0-ap  ESSID: "LibreMesh.org"
          Access Point: E2:E1:A9:7F:62:E3
          Mode: Master  Channel: 48 (5.240 GHz)  HT Mode: HT40
          Center Channel 1: 46 2: unknown
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -101 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 168C:0056 0000:0000 [Qualcomm Atheros QCA9886]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0


wlan0-apname ESSID: "LibreMesh.org/LiMe-7f62e1"
          Access Point: E6:E1:A9:7F:62:E3
          Mode: Master  Channel: 48 (5.240 GHz)  HT Mode: HT40
          Center Channel 1: 46 2: unknown
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -101 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 168C:0056 0000:0000 [Qualcomm Atheros QCA9886]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0


wlan0-mesh ESSID: "LiMe"
          Access Point: E0:E1:A9:7F:62:E3
          Mode: Mesh Point  Channel: 48 (5.240 GHz)  HT Mode: HT40
          Center Channel 1: 46 2: unknown
          Tx-Power: 23 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -101 dBm
          Bit Rate: unknown
          Encryption: none
          Type: nl80211  HW Mode(s): 802.11ac/n
          Hardware: 168C:0056 0000:0000 [Qualcomm Atheros QCA9886]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0



### CMD wifi status

{
    "radio0": {
        "up": true,
        "pending": false,
        "autostart": true,
        "disabled": false,
        "retry_setup_failed": false,
        "config": {
            "path": "pci0000:00/0000:00:00.0",
            "band": "5g",
            "distance": "1000",
            "noscan": "1",
            "noscan": true,
            "channel": "48",
            "htmode": "HT40",
            "disabled": false
        },
        "interfaces": [
            {
                "section": "lm_wlan0_ap_radio0",
                "ifname": "wlan0-ap",
                "config": {
                    "mode": "ap",
                    "ifname": "wlan0-ap",
                    "ssid": "LibreMesh.org",
                    "mode": "ap",
                    "network": [
                        "lan"
                    ]
                },
                "vlans": [

                    
                ],
                "stations": [

                    
                ]
            },
            {
                "section": "lm_wlan0_apname_radio0",
                "ifname": "wlan0-apname",
                "config": {
                    "mode": "ap",
                    "ifname": "wlan0-apname",
                    "ssid": "LibreMesh.org/LiMe-7f62e1",
                    "mode": "ap",
                    "network": [
                        "lan"
                    ]
                },
                "vlans": [

                    
                ],
                "stations": [

                    
                ]
            },
            {
                "section": "lm_wlan0_mesh_radio0",
                "ifname": "wlan0-mesh",
                "config": {
                    "mode": "mesh",
                    "ifname": "wlan0-mesh",
                    "mcast_rate": 6000,
                    "mesh_fwding": false,
                    "mesh_id": "LiMe",
                    "mode": "mesh",
                    "network": [
                        "lm_net_wlan0_mesh"
                    ]
                },
                "vlans": [

                    
                ],
                "stations": [

                    
                ]
            }
        ]
    }
}


### CMD swconfig dev switch0 show

/bin/lime-report: eval: line 13: swconfig: not found

### CMD fw4 print

[!] Automatically including '/usr/share/lime/lime-proto-anygw_anycast-rules.nft'
table inet fw4
flush table inet fw4

table inet fw4 {
    #
    # Defines
    #


    define lan_devices = { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" }
    define lan_subnets = { 10.13.0.0/16, fd0d:fe46:8ce8::/64, 10.13.98.225 }


    define wan_devices = { "eth1" }
    define wan_subnets = {  }



    #
    # User includes
    #


    include "/etc/nftables.d/*.nft"



    #
    # Filter rules
    #


    chain input {
        type filter hook input priority filter; policy accept;


        iifname "lo" accept comment "!fw4: Accept traffic from loopback"


        ct state established,related accept comment "!fw4: Allow inbound established and related flows"
        tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
        iifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
        iifname "eth1" jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
    }


    chain forward {
        type filter hook forward priority filter; policy accept;


        ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
        iifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
        iifname "eth1" jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
    }


    chain output {
        type filter hook output priority filter; policy accept;


        oifname "lo" accept comment "!fw4: Accept traffic towards loopback"


        ct state established,related accept comment "!fw4: Allow outbound established and related flows"
        oifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
        oifname "eth1" jump output_wan comment "!fw4: Handle wan IPv4/IPv6 output traffic"
    }


    chain prerouting {
        type filter hook prerouting priority filter; policy accept;
        iifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump helper_lan comment "!fw4: Handle lan IPv4/IPv6 helper assignment"
    }


    chain handle_reject {
        meta l4proto tcp reject with tcp reset comment "!fw4: Reject TCP traffic"
        reject with icmpx type port-unreachable comment "!fw4: Reject any other traffic"
    }


    chain syn_flood {
        limit rate 25/second burst 50 packets return comment "!fw4: Accept SYN packets below rate-limit"
        drop comment "!fw4: Drop excess packets"
    }


    chain input_lan {
        jump accept_from_lan
    }


    chain output_lan {
        jump accept_to_lan
    }


    chain forward_lan {
        jump accept_to_wan comment "!fw4: Accept lan to wan forwarding"
        jump accept_to_lan
    }


    chain helper_lan {
    }


    chain accept_from_lan {
        iifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } counter accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain accept_to_lan {
        oifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } counter accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain input_wan {
        meta nfproto ipv4 udp dport 68 counter accept comment "!fw4: Allow-DHCP-Renew"
        meta nfproto ipv4 icmp type 8 counter accept comment "!fw4: Allow-Ping"
        meta nfproto ipv4 meta l4proto igmp counter accept comment "!fw4: Allow-IGMP"
        meta nfproto ipv6 udp dport 546 counter accept comment "!fw4: Allow-DHCPv6"
        ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { 130 . 0, 131 . 0, 132 . 0, 143 . 0 } counter accept comment "!fw4: Allow-MLD"
        meta nfproto ipv6 icmpv6 type { 128, 129, 1, 3, 133, 134 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Input"
        meta nfproto ipv6 icmpv6 type . icmpv6 code { 2 . 0, 4 . 0, 4 . 1, 135 . 0, 136 . 0 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Input"
        meta l4proto tcp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter accept comment "!fw4: lime_allow_wan_all_link_local"
        meta l4proto udp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter accept comment "!fw4: lime_allow_wan_all_link_local"
        jump reject_from_wan
    }


    chain output_wan {
        jump accept_to_wan
    }


    chain forward_wan {
        meta nfproto ipv6 icmpv6 type { 128, 129, 1, 3 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Forward"
        meta nfproto ipv6 icmpv6 type . icmpv6 code { 2 . 0, 4 . 0, 4 . 1 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Forward"
        meta l4proto esp counter jump accept_to_lan comment "!fw4: Allow-IPSec-ESP"
        udp dport 500 counter jump accept_to_lan comment "!fw4: Allow-ISAKMP"
        jump reject_to_wan
    }


    chain accept_to_wan {
        oifname "eth1" counter accept comment "!fw4: accept wan IPv4/IPv6 traffic"
    }


    chain reject_from_wan {
        iifname "eth1" counter jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }


    chain reject_to_wan {
        oifname "eth1" counter jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }



    #
    # NAT rules
    #


    chain dstnat {
        type nat hook prerouting priority dstnat; policy accept;
    }


    chain srcnat {
        type nat hook postrouting priority srcnat; policy accept;
        oifname "eth1" jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
    }


    chain srcnat_wan {
        meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan traffic"
    }



    #
    # Raw rules (notrack)
    #


    chain raw_prerouting {
        type filter hook prerouting priority raw; policy accept;
    }


    chain raw_output {
        type filter hook output priority raw; policy accept;
    }



    #
    # Mangle rules
    #


    chain mangle_prerouting {
        type filter hook prerouting priority mangle; policy accept;
    }


    chain mangle_postrouting {
        type filter hook postrouting priority mangle; policy accept;
    }


    chain mangle_input {
        type filter hook input priority mangle; policy accept;
    }


    chain mangle_output {
        type route hook output priority mangle; policy accept;
    }


    chain mangle_forward {
        type filter hook forward priority mangle; policy accept;
        iifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 ingress MTU fixing"
        oifname { "br-lan", "anygw", "wlan0-mesh_29", "wlan0-mesh_17", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 egress MTU fixing"
        iifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 ingress MTU fixing"
        oifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 egress MTU fixing"
    }
}


include "/usr/share/lime/lime-proto-anygw_anycast-rules.nft"

### CMD nft list ruleset

table inet fw4 {
    chain input {
        type filter hook input priority filter; policy accept;
        iifname "lo" accept comment "!fw4: Accept traffic from loopback"
        ct state established,related accept comment "!fw4: Allow inbound established and related flows"
        tcp flags syn / fin,syn,rst,ack jump syn_flood comment "!fw4: Rate limit TCP syn packets"
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
        iifname "eth1" jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
    }


    chain forward {
        type filter hook forward priority filter; policy accept;
        ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
        iifname "eth1" jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
    }


    chain output {
        type filter hook output priority filter; policy accept;
        oifname "lo" accept comment "!fw4: Accept traffic towards loopback"
        ct state established,related accept comment "!fw4: Allow outbound established and related flows"
        oifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
        oifname "eth1" jump output_wan comment "!fw4: Handle wan IPv4/IPv6 output traffic"
    }


    chain prerouting {
        type filter hook prerouting priority filter; policy accept;
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } jump helper_lan comment "!fw4: Handle lan IPv4/IPv6 helper assignment"
    }


    chain handle_reject {
        meta l4proto tcp reject with tcp reset comment "!fw4: Reject TCP traffic"
        reject comment "!fw4: Reject any other traffic"
    }


    chain syn_flood {
        limit rate 25/second burst 50 packets return comment "!fw4: Accept SYN packets below rate-limit"
        drop comment "!fw4: Drop excess packets"
    }


    chain input_lan {
        jump accept_from_lan
    }


    chain output_lan {
        jump accept_to_lan
    }


    chain forward_lan {
        jump accept_to_wan comment "!fw4: Accept lan to wan forwarding"
        jump accept_to_lan
    }


    chain helper_lan {
    }


    chain accept_from_lan {
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } counter packets 283 bytes 27870 accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain accept_to_lan {
        oifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } counter packets 300 bytes 26050 accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain input_wan {
        meta nfproto ipv4 udp dport 68 counter packets 0 bytes 0 accept comment "!fw4: Allow-DHCP-Renew"
        icmp type echo-request counter packets 0 bytes 0 accept comment "!fw4: Allow-Ping"
        meta nfproto ipv4 meta l4proto igmp counter packets 0 bytes 0 accept comment "!fw4: Allow-IGMP"
        meta nfproto ipv6 udp dport 546 counter packets 0 bytes 0 accept comment "!fw4: Allow-DHCPv6"
        ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { mld-listener-query . no-route, mld-listener-report . no-route, mld-listener-done . no-route, mld2-listener-report . no-route } counter packets 0 bytes 0 accept comment "!fw4: Allow-MLD"
        icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply, nd-router-solicit, nd-router-advert } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Input"
        icmpv6 type . icmpv6 code { packet-too-big . no-route, parameter-problem . no-route, parameter-problem . admin-prohibited, nd-neighbor-solicit . no-route, nd-neighbor-advert . no-route } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Input"
        meta l4proto tcp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter packets 0 bytes 0 accept comment "!fw4: lime_allow_wan_all_link_local"
        meta l4proto udp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter packets 0 bytes 0 accept comment "!fw4: lime_allow_wan_all_link_local"
        jump reject_from_wan
    }


    chain output_wan {
        jump accept_to_wan
    }


    chain forward_wan {
        icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Forward"
        icmpv6 type . icmpv6 code { packet-too-big . no-route, parameter-problem . no-route, parameter-problem . admin-prohibited } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Forward"
        meta l4proto esp counter packets 0 bytes 0 jump accept_to_lan comment "!fw4: Allow-IPSec-ESP"
        udp dport 500 counter packets 0 bytes 0 jump accept_to_lan comment "!fw4: Allow-ISAKMP"
        jump reject_to_wan
    }


    chain accept_to_wan {
        oifname "eth1" counter packets 0 bytes 0 accept comment "!fw4: accept wan IPv4/IPv6 traffic"
    }


    chain reject_from_wan {
        iifname "eth1" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }


    chain reject_to_wan {
        oifname "eth1" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }


    chain dstnat {
        type nat hook prerouting priority dstnat; policy accept;
    }


    chain srcnat {
        type nat hook postrouting priority srcnat; policy accept;
        oifname "eth1" jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
    }


    chain srcnat_wan {
        meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan traffic"
    }


    chain raw_prerouting {
        type filter hook prerouting priority raw; policy accept;
    }


    chain raw_output {
        type filter hook output priority raw; policy accept;
    }


    chain mangle_prerouting {
        type filter hook prerouting priority mangle; policy accept;
    }


    chain mangle_postrouting {
        type filter hook postrouting priority mangle; policy accept;
    }


    chain mangle_input {
        type filter hook input priority mangle; policy accept;
    }


    chain mangle_output {
        type route hook output priority mangle; policy accept;
    }


    chain mangle_forward {
        type filter hook forward priority mangle; policy accept;
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 ingress MTU fixing"
        oifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29", "wlan0-mesh_17", "wlan0-mesh_29" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 egress MTU fixing"
        iifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 ingress MTU fixing"
        oifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 egress MTU fixing"
    }
}
table bridge filter {
    chain forward_anygw {
        type filter hook forward priority filter; policy accept;
        ether daddr aa:aa:aa:00:00:00/24 counter packets 1212 bytes 98184 drop
    }
}
table bridge nat {
    chain postrouting_anygw {
        type filter hook postrouting priority srcnat; policy accept;
        oifname "bat0" ether saddr aa:aa:aa:00:00:00/24 counter packets 10 bytes 1360 drop
        oifname "bat0" icmpv6 type nd-router-solicit counter packets 1 bytes 48 drop
        oifname "bat0" icmpv6 type nd-router-advert counter packets 0 bytes 0 drop
    }
}


### CMD opkg list-installed

ath10k-board-qca9888 - 20220411-1
ath10k-firmware-qca9888-ct - 2020-11-08-1
babeld - 1.12.2-1
babeld-auto-gw-mode - git-23.260.63818-4668846-1
bandwidth-test - 2023-09-17-1694972618
base-files - 1502-r20134-5f15225c1e
batctl-default - 2022.0-3
busybox - 1.35.0-5
bwm-ng - 0.6.3-1
ca-bundle - 20211016-1
cgi-io - 2022-08-10-901b0f04-21
check-date-http - 2023-09-17-1694972618
check-internet - 2023-09-17-1694972618
dnsmasq-dhcpv6 - 2.86-16
dropbear - 2022.82-2
ethtool - 5.16-1
firewall4 - 2022-10-18-7ae5e14b-1
fstools - 2022-06-02-93369be0-2
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2021-08-03-205defb5-2
hostapd-common - 2022-01-16-cff80b4f-16.2
hotplug-initd-services - 2023-09-17-1694972618
ip-tiny - 5.15.0-4
iperf3 - 3.11-1
iputils-ping - 20211215-1
iw - 5.16-1
iwinfo - 2022-12-15-8d158096-1
jansson4 - 2.13.1-2
jq - 1.6-2
jshn - 2022-05-15-d2223ef9-1
jsonfilter - 2018-02-04-c7e938d6-1
kernel - 5.10.176-1-4730846b658bd669eac8400a7ad34396
kmod-ath - 5.10.176+5.15.92-1-1
kmod-ath10k-ct-smallbuffers - 5.10.176+2022-05-13-f808496f-1
kmod-ath9k - 5.10.176+5.15.92-1-1
kmod-ath9k-common - 5.10.176+5.15.92-1-1
kmod-batman-adv - 5.10.176+2022.0-6
kmod-cfg80211 - 5.10.176+5.15.92-1-1
kmod-crypto-aead - 5.10.176-1
kmod-crypto-ccm - 5.10.176-1
kmod-crypto-cmac - 5.10.176-1
kmod-crypto-crc32c - 5.10.176-1
kmod-crypto-ctr - 5.10.176-1
kmod-crypto-gcm - 5.10.176-1
kmod-crypto-gf128 - 5.10.176-1
kmod-crypto-ghash - 5.10.176-1
kmod-crypto-hash - 5.10.176-1
kmod-crypto-hmac - 5.10.176-1
kmod-crypto-manager - 5.10.176-1
kmod-crypto-md5 - 5.10.176-1
kmod-crypto-null - 5.10.176-1
kmod-crypto-rng - 5.10.176-1
kmod-crypto-seqiv - 5.10.176-1
kmod-crypto-sha256 - 5.10.176-1
kmod-gpio-button-hotplug - 5.10.176-3
kmod-hwmon-core - 5.10.176-1
kmod-lib-crc-ccitt - 5.10.176-1
kmod-lib-crc16 - 5.10.176-1
kmod-lib-crc32c - 5.10.176-1
kmod-mac80211 - 5.10.176+5.15.92-1-1
kmod-macvlan - 5.10.176-1
kmod-nf-conntrack - 5.10.176-1
kmod-nf-conntrack6 - 5.10.176-1
kmod-nf-flow - 5.10.176-1
kmod-nf-log - 5.10.176-1
kmod-nf-log6 - 5.10.176-1
kmod-nf-nat - 5.10.176-1
kmod-nf-reject - 5.10.176-1
kmod-nf-reject6 - 5.10.176-1
kmod-nfnetlink - 5.10.176-1
kmod-nft-bridge - 5.10.176-1
kmod-nft-core - 5.10.176-1
kmod-nft-fib - 5.10.176-1
kmod-nft-nat - 5.10.176-1
kmod-nft-offload - 5.10.176-1
kmod-ppp - 5.10.176-1
kmod-pppoe - 5.10.176-1
kmod-pppox - 5.10.176-1
kmod-slhc - 5.10.176-1
libblobmsg-json20220515 - 2022-05-15-d2223ef9-1
libc - 1.2.3-4
libgcc1 - 11.2.0-4
libiwinfo-data - 2022-12-15-8d158096-1
libiwinfo-lua - 2022-12-15-8d158096-1
libiwinfo20210430 - 2022-12-15-8d158096-1
libjson-c5 - 0.15-2
libjson-script20220515 - 2022-05-15-d2223ef9-1
liblua5.1.5 - 5.1.5-10
liblucihttp-lua - 2023-03-15-9b5b683f-1
liblucihttp0 - 2023-03-15-9b5b683f-1
libmnl0 - 1.0.5-1
libncurses6 - 6.3-2
libnftnl11 - 1.2.1-2
libnl-tiny1 - 2021-11-21-8e0555fb-1
libpcap1 - 1.10.1-3
libpthread - 1.2.3-4
librt - 1.2.3-4
libubox-lua - 2022-05-15-d2223ef9-1
libubox20220515 - 2022-05-15-d2223ef9-1
libubus-lua - 2022-06-01-2bebf93c-1
libubus20220601 - 2022-06-01-2bebf93c-1
libuci-lua - 2021-10-22-f84f49f0-6
libuci20130104 - 2021-10-22-f84f49f0-6
libuclient20201210 - 2023-04-13-007d9454-1
libucode20220812 - 2022-12-02-46d93c9c-1
libustream-wolfssl20201210 - 2022-12-08-9217ab46-2
libwolfssl5.5.4.ee39414e - 5.5.4-stable-1
lime-app - v0.2.25-2
lime-debug - 2023-09-17-1694972618
lime-docs - 2023-09-17-1694972618
lime-docs-minimal - 2023-09-17-1694972618
lime-hwd-ground-routing - 2023-09-17-1694972618
lime-hwd-openwrt-wan - 2023-09-17-1694972618
lime-proto-anygw - 2023-09-17-1694972618
lime-proto-babeld - git-23.260.63818-4668846
lime-proto-batadv - git-23.260.63818-4668846
lime-proto-wan - git-23.260.63818-4668846
lime-report - 2023-09-17-1694972618
lime-system - 2023-09-17-1694972618
logd - 2021-08-03-205defb5-2
lua - 5.1.5-10
luci-base - git-23.093.57104-ce20b4a
luci-compat - git-23.093.42303-ef4cd04
luci-lib-base - git-20.232.39649-1f6dc29
luci-lib-httpclient - git-20.201.65662-8b8d83e
luci-lib-httpprotoutils - git-23.093.40597-e604309
luci-lib-ip - git-20.250.76529-62505bd
luci-lib-jsonc - git-22.097.61921-7513345
luci-lib-nixio - git-20.234.06894-c4a4e43
mtd - 26
mtr-nojson - 0.95-2
netifd - 2022-08-25-76d2d41b-1
netperf - 2.7.0-3
nftables-json - 1.0.2-2.1
odhcp6c - 2022-08-05-7d21e8d8-18
opkg - 2022-02-24-d038e5b6-1
procd - 2022-06-01-7a009685-2
procd-seccomp - 2022-06-01-7a009685-2
procd-ujail - 2022-06-01-7a009685-2
profile-libremesh-default - git-23.159.72115-f81b758
profile-libremesh-suggested-packages - git-23.159.72115-f81b758
pv - 1.6.6-1
random-numgen - 0.1-1
rpcd - 2022-12-15-7de4820c-1
rpcd-mod-file - 2022-12-15-7de4820c-1
rpcd-mod-iwinfo - 2022-12-15-7de4820c-1
rpcd-mod-luci - 20210614
rssileds - 3
safe-reboot - 2023-09-17-1694972618
shared-state - 2023-09-17-1694972618
shared-state-babeld_hosts - 2023-09-17-1694972618
shared-state-bat_hosts - 2023-09-17-1694972618
shared-state-dnsmasq_hosts - 2023-09-17-1694972618
shared-state-dnsmasq_leases - 2023-09-17-1694972618
shared-state-nodes_and_links - 2023-09-17-1694972618
sprunge - 2023-09-17-1694972618
tcpdump-mini - 4.9.3-4
terminfo - 6.3-2
ubox - 2021-08-03-205defb5-2
ubus - 2022-06-01-2bebf93c-1
ubus-lime-grondrouting - 2023-09-17-1694972618
ubus-lime-location - 2023-09-17-1694972618
ubus-lime-metrics - 2023-09-17-1694972618
ubus-lime-utils - 2023-09-17-1694972618
ubusd - 2022-06-01-2bebf93c-1
uci - 2021-10-22-f84f49f0-6
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2022-12-02-46d93c9c-1
ucode-mod-fs - 2022-12-02-46d93c9c-1
ucode-mod-ubus - 2022-12-02-46d93c9c-1
ucode-mod-uci - 2022-12-02-46d93c9c-1
uhttpd - 2022-10-31-23977554-1
uhttpd-mod-lua - 2022-10-31-23977554-1
uhttpd-mod-ubus - 2022-10-31-23977554-1
urandom-seed - 3
urngd - 2020-01-21-c7f7b6b6-1
usign - 2020-05-23-f1f65026-1
watchping - 2023-09-17-1694972618
wireless-regdb - 2023.02.13-1
wpad-basic-wolfssl - 2022-01-16-cff80b4f-16.2

### CMD echo hostname LiMe-7f62e1

hostname LiMe-7f62e1

### CMD date '+%Y-%m-%d %H:%M:%S'

2024-03-22 22:12:44

### CMD uptime

22:12:44 up 3 min, load average: 0.77, 0.62, 0.26

### FILE /etc/board.json

{
    "model": {
        "id": "comfast,cf-e313ac",
        "name": "COMFAST CF-E313AC"
    },
    "led": {
        "lan": {
            "name": "LAN",
            "sysfs": "green:lan",
            "trigger": "switch0",
            "type": "switch",
            "mode": "",
            "port_mask": "0x02",
            "speed_mask": ""
        },
        "wan": {
            "name": "WAN",
            "sysfs": "green:wan",
            "type": "netdev",
            "device": "eth1",
            "mode": "link tx rx"
        },
        "rssilow": {
            "name": "",
            "sysfs": "red:rssilow",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "1",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        },
        "rssimediumlow": {
            "name": "",
            "sysfs": "red:rssimediumlow",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "26",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        },
        "rssimediumhigh": {
            "name": "",
            "sysfs": "green:rssimediumhigh",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "51",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        },
        "rssihigh": {
            "name": "",
            "sysfs": "green:rssihigh",
            "type": "rssi",
            "iface": "wlan0",
            "minq": "76",
            "maxq": "100",
            "offset": "0",
            "factor": "1"
        }
    },
    "rssimon": {
        "wlan0": {
            "refresh": 200000,
            "threshold": 1
        }
    },
    "network": {
        "lan": {
            "device": "eth0",
            "protocol": "static"
        },
        "wan": {
            "device": "eth1",
            "protocol": "dhcp"
        }
    }
}


### FILE /proc/cpuinfo

system type        : Qualcomm Atheros QCA9533 ver 2 rev 0
machine            : COMFAST CF-E313AC
processor        : 0
cpu model        : MIPS 24Kc V7.4
BogoMIPS        : 432.53
wait instruction    : yes
microsecond timers    : yes
tlb_entries        : 16
extra interrupt vector    : yes
hardware watchpoint    : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa            : mips1 mips2 mips32r1 mips32r2
ASEs implemented    : mips16
Options implemented    : tlb 4kex 4k_cache prefetch mcheck ejtag llsc dc_aliases perf_cntr_intr_bit perf mm_full
shadow register sets    : 1
kscratch registers    : 0
package            : 0
core            : 0
VCED exceptions        : not available
VCEI exceptions        : not available



### FILE /etc/lime_release

LIME_ID="LiMe"
LIME_RELEASE="2024.1-rc1"
LIME_CODENAME="2024.1 first release candidate"
LIME_BRANCH="(no branch)"
LIME_REVISION="2e50c6c"
LIME_DESCRIPTION="LiMe 2024.1-rc1 2024.1 first release candidate ((no branch) rev. 2e50c6c 20240405_1632)"
LIME_BUILDDATE="20240405_1632"


### FILE /etc/openwrt_release

DISTRIB_ID='LiMe'
DISTRIB_RELEASE='2024.1-rc1'
DISTRIB_REVISION='2e50c6c'
DISTRIB_TARGET='ath79/generic'
DISTRIB_ARCH='mips_24kc'
DISTRIB_DESCRIPTION='LiMe 2024.1-rc1 2024.1 first release candidate ((no branch) rev. 2e50c6c 20240405_1632)'
DISTRIB_TAINTS='busybox'

### FILE /etc/openwrt_version

r23809-234f1a2efa

### FILE /etc/config/lime-node

# Read the documentation in /docs directory
# and on http://libremesh.org

### System options

config lime system


### Network general option

config lime network


### WiFi general options

config lime wifi

### FILE /etc/config/lime-community

# Read the documentation in /docs directory
# and on http://libremesh.org

### System options

config lime system


### Network general option

config lime network


### WiFi general options

config lime wifi

### FILE /etc/config/lime-defaults

# Beware this file is NOT supposed to be edited by the end user, modify /etc/config/lime-node instead
# If the same option or list is defined both in /etc/config/lime-node and lime-community file, the former will prevail
# Beware this file is not supposed to store interface specific configuration, like "config net eth0"

# Read the documentation in /docs directory
# and on http://libremesh.org

config lime system
    option hostname 'LiMe-%M4%M5%M6'
    option domain 'thisnode.info'
    option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
    option deferable_reboot_uptime_s '97200'
    option firstbootwizard_configured false
    option firstbootwizard_dismissed false


config lime network
    option primary_interface 'eth0'
    option main_ipv4_address '10.%N1.0.0/16'
    option anygw_dhcp_start '2'
    option anygw_dhcp_limit '0'
    option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
    list protocols ieee80211s
    list protocols lan
    list protocols anygw
    list protocols batadv:%N1
    list protocols bmx6:13
    list protocols olsr:14
    list protocols olsr6:15
    list protocols olsr2:16
    list protocols babeld:17
    list protocols bmx7:18
    list resolvers 4.2.2.2   # b.resolvers.Level3.net
    list resolvers 141.1.1.1 # cns1.cw.net
    list resolvers 2001:470:20::2 # ordns.he.net
    option bmx6_mtu '1500'
    option bmx6_publish_ownip false
    option bmx6_over_batman false
    option bmx6_pref_gw none
    option bmx6_wifi_rate_max 54000000
    option bmx7_mtu '1500'
    option bmx7_publish_ownip false
    option bmx7_over_batman false
    option bmx7_pref_gw none
    option bmx7_wifi_rate_max 'auto'
    option bmx7_enable_pki false
    option batadv_orig_interval '2000'
    option batadv_routing_algo 'BATMAN_IV'
    option anygw_mac "aa:aa:aa:%N1:%N2:aa"
    option use_odhcpd false


config lime wifi
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'
    option ap_ssid 'LibreMesh.org'
    option apname_ssid 'LibreMesh.org/%H'
    option adhoc_ssid 'LiMe'
    option adhoc_bssid 'ca:fe:00:c0:ff:ee'
    option ieee80211s_mesh_fwding '0'
    option ieee80211s_mesh_id 'LiMe'
    option unstuck_interval '10'
    option unstuck_timeout '300'


config lime-wifi-band '2ghz'
    option channel '11'
    option htmode 'HT20'
    option distance '1000'
    option adhoc_mcast_rate '24000'
    option ieee80211s_mcast_rate '24000'


config lime-wifi-band '5ghz'
    list channel '48'
    list channel '157'
    option htmode 'HT40'
    option distance '10000'
    option adhoc_mcast_rate '6000'
    option ieee80211s_mcast_rate '6000'


config generic_uci_config uhttpd_https
    list uci_set 'uhttpd.main.redirect_https=0'


### FILE /etc/config/lime-autogen

# DO NOT EDIT THIS FILE!. This is autogenerated by lime-config!
# Instead please edit /etc/config/lime-node and/or /etc/config/lime-community files
# and then regenerate this file executing lime-config


config lime-wifi-band '5ghz'
    option distance '10000'
    list channel '48'
    list channel '157'
    option adhoc_mcast_rate '6000'
    option htmode 'HT40'
    option ieee80211s_mcast_rate '6000'


config lime 'network'
    option bmx6_publish_ownip 'false'
    option bmx6_wifi_rate_max '54000000'
    option main_ipv4_address '10.%N1.0.0/16'
    list resolvers '4.2.2.2'
    list resolvers '141.1.1.1'
    list resolvers '2001:470:20::2'
    option bmx6_mtu '1500'
    option bmx7_pref_gw 'none'
    option batadv_orig_interval '2000'
    option bmx6_pref_gw 'none'
    option main_ipv6_address 'fd%N1:%N2%N3:%N4%N5::/64'
    option use_odhcpd 'false'
    option bmx6_over_batman 'false'
    option anygw_mac 'aa:aa:aa:%N1:%N2:aa'
    option primary_interface 'eth0'
    option bmx7_enable_pki 'false'
    option batadv_routing_algo 'BATMAN_IV'
    option bmx7_publish_ownip 'false'
    option anygw_dhcp_limit '0'
    option bmx7_mtu '1500'
    option bmx7_wifi_rate_max 'auto'
    list protocols 'ieee80211s'
    list protocols 'lan'
    list protocols 'anygw'
    list protocols 'batadv:%N1'
    list protocols 'bmx6:13'
    list protocols 'olsr:14'
    list protocols 'olsr6:15'
    list protocols 'olsr2:16'
    list protocols 'babeld:17'
    list protocols 'bmx7:18'
    option anygw_dhcp_start '2'
    option bmx7_over_batman 'false'


config generic_uci_config 'uhttpd_https'
    list uci_set 'uhttpd.main.redirect_https=0'


config lime-wifi-band '2ghz'
    option distance '1000'
    option channel '11'
    option adhoc_mcast_rate '24000'
    option htmode 'HT20'
    option ieee80211s_mcast_rate '24000'


config lime 'wifi'
    option apname_ssid 'LibreMesh.org/%H'
    option ap_ssid 'LibreMesh.org'
    option ieee80211s_mesh_id 'LiMe'
    option unstuck_timeout '300'
    option unstuck_interval '10'
    option ieee80211s_mesh_fwding '0'
    option adhoc_bssid 'ca:fe:00:c0:ff:ee'
    list modes 'ap'
    list modes 'apname'
    list modes 'ieee80211s'
    option adhoc_ssid 'LiMe'


config lime 'system'
    option firstbootwizard_dismissed 'false'
    option domain 'thisnode.info'
    option keep_on_upgrade 'libremesh dropbear minimum-essential /etc/sysupgrade.conf'
    option firstbootwizard_configured 'false'
    option deferable_reboot_uptime_s '97200'
    option hostname 'LiMe-%M4%M5%M6'


config net 'lm_hwd_openwrt_wan'
    option autogenerated 'true'
    list protocols 'ieee80211s'
    list protocols 'anygw'
    list protocols 'batadv:%N1'
    list protocols 'bmx6:0'
    list protocols 'olsr:14'
    list protocols 'olsr6:15'
    list protocols 'olsr2:16'
    list protocols 'babeld:17'
    list protocols 'bmx7:0'
    list protocols 'wan'
    option linux_name 'eth1'



### FILE /etc/config/network


config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'


config globals 'globals'

config device
    option name 'br-lan'
    option type 'bridge'
    list ports 'bat0'
    list ports 'eth0'


config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ipaddr '10.13.98.225'
    option netmask '255.255.0.0'
    option ip6assign '60'
    option ip6addr 'fd0d:fe46:8ce8::7f:62e1/64'
    option mtu '1500'


config interface 'wan'
    option device 'eth1'
    option proto 'dhcp'


config interface 'wan6'
    option device 'eth1'
    option proto 'none'


config device 'lm_net_br_lan_anygw_dev'
    option type 'macvlan'
    option name 'anygw'
    option ifname 'br-lan'
    option macaddr 'aa:aa:aa:0d:fe:aa'


config interface 'lm_net_br_lan_anygw_if'
    option proto 'static'
    option device 'anygw'
    option auto '1'
    option ipaddr '10.13.0.1'
    option ip6addr 'fd0d:fe46:8ce8::1/64'
    option metric '2147483647'
    option netmask '255.255.0.0'


config rule6 'lm_net_anygw_rule6'
    option src 'fd0d:fe46:8ce8::1/128'
    option lookup '170'


config route6 'lm_net_anygw_route6'
    option interface 'lm_net_br_lan_anygw_if'
    option target 'fd0d:fe46:8ce8::/64'
    option table '170'


config rule 'lm_net_anygw_rule4'
    option src '10.13.0.1/32'
    option lookup '170'


config route 'lm_net_anygw_route4'
    option interface 'lm_net_br_lan_anygw_if'
    option target '10.13.0.0'
    option netmask '255.255.0.0'
    option table '170'


config interface 'bat0'
    option proto 'batadv'
    option routing_algo 'BATMAN_IV'
    option bridge_loop_avoidance '1'
    option multicast_mode '0'
    option orig_interval '2000'
    option distributed_arp_table '0'
    option gw_mode 'client'


config device 'lm_net_eth0_batadv_dev'
    option type '8021ad'
    option name 'eth0_29'
    option ifname 'eth0'
    option vid '29'
    option macaddr '02:95:39:7f:62:e1'
    option mtu '1496'


config interface 'lm_net_eth0_batadv_if'
    option proto 'batadv_hardif'
    option auto '1'
    option device 'eth0_29'
    option master 'bat0'


config device 'lm_net_eth0_babeld_dev'
    option type '8021ad'
    option name 'eth0_17'
    option ifname 'eth0'
    option vid '17'
    option mtu '1496'


config interface 'lm_net_eth0_babeld_if'
    option proto 'static'
    option auto '1'
    option device 'eth0_17'
    option ipaddr '10.13.98.225'
    option netmask '255.255.255.255'


config device 'lm_net_eth1_batadv_dev'
    option type '8021ad'
    option name 'eth1_29'
    option ifname 'eth1'
    option vid '29'
    option macaddr '02:bb:ed:7f:62:e1'
    option mtu '1496'


config interface 'lm_net_eth1_batadv_if'
    option proto 'batadv_hardif'
    option auto '1'
    option device 'eth1_29'
    option master 'bat0'


config device 'lm_net_eth1_babeld_dev'
    option type '8021ad'
    option name 'eth1_17'
    option ifname 'eth1'
    option vid '17'
    option mtu '1496'


config interface 'lm_net_eth1_babeld_if'
    option proto 'static'
    option auto '1'
    option device 'eth1_17'
    option ipaddr '10.13.98.225'
    option netmask '255.255.255.255'



### FILE /etc/config/wireless NOT FOUND


### CMD dmesg

[    0.000000] Linux version 5.15.150 (builder@buildhost) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23809-234f1a2efa) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 Fri Mar 22 22:09:42 2024
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[    0.000000] MIPS: machine is COMFAST CF-E313AC
[    0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16240
[    0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 55396K/65536K available (6093K kernel code, 598K rwdata, 1328K rodata, 1188K init, 216K bss, 10140K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 51
[    0.000000] CPU clock: 650.000 MHz
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[    0.000003] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[    0.008372] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[    0.074959] pid_max: default: 32768 minimum: 301
[    0.080918] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.088644] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.104778] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.115253] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.122742] pinctrl core: initialized pinctrl subsystem
[    0.130656] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.137701] thermal_sys: Registered thermal governor 'step_wise'
[    0.158468] clocksource: Switched to clocksource MIPS
[    0.171900] NET: Registered PF_INET protocol family
[    0.177373] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.186335] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.195389] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.203577] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.211685] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.219160] TCP: Hash tables configured (established 1024 bind 1024)
[    0.226087] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.233102] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.241049] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.247083] PCI: CLS 0 bytes, default 32
[    0.256164] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[    0.269594] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.275768] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.287916] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.301174] pinctrl-single 1804002c.pinmux: 576 pins, size 72
[    0.308888] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.319027] printk: console [ttyS0] disabled
[    0.323642] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 1562500) is a 16550A
[    0.332838] printk: console [ttyS0] enabled
[    0.341914] printk: bootconsole [early0] disabled
[    0.377985] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[    0.383511] 5 fixed-partitions partitions found on MTD device spi0.0
[    0.390220] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.397112] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.404692] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.411669] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
[    0.418800] Creating 5 MTD partitions on "spi0.0":
[    0.423776] 0x000000000000-0x000000010000 : "u-boot"
[    0.436387] 0x000000010000-0x000000020000 : "art"
[    0.442995] 0x000000020000-0x0000007e0000 : "firmware"
[    0.452530] 2 uimage-fw partitions found on MTD device firmware
[    0.458762] Creating 2 MTD partitions on "firmware":
[    0.463905] 0x000000000000-0x000000260000 : "kernel"
[    0.470564] 0x000000260000-0x0000007c0000 : "rootfs"
[    0.479338] mtd: setting mtd4 (rootfs) as root device
[    0.484725] 1 squashfs-split partitions found on MTD device rootfs
[    0.491214] 0x000000780000-0x0000007c0000 : "rootfs_data"
[    0.499620] 0x0000007e0000-0x0000007f0000 : "config"
[    0.506332] 0x0000007f0000-0x000000800000 : "nvram"
[    0.929530] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
[    1.625191] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[    1.681818] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[    1.692068] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[    1.699162] i2c_dev: i2c /dev entries driver
[    1.707264] NET: Registered PF_INET6 protocol family
[    1.730703] Segment Routing with IPv6
[    1.734611] In-situ OAM (IOAM) with IPv6
[    1.738915] NET: Registered PF_PACKET protocol family
[    1.744300] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.758134] 8021q: 802.1Q VLAN Support v1.8
[    1.764252] PCI host bridge to bus 0000:00
[    1.768609] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    1.775721] pci_bus 0000:00: root bus resource [io  0x0000]
[    1.781498] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    1.789764] pci 0000:00:00.0: [168c:0056] type 00 class 0x028000
[    1.796016] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    1.803251] pci 0000:00:00.0: PME# supported from D0 D3hot
[    1.810202] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    1.817088] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x101fffff 64bit]
[    2.160592] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:00 [uid=004dd042, driver=Generic PHY]
[    2.171340] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[    2.193634] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    2.210721] Freeing unused kernel image (initmem) memory: 1188K
[    2.216860] This architecture does not have kernel memory protection.
[    2.223571] Run /sbin/init as init process
[    2.227805]   with arguments:
[    2.227811]     /sbin/init
[    2.227816]   with environment:
[    2.227822]     HOME=/
[    2.227827]     TERM=linux
[    2.934967] init: Console is alive
[    2.939428] init: - watchdog -
[    4.481895] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.574493] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.594437] init: - preinit -
[    6.293133] random: jshn: uninitialized urandom read (4 bytes read)
[    6.734293] random: jshn: uninitialized urandom read (4 bytes read)
[    6.858031] random: jshn: uninitialized urandom read (4 bytes read)
[    7.596740] eth0: link up (1000Mbps/Full duplex)
[    7.608546] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.638075] random: procd: uninitialized urandom read (4 bytes read)
[    9.957029] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    9.973748] urandom-seed: Seed file not found (/etc/urandom.seed)
[   10.122207] eth0: link down
[   10.143448] procd: - early -
[   10.146947] procd: - watchdog -
[   10.906919] procd: - watchdog -
[   10.911108] procd: - ubus -
[   11.016126] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.026867] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.034341] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.046229] procd: - init -
[   12.307177] random: jshn: uninitialized urandom read (4 bytes read)
[   12.358701] random: ubusd: uninitialized urandom read (4 bytes read)
[   12.388817] random: ubus: uninitialized urandom read (4 bytes read)
[   12.424968] kmodloader: loading kernel modules from /etc/modules.d/*
[   13.124214] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[   13.132065] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[   13.928874] PPP generic driver version 2.4.2
[   13.950005] NET: Registered PF_PPPOX protocol family
[   14.028106] ath10k_pci 0000:00:00.0: enabling device (0000 -> 0002)
[   14.035016] ath10k_pci 0000:00:00.0: pci irq legacy oper_irq_mode 1 irq_mode 0 reset_mode 0
[   16.059022] urngd: v1.0.2 started.
[   18.940141] random: crng init done
[   18.943693] random: 26 urandom warning(s) missed due to ratelimiting
[   20.722344] ath10k_pci 0000:00:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA9888/hw2.0: -12
[   20.733429] ath10k_pci 0000:00:00.0: could not fetch firmware files (-12)
[   20.740463] ath10k_pci 0000:00:00.0: could not probe fw (-12)
[   20.849732] batman_adv: B.A.T.M.A.N. advanced 2023.1-openwrt-6 (compatibility version 15) loaded
[   20.929238] kmodloader: done loading kernel modules from /etc/modules.d/*
[   91.841888] eth0: link up (1000Mbps/Full duplex)
[   91.847783] br-lan: port 1(eth0) entered blocking state
[   91.853335] br-lan: port 1(eth0) entered disabled state
[   91.859146] device eth0 entered promiscuous mode
[   91.883062] br-lan: port 1(eth0) entered blocking state
[   91.888590] br-lan: port 1(eth0) entered forwarding state
[   91.957836] device br-lan entered promiscuous mode
[   92.238951] device eth1 entered promiscuous mode
[   92.828773] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   93.890848] 8021q: adding VLAN 0 to HW filter on device bat0
[   93.955474] br-lan: port 2(bat0) entered blocking state
[   93.961028] br-lan: port 2(bat0) entered disabled state
[   93.966816] device bat0 entered promiscuous mode
[   93.971873] br-lan: port 2(bat0) entered blocking state
[   93.977301] br-lan: port 2(bat0) entered forwarding state
[   94.388550] batman_adv: bat0: No IGMP Querier present - multicast optimizations disabled
[   94.396952] batman_adv: bat0: No MLD Querier present - multicast optimizations disabled
[   95.891437] batman_adv: bat0: Adding interface: eth0_29
[   95.896874] batman_adv: bat0: The MTU of interface eth0_29 is too small (1496) to handle the transport of batman-adv packets. Packets going over this interface will be fragmented on layer2 which could impact the performance. Setting the MTU to 1532 would solve the problem.
[   95.921951] batman_adv: bat0: Interface activated: eth0_29
[  102.551190] Too few erase blocks (4)


### CMD batctl if

eth0_29: active

### CMD batctl o

[B.A.T.M.A.N. adv 2023.1-openwrt-6, MainIF/MAC: eth0_29/02:95:39:7f:62:e1 (bat0/62:24:56:f4:75:27 BATMAN_IV)]
   Originator        last-seen (#/255) Nexthop           [outgoingIF]


### CMD bmx6 -c show=status show=interfaces show=links show=originators show=tunnels

/bin/lime-report: eval: line 13: bmx6: not found

### CMD bmx7 -c show=status show=interfaces show=links show=originators show=tunnels

/bin/lime-report: eval: line 13: bmx7: not found

### CMD echo dump | nc ::1 30003

BABEL 1.0
version babeld-1.13.1-ubus-mod
host LiMe-7f62e1
my-id e2:e1:a9:ff:fe:7f:62:e1
ok
add interface eth0_17 up true ipv6 fe80::e2e1:a9ff:fe7f:62e1 ipv4 10.13.98.225
add interface eth1_17 up false
add xroute fd0d:fe46:8ce8::/64-::/0 prefix fd0d:fe46:8ce8::/64 from ::/0 metric 0
add xroute 10.13.0.0/16-0.0.0.0/0 prefix 10.13.0.0/16 from 0.0.0.0/0 metric 0
ok

### CMD ubus call babeld get_info

{
    "babeld-version": "babeld-1.13.1-ubus-mod",
    "my-id": "e2:e1:a9:ff:fe:7f:62:e1",
    "host": "LiMe-7f62e1"
}


### CMD ubus call babeld get_neighbours

{
    "IPv4": {

        
    },
    "IPv6": {

        
    }
}


### CMD ubus call babeld get_xroutes

{
    "IPv4": {
        "10.13.0.0/16": {
            "src-prefix": "0.0.0.0/0",
            "metric": 0
        }
    },
    "IPv6": {
        "fd0d:fe46:8ce8::/64": {
            "src-prefix": "::/0",
            "metric": 0
        }
    }
}


### CMD ubus call babeld get_routes

{
    "IPv4": {

        
    },
    "IPv6": {

        
    }
}


### CMD free

              total        used        free      shared  buff/cache   available
Mem:          56584       19784       16160         276       20640       14056
Swap:             0           0           0


### CMD ps

  PID USER       VSZ STAT COMMAND
    1 root      1980 S    /sbin/procd
    2 root         0 SW   [kthreadd]
    3 root         0 IW<  [slub_flushwq]
    4 root         0 IW<  [netns]
    5 root         0 IW   [kworker/0:0-eve]
    6 root         0 IW<  [kworker/0:0H-kb]
    7 root         0 IW   [kworker/u2:0-ba]
    8 root         0 IW<  [mm_percpu_wq]
    9 root         0 SW   [rcu_tasks_trace]
   10 root         0 SW   [ksoftirqd/0]
   11 root         0 IW<  [inet_frag_wq]
   12 root         0 SW   [oom_reaper]
   13 root         0 IW<  [writeback]
   14 root         0 SW   [kcompactd0]
   21 root         0 IW<  [kblockd]
   22 root         0 IW<  [blkcg_punt_bio]
   23 root         0 SW   [watchdogd]
   24 root         0 SW   [kswapd0]
   25 root         0 IW   [kworker/0:1-eve]
   26 root         0 IW   [kworker/u2:1-ba]
   33 root         0 IW<  [kthrotld]
   67 root         0 SW   [spi0]
   68 root         0 IW   [kworker/u2:2-ev]
  259 root         0 IW   [kworker/0:2-eve]
  287 root         0 IW<  [mld]
  288 root         0 IW   [kworker/0:3-eve]
  289 root         0 IW   [kworker/0:4-eve]
  290 root         0 IW<  [ipv6_addrconf]
  291 root         0 IW<  [kstrp]
  303 root         0 IW<  [kworker/0:1H-kb]
  469 ubus      1504 S    /sbin/ubusd
  470 root      1056 S    /sbin/askfirst /usr/libexec/login.sh
  505 root      1208 S    /sbin/urngd
  596 root         0 IW<  [cfg80211]
  638 root         0 IW<  [ath10k_wq]
  639 root         0 IW<  [ath10k_aux_wq]
  640 root         0 IW<  [ath10k_tx_compl]
  787 root         0 IW<  [bat_events]
 1368 logd      1480 S    /sbin/logd -S 64
 1422 root      3452 S    /sbin/rpcd -s /var/run/ubus/ubus.sock -t 30
 1649 root      1268 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3 -W 262144
 1753 root      2908 S    {hostapd} /sbin/ujail -t 5 -n hostapd -U network -G network -C /etc/capabilities/wpad.json -
 1754 root      2908 S    {wpa_supplicant} /sbin/ujail -t 5 -n wpa_supplicant -U network -G network -C /etc/capabiliti
 1757 network   4260 S    /usr/sbin/hostapd -s -g /var/run/hostapd/global
 1758 network   4240 S    /usr/sbin/wpa_supplicant -n -s -g /var/run/wpa_supplicant/global
 1802 root      2276 S    {hotplug-initd-o} /usr/bin/lua /usr/bin/hotplug-initd-observer
 1864 root      2116 S    /sbin/netifd
 1991 root      3528 S    shared-state-async peer
 2051 root      1376 S    /usr/sbin/crond -f -c /etc/crontabs -l 5
 2087 root      1244 S    /usr/bin/netserver
 2165 root      1972 S    /usr/sbin/uhttpd -f -h /www -r LiMe-7f62e1 -x /cgi-bin -u /ubus -X -t 15 -T 30 -k 20 -A 1 -n
 2443 root      1600 S    /usr/sbin/babeld -I  -c /etc/babeld.conf -c /var/etc/babeld.conf
 2758 root      2908 S    {dnsmasq} /sbin/ujail -t 5 -n dnsmasq -u -l -e USER_DHCPSCRIPT -r /bin/ubus -r /etc/TZ -r /e
 2761 dnsmasq   1780 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411
 2774 root      1760 S    /usr/sbin/dnsmasq -C /var/etc/dnsmasq.conf.cfg01411c -k -x /var/run/dnsmasq/dnsmasq.cfg01411
 3093 root      1728 S    /usr/sbin/rssileds wlan0 200000 1 red:rssilow 1 100 0 1 red:rssimediumlow 26 100 0 1 green:r
 3147 root      2908 S    {ntpd} /sbin/ujail -t 5 -n ntpd -U ntp -G ntp -C /etc/capabilities/ntpd.json -c -u -r /bin/u
 3161 ntp       1372 S    /usr/sbin/ntpd -n -N -S /usr/sbin/ntpd-hotplug -p 0.openwrt.pool.ntp.org -p 1.openwrt.pool.n
 3608 root      1288 S    /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p 22 -K 300 -T 3 -W 262144 -2 9
 3609 root      1376 S    -ash
 4452 root      1376 S    {shared-state-as} /bin/sh /usr/bin/shared-state-async-discover
 4479 root      1376 S    {shared-state-as} /bin/sh /usr/bin/shared-state-async-discover
 4481 root      1376 S    {shared-state-as} /bin/sh /usr/bin/shared-state-async-discover
 4482 root      1372 S    sort -u -r
 4515 root      1116 S    ping -i 0.1 -c 2 ff02::1%eth1_17
 4516 root      1372 S    awk {if ($3 == "from ) print substr($4, 1, length($4)-1)"%eth1_17 }
 4542 root      1392 S    {lime-report} /bin/sh /bin/lime-report
 4637 root      1392 S    {lime-report} /bin/sh /bin/lime-report
 4640 root      1380 R    ps


### CMD ip address show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
4: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/16 brd 10.13.255.255 scope global br-lan
       valid_lft forever preferred_lft forever
    inet6 fd0d:fe46:8ce8::7f:62e1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::e2e1:a9ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever
5: anygw@br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether aa:aa:aa:0d:fe:aa brd ff:ff:ff:ff:ff:ff
    inet 10.13.0.1/16 brd 10.13.255.255 scope global anygw
       valid_lft forever preferred_lft forever
    inet6 fd0d:fe46:8ce8::1/64 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::a8aa:aaff:fe0d:feaa/64 scope link 
       valid_lft forever preferred_lft forever
6: eth0_17@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue state UP group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/32 brd 255.255.255.255 scope global eth0_17
       valid_lft forever preferred_lft forever
    inet6 fe80::e2e1:a9ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever
7: eth0_29@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue master bat0 state UP group default qlen 1000
    link/ether 02:95:39:7f:62:e1 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::95:39ff:fe7f:62e1/64 scope link 
       valid_lft forever preferred_lft forever
8: eth1_17@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
    inet 10.13.98.225/32 brd 255.255.255.255 scope global eth1_17
       valid_lft forever preferred_lft forever
9: eth1_29@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN group default qlen 1000
    link/ether 02:bb:ed:7f:62:e1 brd ff:ff:ff:ff:ff:ff
10: bat0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UNKNOWN group default qlen 1000
    link/ether 62:24:56:f4:75:27 brd ff:ff:ff:ff:ff:ff


### CMD ip route show

10.13.0.0/16 dev br-lan proto kernel scope link src 10.13.98.225
10.13.0.0/16 dev anygw proto static scope link metric 2147483647

### CMD brctl show

bridge name    bridge id        STP enabled    interfaces
br-lan        7fff.e0e1a97f62e1    no        eth0
                            bat0


### CMD ip link show

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel master br-lan state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
4: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
5: anygw@br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether aa:aa:aa:0d:fe:aa brd ff:ff:ff:ff:ff:ff
6: eth0_17@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e1 brd ff:ff:ff:ff:ff:ff
7: eth0_29@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1496 qdisc noqueue master bat0 state UP mode DEFAULT group default qlen 1000
    link/ether 02:95:39:7f:62:e1 brd ff:ff:ff:ff:ff:ff
8: eth1_17@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
    link/ether e0:e1:a9:7f:62:e2 brd ff:ff:ff:ff:ff:ff
9: eth1_29@eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1496 qdisc noqueue state LOWERLAYERDOWN mode DEFAULT group default qlen 1000
    link/ether 02:bb:ed:7f:62:e1 brd ff:ff:ff:ff:ff:ff
10: bat0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UNKNOWN mode DEFAULT group default qlen 1000
    link/ether 62:24:56:f4:75:27 brd ff:ff:ff:ff:ff:ff


### CMD df

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 5376      5376         0 100% /rom
tmpfs                    28292       116     28176   0% /tmp
tmpfs                    28292       168     28124   1% /tmp/root
overlayfs:/tmp/root      28292       168     28124   1% /
tmpfs                      512         0       512   0% /dev


### CMD logread -l 20

Fri Mar 22 22:11:55 2024 daemon.err shared-state-async[1991]: D 1711145515.637 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:57 2024 daemon.err shared-state-async[1991]: D 1711145517.967 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:58 2024 daemon.err shared-state-async[1991]: D 1711145518.174 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:58 2024 daemon.err shared-state-async[1991]: D 1711145518.297 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:58 2024 daemon.err shared-state-async[1991]: D 1711145518.987 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:59 2024 daemon.err shared-state-async[1991]: D 1711145519.194 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:59 2024 daemon.err shared-state-async[1991]: D 1711145519.306 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:12:00 2024 cron.err crond[2051]: USER root pid 3948 cmd ((sleep $(($RANDOM % 120)); shared-state-async insert net-stats < /tmp/shared-state/network_statistics.json &> /dev/null)&)
Fri Mar 22 22:12:00 2024 cron.err crond[2051]: USER root pid 3949 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Fri Mar 22 22:12:05 2024 daemon.err shared-state-async[1991]: D 1711145525.514 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:12:05 2024 daemon.err shared-state-async[1991]: D 1711145525.636 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:12:06 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:12:06 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:12:10 2024 daemon.err shared-state-async[1991]: D 1711145530.364 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:12:10 2024 daemon.err shared-state-async[1991]: D 1711145530.486 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:12:31 2024 daemon.err shared-state-async[1991]: D 1711145551.478 ReturnType AwaitableSyscall<SyscallOp, ReturnType, multiShot, errorValue>::await_resume() [with SyscallOp = ConnectOperation; ReturnType = int; bool multiShot = false; ReturnType errorValue = -1] syscall failed on resume mReturnValue: -1 error: 146 Connection refused category: generic
Fri Mar 22 22:12:36 2024 daemon.err shared-state-async[1991]: D 1711145556.336 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) net-stats got 1 significative changes out of 1 input slice size: 1 state size: 1
Fri Mar 22 22:12:36 2024 daemon.err shared-state-async[1991]: D 1711145556.399 std::task<bool> SharedState::notifyHooks(const std::string&, std::error_condition*) net-stats
Fri Mar 22 22:12:40 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:12:40 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available

### CMD logread | grep err

Fri Mar 22 22:10:02 2024 kern.err kernel: [    0.390220] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Fri Mar 22 22:10:02 2024 kern.err kernel: [    0.397112] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Fri Mar 22 22:10:02 2024 kern.err kernel: [    0.404692] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Fri Mar 22 22:10:02 2024 kern.err kernel: [    0.411669] OF: Bad cell count for /ahb/spi@1f000000/flash@0/partitions
Fri Mar 22 22:10:02 2024 kern.err kernel: [    0.929530] ag71xx 19000000.eth: Could not connect to PHY device. Deferring probe.
Fri Mar 22 22:10:02 2024 kern.err kernel: [   20.722344] ath10k_pci 0000:00:00.0: Failed to find firmware-N.bin (N between 2 and 6) from ath10k/QCA9888/hw2.0: -12
Fri Mar 22 22:10:02 2024 kern.err kernel: [   20.733429] ath10k_pci 0000:00:00.0: could not fetch firmware files (-12)
Fri Mar 22 22:10:02 2024 kern.err kernel: [   20.740463] ath10k_pci 0000:00:00.0: could not probe fw (-12)
Fri Mar 22 22:10:55 2024 daemon.notice procd: /etc/rc.d/S30shared-state-async: I 1711145455.805 bool SharedState::registerDataType(const std::string&, const std::string&, std::chrono::seconds, std::chrono::seconds, std::error_condition*) Config file: /tmp/shared-state/shared-state-async.conf corrupted or non-existent, creating a new one
Fri Mar 22 22:10:56 2024 daemon.err shared-state-async[1991]: I 1711145456.342 std::task<void> SharedStateCli::peer() Listening on TCP port: 3490  aFD: 0x77bd2d70 FD: 4
Fri Mar 22 22:10:57 2024 cron.err crond[2051]: crond (busybox 1.36.1) started, log level 5
Fri Mar 22 22:10:58 2024 daemon.err shared-state-async[1991]: ping: ff02::1%br-lan: Name does not resolve
Fri Mar 22 22:11:05 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:05 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:06 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:06 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:09 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:09 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:10 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:10 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:12 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:12 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:12 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:12 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:13 2024 daemon.err mount_root: failed - mount -t jffs2 /dev/mtdblock5 /rom/overlay: Not a tty
Fri Mar 22 22:11:13 2024 kern.err kernel: [  102.551190] Too few erase blocks (4)
Fri Mar 22 22:11:14 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:14 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:38 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:11:38 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:11:43 2024 daemon.err shared-state-async[1991]: D 1711145503.977 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 5 significative changes out of 5 input slice size: 5 state size: 5
Fri Mar 22 22:11:44 2024 daemon.err shared-state-async[1991]: D 1711145504.047 std::task<bool> SharedState::notifyHooks(const std::string&, std::error_condition*) bat-hosts
Fri Mar 22 22:11:44 2024 daemon.err shared-state-async[1991]: D 1711145504.056 std::task<int> asyncWrite(AsyncFileDescriptor&, const uint8_t*, std::size_t, std::error_condition*)  aFD: 0x77e61820 FD: 11 buffer: 0x77e69ad0 len: 238
Fri Mar 22 22:11:44 2024 daemon.err shared-state-async[1991]: D 1711145504.198 std::task<bool> SharedState::notifyHooks(const std::string&, std::error_condition*) Success executing hook: "/usr/share/shared-state/hooks/bat-hosts/shared-state-generate_bat_hosts"
Fri Mar 22 22:11:48 2024 daemon.err shared-state-async[1991]: D 1711145508.959 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:51 2024 daemon.err shared-state-async[1991]: D 1711145511.629 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:51 2024 daemon.err shared-state-async[1991]: D 1711145511.824 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:51 2024 daemon.err shared-state-async[1991]: D 1711145511.937 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:54 2024 daemon.err shared-state-async[1991]: D 1711145514.267 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:54 2024 daemon.err shared-state-async[1991]: D 1711145514.474 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:54 2024 daemon.err shared-state-async[1991]: D 1711145514.597 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:55 2024 daemon.err shared-state-async[1991]: D 1711145515.287 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:55 2024 daemon.err shared-state-async[1991]: D 1711145515.494 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:55 2024 daemon.err shared-state-async[1991]: D 1711145515.637 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:57 2024 daemon.err shared-state-async[1991]: D 1711145517.967 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:58 2024 daemon.err shared-state-async[1991]: D 1711145518.174 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:58 2024 daemon.err shared-state-async[1991]: D 1711145518.297 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:58 2024 daemon.err shared-state-async[1991]: D 1711145518.987 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:11:59 2024 daemon.err shared-state-async[1991]: D 1711145519.194 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:11:59 2024 daemon.err shared-state-async[1991]: D 1711145519.306 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:12:00 2024 cron.err crond[2051]: USER root pid 3948 cmd ((sleep $(($RANDOM % 120)); shared-state-async insert net-stats < /tmp/shared-state/network_statistics.json &> /dev/null)&)
Fri Mar 22 22:12:00 2024 cron.err crond[2051]: USER root pid 3949 cmd ((for dataFile in /var/shared-state/data/* ; do shared-state bleach $(basename $dataFile .json); done &> /dev/null)&)
Fri Mar 22 22:12:05 2024 daemon.err shared-state-async[1991]: D 1711145525.514 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:12:05 2024 daemon.err shared-state-async[1991]: D 1711145525.636 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:12:06 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:12:06 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available
Fri Mar 22 22:12:10 2024 daemon.err shared-state-async[1991]: D 1711145530.364 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 0 state size: 5
Fri Mar 22 22:12:10 2024 daemon.err shared-state-async[1991]: D 1711145530.486 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) bat-hosts got 0 significative changes out of 0 input slice size: 5 state size: 5
Fri Mar 22 22:12:31 2024 daemon.err shared-state-async[1991]: D 1711145551.478 ReturnType AwaitableSyscall<SyscallOp, ReturnType, multiShot, errorValue>::await_resume() [with SyscallOp = ConnectOperation; ReturnType = int; bool multiShot = false; ReturnType errorValue = -1] syscall failed on resume mReturnValue: -1 error: 146 Connection refused category: generic
Fri Mar 22 22:12:36 2024 daemon.err shared-state-async[1991]: D 1711145556.336 std::task<int> SharedState::merge(const std::string&, const std::map<std::__cxx11::basic_string<char>, StateEntry>&, std::error_condition*) net-stats got 1 significative changes out of 1 input slice size: 1 state size: 1
Fri Mar 22 22:12:36 2024 daemon.err shared-state-async[1991]: D 1711145556.399 std::task<bool> SharedState::notifyHooks(const std::string&, std::error_condition*) net-stats
Fri Mar 22 22:12:40 2024 daemon.err babeld[2443]: Interface eth1_17 has no link-local address.
Fri Mar 22 22:12:40 2024 daemon.err babeld[2443]: setsockopt(IPV6_LEAVE_GROUP): Address not available


### CMD iw dev wlan0-mesh station dump

command failed: No such device (-19)

### CMD iw dev wlan1-mesh station dump

command failed: No such device (-19)

### CMD iw dev wlan2-mesh station dump

command failed: No such device (-19)

### CMD iw dev wlan0-mesh mpath dump

command failed: No such device (-19)

### CMD iw dev wlan1-mesh mpath dump

command failed: No such device (-19)

### CMD iw dev wlan2-mesh mpath dump

command failed: No such device (-19)

### CMD iwinfo


### CMD wifi status

{
    
}

### CMD swconfig dev switch0 show

/bin/lime-report: eval: line 13: swconfig: not found

### CMD fw4 print

[!] Automatically including '/usr/share/lime/lime-proto-anygw_anycast-rules.nft'
table inet fw4
flush table inet fw4

table inet fw4 {
    #
    # Defines
    #


    define lan_devices = { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" }
    define lan_subnets = { 10.13.0.0/16, fd0d:fe46:8ce8::/64, 10.13.98.225 }


    define wan_devices = { "eth1" }
    define wan_subnets = {  }



    #
    # User includes
    #


    include "/etc/nftables.d/*.nft"



    #
    # Filter rules
    #


    chain input {
        type filter hook input priority filter; policy accept;


        iifname "lo" accept comment "!fw4: Accept traffic from loopback"


        ct state established,related accept comment "!fw4: Allow inbound established and related flows"
        tcp flags & (fin | syn | rst | ack) == syn jump syn_flood comment "!fw4: Rate limit TCP syn packets"
        iifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
        iifname "eth1" jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
    }


    chain forward {
        type filter hook forward priority filter; policy accept;


        ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
        iifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
        iifname "eth1" jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
    }


    chain output {
        type filter hook output priority filter; policy accept;


        oifname "lo" accept comment "!fw4: Accept traffic towards loopback"


        ct state established,related accept comment "!fw4: Allow outbound established and related flows"
        oifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
        oifname "eth1" jump output_wan comment "!fw4: Handle wan IPv4/IPv6 output traffic"
    }


    chain prerouting {
        type filter hook prerouting priority filter; policy accept;
        iifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } jump helper_lan comment "!fw4: Handle lan IPv4/IPv6 helper assignment"
    }


    chain handle_reject {
        meta l4proto tcp reject with tcp reset comment "!fw4: Reject TCP traffic"
        reject with icmpx type port-unreachable comment "!fw4: Reject any other traffic"
    }


    chain syn_flood {
        limit rate 25/second burst 50 packets return comment "!fw4: Accept SYN packets below rate-limit"
        drop comment "!fw4: Drop excess packets"
    }


    chain input_lan {
        jump accept_from_lan
    }


    chain output_lan {
        jump accept_to_lan
    }


    chain forward_lan {
        jump accept_to_wan comment "!fw4: Accept lan to wan forwarding"
        jump accept_to_lan
    }


    chain helper_lan {
    }


    chain accept_from_lan {
        iifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } counter accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain accept_to_lan {
        oifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } counter accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain input_wan {
        meta nfproto ipv4 udp dport 68 counter accept comment "!fw4: Allow-DHCP-Renew"
        meta nfproto ipv4 icmp type 8 counter accept comment "!fw4: Allow-Ping"
        meta nfproto ipv4 meta l4proto igmp counter accept comment "!fw4: Allow-IGMP"
        meta nfproto ipv6 udp dport 546 counter accept comment "!fw4: Allow-DHCPv6"
        ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { 130 . 0, 131 . 0, 132 . 0, 143 . 0 } counter accept comment "!fw4: Allow-MLD"
        meta nfproto ipv6 icmpv6 type { 128, 129, 1, 3, 133, 134 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Input"
        meta nfproto ipv6 icmpv6 type . icmpv6 code { 2 . 0, 4 . 0, 4 . 1, 135 . 0, 136 . 0 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Input"
        meta l4proto tcp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter accept comment "!fw4: lime_allow_wan_all_link_local"
        meta l4proto udp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter accept comment "!fw4: lime_allow_wan_all_link_local"
        jump reject_from_wan
    }


    chain output_wan {
        jump accept_to_wan
    }


    chain forward_wan {
        meta nfproto ipv6 icmpv6 type { 128, 129, 1, 3 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Forward"
        meta nfproto ipv6 icmpv6 type . icmpv6 code { 2 . 0, 4 . 0, 4 . 1 } limit rate 1000/second counter accept comment "!fw4: Allow-ICMPv6-Forward"
        meta l4proto esp counter jump accept_to_lan comment "!fw4: Allow-IPSec-ESP"
        udp dport 500 counter jump accept_to_lan comment "!fw4: Allow-ISAKMP"
        jump reject_to_wan
    }


    chain accept_to_wan {
        meta nfproto ipv4 oifname "eth1" ct state invalid counter drop comment "!fw4: Prevent NAT leakage"
        oifname "eth1" counter accept comment "!fw4: accept wan IPv4/IPv6 traffic"
    }


    chain reject_from_wan {
        iifname "eth1" counter jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }


    chain reject_to_wan {
        oifname "eth1" counter jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }



    #
    # NAT rules
    #


    chain dstnat {
        type nat hook prerouting priority dstnat; policy accept;
    }


    chain srcnat {
        type nat hook postrouting priority srcnat; policy accept;
        oifname "eth1" jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
    }


    chain srcnat_wan {
        meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan traffic"
    }



    #
    # Raw rules (notrack)
    #


    chain raw_prerouting {
        type filter hook prerouting priority raw; policy accept;
    }


    chain raw_output {
        type filter hook output priority raw; policy accept;
    }



    #
    # Mangle rules
    #


    chain mangle_prerouting {
        type filter hook prerouting priority mangle; policy accept;
    }


    chain mangle_postrouting {
        type filter hook postrouting priority mangle; policy accept;
    }


    chain mangle_input {
        type filter hook input priority mangle; policy accept;
    }


    chain mangle_output {
        type route hook output priority mangle; policy accept;
    }


    chain mangle_forward {
        type filter hook forward priority mangle; policy accept;
        iifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 ingress MTU fixing"
        oifname { "br-lan", "anygw", "eth0_29", "eth0_17", "eth1_29", "eth1_17" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 egress MTU fixing"
        iifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 ingress MTU fixing"
        oifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 egress MTU fixing"
    }
}


include "/usr/share/lime/lime-proto-anygw_anycast-rules.nft"

### CMD nft list ruleset

table inet fw4 {
    chain input {
        type filter hook input priority filter; policy accept;
        iifname "lo" accept comment "!fw4: Accept traffic from loopback"
        ct state established,related accept comment "!fw4: Allow inbound established and related flows"
        tcp flags syn / fin,syn,rst,ack jump syn_flood comment "!fw4: Rate limit TCP syn packets"
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } jump input_lan comment "!fw4: Handle lan IPv4/IPv6 input traffic"
        iifname "eth1" jump input_wan comment "!fw4: Handle wan IPv4/IPv6 input traffic"
    }


    chain forward {
        type filter hook forward priority filter; policy accept;
        ct state established,related accept comment "!fw4: Allow forwarded established and related flows"
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } jump forward_lan comment "!fw4: Handle lan IPv4/IPv6 forward traffic"
        iifname "eth1" jump forward_wan comment "!fw4: Handle wan IPv4/IPv6 forward traffic"
    }


    chain output {
        type filter hook output priority filter; policy accept;
        oifname "lo" accept comment "!fw4: Accept traffic towards loopback"
        ct state established,related accept comment "!fw4: Allow outbound established and related flows"
        oifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } jump output_lan comment "!fw4: Handle lan IPv4/IPv6 output traffic"
        oifname "eth1" jump output_wan comment "!fw4: Handle wan IPv4/IPv6 output traffic"
    }


    chain prerouting {
        type filter hook prerouting priority filter; policy accept;
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } jump helper_lan comment "!fw4: Handle lan IPv4/IPv6 helper assignment"
    }


    chain handle_reject {
        meta l4proto tcp reject with tcp reset comment "!fw4: Reject TCP traffic"
        reject comment "!fw4: Reject any other traffic"
    }


    chain syn_flood {
        limit rate 25/second burst 50 packets return comment "!fw4: Accept SYN packets below rate-limit"
        drop comment "!fw4: Drop excess packets"
    }


    chain input_lan {
        jump accept_from_lan
    }


    chain output_lan {
        jump accept_to_lan
    }


    chain forward_lan {
        jump accept_to_wan comment "!fw4: Accept lan to wan forwarding"
        jump accept_to_lan
    }


    chain helper_lan {
    }


    chain accept_from_lan {
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } counter packets 66 bytes 6809 accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain accept_to_lan {
        oifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } counter packets 84 bytes 7368 accept comment "!fw4: accept lan IPv4/IPv6 traffic"
    }


    chain input_wan {
        meta nfproto ipv4 udp dport 68 counter packets 0 bytes 0 accept comment "!fw4: Allow-DHCP-Renew"
        icmp type echo-request counter packets 0 bytes 0 accept comment "!fw4: Allow-Ping"
        meta nfproto ipv4 meta l4proto igmp counter packets 0 bytes 0 accept comment "!fw4: Allow-IGMP"
        meta nfproto ipv6 udp dport 546 counter packets 0 bytes 0 accept comment "!fw4: Allow-DHCPv6"
        ip6 saddr fe80::/10 icmpv6 type . icmpv6 code { mld-listener-query . no-route, mld-listener-report . no-route, mld-listener-done . no-route, mld2-listener-report . no-route } counter packets 0 bytes 0 accept comment "!fw4: Allow-MLD"
        icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply, nd-router-solicit, nd-router-advert } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Input"
        icmpv6 type . icmpv6 code { packet-too-big . no-route, parameter-problem . no-route, parameter-problem . admin-prohibited, nd-neighbor-solicit . no-route, nd-neighbor-advert . no-route } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Input"
        meta l4proto tcp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter packets 0 bytes 0 accept comment "!fw4: lime_allow_wan_all_link_local"
        meta l4proto udp ip6 saddr fe80::/10 ip6 daddr fe80::/10 counter packets 0 bytes 0 accept comment "!fw4: lime_allow_wan_all_link_local"
        jump reject_from_wan
    }


    chain output_wan {
        jump accept_to_wan
    }


    chain forward_wan {
        icmpv6 type { destination-unreachable, time-exceeded, echo-request, echo-reply } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Forward"
        icmpv6 type . icmpv6 code { packet-too-big . no-route, parameter-problem . no-route, parameter-problem . admin-prohibited } limit rate 1000/second counter packets 0 bytes 0 accept comment "!fw4: Allow-ICMPv6-Forward"
        meta l4proto esp counter packets 0 bytes 0 jump accept_to_lan comment "!fw4: Allow-IPSec-ESP"
        udp dport 500 counter packets 0 bytes 0 jump accept_to_lan comment "!fw4: Allow-ISAKMP"
        jump reject_to_wan
    }


    chain accept_to_wan {
        meta nfproto ipv4 oifname "eth1" ct state invalid counter packets 0 bytes 0 drop comment "!fw4: Prevent NAT leakage"
        oifname "eth1" counter packets 0 bytes 0 accept comment "!fw4: accept wan IPv4/IPv6 traffic"
    }


    chain reject_from_wan {
        iifname "eth1" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }


    chain reject_to_wan {
        oifname "eth1" counter packets 0 bytes 0 jump handle_reject comment "!fw4: reject wan IPv4/IPv6 traffic"
    }


    chain dstnat {
        type nat hook prerouting priority dstnat; policy accept;
    }


    chain srcnat {
        type nat hook postrouting priority srcnat; policy accept;
        oifname "eth1" jump srcnat_wan comment "!fw4: Handle wan IPv4/IPv6 srcnat traffic"
    }


    chain srcnat_wan {
        meta nfproto ipv4 masquerade comment "!fw4: Masquerade IPv4 wan traffic"
    }


    chain raw_prerouting {
        type filter hook prerouting priority raw; policy accept;
    }


    chain raw_output {
        type filter hook output priority raw; policy accept;
    }


    chain mangle_prerouting {
        type filter hook prerouting priority mangle; policy accept;
    }


    chain mangle_postrouting {
        type filter hook postrouting priority mangle; policy accept;
    }


    chain mangle_input {
        type filter hook input priority mangle; policy accept;
    }


    chain mangle_output {
        type route hook output priority mangle; policy accept;
    }


    chain mangle_forward {
        type filter hook forward priority mangle; policy accept;
        iifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 ingress MTU fixing"
        oifname { "anygw", "br-lan", "eth0_17", "eth0_29", "eth1_17", "eth1_29" } tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone lan IPv4/IPv6 egress MTU fixing"
        iifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 ingress MTU fixing"
        oifname "eth1" tcp flags syn tcp option maxseg size set rt mtu comment "!fw4: Zone wan IPv4/IPv6 egress MTU fixing"
    }
}
table bridge filter {
    chain forward_anygw {
        type filter hook forward priority filter; policy accept;
        ether daddr aa:aa:aa:00:00:00/24 counter packets 667 bytes 42387 drop
    }
}
table bridge nat {
    chain postrouting_anygw {
        type filter hook postrouting priority srcnat; policy accept;
        oifname "bat0" ether saddr aa:aa:aa:00:00:00/24 counter packets 6 bytes 912 drop
        oifname "bat0" icmpv6 type nd-router-solicit counter packets 0 bytes 0 drop
        oifname "bat0" icmpv6 type nd-router-advert counter packets 0 bytes 0 drop
    }
}


### CMD opkg list-installed

babeld - 1.13.1-1
babeld-auto-gw-mode - git-24.094.72633-2e50c6c-1
bandwidth-test - 2024-04-03-1712175033
base-files - 1554-r23809-234f1a2efa
batctl-default - 2023.1-2
busybox - 1.36.1-1
bwm-ng - 0.6.3-1
ca-bundle - 20230311-1
cgi-io - 2022-08-10-901b0f04-21
check-date-http - 2024-04-03-1712175033
check-internet - 2024-04-03-1712175033
dnsmasq-dhcpv6 - 2.90-2
dropbear - 2022.82-6
ethtool - 6.3-1
firewall4 - 2023-09-01-598d9fbb-1
fstools - 2023-02-28-bfe882d5-1
fwtool - 2019-11-12-8f7fe925-1
getrandom - 2022-08-13-4c7b720b-2
hostapd-common - 2023-09-08-e5ccbfc6-6
hotplug-initd-services - 2024-04-03-1712175033
ip-tiny - 6.3.0-1
iperf3 - 3.16-1
iputils-ping - 20211215-2
iw - 5.19-1
iwinfo - 2023-07-01-ca79f641-1
jansson4 - 2.14-3
jq - 1.6-2
jshn - 2023-05-23-75a3b870-1
jsonfilter - 2024-01-23-594cfa86-1
kernel - 5.15.150-1-8431c309178c95d1316e7675998b7d60
kmod-ath - 5.15.150+6.1.24-3
kmod-ath10k-smallbuffers - 5.15.150+6.1.24-3
kmod-ath9k - 5.15.150+6.1.24-3
kmod-ath9k-common - 5.15.150+6.1.24-3
kmod-batman-adv - 5.15.150+2023.1-6
kmod-cfg80211 - 5.15.150+6.1.24-3
kmod-crypto-acompress - 5.15.150-1
kmod-crypto-aead - 5.15.150-1
kmod-crypto-ccm - 5.15.150-1
kmod-crypto-cmac - 5.15.150-1
kmod-crypto-crc32c - 5.15.150-1
kmod-crypto-ctr - 5.15.150-1
kmod-crypto-gcm - 5.15.150-1
kmod-crypto-gf128 - 5.15.150-1
kmod-crypto-ghash - 5.15.150-1
kmod-crypto-hash - 5.15.150-1
kmod-crypto-hmac - 5.15.150-1
kmod-crypto-manager - 5.15.150-1
kmod-crypto-md5 - 5.15.150-1
kmod-crypto-null - 5.15.150-1
kmod-crypto-rng - 5.15.150-1
kmod-crypto-seqiv - 5.15.150-1
kmod-crypto-sha512 - 5.15.150-1
kmod-gpio-button-hotplug - 5.15.150-3
kmod-lib-crc-ccitt - 5.15.150-1
kmod-lib-crc16 - 5.15.150-1
kmod-lib-crc32c - 5.15.150-1
kmod-lib-lzo - 5.15.150-1
kmod-mac80211 - 5.15.150+6.1.24-3
kmod-macvlan - 5.15.150-1
kmod-nf-conntrack - 5.15.150-1
kmod-nf-conntrack6 - 5.15.150-1
kmod-nf-flow - 5.15.150-1
kmod-nf-log - 5.15.150-1
kmod-nf-log6 - 5.15.150-1
kmod-nf-nat - 5.15.150-1
kmod-nf-reject - 5.15.150-1
kmod-nf-reject6 - 5.15.150-1
kmod-nfnetlink - 5.15.150-1
kmod-nft-bridge - 5.15.150-1
kmod-nft-core - 5.15.150-1
kmod-nft-fib - 5.15.150-1
kmod-nft-nat - 5.15.150-1
kmod-nft-offload - 5.15.150-1
kmod-ppp - 5.15.150-1
kmod-pppoe - 5.15.150-1
kmod-pppox - 5.15.150-1
kmod-random-core - 5.15.150-1
kmod-slhc - 5.15.150-1
libatomic1 - 12.3.0-4
libblobmsg-json20230523 - 2023-05-23-75a3b870-1
libc - 1.2.4-4
libgcc1 - 12.3.0-4
libiperf3 - 3.16-1
libiwinfo-data - 2023-07-01-ca79f641-1
libiwinfo-lua - 2023-07-01-ca79f641-1
libiwinfo20230701 - 2023-07-01-ca79f641-1
libjson-c5 - 0.16-3
libjson-script20230523 - 2023-05-23-75a3b870-1
liblua5.1.5 - 5.1.5-10
liblucihttp-lua - 2023-03-15-9b5b683f-1
liblucihttp-ucode - 2023-03-15-9b5b683f-1
liblucihttp0 - 2023-03-15-9b5b683f-1
libmbedtls12 - 2.28.7-2
libmnl0 - 1.0.5-1
libncurses6 - 6.4-2
libnftnl11 - 1.2.6-1
libnl-tiny1 - 2023-07-27-bc92a280-1
libpcap1 - 1.10.4-1
libpthread - 1.2.4-4
librt - 1.2.4-4
libstdcpp6 - 12.3.0-4
libubox-lua - 2023-05-23-75a3b870-1
libubox20230523 - 2023-05-23-75a3b870-1
libubus-lua - 2023-06-05-f787c97b-1
libubus20230605 - 2023-06-05-f787c97b-1
libuci-lua - 2023-08-10-5781664d-1
libuci20130104 - 2023-08-10-5781664d-1
libuclient20201210 - 2023-04-13-007d9454-1
libucode20230711 - 2023-11-07-a6e75e02-1
libustream-mbedtls20201210 - 2023-02-25-498f6e26-1
lime-app - v0.2.26-2
lime-debug - 2024-04-03-1712175033
lime-docs - 2024-04-03-1712175033
lime-docs-minimal - 2024-04-03-1712175033
lime-hwd-openwrt-wan - 2024-04-03-1712175033
lime-proto-anygw - 2024-04-03-1712175033
lime-proto-babeld - git-24.094.72633-2e50c6c
lime-proto-batadv - git-24.094.72633-2e50c6c
lime-proto-wan - git-24.094.72633-2e50c6c
lime-report - 2024-04-03-1712175033
lime-system - 2024-04-03-1712175033
logd - 2022-08-13-4c7b720b-2
lua - 5.1.5-10
luci-base - git-24.073.29889-cd7e519
luci-compat - git-23.351.85440-817a5e6
luci-lib-base - git-22.308.54612-9118452
luci-lib-httpclient - git-20.201.65662-8b8d83e
luci-lib-httpprotoutils - git-23.024.54051-e776759
luci-lib-ip - git-23.311.79290-c2a887e
luci-lib-jsonc - git-23.298.74571-62eb535
luci-lib-nixio - git-24.034.54875-21210dc
luci-lua-runtime - git-23.233.52805-dae2684
mtd - 26
mtr-nojson - 0.95-3
netifd - 2024-01-04-c18cc79d-1
netperf - 2.7.0-3
nftables-json - 1.0.8-1
odhcp6c - 2023-05-12-bcd28363-20
opkg - 2022-02-24-d038e5b6-2
procd - 2023-06-25-2db83655-2
procd-seccomp - 2023-06-25-2db83655-2
procd-ujail - 2023-06-25-2db83655-2
pv - 1.6.6-1
random-numgen - 0.1-1
rpcd - 2023-07-01-c07ab2f9-1
rpcd-mod-file - 2023-07-01-c07ab2f9-1
rpcd-mod-iwinfo - 2023-07-01-c07ab2f9-1
rpcd-mod-luci - 20240305-1
rpcd-mod-ucode - 2023-07-01-c07ab2f9-1
rssileds - 4
safe-reboot - 2024-04-03-1712175033
shared-state - 2024-04-03-1712175033
shared-state-async - 2024-04-03-1712175033
shared-state-babeld_hosts - 2024-04-03-1712175033
shared-state-bat_hosts - 2024-04-03-1712175033
shared-state-dnsmasq_hosts - 2024-04-03-1712175033
shared-state-dnsmasq_leases - 2024-04-03-1712175033
shared-state-nodes_and_links - 2024-04-03-1712175033
sprunge - 2024-04-03-1712175033
tcpdump-mini - 4.99.4-1
terminfo - 6.4-2
ubox - 2022-08-13-4c7b720b-2
ubus - 2023-06-05-f787c97b-1
ubus-lime-grondrouting - 2024-04-03-1712175033
ubus-lime-location - 2024-04-03-1712175033
ubus-lime-metrics - 2024-04-03-1712175033
ubus-lime-utils - 2024-04-03-1712175033
ubusd - 2023-06-05-f787c97b-1
uci - 2023-08-10-5781664d-1
uclient-fetch - 2023-04-13-007d9454-1
ucode - 2023-11-07-a6e75e02-1
ucode-mod-fs - 2023-11-07-a6e75e02-1
ucode-mod-html - 1
ucode-mod-lua - 1
ucode-mod-math - 2023-11-07-a6e75e02-1
ucode-mod-nl80211 - 2023-11-07-a6e75e02-1
ucode-mod-rtnl - 2023-11-07-a6e75e02-1
ucode-mod-ubus - 2023-11-07-a6e75e02-1
ucode-mod-uci - 2023-11-07-a6e75e02-1
ucode-mod-uloop - 2023-11-07-a6e75e02-1
uhttpd - 2023-06-25-34a8a74d-2
uhttpd-mod-lua - 2023-06-25-34a8a74d-2
uhttpd-mod-ubus - 2023-06-25-34a8a74d-2
urandom-seed - 3
urngd - 2023-11-01-44365eb1-1
usign - 2020-05-23-f1f65026-1
watchping - 2024-04-03-1712175033
wifi-unstuck-wa - 2024-04-03-1712175033
wireless-regdb - 2024.01.23-1
wpad-basic-mbedtls - 2023-09-08-e5ccbfc6-6