Temat: Bpi-R4 Zduplikowane porty

Witam wszystkich. Zbudowałem sobie obraz z buildera od woziwrt, pojawił się problem z zduplikowanymi portami na zakładce Status. Edytowałem pliki /etc/config/network i board.json, jednak kiedy wchodzę na zakładkę Status mam error:

SyntaxError
JSON.parse: unexpected character at line 43 column 7 of the JSON data

Zamieszczam blik board.json:

{
    "model": {
        "id": "bananapi,bpi-r4",
        "name": "Bananapi BPI-R4"
    },
    "led": {
        "wan": {
            "name": "wan",
            "sysfs": "mt7530-0:00:green:lan",
            "type": "netdev",
            "device": "wan",
            "mode": "link tx rx"
        },
        "lan1": {
            "name": "lan1",
            "sysfs": "mt7530-0:01:green:lan",
            "type": "netdev",
            "device": "lan1",
            "mode": "link tx rx"
        },
        "lan2": {
            "name": "lan2",
            "sysfs": "mt7530-0:02:green:lan",
            "type": "netdev",
            "device": "lan2",
            "mode": "link tx rx"
        },
        "lan3": {
            "name": "lan3",
            "sysfs": "mt7530-0:03:green:lan",
            "type": "netdev",
            "device": "lan3",
            "mode": "link tx rx"
        }
    },
    "network": {
        "lan": {
            "ports": [
                "lan1",
                "lan2",
                "lan3",
                "eth1",
      ], 
            "protocol": "static"
        },
        "wan": {
            "ports": [
                "wan",
                "eth2",
            ],
            "protocol": "dhcp",
            "macaddr": "XX:XX:XX:XX:XX:XX"
        }
    },
    "wlan": {
        "defaults": {
            "country": "PL"
        },
        "phy0": {
            "path": "soc/11300000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0",
            "info": {
                "antenna_rx": 255,
                "antenna_tx": 255,
                "bands": {
                    "2G": {
                        "ht": true,
                        "he": true,
                        "eht": true,
                        "max_width": 40,
                        "modes": [
                            "NOHT",
                            "HT20",
                            "HE20",
                            "EHT20",
                            "HT40",
                            "HE40",
                            "EHT40"
                        ],
                        "default_channel": 1
                    },
                    "5G": {
                        "ht": true,
                        "vht": true,
                        "he": true,
                        "eht": true,
                        "max_width": 160,
                        "modes": [
                            "NOHT",
                            "HT20",
                            "VHT20",
                            "HE20",
                            "EHT20",
                            "HT40",
                            "VHT40",
                            "HE40",
                            "EHT40",
                            "VHT80",
                            "HE80",
                            "EHT80",
                            "VHT160",
                            "HE160",
                            "EHT160",
                            "EHT320"
                        ],
                        "default_channel": 36
                    },
                    "6G": {
                        "he": true,
                        "eht": true,
                        "max_width": 320,
                        "modes": [
                            "NOHT",
                            "HE20",
                            "EHT20",
                            "HE40",
                            "EHT40",
                            "HE80",
                            "EHT80",
                            "HE160",
                            "EHT160",
                            "EHT320"
                        ],
                        "default_channel": 1
                    }
                },
                "radios": [
                    {
                        "index": 0,
                        "freq_ranges": [
                            [
                                2400000,
                                2500000
                            ]
                        ],
                        "bands": {
                            "2G": {
                                "default_channel": 1
                            }
                        }
                    },
                    {
                        "index": 1,
                        "freq_ranges": [
                            [
                                5000000,
                                5900000
                            ]
                        ],
                        "bands": {
                            "5G": {
                                "default_channel": 36
                            }
                        }
                    },
                    {
                        "index": 2,
                        "freq_ranges": [
                            [
                                5925000,
                                7200000
                            ]
                        ],
                        "bands": {
                            "6G": {
                                "default_channel": 1
                            }
                        }
                    }
                ]
            }
        }
    },
    "system": {
        "timezone": "CET-1CEST,M3.5.0,M10.5.0/3"
    }
}
GL I.Net GL-MT6000 | GL I.Net GL-MT3000 (Beryl AX)| Banana Pi BPI-R4 | Banana PI BPI-R3 | Quantum Fiber W1700K | Zyxel T-56 | Linksys MX8500 | Linksys MX6200 | Linksys MX5300 | Linksys MX4300 | Linksys SPNMX42 (MX4200v2 ) | Linksys MX4200 V1 x2 | Linksys WHW03 V2 | Linksys WHW01 | Netgear R6220 | Zyxel SCR50AXE

2

Odp: Bpi-R4 Zduplikowane porty

Przecinki zostawiłeś w lan i wan

"eth1",
"eth2",

na

"eth1"
"eth2"

W tablicach ostatni musi być bez przecinka (choć niektóre systemy wybaczają takie coś, ale nie w tym przypadku).

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Bpi-R4 Zduplikowane porty

Jezu, takie pierdoły... Ale ważne, że działa, dzięki smile

GL I.Net GL-MT6000 | GL I.Net GL-MT3000 (Beryl AX)| Banana Pi BPI-R4 | Banana PI BPI-R3 | Quantum Fiber W1700K | Zyxel T-56 | Linksys MX8500 | Linksys MX6200 | Linksys MX5300 | Linksys MX4300 | Linksys SPNMX42 (MX4200v2 ) | Linksys MX4200 V1 x2 | Linksys WHW03 V2 | Linksys WHW01 | Netgear R6220 | Zyxel SCR50AXE