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"
}
}