Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

OpenVM is a virtual machine customized by OpenWSN team. The virtual machine contains all openwsn dependencies. OpenVM is designed for virtualbox and automatically generated by openwsn jenkins builder. This page is documented for the software and toolchains installed on OpenVM.

...

  •  git 
  •  

    python-dev

  •  

    scons

  •  

    python-pip

  •  

    bottle (installed through pip)

  •  

    PyDispatcher (installed through pip)

  •  

    wireshark

  •  

    gcc-arm-none-eabi( add-apt-repository ppa:terry.guo/gcc-arm-embedded)

  •  gcc-msp430  (command sudo apt-get install gcc-msp430)

How to create openvm

Downloading software

Download VirtualBox and Vagrant, with indicated link. Install them with default options.

Create openvm with vagrantfile

There are two ways to create openvm virtual machine. Before that, you need install virtualbox and vagrant first. 

using Vagrantfile

The Vagrantfile for openwsn (https://github.com/openwsn-berkeley/OpenVM) contains instructions that what software the virtual machine will install. You can create openvm through vagrant depending on this file. Type following commands in commandline to create openvm virtual machine.

Code Block
languagebash
git clone https://github.com/openwsn-berkeley/openvm.git  # download the vagrant file
cd openvm   
vagrant up  # start the virtual machine
vagrant ssh # login the virtual machine

using openvm.box

The openvm.box is a box file created by the openwsn builder and you can download it through here. It's a virtual machine which already having openwsn dependencies installed. Assuming the openvm.box is downloaded to a folder called openvm. To use this virtual machine,  type following commands in command line under openvm directory to run the virtual machine.

...

Tip

when starting up the virtual machine, if you stuck at

Code Block
......
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key

This may cause by VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit quest will fail to detect a 64-bit CPU and will not be able to boot. To solve that, Verify the virtualization extensions are enabled in BIOS. The BIOS settings for Intel® VT or AMD-V are usually in the Chipset or Processor menus. The menu names may vary from this guide, the virtualization extension settings may be found in Security Settings or other non standard menu names.

 

Handy Commands

Here are some handy command I used during create OpenVM. They may help you to manage with your virtual machines. Also in case I forgot them.

...