- 14 Feb, 2007 1 commit
-
-
David Johnson authored
-
- 01 Dec, 2006 2 commits
-
-
Mike Hibler authored
-
David Johnson authored
-
- 25 Oct, 2006 1 commit
-
-
Leigh Stoller authored
between when something is installed and when post-install runs. Short of a global lock (which we probably need anyway someday), my solution is this. In your makefiles, add these variables before the line that has the include of $(TESTBED_SRCDIR)/GNUmakerules: SETUID_BIN_SCRIPTS = SETUID_SBIN_SCRIPTS = I have added three new rules to GNUmakerules that look like this: $(addprefix $(SBINDIR)/, $(SETUID_SBIN_SCRIPTS)): $(SBINDIR)/%: % echo "Installing (setuid) $<" -mkdir -p $(INSTALL_SBINDIR) $(SUDO) $(INSTALL) -o root -m 4755 $< $@ Yep, your eyes ain't lying to you; use sudo to run the target so that install does the right thing (which is that the old file is not replaced until the new one has the proper attributes on it). Note that post-install is still needed for the initial install, but should no longer be needed for day to day installs since all that other stuff post-install does is mkdir/chmod on directories.
-
- 04 Apr, 2006 2 commits
-
-
David Johnson authored
relational database. For now, this is done using some GROUP_CONCATS and hierarchies of VIEWs, since mysql 5.x does not yet support subqueries in VIEWs.
-
David Johnson authored
connections and parsing mig-generated packet specs.
-
- 21 Mar, 2006 1 commit
-
-
David Johnson authored
-
- 10 Mar, 2006 1 commit
-
-
David Johnson authored
a bit more, then hack it into the testbed.
-
- 06 Mar, 2006 1 commit
-
-
David Johnson authored
-
- 27 Dec, 2005 1 commit
-
-
Dan Gebhardt authored
- unbounded record time - stats dump (by stdout) with USR1 signal
-
- 19 Dec, 2005 1 commit
-
-
Dan Gebhardt authored
The actual dump routine still needs to be added.
-
- 16 Dec, 2005 3 commits
-
-
Timothy Stack authored
-
Dan Gebhardt authored
-
Dan Gebhardt authored
-
- 06 Dec, 2005 1 commit
-
-
Timothy Stack authored
-
- 25 Sep, 2005 1 commit
-
-
Timothy Stack authored
A little blinken lichten tweakin: * mote/sgtools/moteleds.C: If an update hasn't been sent for 1.5 seconds, send one so the other side still knows we're alive. * www/BlinkenLichten.class, www/BlinkenLichten.java: Add the blue throbbing rectangle of liveness and cross out the lights if the connection seems to be down. Need this stuff, otherwise it's hard to tell the difference between the lights not changing and network latency. * www/showstuff.php3: Widen the size of the blinky light applet.
-
- 29 Jul, 2005 1 commit
-
-
Timothy Stack authored
Fix the race between loading a mote and rebooting its host stargate. * db/libdb.pm.in: Add TBNodeSubNodes function which returns the list of subnodes for a given node. * mote/tbuisp.in: Don't reboot the stargate anymore after loading the attached mote. The problem with the radio not working after the upload should be fixed now. * tbsetup/libreboot.pm.in: Check if a node's subnodes are being reloaded. If so, try to wait until they reach ISUP before actually doing the reboot. * tbsetup/os_setup.in: Do not skip the ISUP wait for subnodes that are imageable (like motes), otherwise their allocstates are not updated correctly. Remove the robot-specific hack that assumed tbuisp would do the reboot if the attached mote was being reloaded.
-
- 30 Jun, 2005 1 commit
-
-
Timothy Stack authored
-
- 27 Jun, 2005 3 commits
-
-
David Johnson authored
-
David Johnson authored
works.
-
David Johnson authored
-
- 23 Jun, 2005 1 commit
-
-
David Johnson authored
simpler.
-
- 22 Jun, 2005 1 commit
-
-
Timothy Stack authored
-
- 09 Jun, 2005 1 commit
-
-
Timothy Stack authored
60s one. Also bump up the rate that we feed it.
-
- 03 Jun, 2005 1 commit
-
-
David Johnson authored
Basically, tbuisp was checking if a file was an exe or srec based on extension. This was failing when tbuisp was invoked from xmlrpc, because the rpc server created a temp file without a .exe extension. Thus, tbuisp thought that the file was an srec (since it wasn't an exe)... and motes were not getting programmed properly. tbuisp now distinguishes which type the file is using avr-objdump, and matching the format. The downside of this is that we'll need to support different kinds of exe binary types as we add different kinds of motes (i.e., the binary type for our avr-based motes is elf32-avr... surely the telos motes will have a different type).
-
- 02 Jun, 2005 1 commit
-
-
Timothy Stack authored
Make use of the stargate's onboard watchdog timer. * mote/sgtools/GNUmakefile.in: Standard makefile for sgtools. Run configure as described in doc/cross-compiling.txt to make it compile for the stargate. * mote/sgtools/wagthedog.C: Enable and feed the stargate's onboard watchdog timer. * robots/primotion/pilot-wrapper.sh: Rewrite in perl. * tmcd/common/watchdog: Change the path of the battery log file. * tmcd/linux-sg/rc.stargate: Start the stargate watchdog tool and run the pilot-wrapper script instead of pilot directly.
-
- 31 May, 2005 1 commit
-
-
Leigh Stoller authored
I fixed a couple of minor problems, but mostly this worked fine. Note that I have tested this with the installed perl, *NOT* perl 5.8. I am just making sure this stuff gets committed before too much more bitrot sets in.
-
- 27 May, 2005 4 commits
-
-
David Johnson authored
-
David Johnson authored
RobTransparentBase, just modified things to blink leds differently (i.e., toggle the yellow led on packet receive), and to dump original sender id, rssi, and AM type for any packet the mote hears. There's an sflisten.c program that will decode and display these values. It requires several of the tinyos C sf header files and code.
-
David Johnson authored
RobTransparentBase, just modified things to blink leds differently (i.e., toggle the yellow led on packet receive), and to dump original sender id, rssi, and AM type for any packet the mote hears. There's an sflisten.c program that will decode and display these values. It requires several of the tinyos C sf header files and code.
-
David Johnson authored
their serial lines. Useful for testing packet reception, power usage, etc.
-
- 20 Apr, 2005 2 commits
-
-
Robert Ricci authored
Inclues the TinyOS apps we used for data gathering, and the tools we used to process data collected by the TinyOS apps. All are modifications of standard TinyOS tools/apps. I've modified the READMEs to explain the changes I made.
-
Robert Ricci authored
allows us to remove the tempfiles created by them.
-
- 05 Apr, 2005 2 commits
-
-
Robert Ricci authored
files that are given to TinyOS. As part of this, support changing the ID programmed into the mote. The user can supply this on the command line, or they can supply it in the DB (soon to be hooked in to NS files), or, if neither of these is given, it defaults to the numeric part of the node's name. This is neat - it could be the start of a more general framework, in which we do things like modify uploaded TinyOS kernels to use the frequency assigned to the experiment, or let users set parameters for their TinyOS kernels in their NS fields.
-
Robert Ricci authored
source.
-
- 04 Apr, 2005 1 commit
-
-
Timothy Stack authored
capabilities to capture and related things. * GNUmakefile.in: Add the capture and tip subdirectories to the client and client-install targets. * configure, configure.in, config.h.in: Detect srandomdev() for capture and add "mote/newmote" script. * capture/GNUmakefile.in, capture/capture.c: Add "relay" capabilities to capture. * capture/capquery.c: Query the capserver for the relay receiver's port number. * capture/capserver.c: Small hack to return the port number for a node. * db/libdb.pm.in, db/xmlconvert.in: Add virt_tiptunnels table. * event/program-agent/program-agent.c: Change log file names to something a little more user-friendly. Add a "MODIFY" event handler that lets the user set agent attributes (command, tag, timeout) without having to run a program. * event/sched/GNUmakefile.in, event/sched/console-agent.cc, event/sched/console-agent.h, event/sched/event-sched.c: Add console agents that can be used to snapshot a section of the capture log file. * event/sched/node-agent.cc: Some minor cleanup. * event/sched/simulator-agent.cc, event/sched/simulator-agent.h: Add the config data to the report mail. Add a "RESET" event handler that runs "loghole clean". Save the report mail in a file so it gets archived with the rest of the logs. * lib/libtb/tbdefs.h: Add CONSOLE object type. * mote/GNUmakefile.in, mote/newmote: Add newmote script, just a quick hack to add motes to the DB. * mote/tbuisp.in: Add another backend for loading motes through their relay capture server. * robots/mtp/mtp_dump.c: Dump the min/max values for x and y, handy for figuring out the bounds of the camera. * sql/database-fill.sql: Change the RELOAD-MOTE/SHUTDOWN -> ALWAYSUP/SHUTDOWN mode transition to ALWAYSUP/ISUP since stated doesn't seem to run triggers after a state change by a mode transition. * tbsetup/tbreport.in: Change the ordering of the eventlist so it displays event-sequences appropriately. * tbsetup/ns2ir/GNUmakefile.in, tbsetup/ns2ir/console.tcl, tbsetup/ns2ir/node.tcl, tbsetup/ns2ir/parse.tcl.in, tbsetup/ns2ir/sim.tcl.in: Add a "console" agent that represents the serial console for a node. * tbsetup/ns2ir/sequence.tcl: Add an "append" method so it is easier to build sequences dynamically. * tbsetup/ns2ir/topography.tcl: Make checkdest available to regular users. * tip/GNUmakefile.in, tip/tiptunnel.c: Add support for uploading a file to a relay version of capture and exporting the end connection as a pty. * tmcd/decls.h, tmcd/common/libsetup.pm: Bump version number since the dosubnodelist change is not backwards compatible. * tmcd/tmcd.c: Make dosubnodelist and dosubconfig callable even when a node isn't allocated. Add dotiptunnels command that returns which serial consoles are to be mounted on a node. Add mote version of subconfig that returns information needed to startup the relay version of capture. * tmcd/common/bootsubnodes: For motes, startup the relay version of capture (XXX stargate specific). * tmcd/common/libsetup.pm, tmcd/common/libtmcc.pm, tmcd/common/config/rc.config, tmcd/common/config/rc.tiptunnels: Client side changes for mounting another nodes serial line. * tmcd/common/rc.bootsetup: Always boot the subnodes, even when free. This is used for motes since their capture needs to be up for reloading at the time. * tmcd/linux/ixpboot: Shuffle some code around so the script doesn't fail if the ixp isn't allocated. * utils/loghole.in: Add "digest.out" and "report.mail" as global logs to be saved in archives and display the "report.mail" file when showing a loghole archive. * xmlrpc/emulabserver.py.in: Scrub more of the return values to get rid of "None"s.
-
- 15 Feb, 2005 2 commits
- 11 Feb, 2005 1 commit
-
-
Timothy Stack authored
load the mote.
-
- 09 Feb, 2005 1 commit
-
-
Timothy Stack authored
Robot-related improvements based on feedback from Sid: * event/sched/event-sched.h, event/sched/event-sched.c, event/sched/rpc.h, event/sched/rpc.cc: Send a notification of the start of event time and timelines. Add a '-r' option that forces it to use the default rpc path (so dan can use a custom scheduler/rmcd/etc on ops). * robots/GNUmakefile.in, robots/emc/GNUmakefile.in, robots/mtp/GNUmakefile.in, robots/primotion/GNUmakefile.in, robots/rmcd/GNUmakefile.in, robots/vmcd/GNUmakefile.in, robots/tbsetdest/tbsetdest.cc: Add a control-install target. * robots/primotion/garcia-pilot.cc: Take out some experimental code. * robots/primotion/dashboard.hh, robots/primotion/dashboard.cc, robots/primotion/pilotClient.cc, robots/primotion/wheelManager.hh, robots/primotion/wheelManager.cc: When doing a COMMAND_STOP, make sure we only send one update packet, an idle or an abort. Also send back the actual distance travelled/pivoted. * robots/tbsetdest/tbsetdest.cc: Don't output setdest event's with a speed of zero. * tbsetup/eventsys_control.in: When replaying/stopping, clear the start of event time for the experiment. * tbsetup/power_mail.pm.in: Decrease the threshold used to tell if a node has been power cycled "recently". * tbsetup/ns2ir/node.tcl, tbsetup/ns2ir/sim.tcl.in: Bah, backout last change, orientation is supposed to be in degrees at these points. Also, when automatically picking the sync server, don't use nodes that are subnodes. * tmcd/common/bootsubnodes: Send an ISUP for motes. * www/moteleds.php3: Show the mote node names instead of the robots. * www/powertime.php3: Add option to mark nodes as powered off. * www/robotmap.php3: Display the elapsed time for the overall event time and for each active timeline. * www/showexp.php3: Only display the blinky lights menu item when there are motes. * www/shownode.php3: Change "Update Power Time" -> "Update Power State". * www/tutorial/mobilewireless.php3: Fix some nits. * xmlrpc/emulabserver.py.in: Add event_time_start method for storing/getting/clearing the start of event time for an experiment/timeline.
-