<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-15590524</id><updated>2024-10-24T11:44:42.123-07:00</updated><category term="tinyos"/><category term="opengl"/><category term="perl"/><category term="12.04"/><category term="Debug"/><category term="Motelab"/><category term="Reflection"/><category term="Texture"/><category term="Tower of glasses"/><category term="access"/><category term="black"/><category term="bug"/><category term="database"/><category term="date"/><category term="ellipsoid"/><category term="error"/><category term="errors"/><category term="file"/><category term="install"/><category term="kali"/><category term="linux"/><category term="map"/><category term="matlab"/><category term="micaz"/><category term="reduce"/><category term="shadow"/><category term="solutions"/><category term="split"/><category term="superellipsoid"/><category term="teamviewer"/><category term="terminal"/><category term="texture mapping"/><category term="time"/><category term="tube"/><category term="ubuntu"/><category term="unix"/><category term="usb"/><category term="virtualbox"/><title type='text'>Jenis Modi</title><subtitle type='html'>Technology Enthusiast </subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-15590524.post-8807870591627527335</id><published>2019-08-24T09:21:00.000-07:00</published><updated>2019-08-24T09:56:43.195-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="black"/><category scheme="http://www.blogger.com/atom/ns#" term="error"/><category scheme="http://www.blogger.com/atom/ns#" term="kali"/><category scheme="http://www.blogger.com/atom/ns#" term="virtualbox"/><title type='text'>Kali Linux Blank Screen Problem with Virtualbox</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;You might come across this problem with Kali Linux where black screen will be displayed immediately after the grub screen. Here are some of the solutions you should try:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Solution 1:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;1. Edit the grub and go to the line where it starts with &quot;linux&quot; and end with word &quot;quiet&quot;. Add &quot;nomodeset&quot; at the end. So your line would look like &lt;i&gt;&lt;u&gt;quiet nomodeset&lt;/u&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;2. Press Ctrl + X to reboot the system. Note that this is just temporary. Every time you reboot your kali linux, you have to add it.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;3. Once you are logged into the linux, open terminal.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;4. Edit your grub using &quot;sudo nano /etc/default/grub&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;5. Go to the line where &quot;quiet&quot; is mentioned. Add &quot;nomodeset&quot; after word &quot;quiet&quot;. Save the editor and exit&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;6. Update the grub using &quot;sudo update-grub&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;7. Restart your OS and check if it works out. If it does not work, then please try other solutions.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/8807870591627527335/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/8807870591627527335' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8807870591627527335'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8807870591627527335'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2019/08/kali-linux-blank-screen-problem-with.html' title='Kali Linux Blank Screen Problem with Virtualbox'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-6625425054062449646</id><published>2016-10-02T12:47:00.000-07:00</published><updated>2016-10-02T12:47:02.595-07:00</updated><title type='text'>New Life !!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Starting a new era of learning. From Last few years, I have not posted a single blog. Expect a few articles in the field of Information Security from me on this blog. See you soon !!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/6625425054062449646/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/6625425054062449646' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6625425054062449646'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6625425054062449646'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2016/10/new-life.html' title='New Life !!'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-3116690808598681935</id><published>2013-11-14T18:40:00.002-08:00</published><updated>2013-11-14T18:40:26.097-08:00</updated><title type='text'>Erase Telosb Motes</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;pre&gt;tos-bsl --telosb -c /dev/ttyUSB0 -e&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/3116690808598681935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/3116690808598681935' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/3116690808598681935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/3116690808598681935'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/11/erase-telosb-motes.html' title='Erase Telosb Motes'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-7123630523106077412</id><published>2013-11-13T11:35:00.003-08:00</published><updated>2013-11-15T16:28:37.463-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="file"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="split"/><category scheme="http://www.blogger.com/atom/ns#" term="terminal"/><category scheme="http://www.blogger.com/atom/ns#" term="unix"/><title type='text'>Linux/Unix Basic (but useful) Commands</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;b&gt;Split the file into parts&lt;/b&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Find out how many lines do you have in your file.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Know how many parts you require.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Accordingly apply this command in your terminal: split -l 10000 filename (Here 10000 is the no of lines in my files. So if I have 20000 lines in my file, and if I issue above command, then my file will be divided in two parts.)&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;Change directory folder with spaces&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
If I have my folder as /home/jenis/folder name/&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
then,&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
cd /home/jenis/folder\ name&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; or&lt;/div&gt;
&lt;div&gt;
cd /home/jenis&lt;/div&gt;
&lt;div&gt;
cd &quot;folder name&quot;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/7123630523106077412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/7123630523106077412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/7123630523106077412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/7123630523106077412'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/11/split-file-into-parts.html' title='Linux/Unix Basic (but useful) Commands'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-5966654975494535683</id><published>2013-11-07T19:27:00.003-08:00</published><updated>2013-11-07T19:27:57.138-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bug"/><category scheme="http://www.blogger.com/atom/ns#" term="teamviewer"/><title type='text'>Funny bug about teamviewer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I was having some problems with using teamviewer lately. Sometimes, when I switch window from Remote computer to local computer, I was not able to key anything in the remote computer. Teamviewer (or whatever) was behaving as if teamviewer is not running at all. Finally, I thought that let me see if any of my keys are having some problems ( I figured this out as I had used old 90s computers where keyboards were different than what we have right now. During that time too, there was a similar problem, if some key is halt or jammed, if you try to type in anything, you won&#39;t be able to type.)&lt;br /&gt;
&lt;br /&gt;
So, anyway, if you find similar problem with teamviewer, try holding &quot;Alt&quot; key for 2-3 seconds and your problem would be resolved. I would be curious if someone knows the exact reason behind it. Anyway, enjoy.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/5966654975494535683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/5966654975494535683' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/5966654975494535683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/5966654975494535683'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/11/funny-bug-about-teamviewer.html' title='Funny bug about teamviewer'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-7777557521887705861</id><published>2013-11-07T14:21:00.001-08:00</published><updated>2013-11-07T15:04:07.393-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="matlab"/><title type='text'>Matlab Tricks</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
MATLAB tricks.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. If you have two cell arrays, you can concat them together using concat(c1,c2);&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2. To delete element from Vector (or Double matrix), Use:&lt;/b&gt;&lt;br /&gt;
a=[1,2,3,4,5];&lt;br /&gt;
b = a(a~=3);&lt;br /&gt;
&lt;br /&gt;
Output: [1,2,4,5]&lt;br /&gt;
Ref:&amp;nbsp;&lt;a href=&quot;http://www.mathworks.com/matlabcentral/answers/48938&quot;&gt;http://www.mathworks.com/matlabcentral/answers/48938&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. To remove space between string,&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
regexprep(stringvalue,&#39;[^\w&#39;&#39;]&#39;,&#39;&#39;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/7777557521887705861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/7777557521887705861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/7777557521887705861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/7777557521887705861'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/11/matlab-tricks.html' title='Matlab Tricks'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-2891771915006637046</id><published>2013-09-19T12:20:00.002-07:00</published><updated>2013-09-19T12:21:27.320-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access"/><category scheme="http://www.blogger.com/atom/ns#" term="usb"/><title type='text'>Provide access to USB devices </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I have been having problem with accessing USB devices I use in the lab. Whenever I unplug device and plug it again, it always cries for providing admin access. So here is what I did :&lt;br /&gt;
&lt;br /&gt;
jenis@Jenis-Laptop:~$ ls -al /dev/ttyUSB0&lt;br /&gt;
&lt;br /&gt;
crw-rw---- 1 root dialout 188, 0 Sep 19 12:15 /dev/ttyUSB0&lt;br /&gt;
&lt;br /&gt;
Add your user to dialout group by using :&lt;br /&gt;
&lt;br /&gt;
&quot;sudo adduser jenis dialout&quot;&lt;br /&gt;
&lt;br /&gt;
And you are done. Restart/Re-log your machine.&lt;br /&gt;
&lt;br /&gt;
Source:&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/9839988/dev-ttys0-does-not-open-in-ubuntu-12-04-beta&quot;&gt;http://stackoverflow.com/questions/9839988/dev-ttys0-does-not-open-in-ubuntu-12-04-beta&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers.&lt;br /&gt;
Jenis&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/2891771915006637046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/2891771915006637046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/2891771915006637046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/2891771915006637046'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/09/provide-access-to-usb-devices.html' title='Provide access to USB devices '/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-6443117358003113425</id><published>2013-09-12T14:05:00.001-07:00</published><updated>2013-09-12T14:05:07.430-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="map"/><category scheme="http://www.blogger.com/atom/ns#" term="reduce"/><title type='text'>Learning Hadoop/Map-Reduce</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Trying some hands on this new technology, had worked on one of the projects long back. So trying to get those details back. Meanwhile, came across this simple example of Map-Reduce, thought of sharing:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://ksat.me/map-reduce-a-really-simple-introduction-kloudo/&quot;&gt;http://ksat.me/map-reduce-a-really-simple-introduction-kloudo/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/6443117358003113425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/6443117358003113425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6443117358003113425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6443117358003113425'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/09/learning-hadoopmap-reduce.html' title='Learning Hadoop/Map-Reduce'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-6505595397052449588</id><published>2013-09-06T22:31:00.002-07:00</published><updated>2013-11-07T14:22:09.077-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><title type='text'>Interesting fact about finding perl array size</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently, I came across a problem with Perl array. I was assuming that these three methods generate same output for finding array size, but I am WRONG :&lt;br /&gt;
&lt;br /&gt;
my&amp;nbsp;@newArray = (2);&lt;br /&gt;
print scalar&amp;nbsp;@newArray; &amp;nbsp; #1&lt;br /&gt;
print $#newArray; #2&lt;br /&gt;
print&amp;nbsp;@newArray; #3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
First and third give me proper values, but second gave me 0 size. So be careful, while using it. I would recommend using &quot;scalar&amp;nbsp;@newArray&quot;.&lt;br /&gt;
&lt;br /&gt;
Here is some explanation on it :&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/7406807/find-size-of-array-in-perl&quot;&gt;http://stackoverflow.com/questions/7406807/find-size-of-array-in-perl&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Cheers.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;lang-perl prettyprint prettyprinted&quot; style=&quot;background-color: #eeeeee; border: 0px; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, &#39;Courier New&#39;, monospace, serif; font-size: 14px; line-height: 18px; margin-bottom: 10px; max-height: 600px; overflow: auto; padding: 5px; vertical-align: baseline; width: auto;&quot;&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/6505595397052449588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/6505595397052449588' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6505595397052449588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6505595397052449588'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/09/interesting-fact-about-finding-perl.html' title='Interesting fact about finding perl array size'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-3754746076328852297</id><published>2013-08-30T14:11:00.002-07:00</published><updated>2013-08-30T14:11:34.364-07:00</updated><title type='text'>Piece</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
#Piece is the word I am looking for.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/3754746076328852297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/3754746076328852297' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/3754746076328852297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/3754746076328852297'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/08/piece.html' title='Piece'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-7451330954098586956</id><published>2013-08-27T21:49:00.002-07:00</published><updated>2013-11-07T14:22:39.966-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><title type='text'>Cannot insert perl array in database</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
I recently came across a problem where my perl array was generating some random value in MySql query. I finally figured out that, you have to convert perl array to string first and then can insert in the database. Here is how you can do it:&lt;br /&gt;
&lt;br /&gt;
my&amp;nbsp;@arrayData = (&quot;aaa&quot;,&quot;bbb&quot;,&quot;ccc&quot;);&lt;br /&gt;
my $ArrayString = join &quot; &quot;, @arrayData;&lt;br /&gt;
&lt;br /&gt;
use above variable in MySql query.&lt;br /&gt;
&lt;br /&gt;
Cheers.&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/7451330954098586956/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/7451330954098586956' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/7451330954098586956'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/7451330954098586956'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/08/cannot-insert-perl-array-in-database.html' title='Cannot insert perl array in database'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-2681120846934715234</id><published>2013-08-01T15:18:00.004-07:00</published><updated>2013-08-01T15:25:10.444-07:00</updated><title type='text'>Add variable in TinyOS symbol table</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;Add&amp;nbsp;&lt;span style=&quot;font-family: monospace; font-size: 16px;&quot;&gt;uint_8 volatile myVar=255; in Implementation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: monospace; font-size: 16px;&quot;&gt;In boot method, add myVar+=1;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: monospace; font-size: 16px;&quot;&gt;Use this command to check if symbol is added: tos-set-symbols --read /build/telosb/main.exe&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: monospace; font-size: 16px;&quot;&gt;Change value of variable using:&lt;/span&gt;tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex build/telosb/main.ihex build/telosb/main.ihex MoudleName__myVar=30 TOS_NODE_ID=5 ActiveMessageAddressC__addr=5&lt;/li&gt;
&lt;li&gt;Run your ihex file.&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Help resource:&amp;nbsp;&lt;a href=&quot;http://www.nourbakhsh.ir/blog/2012/01/symbol-table-manipulation-in-tinyos/&quot;&gt;http://www.nourbakhsh.ir/blog/2012/01/symbol-table-manipulation-in-tinyos/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/2681120846934715234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/2681120846934715234' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/2681120846934715234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/2681120846934715234'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/08/add-variable-in-tinyos-symbol-table.html' title='Add variable in TinyOS symbol table'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-882145618309140432</id><published>2013-05-23T17:32:00.001-07:00</published><updated>2013-05-23T17:32:51.237-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="date"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="time"/><title type='text'>Perl display time and date</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
To display time and date in perl use:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
use POSIX qw(strftime);&lt;br /&gt;print strftime(&quot;%a, %d %b %Y %H:%M:%S %z&quot;, localtime(time())) . &quot;\n&quot;;&lt;/blockquote&gt;
&lt;br /&gt;
Note: you might need to install date time module. &amp;nbsp;sudo apt-get install libdatetime-perl&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/882145618309140432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/882145618309140432' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/882145618309140432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/882145618309140432'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/05/perl-display-time-and-date.html' title='Perl display time and date'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-3715847244720858906</id><published>2013-05-22T17:32:00.002-07:00</published><updated>2013-05-22T17:32:55.204-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Debug"/><category scheme="http://www.blogger.com/atom/ns#" term="tinyos"/><title type='text'>Best way to debug in TinyOS</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Today I realized one thing in TinyOS. The best way to debug something in TinyOS is &quot;LEDS&quot;. I was trying to setPower() on transmitter and then tried to receive node&#39;s power using getPower() - it did not give me the same value. Instead it gave me &quot;0&quot;. I banged my head for so much of time and later (still not 100% sure) realized that, CC2420Packet.getPower() does not return the same value as CC2420Packet.setPower().&lt;br /&gt;
&lt;br /&gt;
Another problem I faced was with using &quot;printf&quot;. I couldn&#39;t find much help on &quot;printf&quot;. So, I finally gave up , started debugging my code by comparing value and if condition is true than blink LED else turn off LED.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;So, my advice to all newbees would be to use &quot;LEDS&quot; to debug instead of depending on something else.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/3715847244720858906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/3715847244720858906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/3715847244720858906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/3715847244720858906'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/05/best-way-to-debug-in-tinyos.html' title='Best way to debug in TinyOS'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-6038403469299871473</id><published>2013-03-26T19:31:00.002-07:00</published><updated>2013-03-27T17:01:31.495-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="micaz"/><category scheme="http://www.blogger.com/atom/ns#" term="Motelab"/><category scheme="http://www.blogger.com/atom/ns#" term="tinyos"/><title type='text'>Motelab Problem with Sender Address (Wireless Sensor Networks)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi,&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
From last few days, I have been getting a weird problem with my research work. I had written one simple application which was sending packets from Radio To Serial. I developed the application, so that I can check channel diversity. I was getting a sender address from AMPacket.source() method. This code worked fine when I deployed application manually into 3-4 motes, but when I deployed the application in Harvard&#39;s Motelab, I got this weird error. Instead of getting actual address of motes, I got &quot;1&quot; as sender address.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I did search a lot on Google, but couldn&#39;t get any satisfying answer. Finally, I received a &lt;a href=&quot;http://www.mail-archive.com/tinyos-help@millennium.berkeley.edu/msg32444.html&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt;&amp;nbsp;- which tried to put some limelight on the problem, but wait a second - the link actually just told that there is a problem with Motelab&#39;s configuration - but did not give a solution to that ( at least I couldn&#39;t understand).&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Finally, I got solution from &lt;a href=&quot;http://www.olafland.de/&quot; target=&quot;_blank&quot;&gt;Olaf &lt;span id=&quot;goog_223315961&quot;&gt;&lt;/span&gt;Landsiedel&lt;/a&gt;, who provided me his &lt;a href=&quot;http://olafland.wordpress.com/2010/06/21/tinyos-2-x-and-motelab/&quot; target=&quot;_blank&quot;&gt;blog&lt;/a&gt;&#39;s link. That&#39;s exactly I was looking for.&amp;nbsp;&lt;span id=&quot;goog_223315962&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
So, whenever anyone gets error with Sender address in Motelab - Please use below code in your starting method and you will be done.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22px; text-align: justify;&quot;&gt;call ActiveMessageAddress.setAddress&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22px; text-align: justify;&quot;&gt;(call ActiveMessageAddress.amGroup(), TOS_NODE_ID);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: Georgia, Arial, Helvetica, sans-serif; font-size: 15px; line-height: 22px; text-align: justify;&quot;&gt;Enjoy. &amp;nbsp;Let me know your views if this resolves your issue.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/6038403469299871473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/6038403469299871473' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6038403469299871473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6038403469299871473'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2013/03/motelab-problem-with-sender-address.html' title='Motelab Problem with Sender Address (Wireless Sensor Networks)'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-8678664316661893928</id><published>2012-12-07T00:29:00.003-08:00</published><updated>2013-01-07T23:10:54.186-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="opengl"/><category scheme="http://www.blogger.com/atom/ns#" term="Reflection"/><category scheme="http://www.blogger.com/atom/ns#" term="shadow"/><category scheme="http://www.blogger.com/atom/ns#" term="Texture"/><category scheme="http://www.blogger.com/atom/ns#" term="texture mapping"/><category scheme="http://www.blogger.com/atom/ns#" term="Tower of glasses"/><title type='text'>Tower of Glasses using OpenGL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Developed using OpenGL&lt;br /&gt;
-- Shows Shadow, Reflection and Texture mapping&lt;br /&gt;
-- Image source: &lt;a href=&quot;https://www.google.com/search?num=10&amp;amp;hl=en&amp;amp;site=&amp;amp;tbm=isch&amp;amp;source=hp&amp;amp;biw=1535&amp;amp;bih=788&amp;amp;q=table+texture&amp;amp;oq=table+texture&amp;amp;gs_l=img.3..0l2j0i5l8.773.2871.0.3063.13.13.0.0.0.0.83.697.13.13.0...0.0...1ac.1.R4OFCoyaBlg&quot; target=&quot;_blank&quot;&gt;Table Textures on Google Image&lt;/a&gt;&lt;br /&gt;
-- Source code:&amp;nbsp;&lt;a href=&quot;https://github.com/jenis23/TowerOfGlasses&quot;&gt;https://github.com/jenis23/TowerOfGlasses&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;object class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://1.gvt0.com/vi/ygqM_6jL9WE/0.jpg&quot; height=&quot;266&quot; width=&quot;320&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/ygqM_6jL9WE&amp;fs=1&amp;source=uds&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/ygqM_6jL9WE&amp;fs=1&amp;source=uds&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfJDr6iclQzzd0DGCNGpjrJkQmPegnFzmLUGZwiZOGdcHLG6m06DB8-8mOQc-YYIBeL80u9eOruKaW7Vf6Nc37BdXUgD28XBykLSyUCwDBqMbFvqiqDq7kfxHIx0IWRkhCdI1AxA/s1600/Screenshot+from+2012-12-07+00:27:42.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;226&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfJDr6iclQzzd0DGCNGpjrJkQmPegnFzmLUGZwiZOGdcHLG6m06DB8-8mOQc-YYIBeL80u9eOruKaW7Vf6Nc37BdXUgD28XBykLSyUCwDBqMbFvqiqDq7kfxHIx0IWRkhCdI1AxA/s400/Screenshot+from+2012-12-07+00:27:42.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Tower of Glasses using OpenGL&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/8678664316661893928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/8678664316661893928' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8678664316661893928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8678664316661893928'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2012/12/tower-of-glasses-using-opengl.html' title='Tower of Glasses using OpenGL'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfJDr6iclQzzd0DGCNGpjrJkQmPegnFzmLUGZwiZOGdcHLG6m06DB8-8mOQc-YYIBeL80u9eOruKaW7Vf6Nc37BdXUgD28XBykLSyUCwDBqMbFvqiqDq7kfxHIx0IWRkhCdI1AxA/s72-c/Screenshot+from+2012-12-07+00:27:42.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-8323825105574964968</id><published>2012-12-06T22:17:00.003-08:00</published><updated>2013-01-07T23:11:32.912-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ellipsoid"/><category scheme="http://www.blogger.com/atom/ns#" term="opengl"/><category scheme="http://www.blogger.com/atom/ns#" term="superellipsoid"/><title type='text'>Super Ellipsoid using OpenGL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Please use below Youtube URL to check out the output of this project. Please post your comments.&lt;br /&gt;
-- Source code:&amp;nbsp;&lt;a href=&quot;https://github.com/jenis23/SuperEllipsoid&quot;&gt;https://github.com/jenis23/SuperEllipsoid&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/iPxErdUjwQA?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd73xiYu5zHX9TaXmJt0BTLFuIruLacPxB9wkVxr56AdTFgmbhpFvHfvcNc8tU5vFl2-YQx4JoPULD5MfRokhyYX61Z8irq_b0Fp6gKGWmHPrRwqhh845K-eRECqwOCReTi14FqA/s1600/Screenshot+from+2012-12-07+00:45:04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd73xiYu5zHX9TaXmJt0BTLFuIruLacPxB9wkVxr56AdTFgmbhpFvHfvcNc8tU5vFl2-YQx4JoPULD5MfRokhyYX61Z8irq_b0Fp6gKGWmHPrRwqhh845K-eRECqwOCReTi14FqA/s400/Screenshot+from+2012-12-07+00:45:04.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk6-eE-AbajpatJjXepj4rXEZlrTOgSYFiR01oSMFnJ2JhoL5cjbAxEZCKWA4zmW8tNcRP0nqCrmOEd1M7e85AN9WoiU_yamZNa4auEKfsArXoICGv6KzzREO_KzQ160nf_zcKVQ/s1600/Screenshot+from+2012-12-07+00:45:19.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk6-eE-AbajpatJjXepj4rXEZlrTOgSYFiR01oSMFnJ2JhoL5cjbAxEZCKWA4zmW8tNcRP0nqCrmOEd1M7e85AN9WoiU_yamZNa4auEKfsArXoICGv6KzzREO_KzQ160nf_zcKVQ/s400/Screenshot+from+2012-12-07+00:45:19.png&quot; width=&quot;386&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidsrAn2jj59RN9M2N0JY-FXb2CZur_QOz72mK5JyfAtKZ7PDk_CjadYIOVFiwLeGCZlTyhtiAZdjDkEv3C9jxHUkcYGZV_TsbRNOfsG5_EdiqZ6vo7FB0Pr7w6U5gC3lLK-g0qJg/s1600/Screenshot+from+2012-12-07+00:45:37.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;227&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidsrAn2jj59RN9M2N0JY-FXb2CZur_QOz72mK5JyfAtKZ7PDk_CjadYIOVFiwLeGCZlTyhtiAZdjDkEv3C9jxHUkcYGZV_TsbRNOfsG5_EdiqZ6vo7FB0Pr7w6U5gC3lLK-g0qJg/s400/Screenshot+from+2012-12-07+00:45:37.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/8323825105574964968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/8323825105574964968' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8323825105574964968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8323825105574964968'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2012/12/super-ellipsoid-using-opengl.html' title='Super Ellipsoid using OpenGL'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhd73xiYu5zHX9TaXmJt0BTLFuIruLacPxB9wkVxr56AdTFgmbhpFvHfvcNc8tU5vFl2-YQx4JoPULD5MfRokhyYX61Z8irq_b0Fp6gKGWmHPrRwqhh845K-eRECqwOCReTi14FqA/s72-c/Screenshot+from+2012-12-07+00:45:04.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-6210398984331205888</id><published>2012-10-06T00:23:00.002-07:00</published><updated>2013-03-26T19:33:38.090-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="opengl"/><category scheme="http://www.blogger.com/atom/ns#" term="tube"/><title type='text'>Toroidal Spiral using OpenGL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Some of My Experiments with OpenGL. I have created all of them in C language.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
-- Source code: TBD&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;object class=&quot;BLOGGER-youtube-video&quot; classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0&quot; data-thumbnail-src=&quot;http://i.ytimg.com/vi/_6It0ZD1ktQ/0.jpg&quot; height=&quot;266&quot; width=&quot;320&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/_6It0ZD1ktQ?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; /&gt;&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;&lt;embed width=&quot;320&quot; height=&quot;266&quot;  src=&quot;http://www.youtube.com/v/_6It0ZD1ktQ?version=3&amp;f=user_uploads&amp;c=google-webdrive-0&amp;app=youtube_gdata&quot; type=&quot;application/x-shockwave-flash&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiugi8Lh3LL8s5AyFr6eYFMjs4hvVuxuIKSjHWjR3JOFmGARjCBFgAZkrkluCQkQfnU3pjvb2EV5H9AM9WK1G7sLaQjxrmzpV1eWYlLh0YMrGKS937n4UFy6iCapGkggK1M2G_Q5g/s1600/Screenshot+from+2012-10-06+00:18:45.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiugi8Lh3LL8s5AyFr6eYFMjs4hvVuxuIKSjHWjR3JOFmGARjCBFgAZkrkluCQkQfnU3pjvb2EV5H9AM9WK1G7sLaQjxrmzpV1eWYlLh0YMrGKS937n4UFy6iCapGkggK1M2G_Q5g/s320/Screenshot+from+2012-10-06+00:18:45.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN7k5rkap1OuQ5kRDL2rhqDugBXwC1Bvn4PPGQTdFhkmJjR-y5j15V2pWUJRTRasL2NQ4MyeGz5PuFetQVHdpMrAbMNfxAKWAF3HHl9JWsMK8X31cjbn4F1J9ZgJfiGB-wy1eSRQ/s1600/Screenshot+from+2012-10-06+00:19:00.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN7k5rkap1OuQ5kRDL2rhqDugBXwC1Bvn4PPGQTdFhkmJjR-y5j15V2pWUJRTRasL2NQ4MyeGz5PuFetQVHdpMrAbMNfxAKWAF3HHl9JWsMK8X31cjbn4F1J9ZgJfiGB-wy1eSRQ/s320/Screenshot+from+2012-10-06+00:19:00.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ-4EBnnY4-gILMsg3OxTmtB4-VJykuq2TmOdCXfZDGBqRVU7mToBVmy7FUIvVdeXMreT1W5WVqvYQGXj3y9p9_L5fLrxZUCFk8U7-I90GN4Cy4-3vMTPcW-c1D7rBhrPEdBHnJQ/s1600/Screenshot+from+2012-10-06+00:19:08.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJ-4EBnnY4-gILMsg3OxTmtB4-VJykuq2TmOdCXfZDGBqRVU7mToBVmy7FUIvVdeXMreT1W5WVqvYQGXj3y9p9_L5fLrxZUCFk8U7-I90GN4Cy4-3vMTPcW-c1D7rBhrPEdBHnJQ/s320/Screenshot+from+2012-10-06+00:19:08.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgYMFEktmXSzrBWl1tSS6HXlc667zWaFBKPXUpxL9L4Xsifdk8SLw-XZu7gfo42XUXewptP3mp3_Gc5wuF613S0J9Ckk5rBcAmJAU7QsSW_qPRTyvWpzt3Ap4fLqSUEn5oM2uhQg/s1600/Screenshot+from+2012-10-06+00:19:32.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgYMFEktmXSzrBWl1tSS6HXlc667zWaFBKPXUpxL9L4Xsifdk8SLw-XZu7gfo42XUXewptP3mp3_Gc5wuF613S0J9Ckk5rBcAmJAU7QsSW_qPRTyvWpzt3Ap4fLqSUEn5oM2uhQg/s320/Screenshot+from+2012-10-06+00:19:32.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPeljGIZw_kBmHFdLNDOur9lURUB5Pdg-3k8qohUYydYeIvh9ozNY3amBL60cQlFA7u9yOSH1hg-rOygAhg4YiB-EsqoG56sF1fJoklkxLHGWSMJSU2iIVxHUaeYCNmq9gACwR2Q/s1600/Screenshot+from+2012-10-06+00:19:47.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPeljGIZw_kBmHFdLNDOur9lURUB5Pdg-3k8qohUYydYeIvh9ozNY3amBL60cQlFA7u9yOSH1hg-rOygAhg4YiB-EsqoG56sF1fJoklkxLHGWSMJSU2iIVxHUaeYCNmq9gACwR2Q/s320/Screenshot+from+2012-10-06+00:19:47.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgelerIdMf0G3kRf_SU7r5a_V7R-P0RzAOFuubpPZUemkonRt6rhpKqBQYZlA3luHAmT3anhX_Cy8H2z62-g24AJuaX-xrb6YBQLcX4mf2y30BBs9UjWdRH8dFrukdiBm1j3C8zEg/s1600/Screenshot+from+2012-10-06+00:18:18.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgelerIdMf0G3kRf_SU7r5a_V7R-P0RzAOFuubpPZUemkonRt6rhpKqBQYZlA3luHAmT3anhX_Cy8H2z62-g24AJuaX-xrb6YBQLcX4mf2y30BBs9UjWdRH8dFrukdiBm1j3C8zEg/s320/Screenshot+from+2012-10-06+00:18:18.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I can&#39;t upload .exe file here, otherwise you can get various other designs. I will share the code very soon with all of you. Share your comments about the post.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/6210398984331205888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/6210398984331205888' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6210398984331205888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/6210398984331205888'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2012/10/opengl-experiments.html' title='Toroidal Spiral using OpenGL'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiugi8Lh3LL8s5AyFr6eYFMjs4hvVuxuIKSjHWjR3JOFmGARjCBFgAZkrkluCQkQfnU3pjvb2EV5H9AM9WK1G7sLaQjxrmzpV1eWYlLh0YMrGKS937n4UFy6iCapGkggK1M2G_Q5g/s72-c/Screenshot+from+2012-10-06+00:18:45.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-171122214778717166</id><published>2012-08-28T13:49:00.002-07:00</published><updated>2012-08-28T13:50:56.762-07:00</updated><title type='text'>Application using Spring MVC 3.0, myBatis 3, ExtJS 4.x.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Coming soon...&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/171122214778717166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/171122214778717166' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/171122214778717166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/171122214778717166'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2012/08/application-using-spring-mvc-mybatis.html' title='Application using Spring MVC 3.0, myBatis 3, ExtJS 4.x.'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-8076362420856813524</id><published>2012-05-11T23:23:00.003-07:00</published><updated>2013-03-26T19:33:07.496-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="errors"/><category scheme="http://www.blogger.com/atom/ns#" term="solutions"/><category scheme="http://www.blogger.com/atom/ns#" term="tinyos"/><title type='text'>TinyOS Errors and Solutions</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi All,&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
I am posting here some of the errors which I get and spend so much of time in solving it as some solutions are not available on web. Again, this is my own opinion, it has no relation with anybody. I will update the post the way I get errors while using it.This way, even I can track the changes I did in my code and people can get the answers.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1. If you try to install apps using telosb on tinyos and if you use tinyos version 2.1.1 or previous, you might get error over msp430. The simple workout solution to the problem is to use version 2.1.2. you can get this version at&amp;nbsp;&lt;a href=&quot;http://tinyos-main.googlecode.com/svn/tags/release-2.1.2-rc1/&quot;&gt;http://tinyos-main.googlecode.com/svn/tags/release-2.1.2-rc1/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2. Please find this &lt;a href=&quot;http://jenis23.blogspot.com/2013/03/motelab-problem-with-sender-address.html&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt; for problem with sender address in Motelab.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/8076362420856813524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/8076362420856813524' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8076362420856813524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/8076362420856813524'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2012/05/tinyos-errors-and-solutions.html' title='TinyOS Errors and Solutions'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-216713876062124004</id><published>2012-05-11T23:17:00.001-07:00</published><updated>2013-11-21T10:25:40.296-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="12.04"/><category scheme="http://www.blogger.com/atom/ns#" term="install"/><category scheme="http://www.blogger.com/atom/ns#" term="tinyos"/><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu"/><title type='text'>Install TinyOS under Ubuntu 12.04 or later</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Installing TinyOS under Ubuntu 12.04 or 12.10 or 13.04 or 13.10&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
I am specifying 3 different methods for installing tinyos. There are different ways one can install. I prefer last method for advanced users and first two methods for simple use. Also, not to forget that There is a problem reported with MSP430-gcc version &amp;lt; 4.6.3. So, all users should make sure that they use MSP430-gcc version 4.6.3 for &lt;b&gt;TelosB&lt;/b&gt; devices. If you want to download 4.6.3, please follow&amp;nbsp;&lt;a href=&quot;http://tinyprod.net/repos/debian/README-46.html&quot;&gt;http://tinyprod.net/repos/debian/README-46.html&lt;/a&gt;&amp;nbsp;.&lt;br /&gt;
&lt;br /&gt;
When you try different methods, please make sure to remove previous installations (including toolchain).&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;Method 1:&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1. Add software source,&amp;nbsp;&lt;b&gt;deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main &lt;/b&gt;to /etc/apt/sources.list&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
2. Type, &lt;b&gt;sudo apt-get update &lt;/b&gt;to get new changes.&amp;nbsp;Install tinyos-2.1.1 by typing&amp;nbsp;&lt;b&gt;sudo apt-get install tinyos-2.1.1.&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify;&quot;&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3. Change the environment variables. Open the .bashrc file (&lt;b&gt;sudo gedit ~/.bashrc&lt;/b&gt;), and add the following lines to the bashrc file:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;export TOSROOT=/opt/tinyos-2.1.1&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;export TOSDIR=$TOSROOT/tos&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.$CLASSPATH&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;export MAKERULES=$TOSROOT/support/make/Makerules&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;export PATH=/opt/msp430/bin:$PATH&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;source /opt/tinyos-2.1.1/tinyos.sh&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Use command: &lt;b&gt;source ~/.bashrc&lt;/b&gt; to update changes.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
3. Get the access authority to the tinyos folder (&lt;b&gt;sudo chown usr_name:usr_name -R /opt/tinyos-2.1.1/). &lt;/b&gt;Also follow this 2 steps:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li style=&quot;margin-bottom: 0.1em; text-align: justify;&quot;&gt;Change the ownership on your /opt/tinyos-2.x files:&amp;nbsp;&lt;code style=&quot;background-color: #f9f9f9;&quot;&gt;chown -R&amp;nbsp;&amp;lt;your uid&amp;gt;&amp;nbsp;/opt/tinyos-2.x&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em; text-align: justify;&quot;&gt;Change the permissions on any serial (/dev/ttyS&amp;lt;N&amp;gt;), usb (/dev/tts/usb&amp;lt;N&amp;gt;, /dev/ttyUSB&amp;lt;N&amp;gt;), or parallel (/dev/parport) devices you are going to use:&amp;nbsp;&lt;code style=&quot;background-color: #f9f9f9;&quot;&gt;chmod 666 /dev/&amp;lt;devicename&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
4. Install tinyos jave tools. First install JNI by running &quot;&lt;b&gt;tos-install-jni&lt;/b&gt;&quot;. Go to &quot;$TOSROOT/support/sdk/java/&quot;. If the directory has a Makefile in it, type&amp;nbsp;&lt;b&gt;make&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;make install&lt;/b&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
//optional step:&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
5. Generate the documents of TinyOS java tools. Go to&amp;nbsp; &quot;$TOSROOT/support/sdk/java/&quot;&amp;nbsp;, copy the the directory to another place (e.g., /home/usr_name), open the Makefile, change &quot;JAVADOCDIR&quot; to the intended location. Type &quot;&lt;b&gt;make javadoc&lt;/b&gt;&quot; to generate the documents.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin: 0px; outline: none; padding: 0px;&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;
&lt;br /&gt;
Close all editors, restart the machine. And you are done.&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px;&quot;&gt;
&lt;div style=&quot;font-size: 14px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;Method 2:&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Remove tinyos using : sudo apt-get remove tinyos-2.1.2&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;Add software source,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;deb http://tinyos.stanford.edu/tinyos/dists/ubuntu lucid main&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;deb http://tinyos.stanford.edu/tinyos/dists/ubuntu maverick main&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;deb http://tinyos.stanford.edu/tinyos/dists/ubuntu natty main&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; font-weight: bold; line-height: 19px;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;/ol&gt;
&lt;ol&gt;&lt;/ol&gt;
&lt;b&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;to /etc/apt/sources.list&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Type as instructed in bullet.&lt;/span&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;
&lt;ul style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;li&gt;Type,&amp;nbsp;&lt;b&gt;sudo apt-get update&amp;nbsp;&lt;/b&gt;to get new changes.&amp;nbsp;Install tinyos-2.1.2 by typing&amp;nbsp;&lt;b&gt;sudo apt-get install tinyos-2.1.2.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Type: cd /opt&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Get tinyos repository using: sudo git clone&amp;nbsp;https://github.com/tinyos/tinyos-main.git&amp;nbsp;&lt;/li&gt;
&lt;li&gt;sudo cp -R /opt/tinyos-main /opt/tinyos-2.x&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em; text-align: justify;&quot;&gt;Change the ownership on your /opt/tinyos-2.x files:&amp;nbsp;&lt;code style=&quot;background-color: #f9f9f9;&quot;&gt;chown -R&amp;nbsp;&amp;lt;your uid&amp;gt;&amp;nbsp;/opt/tinyos-2.x&lt;/code&gt;&lt;/li&gt;
&lt;li style=&quot;margin-bottom: 0.1em; text-align: justify;&quot;&gt;Change the permissions on any serial (/dev/ttyS&amp;lt;N&amp;gt;), usb (/dev/tts/usb&amp;lt;N&amp;gt;, /dev/ttyUSB&amp;lt;N&amp;gt;), or parallel (/dev/parport) devices you are going to use:&amp;nbsp;&lt;code style=&quot;background-color: #f9f9f9;&quot;&gt;chmod 666 /dev/&amp;lt;devicename&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;4. Copy tinyos.sh file from /opt/tinyos-2.1.2/ using: sudo cp /opt/tinyos-2.1.2/tinyos.sh /opt/tinyos-2.x/tinyos.sh (if don&#39;t have tinyos.sh file under tinyos-2.1.2, get it from tinyos-2.1.1)&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5. Change permission: sudo chmod&amp;nbsp;+x /opt/tinyos-2.x/tinyos.sh&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;6. Open tinyos.sh file under /opt/tinyos-2.x/ and add below lines, save and exit:&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot; style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
#! /usr/bin/env bash&lt;br /&gt;
# Here we setup the environment&lt;br /&gt;
# variables needed by the tinyos&lt;br /&gt;
# make system&lt;br /&gt;
echo &quot;Setting up for TinyOS 2.x Repository Version&quot;&lt;br /&gt;
export TOSROOT=&lt;br /&gt;
export TOSDIR=&lt;br /&gt;
export MAKERULES=&lt;br /&gt;
TOSROOT=&quot;/opt/tinyos-2.x&quot;&lt;br /&gt;
TOSDIR=&quot;$TOSROOT/tos&quot;&lt;br /&gt;
CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java:.:$TOSROOT/support/sdk/java/tinyos.jar&lt;br /&gt;
MAKERULES=&quot;$TOSROOT/support/make/Makerules&quot;&lt;br /&gt;
export TOSROOT&lt;br /&gt;
export TOSDIR&lt;br /&gt;
export CLASSPATH&lt;br /&gt;
export MAKERULES&lt;/blockquote&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 7. Type sudo gedit ~/.bashrc and add below line:&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; source /opt/tinyos-2.x/tinyos.sh&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&amp;nbsp; 8. Install tinyos jave tools. First install JNI by running &quot;&lt;b&gt;tos-install-jni&lt;/b&gt;&quot;. Go to &quot;$TOSROOT/support/sdk/java/&quot;. If the directory has a Makefile in it, type&amp;nbsp;&lt;b&gt;make&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;make install&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
Close all editors, restart the machine. And you are done.&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; line-height: 19px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Method 3:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;My preferred way (difficult for some people though).&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;ol&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Get tinyos repository using: sudo git clone&amp;nbsp;https://github.com/tinyos/tinyos-main.git&amp;nbsp;&lt;/li&gt;
&lt;ol style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;li&gt;cd ~ ;&lt;/li&gt;
&lt;li&gt;mkdir local/src&lt;/li&gt;
&lt;li&gt;sudo git clone&amp;nbsp;https://github.com/tinyos/tinyos-main.git&lt;/li&gt;
&lt;/ol&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Get required tools using TinyOS &lt;a href=&quot;http://tinyos.stanford.edu/tinyos-wiki/index.php/Installing_TinyOS_2.1.1&quot; target=&quot;_blank&quot;&gt;wiki&lt;/a&gt;&amp;nbsp;step 3. You can try converting rpm to deb using simple search on &lt;a href=&quot;https://www.google.com/#q=rpm+to+deb+converter&quot; target=&quot;_blank&quot;&gt;Google&lt;/a&gt;.&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Make sure you install MSP430-gcc version 4.6.3 from&amp;nbsp;&lt;a href=&quot;http://tinyprod.net/repos/debian/README-46.html&quot; style=&quot;font-family: &#39;Times New Roman&#39;; line-height: normal;&quot;&gt;http://tinyprod.net/repos/debian/README-46.html&lt;/a&gt;. Before installing version 4.6.3, make sure to remove previous versions from your machine, otherwise you will end up having errors in your machine. &amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Once everything is done, install automake using sudo apt-get install automake;&lt;/li&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Use following commands:&amp;nbsp;&lt;/li&gt;
&lt;ol&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;sudo apt-get install automake&lt;/li&gt;
&lt;li&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;cd tinyos-2.x/tools&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;./Bootstrap&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;./configure --prefix=$HOME/local&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;make all&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;make install&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;Set environment variables under bashrc:&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica Neue Light, HelveticaNeue-Light, Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 19px;&quot;&gt;#! /usr/bin/env bash&lt;br /&gt;
# Here we setup the environment&lt;br /&gt;
# variables needed by the tinyos&lt;br /&gt;
# make system&lt;br /&gt;
echo &quot;Setting up for TinyOS 2.x Repository Version&quot;&lt;br /&gt;
export TOSROOT=&lt;br /&gt;
export TOSDIR=&lt;br /&gt;
export MAKERULES=&lt;br /&gt;
TOSROOT=&quot;/opt/tinyos-2.x&quot;&lt;br /&gt;
TOSDIR=&quot;$TOSROOT/tos&quot;&lt;br /&gt;
CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java:.:$TOSROOT/support/sdk/java/tinyos.jar&lt;br /&gt;
MAKERULES=&quot;$TOSROOT/support/make/Makerules&quot;&lt;br /&gt;
export TOSROOT&lt;br /&gt;
export TOSDIR&lt;br /&gt;
export CLASSPATH&lt;br /&gt;
export MAKERULES&lt;br /&gt;
&lt;br /&gt;
You are done. Close all editors and Enjoy.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: medium; line-height: 19px;&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Method 4:&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;My preferred way (Very easy to follow).&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;
Follow Eric Decker&#39;s &lt;a href=&quot;http://tinyprod.net/repos/debian/&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt; for installation. After following his steps from 1 to 4 (and of-course &quot;Note&quot; mentioned)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;cd /opt/&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Get git repos using: sudo git clone&amp;nbsp;https://github.com/tinyos/tinyos-main.git&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333;&quot;&gt;sudo cp -R /opt/tinyos-main /opt/tinyos-2.x&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333;&quot;&gt;Change the ownership on your /opt/tinyos-2.x files:&amp;nbsp;&lt;/span&gt;&lt;code style=&quot;background-color: #f9f9f9; color: #333333;&quot;&gt;chown -R&amp;nbsp;&amp;lt;your uid&amp;gt;&amp;nbsp;/opt/tinyos-2.x&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f9f9f9; color: #333333;&quot;&gt;Create tinyos.sh file under /opt/tinyos-2.x/ and add these lines:&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;code style=&quot;background-color: #f9f9f9; color: #333333;&quot;&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;code style=&quot;background-color: #f9f9f9; color: #333333;&quot;&gt;&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
#! /usr/bin/env bash&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
# Here we setup the environment&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
# variables needed by the tinyos&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
# make system&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
echo &quot;Setting up for TinyOS 2.x Repository Version&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export TOSROOT=&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export TOSDIR=&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export MAKERULES=&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
TOSROOT=&quot;/opt/tinyos-2.x&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
TOSDIR=&quot;$TOSROOT/tos&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
CLASSPATH=$CLASSPATH:$TOSROOT/support/sdk/java:.:$TOSROOT/support/sdk/java/tinyos.jar&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
MAKERULES=&quot;$TOSROOT/support/make/Makerules&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export TOSROOT&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export TOSDIR&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export CLASSPATH&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif;&quot;&gt;
export MAKERULES&lt;/div&gt;
&lt;/code&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Type sudo gedit ~/.bashrc and add below line: source /opt/tinyos-2.x/tinyos.sh&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;Install tinyos jave tools. First install JNI by running &quot;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;tos-install-jni&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&quot;. Go to &quot;$TOSROOT/support/sdk/java/&quot;. If the directory has a Makefile in it, type&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;make&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;make install&lt;/b&gt;&lt;span style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px;&quot;&gt;
&lt;span style=&quot;color: #333333;&quot;&gt;Enjoy.&amp;nbsp;&lt;/span&gt;&lt;div style=&quot;color: black;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; text-align: justify;&quot;&gt;
Please post your comments and suggestions if you find this helpful.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue Light&#39;, HelveticaNeue-Light, &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 19px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/216713876062124004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/216713876062124004' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/216713876062124004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/216713876062124004'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2012/05/install-tinyos-under-ubuntu-1204.html' title='Install TinyOS under Ubuntu 12.04 or later'/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-15590524.post-116219813291641311</id><published>2006-10-30T00:48:00.000-08:00</published><updated>2012-05-11T23:32:26.906-07:00</updated><title type='text'></title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Test !!! :)&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.jenismodi.com/feeds/116219813291641311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/15590524/116219813291641311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/116219813291641311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/15590524/posts/default/116219813291641311'/><link rel='alternate' type='text/html' href='http://blog.jenismodi.com/2006/10/hi-i-am-jenis-modi.html' title=''/><author><name>Jenis</name><uri>http://www.blogger.com/profile/15616240388672967903</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>