Actuellement, la quantité de données à intégrer ne me paraît pas démesurée. J'ai juste ajouté box et livebox manuellement au fichier /etc/board.json pour me représenter les choses.
{
"model": {
"id": "bananapi,bpi-r3",
"name": "Bananapi BPI-R3",
},
"box": {
"id": "livebox,livebox_5",
"name": "Livebox 5",
"macaddr": "00:11:22:33:44:55",
},
"network": {
"lan": {
"ports": [
"lan1",
"lan2",
"lan3",
"lan4",
"sfp2",
"wan"
],
"protocol": "static"
},
"wan": {
"device": "eth1",
"protocol": "dhcp",
"macaddr": "00:11:22:33:44:55",
}
},
"livebox": {
"ipv4": {
"clientid": "01001122334455",
"reqopts": "1 3 6 15 28 51 58 59 90 119 120 125",
"vendorid": "FSVDSL_livebox.Internet.softathome.Livebox5",
"90": "<authentication>",
},
"ipv6": {
"clientid": "00030001001122334455",
"reqopts": "11 17 23 24",
"11": "<authentication>",
"userclass": "FSVDSL_livebox.Internet.softathome.Livebox5",
"vendorclass": "arcadyan",
},
"vlan": {
"vid": "832",
"cos": "6:6",
}
}
"system": {
"compat_version": "1.2"
},
"wlan": {
"phy0": {
"path": "platform/soc/18000000.wifi",
"info": {
"antenna_rx": 15,
"antenna_tx": 15,
"bands": {
"2G": {
"ht": true,
"he": true,
"max_width": 40,
"modes": [
"NOHT",
"HT20",
"HE20",
"HT40",
"HE40"
]
}
}
}
},
"phy1": {
"path": "platform/soc/18000000.wifi+1",
"info": {
"antenna_rx": 15,
"antenna_tx": 15,
"bands": {
"5G": {
"ht": true,
"vht": true,
"he": true,
"max_width": 160,
"modes": [
"NOHT",
"HT20",
"VHT20",
"HE20",
"HT40",
"VHT40",
"VHT80",
"HE80",
"VHT160",
"HE160"
]
}
}
}
}
}
}
Idéalement, il faudrait créer un paquet logiciel OpenWrt correspondant à un FAI comme cela est fait pour chaque SBC (ordinateur monocarte).