tossp / redpill-tool-chain

这是一个测试项目,可能会有不可预测的事情发生(比如:毁损数据、烧毁硬件等等),请谨慎使用。
806 stars 1.89k forks source link

Build Problem with 4 net #28

Closed devid79 closed 2 years ago

devid79 commented 2 years ago

Hello when add more net

"extra_cmdline": {
    "pid": "0x0951",
    "vid": "0x1625",
"netif_num": "4",
    "sn": "1710LWN023200",
    "mac1": "001132410000"
"mac2": "001132410000"
"mac3": "001132410000"
"mac4": "001132410000"
},
"synoinfo": {},
"ramdisk_copy": {},
"extensions": []

the result is [#] Checking runtime for required tools... [OK] include/json.sh: line 16: 2: unbound variable Makefile:29: recipe for target 'build_redpill_load' failed make: *** [build_redpill_load] Error 1

with one interface it's all ok

More thank in advantage

tossp commented 2 years ago

JSON syntax error and the MAC address cannot be the same

"extra_cmdline": {
    "pid": "0x0951",
    "vid": "0x1625",
    "netif_num": "4",
    "sn": "1710LWN023200",
    "mac1": "001132410000",
    "mac2": "001132410001",
    "mac3": "001132410002",
    "mac4": "001132410003"
},
"synoinfo": {
    "maxlanport": "4"
},
"ramdisk_copy": {},
"extensions": []