Installing TinyOS in Ubuntu 11.10

Studying WSN and trying to implement it can be fun, but the initial step to install TinyOS, the most widely used operating system for WSN can be a pain.

Try these steps to install tinyos and get started with networking. Here, I have installed tinyos-2.1.1, you can choose accordingly:

1. To edit the sources list, open the terminal and type:
$ sudo gedit /etc/apt/sources.list

add this line at the end of the file opened
deb http://tinyos.stanford.edu/tinyos/dists/ubuntu karmic main
“karmic” for all type of ubuntu distribution.

2. Run a couple of commands to update and install tinyos
$ sudo apt-get update

     $ sudo apt-get install tinyos-2.1.1

3. Then we need to change the environmental variables. For this we open the .bashrc file

$ gedit ~/.bashrc

and paste the following lines to the bashrc file.
export TOSROOT=/opt/tinyos-2.1.1
export TOSDIR=$TOSROOT/tos
export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.:$CLASSPATH
export MAKERULES=$TOSROOT/support/make/Makerules
export PATH=/opt/msp430/bin:$PATH
#Sourcing the tinyos environment variable setup script
source /opt/tinyos-2.1.1/tinyos.sh

4. We then change the owner for the tinyos installed on the system.

sudo chown yourname:yourname -R /opt/tinyos-2.1.1/

5. Finally, to check if the installation was done , run the command

$ tos-check-env

This should give the details of the components installed.

This should work!!!

Getting my Pen-drive bootable

Thanks to Startup Disk Creator in Ubuntu, which makes it so easy to create a boot-able pen-drive but when it comes to Windows it’s not that straight forward. There a couple of softwares like Makebootable, UNetbootin but the Command prompt is the most convenient if only you remember the command.

For me it has always been the command prompt but I always forget the command. So just for the command.

To create a bootable  pen-drive:

Format your pen-drive in NTFS format.

The most important part, run the command prompt with Administrative rights.

then the command:

D:\>Backup>Windows 7>boot>bootsect.exe /nt60 h: (here H: is the pen-drive)

Copy the entire folder of the OS in the pen-drive.

Done!!!

A twitter page for me

Creating your own page for facebook or having a self created wallpaper is always fun and inspiring.

This feeling inspired me to create one for me. If you next check my twitter profile, you are going to see one of those wallpapers created by myself with a bit of photoshop.

Have a look!!!!

https://twitter.com/iroushan

A Twitter page, for me is a simple background with a small  Arsenal crest and a maximum use of the color RED.

Remembering the byName

The Internet is a great place to do new and fun things.

Unless you leave all the crap behind and find something fun to do, there are a lot of things to get involve in. One of them would be this name cloud which has the nickname of most of my friends in college.

No Photoshop, No GIMP or any other software. Thanks to Worldle.net, this piece of memory just took me few clicks and couple of minutes to create one. One good use of searching new  things to do on the net.

HAVE FUN AND FIND WHAT YOU CAN DO :)

Shortcuts in Mozilla!!

Surfing consumes a lot of time. It gets even lengthy when we start clicking the mouse for simple commands. So,  a professional (geek, never mind) who is addicted to the Net would rather approach a professional way, with the shortcut keys.

So, In this post, Shortcut Keys for  Mozilla Firefox: Continue reading

Resolve the IDM error

It has been sometime, I was having a tough time fixing my Internet Download Manger error. I am a regular user of IDM and can’t avoid using it each time I have to download something. But few days back, I had to uninstall my IDM. After I reinstalled it, it started giving some weird error. Each time I clicked on the My computer icon or any folder a strange error was seen. The error read something like this:

“INTERNET DOWNLOAD MANAGER DETECTED THAT ITS REGISTRY KEYS HAD BEEN DAMAGED SINCE LAST RUN. IT IS POSSIBLE THAT YOU RUN A FLAKY SPYWARE REMOVER PROGRAM WHICH CORRUPTED SYSTEM REGISTRY. INTERNET DOWNLOAD MANAGER WILL TRY TO RESTORE ALL DAMAGED DATA, BUT SOME DATA MAY REMAIN CORRUPTED”.

If you are having the similar error then I have the perfect solution:
Follow these simple steps:
1) Uninstall the existing IDM.
2) Then click the Run command in the Start options.
3) Type REGEDIT and press enter.
This should take you to the windows registry editor window
4) Click on the choose Hkey local machine and then software
5) Search for internet download manager folder and delete it
6) Restart the computer

This should fix the IDM issues.

Good Luck!!!

Hack Facebook Private photos!!!

Flipping through the photos on Facebook, either yours’ or your friends’ is probably the best thing to do on Facebook. But What if I wanted to flip through private photos without adding a guy or a girl to your friends list. Well, there is a way out.

For this follow the steps below:

1) Log in to your Facebook account

2) Go to the page of the person you want to see pictures of

3) Replace the URL with this code :-

javascript:(function() {CSS.removeClass(document.body,%20' profile_two_columns'); tab_controller.changePage("photos"); })()

4) Press enter and you will see his or her’s private photo albums.

The next is your luck. Sometimes it works and sometime it fails. So, as you try this keep your fingers crossed.

Give it a try!!!!!!!!!