Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
en:general_information:vm [2017/12/22 09:01] h_fitzeen:general_information:vm [2018/01/08 09:04] – reworked h_fitze
Line 1: Line 1:
-====== Configuration of virtual machines ======+====== Virtual machine with VMware player ====== 
 +===== Configuration of virtual machines =====
  
-===== Used versions =====+==== Used versions ====
   * Ubuntu 16.04_64 LTS x86 as guest OS   * Ubuntu 16.04_64 LTS x86 as guest OS
   * Windows 10 Enterprise 2016 LTSB as host OS   * Windows 10 Enterprise 2016 LTSB as host OS
   * VMware® player 12.5.8 Build 7098237   * VMware® player 12.5.8 Build 7098237
  
-===== Configuration of network bridge =====+==== 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 
 + 
 +<WRAP round alert 60%> 
 +Make sure to select a location with ample space, you will run out of it quickly! 
 +</WRAP> 
 +{{:intern:general_information:vmwaresetup1.jpg?nolink&400|}}{{:intern:general_information:vmwaresetup2.jpg?nolink&400|}} 
 +  * 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 
 +{{:intern:general_information:vmwaresetup3.jpg?nolink&400|}}{{:intern:general_information:vmwaresetup4.jpg?nolink&430|}} 
 +<WRAP round info 50%> 
 +You can edit the hardware settings after the installation. 
 +</WRAP> 
 +  * Press finish to install the OS 
 + 
 +==== Configuration of network bridge ====
 Benefits: Benefits:
   * No configuration necessary   * No configuration necessary
-  * Guest is member in the net+  * Guest is member in the network
 Drawback: Drawback:
-  * Guest is in the net like "normalhost+  * Guest is registered in the network as 'normalhost
  
-==== Configuration of the target ====+=== Configuration of the target ===
 The IP address of the virtual machine must be registered as the server IP in 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) ===== +==== Configuration of NAT (Network Address Translation) ==== 
-<WRAP round alert>Access to NFS or TFTP of the virtual machine does not work.+<WRAP round alert>Access to NFS or TFTP on the virtual machine does not work.
 </WRAP> </WRAP>
  
Line 24: Line 47:
   * Guest can access network via NAT   * Guest can access network via NAT
 Drawback: Drawback:
-  * Configuration very complex+  * Configuration very complicated
  
-==== Configuration of the target ==== +==== Copying of virtual machines ==== 
-The IP address of the host must be registered as the server IP in the target.+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 [[http://www.vmware.com/go/downloadplayer/|VMare]] to download Vmware player. The VM images are created with the version 3.0.0.
  
-==== Configuration of Windows XP for port forwarding ==== +====Download of the virtual machine==== 
-The settings of the port forwarding can be done in the Windows FirewallGo to the "Advanced" tab and select the LAN connection which connects the host and the target. Click on "Settings".+You can find the actual Downloads [[#downloads|here]]. 
 +<WRAP round info> 
 +The file has a size over 1 GB. 
 +</WRAP> 
 +====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 
  
-{{:systemsteuerung.png?200|}}+====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
  
-In the following window click on "add" and enter the necessary details.+====Login==== 
 +The Logindatas for the VM are: 
 +  * **user**: ''tq'' 
 +  * **Password**: ''password'' 
 +   
 +<WRAP round info>Ubuntu has no root-user. If commands require root-privilegs you can run it with ''sudo''. For this you need the normal user password. 
 +</WRAP>
  
-{{:erweitert.png?200|}}+====Features of the vm==== 
 +The corresponding Cross-Toolchain and frequently used programs for the module are installed on the vm
  
-{{:diensteinstellungen.png?200 |}} +===Toolchain=== 
-For TFTP this is the following data: +The machine contains the actual toolchain for the corresponding platform. 
-  * Service description: Trivial File Transfer Protocol (TFTP) + 
-  * Name or IP addressenter the IP address of the virtual machine +===TFTP and NFS server=== 
-  * External and internal port number69 UDP +The VM already contains a [[en:general_information:tftp|TFTP]] and a [[en:general_information:nfs|NFS]] server. 
-\\   + 
-\\   +===Eclipse=== 
-\\ +As integrated depelopment environment [[en:general_information:eclipse_new|Eclipse]] indigo has been installed with the C development tool. A starter in the top bar starts eclipse with the right environment variables. 
-===== Copying of virtual machines ===== + 
-When copying virtual machines, it may be 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''). +===BSP=== 
-Alternatively, you can edit the file ''/etc/udev/rules.d/70-persistent-net.rules'' and assign the MAC to the eth0 device.+<WRAP round info> 
 +The vm contains no BSP-sourcesYou have to download them from the download area of the module. 
 +</WRAP> 
 +====Downloads==== 
 +<WRAP round download> 
 +[[http://support.tq-group.com/lib/exe/fetch.php?media=vms:tq_ubuntu_tqmp2020_clean.zip| virtual machine for TQMP1020/2020]] ELDK 
 +</WRAP>
  
  • Last modified: 2022/08/04 15:02