The way we do this is as follows:

The BBB is monitoring processes and sending data via json to a web server, 
where it is displayed.
The BBB is behind a firewall, so it must be the one to initiate the 
communication. The BBB ultimately is the boss here, not the server.
When there is no data coming in, the BBB just sends out a periodic json 
message to a web server  : "Got any commands for me?"
The web server responds with "Nothing at the moment" or any of a set of 
commands that are recognized by the BBB.
The BBB reports success or failure for each command it receives.
One of the possible commands it recognizes it "Start an ssh session 
(reverse tunnel) at server x on port y". This allows us to ssh into the BBB 
when something needs to be done that was not provided for in the command 
set.
There are several layers of "fail safe" built in, so that if something 
fails then the guilty subsystem, then the app itself, and if need be 
eventually the entire board may be restarted.

This may or may not work for you or be what you have in mind.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to