Some really nice people has made cool Linux Live CD which has TinyOS installed. Really cool for people who need the TinyOS fast! This is the version with TinyOS 2.x http://toilers.mines.edu/Public/XubunTOS
To change default communication channel and RF Power you can either: 1) edit opt/tinyos-1.x/tos/lib/CC2420Radio/CC2420Const.h CC2420_DEF_CHANNEL 11 (this is default value) CC2420_DEF_RFPOWER 0x1f (31, maximum, if you for example want to test multihop routing easiest way is to make RFPOWER smaller) 2) add line in Makefile CC2420_DEF_CHANNEL = 11 CC2420_DEF_RFPOWER= 0x1f 3) change it in program by colling function from CC2420Control interface, called: SetRFPower(uint8_t power);
Last 2 months I was actively working in TinyOS, and since there's no better place than internet to put solutions to problems which most likely you will forget in near future, I will write here some little things about TinyOS. In general, that was the main idea of this blog. Quite recently I started with Linux, which have as usual, a lot of difficulties with drivers; you find a number of solutions which maybe one or maybe none is working. Yes this is also public cause I support idea of helping people with similar problems over internet. That is just my gratitude for all those nice people who helped me simply by posting their solutions on forums and other public places.
Taken from http://en.wikipedia.org/wiki/Magic_SysRq_key "Raising Elephants Is So Utterly Boring" is a mnemonic device for remembering a keystroke sequence that should be used as an alternative to hitting the power button if a Linux system should ever freeze and need to be rebooted. Alt + SysRq + R – takes the keyboard out of raw mode. Alt + SysRq + E – terminates all processes (except init). Alt + SysRq + I – kills all processes (except init). Alt + SysRq + S – synchronizes the disk. Alt + SysRq + U – remounts all filesystems read-only. Alt + SysRq + B – reboots the machine. Or it can be remembered as "BUSIER" in reverse. "Raising Skinny Elephants Is Utterly Boring" is an alternative mnemonic for the same series of keystrokes, though changing the position of the disk synchronization to before terminating and killing all processes. Regardless of which of the above hotkey sequences are chosen, they should be entered in slow succession, giving the ...
So, if you want to start the program and to use terminal afterwards, you just need to put "&" character at the end of the line so, for example, if you just want to call skype, then you write skype& It is simple thing, but sometimes one just forget this as a option :)
Some of you may have encountered some problem of embedded fonts with PDF files. All fonts are embedded with the following command (Linux): ps2pdf14 -dPDFSETTINGS=/prepress -dEmbedAllFonts=true file.ps file.pdf This is done thanks to my colleague, Alex :)
This can be useful for those who had problems installing programs in openSUSE 10.2 (in my case, YasT is somehow crashing very often). To install rpm package: rpm -ivh packagename To upgrade the package: rpm -Uvh packagename To remove the package: rpm -e packagename If you not sure that your package is installed, there is a way to see it: rpm -qa packagename There can be problems to remember full name of the package since it is having all those version numbers etc.etc. so instead of writing out whole name, you can do next command: rpm -qa | grep SomeKeywordOfWantedPackage Cheers!