Skip to content

Setting up Virtual Machine and SensorAct system

manaswis edited this page Mar 20, 2013 · 24 revisions

STEP II: Setting up virtual machine and SensorAct system
To use the virtual machine with full version of Linux, see Setup virtual machine with full version of Linux and SensorAct system

To setup the virtual machine, please follow the steps:

  1. Download the VM image zip. Extract it to your chosen location.

  2. Open VMPlayer

  3. Go to File->Open a Virtual Machine
    vmplayer-open

  4. Browse to the folder where you have extracted the VM image zip file. Open the SensorActVM folder and select the SensorActVM.vmx file to open.
    sensoract-vmplayer

  5. On the right-hand-side pane, select Edit Virtual Machine Settings.
    edit_settings

  6. Select Network Adapter from the list displayed on the left-hand-side pane.
    select_nw_adpater

  7. Select Bridged: Connected directly to the physical network, check the Replicate physical network connection state option and select Save.
    select_bridged

  8. Right click SensorAct displayed in the list and select "Play virtual machine". The system will boot itself.
    vmimage-play

  9. Once the login prompt is displayed, use the following details:
    Ubuntu ID: root Password: rootpass
    To enter the login details, press Ctrl+G to enable the VM player to capture the keyboard strikes. At this time, the mouse and the keyboard is disconnected from the host machine. To release the controls, press Ctrl + Alt. This will disconnect the mouse and keyboard controls from the virtual machine environment.
    login-vm
    The virtual machine will start and the command prompt will display root@ubuntu:~$

  10. To set up SensorAct, type the following commands inside the virtual machine's terminal
    $ source configSA
    configSA
    Make sure your host machine is connected to the Internet. Use the host machine’s IP address of the interface (e.g. eth0 for Ethernet LAN/wlan0 for WiFi etc.) you are using to connect to the Internet. To know your host machine’s IP address, run ipconfig in the command prompt of a host machine with Windows OS and ifconfig in the terminal of a host machine with Linux OS.

    If you see an error, look at Troubleshooting section

$ source sensoract start
sensoract-start

sensoract-start

Thats it! SensorAct system will start.

Accessing the SensorAct Application

Use the URL generated from the source configSA command to access the application from the host machine's browser. In case, you forget the URL, use source sensoract find command to get it.

sensoract-browser

For details about the sensoract command, visit Controlling SensorAct System

NEXT : Device Configuration