Download Print this page

NETGEAR KWGR614 User Manual page 11

Opensource wireless-g router
Hide thumbs Also See for KWGR614:

Advertisement

int example_cfg_save(void)
{
cfgmgr_write(CFGMGR_TABID_EXAMPLE, \
cfgmgr_task();
return 1;
}
11. Add the parameter to the NVRAM commit function.
user/boa/src/dni/board.c
int nvram_commit(void)
{
. . .
cfgmgr_write(CFGMGR_TABID_EXAMPLE, \
cfgmgr_task();
return 1;
}
12. Clean and rebuild
At the shell prompt, type:
work> cd user; make clean; cd ..; make
Web Page Integration
The boa web server is used. Custom web pages are integrated at:
user/boa/src/www_WW/
1. Create the main page in the above directory. Use
name
to insert the value of an NVRAM variable.
"); %>
(void*)&(pRomeCfgParam->exampleParam),\
sizeof(exampleParam_t));
(void*)&(pRomeCfgParam->exampleParam), \
sizeof(exampleParam_t));
after any changes to
userspace
.
board.h
variable
<% nvram_get("

Advertisement

loading