I'm a newbie, but did you perform the tos-install-jni script? /opt/tinyos/tools/misc/tos-install-jni
On Wed, May 14, 2008 at 10:27 AM, <[EMAIL PROTECTED]> wrote: > Well, when I try to execute "java net.tinyos.sf.SerialForwarder -port 9002 > -comm serial@/dev/ttyS0:mica2 ", the java serial forwarder opens and the > following message appears: > "Could not open /dev/ttyS0: TOSComm JNI library runtime error: open: > Permission denied > serial@/dev/ttyS0:57600 died - restarting". > > And when I try to run the same command with sudo (so I can have > permission), the forwarder do not even start, and this message appear: > "The toscomm JNI library was not found. > Check that your tinyos-tools package is installed and try > rerunning tos-install-jni. > Aborting." > > I do not understand that, and have no idea of what to do, beacause the > application is apparently working, as it starts correctly when I type the > command without 'sudo', but when I try with it, so that it would work > correctly, then it just do not even start > > > Any idea of what to do? > > Thanks, > Fernando. > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
