Difference between revisions of "Installing XubunTOS (with TinyOS from tp-freeforall/prod repository) in VirtualBox"

From TinyOS Wiki
Jump to: navigation, search
(New page: This tutorial shows how to install a XubunTOS Virtual Machine Image in VirtualBox with a fully functional TinyOS setup on Windows and Linux (Ubuntu). TinyOS is installed from the [https://...)
 
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
  
 
The image has been created on 5th March, 2013 and is in [http://en.wikipedia.org/wiki/Open_Virtualization_Format OVF] format. This means that the image should also work with other virtualization tools, not only with VirtualBox. The image has been tested on Windows 7 and Ubuntu 13.04.
 
The image has been created on 5th March, 2013 and is in [http://en.wikipedia.org/wiki/Open_Virtualization_Format OVF] format. This means that the image should also work with other virtualization tools, not only with VirtualBox. The image has been tested on Windows 7 and Ubuntu 13.04.
 +
 +
; Username : user
 +
 +
; Password: password
  
 
== Installation on Windows ==
 
== Installation on Windows ==
Line 10: Line 14:
 
# Download '''[https://www.virtualbox.org/wiki/Downloads VirtualBox]'''. Make sure you choose the right version (in this case '''Virtualbox x.y.z for Windows Hosts''')!
 
# Download '''[https://www.virtualbox.org/wiki/Downloads VirtualBox]'''. Make sure you choose the right version (in this case '''Virtualbox x.y.z for Windows Hosts''')!
 
# Download '''VirtualBox x.y.z Oracle VM VirtualBox Extension Pack''' from the same site. (We need it for proper USB connections.)
 
# Download '''VirtualBox x.y.z Oracle VM VirtualBox Extension Pack''' from the same site. (We need it for proper USB connections.)
 +
# Run '''VirtualBox-x.y.z-_____-Win.exe'''.
 +
# Click on '''Next >'''.
 +
# You can select the components to be installed. (The default selection should be fine.) Click on '''Next >'''.
 +
# Select the shortcuts you need and click on '''Next >'''.
 +
# Say '''Yes''' on the Warning about installing Network Interfaces.
 +
# Click on '''Install''' and wait.
 +
# You can start '''Oracle VM VirtualBox''' now.
 +
# Import the XubunTOS Virtual Machine. Click on '''File -> Import Appliance... (CTRL+I)'''.
 +
# Click on '''Open appliance...''' and select the [http://wwwu.uni-klu.ac.at/aerdelyi/tinyos/xubuntos/XubunTOS.ova XubunTOS.ova] file that you've downloaded.
 +
# Tick the '''Reinitialize the MAC address of all network cards''' checkbox and click on '''Import'''.
 +
# Click on '''Agree''' and wait.
 +
# If the import was successful you can now Power On the virtual machine. Click on '''Start'''.
 +
# You may get some notification about screen resolution, mouse/keyboard capture, etc. Not to worry, that's normal, just say '''OK'''.
 +
# If you forgot to install the '''Oracle VM Virtualbox Extension Pack''' you will get an error message. Just click '''OK''', install it, and try to start the virtual machine again.
 +
# To make sure that everything works fine, open a Terminal Emulator and try to compile a sample application.
 +
<pre>
 +
user@XubunTOS:~$ cd top/t2_cur/tinyos-2.x/apps/tutorials/BlinkToRadio/
 +
user@XubunTOS:~/top/t2_cur/tinyos-2.x/apps/tutorials/BlinkToRadio/$ make telosb
 +
</pre>
 +
You should see something like this:
 +
 
...
 
...
 +
 +
to be continued, I couldn't upload any images (screenshots) :(
  
 
== Installation on Linux ==
 
== Installation on Linux ==
Line 16: Line 43:
 
# Download '''[https://www.virtualbox.org/wiki/Linux_Downloads VirtualBox]'''. Make sure you choose the right version for your Linux distribution!
 
# Download '''[https://www.virtualbox.org/wiki/Linux_Downloads VirtualBox]'''. Make sure you choose the right version for your Linux distribution!
 
# Download '''VirtualBox x.y.z Oracle VM VirtualBox Extension Pack''' from [https://www.virtualbox.org/wiki/Downloads here]. (We need it for proper USB connections.)
 
# Download '''VirtualBox x.y.z Oracle VM VirtualBox Extension Pack''' from [https://www.virtualbox.org/wiki/Downloads here]. (We need it for proper USB connections.)
 +
# Double-click on '''virtualbox-w.x.y.z-___.deb'''.
 +
# The Ubuntu Software Center shows up. Click on '''Install'''.
 +
# You can start '''Oracle VM VirtualBox''' now.
 +
Follow the instructions from Step 10 in the Windows section.
 +
 
...
 
...
 +
 +
to be continued, I couldn't upload any images :(

Latest revision as of 00:14, 3 April 2013

This tutorial shows how to install a XubunTOS Virtual Machine Image in VirtualBox with a fully functional TinyOS setup on Windows and Linux (Ubuntu). TinyOS is installed from the tp-freeforall/prod repository (version: 5th March, 2013).

The XubunTOS Virtual Machine Image can be downloaded from here: XubunTOS.ova

The image has been created on 5th March, 2013 and is in OVF format. This means that the image should also work with other virtualization tools, not only with VirtualBox. The image has been tested on Windows 7 and Ubuntu 13.04.

Username 
user
Password
password

Installation on Windows

This tutorial is based on Windows 7, but it should also work on Windows XP or Windows 8.

  1. Download VirtualBox. Make sure you choose the right version (in this case Virtualbox x.y.z for Windows Hosts)!
  2. Download VirtualBox x.y.z Oracle VM VirtualBox Extension Pack from the same site. (We need it for proper USB connections.)
  3. Run VirtualBox-x.y.z-_____-Win.exe.
  4. Click on Next >.
  5. You can select the components to be installed. (The default selection should be fine.) Click on Next >.
  6. Select the shortcuts you need and click on Next >.
  7. Say Yes on the Warning about installing Network Interfaces.
  8. Click on Install and wait.
  9. You can start Oracle VM VirtualBox now.
  10. Import the XubunTOS Virtual Machine. Click on File -> Import Appliance... (CTRL+I).
  11. Click on Open appliance... and select the XubunTOS.ova file that you've downloaded.
  12. Tick the Reinitialize the MAC address of all network cards checkbox and click on Import.
  13. Click on Agree and wait.
  14. If the import was successful you can now Power On the virtual machine. Click on Start.
  15. You may get some notification about screen resolution, mouse/keyboard capture, etc. Not to worry, that's normal, just say OK.
  16. If you forgot to install the Oracle VM Virtualbox Extension Pack you will get an error message. Just click OK, install it, and try to start the virtual machine again.
  17. To make sure that everything works fine, open a Terminal Emulator and try to compile a sample application.
user@XubunTOS:~$ cd top/t2_cur/tinyos-2.x/apps/tutorials/BlinkToRadio/
user@XubunTOS:~/top/t2_cur/tinyos-2.x/apps/tutorials/BlinkToRadio/$ make telosb

You should see something like this:

...

to be continued, I couldn't upload any images (screenshots) :(

Installation on Linux

This tutorial is based on Ubuntu 13.04, but it should also work on any Linux distribution that's supported by VirtualBox.

  1. Download VirtualBox. Make sure you choose the right version for your Linux distribution!
  2. Download VirtualBox x.y.z Oracle VM VirtualBox Extension Pack from here. (We need it for proper USB connections.)
  3. Double-click on virtualbox-w.x.y.z-___.deb.
  4. The Ubuntu Software Center shows up. Click on Install.
  5. You can start Oracle VM VirtualBox now.

Follow the instructions from Step 10 in the Windows section.

...

to be continued, I couldn't upload any images :(