- TOSBase not able to communicate with remote nodes.
- Drain just give output only once i.e. i dont get more output for anymore queries unless I restart all the nodes in network. This time however I've also tested it for remote node and even after running drain command TOSBase doesn't able to retrieve information from remote nodes.
Regards,
Sumit
On 9/19/06, Sumit Gupta <[EMAIL PROTECTED]> wrote:
Hi,
I really need help in using Nucleus for data collection from network. Currently, I can collect data from nodes which are in range of base node (i.e. TOSBase node) using nucleus but I am not getting any data from remote nodes. I am little confuse how nucleus should really work. This is because of following reason:
Also, as per nucleus manual, Nucleus uses Drain to construct tree if we give following command:
- First of all, nodes in network doesnt recorgnize TOSBase node as root, therefore to create a multihop network I had to attach another node to computer with id=0 (running same application as all other nodes) to activate the network. However TOSBase was able to collect data from nodes in range. Is it because nucleus make their own seprate tree to disperse query through out the network and collect data? If so, does it mean that I do have to attach two nodes to computer - one as nuclues base and other as network base to collect regular data?
(NOTE: I AM USING SURGETELOS APPLICATION WITH NUCLEUS)
java net.tinyos.drain.Drain
but its giving some problem. I havent tested it for remote nodes yet but the main problem with this command is that after I run it I could retrieve data only once from the network. I mean to say that once this command is being given to system, data can be retreived only one time as after that every next query give blank output. To get data again from network I had to restart all the nodes including base ones. The following output will give you some idea about the problem I am having.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
0: TOS_LOCAL_ADDRESS = 0
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ java net.tinyos.drain.Drain
Drain: root_address=3 instance=137 period=0 delay=4
Sending beacon...
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
0: TOS_LOCAL_ADDRESS = 0
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ java net.tinyos.drain.Drain
Drain: root_address=3 instance=51 period=0 delay=4
Sending beacon...
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ java net.tinyos.drain.Drain
Drain: root_address=3 instance=102 period=0 delay=4
Sending beacon...
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.
[EMAIL PROTECTED] /opt/tinyos-1.x/apps/SurgeTN/build/telosb
$ nquery TOS_LOCAL_ADDRESS
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInt
erface).
log4j:WARN Please initialize the log4j system properly.
Now I am getting some warnings, is it because of that? When I run Drain I get following warnings (also shown above):
log4j:WARN No appenders could be found for logger (net.tinyos.drain.Drain).
log4j:WARN Please initialize the log4j system properly.
and when I run query I get following warnings:
log4j:WARN No appenders could be found for logger (net.tinyos.nucleus.NucleusInterface).
log4j:WARN Please initialize the log4j system properly.
Please advice. I really need to solve this.
Regards,Sumit
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
