Difference between revisions of "Installing a XubunTOS Virtual Machine on VMWare Server"

From TinyOS Wiki
Jump to: navigation, search
(New page: =Installing a XubunTOS Virtual Machine<br />= This tutorial provides instructions for installing XubunTOS inside a VMware virtual machine. Instructions are provided for both Debian-based ...)
 
Line 1: Line 1:
=Installing a XubunTOS Virtual Machine<br />=
+
This tutorial provides instructions for installing XubunTOS inside a VMware virtual machine. Instructions are provided for both Debian-based Linux as well as Windows users. If you run into problems, find that something doesn't work, or want to provide feedback of any kind, feel free to email me (Kevin Klues) at [mailto:klueska@gmail.com klueska(at)gmail.com] and I'll try and update this tutorial as soon as possible.
  
This tutorial provides instructions for installing XubunTOS inside a VMware virtual machine. Instructions are provided for both Debian-based Linux as well as Windows users. If you run into problems, find that something doesn't work, or want to provide feedback of any kind, feel free to email me (Kevin Klues) at [mailto:klueska@gmail.com?subject=Installing%20tinyos-2.x%20on%20MAC%20OS%20X%20%28Tiger%29 klueska(at)gmail.com] and I'll try and update this tutorial as soon as possible.<br /><br /><font color="#ff0000">Note:<font color="#000000"> You will need to make sure you administrative rights on your machine before starting. Otherwise, you will have to get your system administrator to follow these instructions instead.</font></font><br /><br /> OK, lets get started.....<br />
+
<font color="#ff0000">Note:<font color="#000000">  
 +
You will need to make sure you administrative rights on your machine before starting. Otherwise, you will have to get your system administrator to follow these instructions instead.</font></font>
  
==Contents==
+
OK, lets get started.....
  
* [View?docid=ajjngdf428hf_57hkjt8x#Debian_Linux_Installation Debian Linux VMWare Server Installation]
+
==Debian Linux VMware Server Installation==
* [View?docid=ajjngdf428hf_57hkjt8x#Windows_VMware_Installation Windows XP VMWare Server Installation]
+
First thing you want to do is get VMware Server installed and running on your system. Do do so, you will need a registration key. Obtaining a key is free, so just go to [http://register.vmware.com/content/registration.html this website], put in your information, and violà, you now have a key. Write this key down somewhere, you will need it again later at the end of the installation process.
* [View?docid=ajjngdf428hf_57hkjt8x#XubunTOS_Installation XubunTOS installation]
+
 
 +
Once you have your key you will want to install VMware using aptitude. To do so, you will need to edit your source list to include the repository where the VMware server can be downloaded from.
 +
 
 +
Open a terminal window, change to the /etc/apt directory, open the sources.list file, and add the following lines to it
 +
<font face="Courier New"><nowiki># Repository for VMWare</nowiki>
 +
</font><font face="Courier New">deb http://archive.canonical.com/ubuntu feisty-commercial main</font>
 +
Exit the file and update aptitude (you may need to run this a couple of times before it completes successfully)
 +
<font face="Courier New">sudo apt-get update</font>
 +
Now that aptitude has been updated to include packages from the commercial repository, you can install VMware Server by issuing the following command:
 +
<font face="Courier New"> sudo apt-get install vmware-server vmware-tools-kernel-modules </font>
 +
After some downloading time, the VMWare server installation will eventually start, and you will be asked some configuration questions.
 +
 
 +
First it will show you the VMware license agreement. Just select OK (by pressing tab) and press enter.
 +
 
 +
[[Image:1.png]]
 +
 
 +
Next it will prompt you for acceptance of the terms in the VMware server license. Select <Yes> and press enter.
 +
 
 +
[[Image:2.png]]
 +
 
 +
Finally it will prompt you for the serial number you obtained during the registration process with VMware. Just enter the serial number, select <OK> and press enter.
 +
 
 +
[[Image:3.png]]
  
==Debian Linux VMware Server Installation==
+
This completes the VMware server installation. You will want to restart your computer now to finalize all your VMware settings.
 +
 
 +
To open the VMware server either type the following command into a terminal window (I like to open it as a background process):
 +
<font face="Courier New"> vmware & </font>
 +
Or open it from the menubar (picture below is for Gnome, probably somewhere similar in KDE or other window manager):
 +
 
 +
[[Image:File]]
 +
 
 +
The next step is now to install the actual XubunTOS image into a virtual machine. Jump down to the section for the XubunTOS installation by following the link found [[#XubunTOS Installation| here.]]
 +
 
 +
==Windows VMware Server Installation==
 +
First thing you want to do is get VMware installed and running on your system. Do do so, you will need a registration key. Obtaining a key is free, so just go to [http://register.vmware.com/content/registration.html this website], put in your information, and violà, you now have a key. Write this key down somewhere, you will need it again later at the end of the installation process.
 +
 
 +
Now go to the web address found [http://register.vmware.com/content/eula.html here] to download VMware for windows.  Agree to the end user license agreement and then select to install the binary installer seen below:
 +
 
 +
[[Image:File]]
 +
 
 +
Once it is downloaded, go ahead and open it up to start the installation process.
 +
 
 +
<font color="#000000">Go ahead and follow all the instructions and choose all the default values to get VMware for windows installed. Once installed, open it up and follow the instructions found in the next section to install the actual XubunTOS image into a virtual machine on your PC.</font>
 +
 
 +
==XubunTOS Installation==
 +
First you need to get a copy of the XubunTOS 2.0 cd image from [http://toilers.mines.edu/files-XubunTOS/XubunTOS-2.0.iso here] or [http://5secondfuse.com/tinyos/XubunTOS-2.0.iso here].
 +
Once you have the image you can start up VMware and install it into a virtual machine.
 +
<font color="#ff0000">Note: </font>Some of the icons look different than below if you installed VMware on a windows machine. The process for installation is still the same though, just find the icons with the same names as the ones indicated and you should be fine.
 +
 
 +
Go ahead and open up VMware following the instructions for your particular operating system from above. In the window that pops up, choose 'Local Host' and click on connect.
 +
 
 +
[[Image:File]]
 +
 
 +
Once you have clicked on 'Connect', the following window will open up. Go ahead and click on 'Create a new virtual machine'
  
First thing you want to do is get VMware Server installed and running on your system. Do do so, you will need a registration key. Obtaining a key is free, so just go to [http://register.vmware.com/content/registration.html this website], put in your information, and violà, you now have a key. Write this key down somewhere, you will need it again later at the end of the installation process.<br /><br /> Once you have your key you will want to install VMware using aptitude. To do so, you will need to edit your source list to include the repository where the VMware server can be downloaded from:<br />
+
[[Image:File]]
  
<blockquote style="background-color: rgb(204, 204, 255)">
+
The following window should now pop up. Go ahead and click on 'Next'.
  
* Open a terminal window, change to the /etc/apt directory, open the sources.list file, and add the following lines to it
+
[[Image:File]]
 +
 +
Choose 'Typical' installation and click on 'Next'
  
<font face="Courier New"><nowiki># Repository for VMWare</nowiki><br /></font> <font face="Courier New">deb http://archive.canonical.com/ubuntu feisty-commercial main<br /></font>
+
[[Image:File]]
  
* Exit the file and update aptitude (you may need to run this a couple of times before it completes successfully)<br />
+
Now choose your operating system. XubunTOS is based on Ubuntu, so you should choose the following set of options and click on 'Next'
  
<font face="Courier New">sudo apt-get update</font></blockquote>
+
[[Image:File]]
  
Now that aptitude has been updated to include packages from the commercial repository, you can install VMware Server by issuing the following command:<br />
+
Now give your virtual machine a name. I chose XubunTOS 2, but you can really choose anything you want. Go ahead and leave the installation location with its default value. This is where your virtual machine will be installed on your hard disk. If you change this location, you will have to configure things differently later so that the VMware server can find your virtual machine installation.
  
<blockquote style="background-color: rgb(204, 204, 255)">
+
[[Image:File]]
  
<font face="Courier New"> sudo apt-get install vmware-server vmware-tools-kernel-modules </font>
+
Now you need to choose how much space you want reserved for your virtual machine installation. I have chosen 10 GB, but you may wish to choose more or less depending on how much TinyOS development work you actually do. Once you select this value, it can't be changed. This is all the space your virtual machine will ever be able to use, so choose this value wisely.
  
</blockquote>
+
Additionally, you must choose if you want all this space allocated now or if you want the disk size to increase over time as you add files to you virtual machine. I have chosen to let it grow as I add more files, but you can choose either option and it should work just fine.
  
After some downloading time, the VMWare server installation will eventually start, and you will be asked some configuration questions.
+
Once you've made your selections click 'Finish'.
  
<br />
+
[[Image:File]]
  
First it will show you the VMware license agreement. Just select OK (by pressing tab) and press enter.
+
Now its time to actually install XubunTOS onto your newly created virtual machine. Go ahead and select 'Edit virtual machine settings'
  
<br />
+
[[Image:File]]
  
[[Image:1.png]]
+
In order to install XubunTOS, you need to tell the virtual machine to boot from the 'iso' image you downloaded earlier. Go to the 'Hardware' tab, select connection from an ISO image, and insert the location of the XubunTOS iso image into the field below it. Make sure the rest of the options are as seen below and then click on 'OK'.
  
<br />
+
[[Image:File]]
  
Next it will prompt you for acceptance of the terms in the VMware server license. Select <Yes> and press enter.
+
Now its time to power on the virtual machine and install XubunTOS. Just click on 'Power on this virtual machine'
  
<br />
+
[[Image:File]]
  
[[Image:2.png]]
+
Once you power on the virtual machine, it will automatically boot from the XubunTOS cd image. Just follow the onscreen instructions to install XubunTOS into the virtual machine. Installation may take a while, but once it is finished, you will want to turn off the virtual machine and proceed to the next step below.
  
<br />
+
Once the virtual machine has been powered down, you will need to add configurations to allow it to access your serial and USB devices in order to communicate with the motes. First go to 'Edit Virtual Machine Settings' and click on it.
  
Finally it will prompt you for the serial number you obtained during the registration process with VMware. Just enter the serial number, select <OK> and press enter.
+
[[Image:File]]
  
<br />
+
Then choose 'Add...'
  
[[Image:3.png]]
+
[[Image:File]]
  
<br />
+
Select 'USB Controller' and press 'Next'
  
This completes the VMware server installation. You will want to restart your computer now to finalize all your VMware settings.<br />
+
[[Image:File]]
  
<br />
+
Now go ahead and click 'Finish'
  
To open the VMware server either type the following command into a terminal window (I like to open it as a background process):
+
[[Image:File]]
  
<blockquote style="background-color: rgb(204, 204, 255)">
+
Now select 'Add..." again
  
<font face="Courier New"> vmware & </font>
+
[[Image:File]]
  
</blockquote>
+
And this time choose "Serial Port' and click 'Next'
  
Or open it from the menubar (picture below is for Gnome, probably somewhere similar in KDE or other window manager):
+
[[Image:File]]
  
<div id="tn2z" style="padding: 1em 0pt; text-align: center">[[Image:File]]<br /></div>
+
You will want to use the physical serial port on your host, so go ahead a leave it as the default value and click 'Next'
  
The next step is now to install the actual XubunTOS image into a virtual machine. Jump down to the section for the XubunTOS installation by following the link found [View?docid=ajjngdf428hf_57hkjt8x#XubunTOS_Installation here.]
+
[[Image:File
  
==Windows VMware Server Installation==
+
Choose 'Auto Select' From the pop down menu and then click Finish
  
First thing you want to do is get VMware installed and running on your system. Do do so, you will need a registration key. Obtaining a key is free, so just go to [http://register.vmware.com/content/registration.html this website], put in your information, and violà, you now have a key. Write this key down somewhere, you will need it again later at the end of the installation process.<br /><br /> Now go to the web address found [http://register.vmware.com/content/eula.html here] to download VMware for windows.<br /> Agree to the end user license agreement and then select to install the binary installer seen below: [[Image:File]]
+
[[Image:File]]
  
<div id="gu_m" style="padding: 1em 0pt; text-align: left"> Once it is downloaded, go ahead and open it up to start the installation process.<br /><br /><font color="#000000">Go ahead and follow all the instructions and choose all the default values to get VMware for windows installed. Once installed, open it up and follow the instructions found in the next section to install the actual XubunTOS image into a virtual machine on your PC.</font><br /></div>
+
Verify that both the USb controller and the Serial Port now appear in the menu on the left and press 'OK'
  
==<font size="4">'''XubunTOS Installation'''</font>==
+
[[Image:File]]
  
First you need to get a copy of the XubunTOS 2.0 cd image from [http://toilers.mines.edu/files-XubunTOS/XubunTOS-2.0.iso here] or [http://5secondfuse.com/tinyos/XubunTOS-2.0.iso here].<br /> Once you have the image you can start up VMware and install it into a virtual machine. <br /><font color="#ff0000">Note: </font>Some of the icons look different than below if you installed VMware on a windows machine. The process for installation is still the same though, just find the icons with the same names as the ones indicated and you should be fine.<br /><br /> Go ahead and open up VMware following the instructions for your particular operating system from above. In the window that pops up, choose 'Local Host' and click on connect.<br />
+
Now go ahead and power on the virtual machine again to start using XubunTOS in VMware.
 +
If you ever close VMware, you can always open the XubunTOS virtual machine again by choosing to connect from a local host and selecting the XubunTOS virtual machine from the menu bar on the left.
  
<div id="wz.9" style="padding: 1em 0pt; text-align: center">[[Image:File]]</div>
+
<font color="#ff0000">Note: </font>To access motes connected over the USB port you will need to manually select each device for connection after powering up your XubunTOS virtual machine. To do this go to VM->Removable Devices->USB Devices and select each USB connected mote you would like to access.
  
<br /> Once you have clicked on 'Connect', the following window will open up. Go ahead and click on 'Create a new virtual machine'<br /><br />
+
[[Image:File]]
  
<div id="xbdn" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> The following window should now pop up. Go ahead and click on 'Next'.<br /><div id="m71d" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> Choose 'Typical' installation and click on 'Next'<br /><div id="a7eq" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> Now choose your operating system. XubunTOS is based on Ubuntu, so you should choose the following set of options and click on 'Next'<br /><div id="e6-v" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> Now give your virtual machine a name. I chose XubunTOS 2, but you can really choose anything you want. Go ahead and leave the installation location with its default value. This is where your virtual machine will be installed on your hard disk. If you change this location, you will have to configure things differently later so that the VMware server can find your virtual machine installation.<br /><div id="fkkc" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> Now you need to choose how much space you want reserved for your virtual machine installation. I have chosen 10 GB, but you may wish to choose more or less depending on how much TinyOS development work you actually do. Once you select this value, it can't be changed. This is all the space your virtual machine will ever be able to use, so choose this value wisely. <br /><br /> Additionally, you must choose if you want all this space allocated now or if you want the disk size to increase over time as you add files to you virtual machine. I have chosen to let it grow as I add more files, but you can choose either option and it should work just fine.<br /><br /> Once you've made your selections click 'Finish'.<br /><div id="rwsc" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /><br /> Now its time to actually install XubunTOS onto your newly created virtual machine. Go ahead and select 'Edit virtual machine settings'<br /><div id="c4z9" style="padding: 1em 0pt; text-align: left"><div id="m:vf" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /><br /></div><br /> In order to install XubunTOS, you need to tell the virtual machine to boot from the 'iso' image you downloaded earlier. Go to the 'Hardware' tab, select connection from an ISO image, and insert the location of the XubunTOS iso image into the field below it. Make sure the rest of the options are as seen below and then click on 'OK'.<br /><br /><div id="bw83" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> Now its time to power on the virtual machine and install XubunTOS. Just click on 'Power on this virtual machine'<br /><div id="zxok" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> Once you power on the virtual machine, it will automatically boot from the XubunTOS cd image. Just follow the onscreen instructions to install XubunTOS into the virtual machine. Installation may take a while, but once it is finished, you will want to turn off the virtual machine and proceed to the next step below.<br /><br /> Once the virtual machine has been powered down, you will need to add configurations to allow it to access your serial and USB devices in order to communicate with the motes. First go to 'Edit Virtual Machine Settings' and click on it.<br /><div id="insv" style="padding: 1em 0pt; text-align: left"><div id="jolm" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /><br /><div style="text-align: left"> Then choose 'Add...'<br /></div><br /><br /><div style="text-align: center">[[Image:File]]<br /></div><br /><div style="text-align: left"> Select 'USB Controller' and press 'Next'<br /></div><br /><div style="text-align: center">[[Image:File]]<br /></div><br /><div style="text-align: left"> Now go ahead and click 'Finish'<br /></div><br /><div style="text-align: center">[[Image:File]]<br /></div><br /> Now select 'Add..." again<br /><br /><div id="m-dd" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /> And this time choose "Serial Port' and click 'Next'<br /><br /><div style="text-align: center">[[Image:File]]<br /></div><br /><div id="dl6u" style="padding: 1em 0pt"><div style="text-align: left"> You will want to use the physical serial port on your host, so go ahead a leave it as the default value and click 'Next'<br /></div><br /><div style="text-align: center">[[Image:File]]<br /></div><br /><div id="ilw3" style="padding: 1em 0pt"><div style="text-align: left"> Choose 'Auto Select' From the pop down menu and then click Finish.<br /></div><br /><div style="text-align: center">[[Image:File]]<br /></div><br /><div style="text-align: left"> Verify that both the USb controller and the Serial Port now appear in the menu on the left and press 'OK'<br /></div><br /><div style="text-align: center">[[Image:File]]<br /></div><br /><div style="text-align: left"> Now go ahead and power on the virtual machine again to start using XubunTOS in VMware.<br /> If you ever close VMware, you can always open the XubunTOS virtual machine again by choosing to connect from a local host and selecting the XubunTOS virtual machine from the menu bar on the left.<br /><br /><font color="#ff0000">Note: <font color="#000000">To access motes connected over the USB port you will need to manually select each device for connection after powering up your XubunTOS virtual machine. To do this go to VM->Removable Devices->USB Devices and select each USB connected mote you would like to access.<br /></font></font><div id="mt2h" style="padding: 1em 0pt"><div style="text-align: center">[[Image:File]]<br /></div><br /><div style="text-align: left"><br />After this go ahead and log in and you should be good to go!!!! </div></div></div></div></div></div></div></div>
+
After this go ahead and log in and you should be good to go!!!!
 
----
 
----
And thats it! You should now be up and running with your virtual machine installation of XubunTOS in VMware. Questions or comments can either be sent directly to me ([mailto:klueska@gmail.com?subject=Installing%20tinyos-2.x%20on%20MAC%20OS%20X%20%28Tiger%29 klueska(at)gmail.com]) or the [http://tinyos-help@millennium.berkeley.edu/ tinyos-help] mailing list. </div></div></div></div></div></div></div><br /></div><br /></div><br /></div>
+
And thats it! You should now be up and running with your virtual machine installation of XubunTOS in VMware. Questions or comments can either be sent directly to me ([mailto:klueska@gmail.com klueska(at)gmail.com]) or the [http://tinyos-help@millennium.berkeley.edu/ tinyos-help] mailing list.
 
 
<br /><br /><br />
 

Revision as of 13:54, 6 January 2008

This tutorial provides instructions for installing XubunTOS inside a VMware virtual machine. Instructions are provided for both Debian-based Linux as well as Windows users. If you run into problems, find that something doesn't work, or want to provide feedback of any kind, feel free to email me (Kevin Klues) at klueska(at)gmail.com and I'll try and update this tutorial as soon as possible.

Note: You will need to make sure you administrative rights on your machine before starting. Otherwise, you will have to get your system administrator to follow these instructions instead.

OK, lets get started.....

Debian Linux VMware Server Installation

First thing you want to do is get VMware Server installed and running on your system. Do do so, you will need a registration key. Obtaining a key is free, so just go to this website, put in your information, and violà, you now have a key. Write this key down somewhere, you will need it again later at the end of the installation process.

Once you have your key you will want to install VMware using aptitude. To do so, you will need to edit your source list to include the repository where the VMware server can be downloaded from.

Open a terminal window, change to the /etc/apt directory, open the sources.list file, and add the following lines to it

# Repository for VMWare
deb http://archive.canonical.com/ubuntu feisty-commercial main

Exit the file and update aptitude (you may need to run this a couple of times before it completes successfully)

sudo apt-get update

Now that aptitude has been updated to include packages from the commercial repository, you can install VMware Server by issuing the following command:

 sudo apt-get install vmware-server vmware-tools-kernel-modules 

After some downloading time, the VMWare server installation will eventually start, and you will be asked some configuration questions.

First it will show you the VMware license agreement. Just select OK (by pressing tab) and press enter.

File:1.png

Next it will prompt you for acceptance of the terms in the VMware server license. Select <Yes> and press enter.

File:2.png

Finally it will prompt you for the serial number you obtained during the registration process with VMware. Just enter the serial number, select <OK> and press enter.

File:3.png

This completes the VMware server installation. You will want to restart your computer now to finalize all your VMware settings.

To open the VMware server either type the following command into a terminal window (I like to open it as a background process):

 vmware & 

Or open it from the menubar (picture below is for Gnome, probably somewhere similar in KDE or other window manager):

File:File

The next step is now to install the actual XubunTOS image into a virtual machine. Jump down to the section for the XubunTOS installation by following the link found here.

Windows VMware Server Installation

First thing you want to do is get VMware installed and running on your system. Do do so, you will need a registration key. Obtaining a key is free, so just go to this website, put in your information, and violà, you now have a key. Write this key down somewhere, you will need it again later at the end of the installation process.

Now go to the web address found here to download VMware for windows. Agree to the end user license agreement and then select to install the binary installer seen below:

File:File

Once it is downloaded, go ahead and open it up to start the installation process.

Go ahead and follow all the instructions and choose all the default values to get VMware for windows installed. Once installed, open it up and follow the instructions found in the next section to install the actual XubunTOS image into a virtual machine on your PC.

XubunTOS Installation

First you need to get a copy of the XubunTOS 2.0 cd image from here or here. Once you have the image you can start up VMware and install it into a virtual machine. Note: Some of the icons look different than below if you installed VMware on a windows machine. The process for installation is still the same though, just find the icons with the same names as the ones indicated and you should be fine.

Go ahead and open up VMware following the instructions for your particular operating system from above. In the window that pops up, choose 'Local Host' and click on connect.

File:File

Once you have clicked on 'Connect', the following window will open up. Go ahead and click on 'Create a new virtual machine'

File:File

The following window should now pop up. Go ahead and click on 'Next'.

File:File

Choose 'Typical' installation and click on 'Next'

File:File

Now choose your operating system. XubunTOS is based on Ubuntu, so you should choose the following set of options and click on 'Next'

File:File

Now give your virtual machine a name. I chose XubunTOS 2, but you can really choose anything you want. Go ahead and leave the installation location with its default value. This is where your virtual machine will be installed on your hard disk. If you change this location, you will have to configure things differently later so that the VMware server can find your virtual machine installation.

File:File

Now you need to choose how much space you want reserved for your virtual machine installation. I have chosen 10 GB, but you may wish to choose more or less depending on how much TinyOS development work you actually do. Once you select this value, it can't be changed. This is all the space your virtual machine will ever be able to use, so choose this value wisely.

Additionally, you must choose if you want all this space allocated now or if you want the disk size to increase over time as you add files to you virtual machine. I have chosen to let it grow as I add more files, but you can choose either option and it should work just fine.

Once you've made your selections click 'Finish'.

File:File

Now its time to actually install XubunTOS onto your newly created virtual machine. Go ahead and select 'Edit virtual machine settings'

File:File

In order to install XubunTOS, you need to tell the virtual machine to boot from the 'iso' image you downloaded earlier. Go to the 'Hardware' tab, select connection from an ISO image, and insert the location of the XubunTOS iso image into the field below it. Make sure the rest of the options are as seen below and then click on 'OK'.

File:File

Now its time to power on the virtual machine and install XubunTOS. Just click on 'Power on this virtual machine'

File:File

Once you power on the virtual machine, it will automatically boot from the XubunTOS cd image. Just follow the onscreen instructions to install XubunTOS into the virtual machine. Installation may take a while, but once it is finished, you will want to turn off the virtual machine and proceed to the next step below.

Once the virtual machine has been powered down, you will need to add configurations to allow it to access your serial and USB devices in order to communicate with the motes. First go to 'Edit Virtual Machine Settings' and click on it.

File:File

Then choose 'Add...'

File:File

Select 'USB Controller' and press 'Next'

File:File

Now go ahead and click 'Finish'

File:File

Now select 'Add..." again

File:File

And this time choose "Serial Port' and click 'Next'

File:File

You will want to use the physical serial port on your host, so go ahead a leave it as the default value and click 'Next'

[[Image:File

Choose 'Auto Select' From the pop down menu and then click Finish

File:File

Verify that both the USb controller and the Serial Port now appear in the menu on the left and press 'OK'

File:File

Now go ahead and power on the virtual machine again to start using XubunTOS in VMware. If you ever close VMware, you can always open the XubunTOS virtual machine again by choosing to connect from a local host and selecting the XubunTOS virtual machine from the menu bar on the left.

Note: To access motes connected over the USB port you will need to manually select each device for connection after powering up your XubunTOS virtual machine. To do this go to VM->Removable Devices->USB Devices and select each USB connected mote you would like to access.

File:File

After this go ahead and log in and you should be good to go!!!!


And thats it! You should now be up and running with your virtual machine installation of XubunTOS in VMware. Questions or comments can either be sent directly to me (klueska(at)gmail.com) or the tinyos-help mailing list.