This is an old revision of the document!
Virtual machine with VMware player
Configuration of virtual machines
Used versions
- Ubuntu 16.04_64 LTS x86 as guest OS
- Windows 10 Enterprise 2016 LTSB as host OS
- VMware® player 12.5.8 Build 7098237
Prerequisites
- Download the latest Version of VMware Player on https://www.vmware.com/
- Download an image of Ubuntu Version 16.04
Setting up Ubuntu 14.04 on Vmware Player
- Launch VMware Player and press 'Create a New Virtual Machine', then select the .iso of Ubuntu 16.04
- After setting Username and password, select an installation folder for your VM
Make sure to select a location with ample space, you will run out of it quickly!
- Specify the maximum disk size for your VM. VMware Player recommends 20GB, we recommend more.
- Before you finish the setup, press 'Customize Hardware' to allocate a custom amount of memory and processor cores to the Virtual Machine
You can edit the hardware settings after the installation.
- Press finish to install the OS
Configuration of network bridge
Benefits:
- No configuration necessary
- Guest is member in the network
Drawback:
- Guest is registered in the network as a 'normal' host
Configuration of the target
The IP address of the virtual machine must be registered as the server IP in the target.
Configuration of NAT (Network Address Translation)
Access to NFS or TFTP on the virtual machine does not work.
Benefits:
- Guest is not reachable from the network
- Guest can access network via NAT
Drawback:
- Configuration very complicated
Copying of virtual machines
When copying virtual machines, chances are that a new Ethernet device with a new MAC address is created. If the Ethernet device gets a new name (eth2 …), you have to add auto
to the name of the interface in the file etc/network/interfaces
(e.g., auto eth2
). Then the service networking
must be restarted (sudo service networking restart
).
Alternatively, you can edit the file /etc/udev/rules.d/70-persistent-net.rules
and assign the MAC to the eth0 device.
Using the TQ VMware Image
Download VMware Player
You have to register on VMare to download Vmware player. The VM images are created with the version 3.0.0.
Download of the virtual machine
You can find the actual Downloads here.
The file has a size over 1 GB.
Import of the TQ VM Image
You can open the Image with the dialog File > Open a Virtual Machine…
after starting the Vmware Player.
You have to choose the Vmware vmx file in the directory in which the virtual maschine is extracted.
Start the virtual Machine
For starting the vm click on the button Play virtual machine
. The ubuntu linux system is then starting in the actual window.
Login
The Logindatas for the VM are:
- user:
tq
- Password:
password
Ubuntu has no root-user. If commands require root-privilegs you can run it with sudo
. For this you need the normal user password.
Features of the vm
The corresponding Cross-Toolchain and frequently used programs for the module are installed on the vm.
Toolchain
The machine contains the actual toolchain for the corresponding platform.
TFTP and NFS server
Eclipse
As integrated depelopment environment Eclipse indigo has been installed with the C development tool. A starter in the top bar starts eclipse with the right environment variables.
BSP
The vm contains no BSP-sources. You have to download them from the download area of the module.