Skip to content

Instantly share code, notes, and snippets.

@mrjk
Created January 2, 2024 00:24
Show Gist options
  • Save mrjk/5b302812a0a50760c18ed71cafa2ccff to your computer and use it in GitHub Desktop.
Save mrjk/5b302812a0a50760c18ed71cafa2ccff to your computer and use it in GitHub Desktop.
Board settings are invalid on MR8300, there is a corrected version for switch
{
"model": {
"id": "linksys,mr8300",
"name": "Linksys MR8300 (Dallas)"
},
"network": {
"lan": {
"device": "eth0",
"protocol": "static"
},
"wan": {
"device": "eth1",
"protocol": "dhcp"
}
},
"switch": {
"switch0": {
"enable": true,
"reset": true,
"ports": [
{
"num": 0,
"device": "eth0",
"need_tag": false,
"want_untag": true
},
{
"num": 1,
"role": "lan"
},
{
"num": 2,
"role": "lan"
},
{
"num": 3,
"role": "lan"
},
{
"num": 4,
"role": "lan"
},
{
"num": 6,
"device": "eth1",
"need_tag": false,
"want_untag": true
},
{
"num": 5,
"role": "wan"
}
],
"roles": [
{
"role": "lan",
"ports": "1 2 3 4 0t",
"device": "eth0"
},
{
"role": "wan",
"ports": "5 6t",
"device": "eth1"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment