Instructions for installing and running ActorNet 1. Install TinyOS (at least version 1.1.11) 2. Add the following lines to ~/.bashrc, replacing "/opt/uiuc/ActorNet" with the actual location of the ActorNet directory. # for TinyOS export MAKERULES="$TOSROOT/tools/make/Makerules" export MIB510=/dev/ttyS0 # for ActorNet export PATH="/opt/uiuc/ActorNet/bin:$PATH" Restart the Cygwin shell 3. ActorNet directory structure actors/ - example actor code (with uQuery extensions) actors/old - example actor code (some may be out of date) bin/ - program binaries src/ - source code src/GenericBase - modified GenericBase program for the base station mote src/Platform - ActorNet platform for Mica2 motes src/client - client for the admserver (for testing purposes) src/services - ActorNet and ADMServer code src/shared - shared code for the above programs 4. Compiling ActorNet cd /opt/uiuc/ActorNet/src make && make install 5. Installing a. GenericBase (program one mote) cd /opt/uiuc/ActorNet/src/GenericBase make mica2 mib510 reinstall b. Platform (program rest of the motes) cd /opt/uiuc/ActorNet/src/Platform make mica2 mib510 reinstall.NNN (NNN = platform id) 6. Running a. Connect the base station to the PC, turn on an ActorNet mote. Wait until red LED lights up. b. Start the services cd /opt/uiuc/ActorNet/bin server (this starts forwarder, repeater, admserver and platform 100. alternative: launch "forwarder", "repeater" and "admserver" separately) c. (optional) Start PC-side ActorNet platforms cd /opt/uiuc/ActorNet/bin platform NNN (NNN = platform id) d. (optional) Directly execute ActorNet programs cd /opt/uiuc/ActorNet/actors/old launch print.scm 7. Stopping Press Ctrl-C in each Cygwin window to kill the server and the platforms. It is possible that forwarder and repeater will not be stopped this way. Run "ps", and locate the lines of the forwarder and repeater processes, and note the PID column values. Then run "kill PID1 PID2" to stop these processes.