Hello,
Thank you for your answer.
I would like to change the wired WAN IP.
By default, it is on dhcp mode and I would like to change it to static and set an IP.
For the tests I am connected to the LAN, so I won't be having problems if the IP changes.
I have also tried (with no luck) to send all the parameters instead just the value I would like to change as follows:
{
"jsonrpc": "2.0",
"id": 1,
"result": [
0,
{
"values": {
".anonymous": false,
".type": "interface",
".name": "wan",
"ifname": "eth1",
"metric": "1",
"netmask": "255.255.255.0",
"delegate": "1",
"force_link": "0",
"proto": "static",
"ipaddr": "192.168.1.4",
"protocol": "static",
"ipadrr": "192.168.1.1"
}
}
]
}
Regarding the result code, I have been looking for its meanings, but I haven't find anything. Do you know where can I find the explanations of each result code?
Thank you and best regards,