FAQ - RTLS Kit and VirtualBox

Question List


Guest loss network connectivity with VBox if Ethernet cable is unplugged for a few seconds

The issue is well written here: https://www.virtualbox.org/ticket/15308

Workaround:

  1. Shutdown VBox
  2. Disable and enable Ethenet interface.
  3. Start VBox again 

What area can be covered by RTLS Kit?


RTLS Kit can cover an area of up to 500 square meters.


Time Synchronization for VBox

Sometimes time might not be synchronized in VBox, so it might introduces troubles with API data requests or showing inactive tags etc. 

Requirements

  • Internet connection on host computer

Procedure

  1. Devices → Insert Guest Additions CD image...
  2. login into VBox machine default credentials (sewiortls/sensmap).
  3. sudo mount /dev/cdrom /mnt
  4. cd /mnt

  5. sudo su

  6. ./VBoxLinuxAdditions.run

Now, the time should be sync with global time.



How to extend VirtualBox disk capacity?

Sometimes happens that you have lot of positions in DB and your virtual disk capacity is full. And you don’t want to lose your positions. But you cannot also make backup because you have no free space of the virtual disk. Then solution can be to extend the VirtualBox disk capacity. This guide will show you how to do that. Works with VirtualBox version 5.2.X.

  • Go to the Global Tools (Virtual Media Manager).
  • Extend capacity of correct vdi disk.
  • Boot VM and log in (default login: sewiortls/sensmap).


For Ubuntu 14.04

  • Run “sudo cfdisk”.
    • Make “new” partition from free space.
    • Select “logical”.
    • Select all available space.
    • Then “write” partition.
    • Type “yes” to apply changes.
    • “quit” cfdisk.
  • Reboot VM and log in again. “sudo reboot”.
  • Check your new partition. “sudo fdisk -l /dev/sda”.
  • From picture new partition is sda6, so create the physical volume. “sudo pvcreate /dev/sda6”.


  • Run “sudo pvdisplay” to show the physical volumes and note “VG Name” of current physical volume.


  • Now extend your volume group by new physical volume. “sudo vgextend sewiortls-vg /dev/sda6”



  • Extend logical volume. “sudo lvextend -l+100%FREE /dev/sewiortls-vg/root”



  • And finally resize. “sudo resize2fs /dev/mapper/sewiortls–vg-root” (Hint: Tab is sometime very useful)



  • Now check  new disk space capacity. “sudo df -h”

For Ubuntu 18.04

  • Run "sudo fdisk -l"
    • Size mismatch should be already visible
  • Run "sudo parted /dev/sda"
    • with "print" prompt you can see the partitions
    • "resizepart 2" will resize partition sda2, confirm it with typing "yes"
      • "-0" resizes it to the end of the disk. - indicates that it should count from the end of the disk, not the start. This makes -0 the last sector of the disk - which is suitable when you want to make it as big as possible.
    • now check if partition was resized correctly "print"
    • "quit" parted
  • And finally resize. “sudo resize2fs /dev/sda2"
  • Now check  new disk space capacity. “sudo df -h”