3 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
5 .\" Manual: Re-Mote Testbed Framework
6 .\" Source: remote-mci 2.0.git
8 .TH "REMOTE\-MCH" "1" "05/18/2008" "remote\-mci 2\.0\.git" "Re\-Mote Testbed Framework"
9 .\" disable hyphenation
11 .\" disable justification (adjust text to left margin only)
14 remote-mch - Re-Mote mote control host
19 The mote control host manages mote devices and provides remote access to them through a mote control server\. On startup the mote host connects to the server and listens for incoming requests\. Requests allows motes to be programmed, started, stopped, and reset\. All console output from motes are forwarded to the server\.
21 The mote control host may be run both in the foreground and as a daemon\.
24 The following options are only usable on the command line\.
28 Path to the configuration file\. Defaults to "/etc/remote\-mch\.cfg"\.
33 Print usage help and exit\.
38 Print version info and exit\.
40 .SS "Configuration options"
41 In addition, to the above options the mote host accepts the following configuration options that can be specified either on the command line or in the configuration file\. An option set in the configuration file overrides any option set on the command line\.
43 On the command line use: \fI\-\-\fR <name> \fI=\fR <value>, e\.g\. \fI\-\-devicePath=/here\fR\. In the config file use: <name> \fI=\fR <value>, e\.g\. \fIdevicePath=/here\fR\. For boolean options the \fI=\fR and value may be left out to set the value to true\. See the example sections for more information\.
47 Path to the mote device hierarchy\. When not specified "/dev/remote/" is used\.
52 Path to the fifo notifying the mote host of mote hotplug events\. By default the daemon listens on "/var/run/motehost\.events"\.
57 DNS or IP address of the mote server\. Default is localhost\.
62 Port number to use for connecting to the mote server\. The default port is 10001\.
65 retryInterval <number>
67 Number of seconds to wait between server connection retries\. Default is 30 seconds\.
72 Whether or not to run in the background as a daemon\. The default is to not run as a daemon\.
75 The mote host uses the following configurable files\.
79 Default configuration file read on startup\.
82 /var/run/motehost\.events
84 Default file for listening on mote events\.
86 .SS "Mote device files"
87 For each mote managed by the mote host, the following device specific files are used\. The device path is configurable (default: "/dev/remote")\. MOTEMAC represents the MAC address of a mote\.
89 /dev/remote/MOTEMAC/programmer
91 Symbolic link to the mote programmer\. The programmer is called with the TTY as the first argument and path to the image file as the second argument\.
94 /dev/remote/MOTEMAC/controller
96 Symbolic link to the mote control program\.
99 /dev/remote/MOTEMAC/tty/control
101 Symbolic link to the mote control TTY\.
104 /dev/remote/MOTEMAC/tty/data
106 Symbolic link to the mote data TTY\.
109 /dev/remote/MOTEMAC/image
111 Temporary image file used when programming\.
114 /dev/remote/MOTEMAC/path
116 File containing the mote device path in the form of a path specifying the bus ID\. E\.g\. "/devices/pci0000:00/0000:00:10\.0/usb2/2\-1"\.
119 /dev/remote/MOTEMAC/platform
121 File containing the name of the mote platform\. E\.g\. "dig528\-2"\.
123 .SH "ENVIRONMENT VARIABLES"
124 The mote host does not use any externally defined environment variables\. When invoking the programmer and controller commands the mote host sets the following environment variables\.
128 The mote platform, e\.g\. "MicaZ"\.
133 The mote MAC address\.
138 The mote TOS address\.
142 Using configuration options on the command line
144 If you only need to override the default values for the server host and port and don\'t want to use a configuration file, specify all option on the command line\.
148 $ remote\-mch \-\-serverHost=my\.server\.tld \-\-serverPort=10001 \-\-daemonize
153 A simple configuration file
155 The following configuration file sets the same values as the above example\.
160 serverHost=my\.server\.tld
162 # Run in the background
171 Copyright (c) 2005\-2006 Esben Zeuthen <zept@diku\.dk>
172 Copyright (c) 2006\-2008 Jonas Fonseca <fonseca@diku\.dk>
173 Copyright (c) 2007\-2008 Rosta Spinarr <rostislav\.spinar@cit\.ie>
176 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\.
179 \fBremote\-mcs(1)\fR, \fBremote\-device\-add(7)\fR, \fBremote\-device\-remove(7)\fR, \fBremote\-device\-name(7)\fR
181 This program is part of the Re\-Mote Testbed Framework <http://remote\-testbed\.googlecode\.com/>\.