[emstar-design] problems running on the ceiling array
Karen Yvonne Weeks
karenyc@stanford.edu
Wed, 15 Dec 2004 14:00:08 -0800
I am trying to run the simple ping program on the ceiling array (as
described in the tutorial at
http://cvs.cens.ucla.edu/emstar/tut/emcee.html). However, I am running
into problems straight away:
karenyc@gamayun:~/emstar/obj.i686-linux$ emrun/emcee -t
./link/examples/ping/pingd.sim 10 20
Wed Dec 15 13:54:22.478 2004: emrun: g_status_client_read_once: Unable to
open device /dev/mote/ceiling: No such file or directory
Wed Dec 15 13:54:22.478 2004: emrun: emcee_assign_motes: Make sure
Ceiling-Array driver (hostmoted) is running.
karenyc@gamayun:~/emstar/obj.i686-linux$
I am not sure which options to pass to the hostmoted daemon, when I try and
start it I get the errors:
karenyc@gamayun:~/emstar/obj.i686-linux$ mote/hostmoted start
Wed Dec 15 13:57:04.931 2004: get_node_id: *** Running in non-sim grouped
mode, in group 16
Mote type required!
usage: mote/hostmoted [-h] -s <serial-port> [-r <mote-index>]
[-m <motetype>] [-b <baudrate>] [-c <config_file>]
[-t <check_interval (seconds)>]
Supported baudrates are 57600 (mica2) 19200 (all others)
Supported MOTE types are:
mica, mica128, mica2, mica2dot
defaults for parameters are -mmica -b19200 -r0
Config file is usually /etc/node.info, mote-index is defined in this
file
If a config file is specified it it not necessary to specify -s, -r
or -g flags
example: moted -s /dev/ttyS0 -r 1 will create /dev/mote/1/*
karenyc@gamayun:~/emstar/obj.i686-linux$
I am not sure which combination of parameters is required to get this
running correctly.
Also, if anyone has a list of commands that are necessary to get a program
running on the ceiling array I would appreciate it if you could send them
to me.
Thanks,
Karen