Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung |
vmware [23/03/2021 - 09:55] – [Netzwerk Debugging] 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]] |
| |
====== 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 |
| |
Allg. Konfiguration: /etc/vmware/networking enthält die Konfiguration des Netzwerkes inklusive der Aufrufparameter für die bridge auf vmnet0. | Allg. Konfiguration: /etc/vmware/networking enthält die Konfiguration des Netzwerkes inklusive der Aufrufparameter für die bridge auf vmnet0. |
===== Bridge Prozess ===== | |
| |
| ===== Bridge ===== |
| |
Die laufende Bridge ist in der Prozessliste sichtbar: | Die laufende Bridge ist in der Prozessliste sichtbar: |
| |
<code> | <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/]] | root@server5:/etc/vmware# ps -aux | grep vmnet-bridge |
</code> | |
| |
| 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> |
| |
===== 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__ '' |
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> |