Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
vmware [29/12/2020 - 09:45] – thommie4 | vmware [17/08/2024 - 07:06] (aktuell) – Externe Bearbeitung 127.0.0.1 |
---|
====== Shared Folders ====== | |
| |
Mounten unter Linux ab Kernel 4.0: | |
| |
Shared folders are now implemented as **FUSE file systems** and no longer require building Kernel Loadable Modules ([[https://en.opensuse.org/SDB:VMware_Tools|https://en.opensuse.org/SDB:VMware_Tools ]]) | |
| |
''vmhgfs-fuse /mnt/hgfs fuse defaults,allow_other,auto_unmount 0 0'' | |
| |
====== VMX Konfiguration ====== | ====== VMX Konfiguration ====== |
| |
[[http://sanbarrow.com/vmx.html|http://sanbarrow.com/vmx.html]] | [[http://sanbarrow.com/vmx.html|http://sanbarrow.com/vmx.html]] |
| |
====== Pretty Fonts in VMware Workstation ====== | |
| |
Just go root, and edit /usr/lib/vmware/libconf/etc/gtk-2.0/gtkrc, adding these lines: | |
| |
''gtk-font-name="Liberation Sans 9" gtk-theme-name = "Breeze" { font_name="Liberation Sans 9" } '' | |
| |
Libcanberra Problem:[[http://askubuntu.com/questions/815773/error-installing-vmware-workstation-12-on-ubuntu-14-04|http://askubuntu.com/questions/815773/error-installing-vmware-workstation-12-on-ubuntu-14-04]] | |
| |
====== Multiple Monitors ====== | |
| |
Doku siehe [[https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-E51CADFC-31C3-491F-92D9-C9C1D9615668.html|https://pubs.vmware.com/workstation-9/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-E51CADFC-31C3-491F-92D9-C9C1D9615668.html]] und [[https://www.vmware.com/support/pubs/ws_pubs.html|https://www.vmware.com/support/pubs/ws_pubs.html]] | |
| |
*.vmx Konfiguration | |
| |
Längerer Boot delay | Längerer Boot delay |
''bios.bootdelay = 20000 '' | ''bios.bootdelay = 20000 '' |
| |
Netzwerk Debugging | ====== Netzwerk Debugging ====== |
| |
**Allg. Konfiguration** | Allg. Konfiguration: /etc/vmware/networking enthält die Konfiguration des Netzwerkes inklusive der Aufrufparameter für die bridge auf vmnet0. |
| |
/etc/vmware/networking enthält die Konfiguration des Netzwerkes inklusive der Aufrufparameter für die bridge auf vmnet0: | ===== Bridge ===== |
| |
''VERSION=1,0 answer VNET_1_DHCP yes answer VNET_1_DHCP_CFG_HASH 3E5550097CA84DEA4C49DA8A15FEFBE18B23911A answer VNET_1_HOSTONLY_NETMASK 255.255.255.0 answer VNET_1_HOSTONLY_SUBNET 192.168.97.0 answer VNET_1_VIRTUAL_ADAPTER yes answer VNET_2_HOSTONLY_NETMASK 255.255.255.0 answer VNET_2_HOSTONLY_SUBNET 192.168.98.0 answer VNET_2_NAT no answer VNET_2_VIRTUAL_ADAPTER yes answer VNET_3_HOSTONLY_NETMASK 255.255.255.0 answer VNET_3_HOSTONLY_SUBNET 192.168.99.0 answer VNET_3_VIRTUAL_ADAPTER yes answer VNET_4_DHCP no answer VNET_4_HOSTONLY_NETMASK 255.255.255.0 answer VNET_4_HOSTONLY_SUBNET 192.168.100.0 answer VNET_4_NAT no answer VNET_4_VIRTUAL_ADAPTER yes answer VNET_8_DHCP yes answer VNET_8_DHCP_CFG_HASH 43B9FEDDC3F052C4DD7DE253E1CD165A414BCECD answer VNET_8_HOSTONLY_NETMASK 255.255.255.0 answer VNET_8_HOSTONLY_SUBNET 192.168.173.0 answer VNET_8_NAT yes answer VNET_8_NAT_PARAM_NAT6 1 answer VNET_8_VIRTUAL_ADAPTER yes answer VNL_DEFAULT_BRIDGE_VNET -1 add_bridge_mapping enp10s0 -1 add_bridge_mapping eth0 -1 add_bridge_mapping eth1 -1 add_bridge_mapping tap0 -1 add_bridge_mapping eno1 0 '' | Die laufende Bridge ist in der Prozessliste sichtbar: |
| |
**Bridge Prozess** | <code> |
| root@server5:/etc/vmware# ps -aux | grep vmnet-bridge |
| |
Die laufende Bridge ist in der Prozessliste sichtbar: | root 5865 0.0 0.0 6976 1652 ? Ss 16:30 0:00 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0 -ip3p1 **Sniffer** vmnet-sniffer macht ein capture auf den Schnittstellen vmnet0 (bridge), vmnet1 (host-only) oder vmnet8 (NAT) sudo /usr/bin/vmnet-sniffer -e -w my_capture.pcap /dev/vmnet8 ''Doku siehe [[https://enterprise.cloudshark.org/blog/packet-capture-in-vmware-virtual-machine/|https://enterprise.cloudshark.org/blog/packet-capture-in-vmware-virtual-machine/]] |
| </code> |
| |
''root@server5:/etc/vmware# ps -aux | grep vmnet-bridge root 5865 0.0 0.0 6976 1652 ? Ss 16:30 0:00 /usr/bin/vmnet-bridge -s 6 -d /var/run/vmnet-bridge-0.pid -n 0 -ip3p1 **Sniffer** vmnet-sniffer macht ein capture auf den Schnittstellen vmnet0 (bridge), vmnet1 (host-only) oder vmnet8 (NAT) sudo /usr/bin/vmnet-sniffer -e -w my_capture.pcap /dev/vmnet8 ''Doku siehe [[https://enterprise.cloudshark.org/blog/packet-capture-in-vmware-virtual-machine/|https://enterprise.cloudshark.org/blog/packet-capture-in-vmware-virtual-machine/]] | ===== Promiscous Mode ===== |
| |
''Promiscous Mode'' | U.a. nötig, um Frefunk Gluon als VM zu betreiben. Rechte für normalen User, promiscous Mode zu setzen: [[https://kb.vmware.com/s/article/287|https://kb.vmware.com/s/article/287]] Konfiguration für virtualisierte nodes:Freischalten der Schnittstelle zum Client für promiscous mode und mac spoofing (*.vmx): |
| |
Rechte für normalen User, promiscous Mode zu setzen: [[https://kb.vmware.com/s/article/287|https://kb.vmware.com/s/article/287]] Konfiguration für virtualisierte nodes:Freischalten der Schnittstelle zum Client für promiscous mode und mac spoofing (*.vmx): | ''ethernetX.noPromisc = __GESHI_QUOT__FALSE__GESHI_QUOT__ ethernetX.forgedTransmits = __GESHI_QUOT__TRUE__GESHI_QUOT__ '' |
| |
''ethernetX.noPromisc = __GESHI_QUOT__FALSE__GESHI_QUOT__ ethernetX.forgedTransmits = __GESHI_QUOT__TRUE__GESHI_QUOT__ '' | |
====== VM log ====== | ====== VM log ====== |
| |
usb.generic.allowLastHID = "TRUE" | usb.generic.allowLastHID = "TRUE" |
| |
====== Kompilieren auf command line ======<code> | ====== Kompilieren auf command line ====== |
| |
| <code> |
vmware-modconfig --install-all | vmware-modconfig --install-all |
| |
</code> | </code> |
| |
vmmon und vmnet brauchen für Kernel 5 einen Patch, siehe [[https://github.com/mkubecek/vmware-host-modules/|https://github.com/mkubecek/vmware-host-modules/ ]] | vmmon und vmnet brauchen für Kernel 5 einen Patch, siehe [[https://github.com/mkubecek/vmware-host-modules/|https://github.com/mkubecek/vmware-host-modules/ ]] |
| |
Installieren mit //make clean, make, make install// | Second method (replace original tarballs): |
| |
| <code> |
| wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.0.0.tar.gz |
| tar -xzf workstation-17.0.0.tar.gz |
| cd vmware-host-modules-workstation-17.0.0 |
| tar -cf vmmon.tar vmmon-only |
| tar -cf vmnet.tar vmnet-only |
| cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ |
| vmware-modconfig --console --install-all |
| </code> |