Hi Adam,
Perhaps
set_ready has to be set to zero (with
xmldbc -s) and then monitored until it changes back to one, to indicate that new realtime data has been populated? Pure guess. Like some sort of polling flag, though. What other purpose might it have?
Set_ready was set to zero in Ian's database dump, yet it was set to one in yours.
XGI sounds like a primitive server-side scripting engine. It's a symlink to
/sbin/atp.
With the file-system extracted with the firmware mod kit, [1] we can run
strings against
atp. That divulges a few other hard-coded references to
xgi resources:
strings atp | grep xgi
xgi_main
xgi_handlers
do_xgi
test.xgi
config.xgi
**.xgi
/config/doxgi/errermsg
ConfigSet(/config/doxgi/errermsg,Factory restore error ...)
ConfigSet(/config/doxgi/errermsg,Save and Reboot error ...)
reboot.xgi
restore.xgi
saveandreboot.xgi
downloadmessagelog.xgi
Summary_DSL_Wait.xgi
st_stat_wait.xgi
If
strace was gotten onto the device, and attached to the
xgi process, it should reveal the calls used to trigger the repopulation of the database with realtime data. Bit of effort to get that working, though.
We can also grep the root file system from a desktop machine. Which shows that
set_ready is referenced quite a lot from a number of static resources:
$ grep -r set_ready * 2>/dev/null
Binary file bin/alphaWanAgent matches
www/Wizard/Summary_DSL_Gat.htm:"<?ConfigGet(/runtime/dsl/set_ready)?>"
www/public/__menu.js: top.fPanel.location.href="st_stat_wait.xgi?&set/runtime/dsl/set_ready=1";
www/STATUS/st_stat_get.htm:"<?ConfigGet(/runtime/dsl/set_ready)?>"
www/js/Wizard/Summary_Screen.js: var url="Summary_DSL_Wait.xgi?&set/runtime/dsl/set_ready=1";
www/js/Wizard/Summary_Wireless.js: var url="Summary_DSL_Wait.xgi?&set/runtime/dsl/set_ready=1";
www/js/Wizard/Summary_3g.js: var url="Summary_DSL_Wait.xgi?&set/runtime/dsl/set_ready=1";
www/js/Wizard/Summary_Internet.js: var url="Summary_DSL_Wait.xgi?&set/runtime/dsl/set_ready=1";
www/js/Wizard/Summary_DSL.js: var url="Summary_DSL_Wait.xgi?&set/runtime/dsl/set_ready=1";
www/js/STATUS/st_stat.js: var url="st_stat_wait.xgi?&set/runtime/dsl/set_ready=1";
Not immediately obvious how it works! Could be interesting when you discover, though!
cheers, a
[1]
http://code.google.com/p/firmware-mod-kit/