I have a commond "fw_setenv ipaddr 'ip'", this commond on target terminal will change the ip address in u-boot environment. when next time the target restarted will come up with same ip address which as in u-boot environment.
this is happing through terminal, but I want this need happen on onclick submit in HTML page.
In HTML page I will be mentioniong the Ip address and followed by submit,my fw_setenv ipaddr commond as to take ip address from HTML and execute.
I have HTML server with CGI support, please guide me how can i achieve the above with giving som example code.