From DAVE Developer's Wiki
Jump to: navigation, search
Info Box
VirtualMachine.png Applies to MVM

Configuration[edit | edit source]

Q: VirtualBox manager reports the "The shared folder 'xyz' could not be set up" when starting the MVM. How to fix it?[edit | edit source]

This kind of error is due to an incorrect path of the folder(s) shared between the host and the guest machines. The following image shows an example of such an error.

MVM shared folders error1.png

To fix it, just remove the erroneous shared folders as depicted in the following image.

MVM shared folders error2.png

Q: How to configure the network interface of the MVM?[edit | edit source]

Please refer to this page.

Q: How to change the keyboard layout of Lightweight X11 Desktop Environment (LXDE)?[edit | edit source]

To change the keyboard layout, open a terminal (CTRL+ALT+T) and run the following command:

sudo dpkg-reconfigure keyboard-configuration

Follow the on-screen instruction to select the desired keyboard layout

Q: How to use the USB devices connected to the host machine?[edit | edit source]

By default, the USB controller of the MVM (guest machine) is not enabled. To enable it, in the VM VirtualBox Manager right click on the selected MVM end open the Settings item. Them, select the USB item and configure it as shown in the following image.


The USB devices which are physically connected to the host machine can be connected to the guest machine with the Devices->USB menu, as shown in the following image.


Q: I can't start make menuconfig. How to fix it?[edit | edit source]

If the following error is encountered when trying to configure the Linux kernel via menuconfig

dvdk@vagrant-ubuntu-trusty-64:~/lynx/linux$ make O=../linux-build/ menuconfig
  GEN     /home/dvdk/lynx/linux-build/Makefile
 *** Unable to find the ncurses libraries or the
 *** required header files.
 *** 'make menuconfig' requires the ncurses libraries.
 *** Install ncurses (ncurses-devel) and try again.
make[2]: *** [scripts/kconfig/dochecklxdialog] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [sub-make] Error 2

, required libraries are missing.

Please install the following packages:

  • libncurses5-dev
  • libncursesw5-dev.

Q: Is it possible to resize the virtual disk?[edit | edit source]

Yes, but you need to convert the image to VDI format first. For example, see this page.

Once you have the VDI file, follow the procedure described here.

Q: I get an OpenSSL error when accessing resources over TLS, e.g. download using wget on https. How to fix this?[edit | edit source]

This errors is caused when an old version of OpenSSL, e.g. like the one present on an non-updated Ubuntu 12.04, is used to access resources using TLS, e.g.:

dvdk@dvdkVM:~$ wget
--2018-11-15 22:59:47--
Resolving (,
Connecting to (||:443... connected.
OpenSSL: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
Unable to establish SSL connection.

To fix this user just have to updates OpenSSL and related libraries, using the following commands:

sudo apt-get update
sudo apt-get install libssl-dev curl wget openssl

This is the result:

dvdk@dvdkVM:~$ wget
--2018-11-15 23:02:38--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: [following]
--2018-11-15 23:02:39--
Resolving (,
Connecting to (||:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: `'

    [    <=>                                                                                                                                ] 652.482      694K/s