Difference between revisions of "Troubleshooting"
From Contiki
m |
|||
Line 1: | Line 1: | ||
[[Main_Page | Back to Main Page]] | [[Main_Page | Back to Main Page]] | ||
− | Permission denied | + | ===== Permission denied ===== |
If you try to connect to a mote and receive a permission error, you may need to add yourself to the dialout group. The error may look something like the following: | If you try to connect to a mote and receive a permission error, you may need to add yourself to the dialout group. The error may look something like the following: | ||
Line 9: | Line 9: | ||
make: *** [login] Error 255 | make: *** [login] Error 255 | ||
− | To resolve the issue, simply use | + | To resolve the issue, simply use the following command: |
sudo adduser <username> dialout | sudo adduser <username> dialout | ||
− | Issue with make login | + | ===== Issue with make login ===== |
− | + | If you are trying to execute the serial-dump application (contiki/tools/sky/serialdump-linux) and see the message: "No such file or directory", it means that you are running in a 64-bit operating system that does not have proper 32-bit libraries installed. Since serialdump-linux is a pre-compiled 32-bit tool you need to execute the following command to install the necessary libraries: | |
<code><nowiki>sudo apt-get install ia32-libs</nowiki></code> | <code><nowiki>sudo apt-get install ia32-libs</nowiki></code> |
Revision as of 12:30, 28 February 2014
Permission denied
If you try to connect to a mote and receive a permission error, you may need to add yourself to the dialout group. The error may look something like the following:
/home/user/contiki/tools/sky/serialdump-linux -b115200 /dev/ttyUSB0 connecting to /dev/ttyUSB0 (115200) /dev/ttyUSB0: Permission denied make: *** [login] Error 255
To resolve the issue, simply use the following command:
sudo adduser <username> dialout
Issue with make login
If you are trying to execute the serial-dump application (contiki/tools/sky/serialdump-linux) and see the message: "No such file or directory", it means that you are running in a 64-bit operating system that does not have proper 32-bit libraries installed. Since serialdump-linux is a pre-compiled 32-bit tool you need to execute the following command to install the necessary libraries:
sudo apt-get install ia32-libs