solveforum.com
Open in
urlscan Pro
67.223.117.68
Public Scan
URL:
https://solveforum.com/forums/threads/best-way-to-route-usb-devices-when-using-vmware-workstation-and-vmware-kvm.812764/
Submission: On August 14 via manual from IL — Scanned from DE
Submission: On August 14 via manual from IL — Scanned from DE
Form analysis
2 forms found in the DOMPOST /forums/search/search
<form action="/forums/search/search" method="post" class="menu-content" data-xf-init="quick-search">
<h3 class="menu-header">Search</h3>
<div class="menu-row">
<div class="inputGroup inputGroup--joined">
<input type="text" class="input" name="keywords" placeholder="Search…" aria-label="Search" data-menu-autofocus="true">
<select name="constraints" class="js-quickSearch-constraint input" aria-label="Search within">
<option value="">Everywhere</option>
<option value="{"search_type":"post"}">Threads</option>
<option value="{"search_type":"post","c":{"nodes":[2],"child_nodes":1}}">This forum</option>
<option value="{"search_type":"post","c":{"thread":812764}}">This thread</option>
</select>
</div>
</div>
<div class="menu-row">
<label class="iconic"><input type="checkbox" name="c[title_only]" value="1"><i aria-hidden="true"></i><span class="iconic-label">Search titles only <span tabindex="0" role="button" data-xf-init="tooltip" data-trigger="hover focus click"
title="Tags will also be searched">
<i class="fa--xf far fa-question-circle u-muted u-smaller" aria-hidden="true"></i>
</span></span></label>
</div>
<div class="menu-row">
<div class="inputGroup">
<span class="inputGroup-text" id="ctrl_search_menu_by_member">By:</span>
<input type="text" class="input" name="c[users]" data-xf-init="auto-complete" placeholder="Member" aria-labelledby="ctrl_search_menu_by_member">
</div>
</div>
<div class="menu-footer">
<span class="menu-footer-controls">
<button type="submit" class="button--primary button button--icon button--icon--search"><span class="button-text">Search</span></button>
<a href="/forums/search/" class="button"><span class="button-text">Advanced search…</span></a>
</span>
</div>
<input type="hidden" name="_xfToken" value="1660490518,09092981fd92d76f35041481182550ff">
</form>
<form style="display:none" hidden="hidden">
<input type="text" name="_xfClientLoadTime" value="" id="_xfClientLoadTime" title="_xfClientLoadTime" tabindex="-1">
</form>
Text Content
* Home * Forums New posts Search forums * What's new New posts New profile posts Latest activity * Members Registered members Current visitors New profile posts Search profile posts Log in Register What's new Search SEARCH Everywhere Threads This forum This thread Search titles only By: Search Advanced search… * New posts * Search forums Menu Log in -------------------------------------------------------------------------------- Register -------------------------------------------------------------------------------- Install the app Install * Home * Forums * Solveforum All topics * Main forum JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding. You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser. BEST WAY TO ROUTE USB DEVICES WHEN USING VMWARE WORKSTATION AND VMWARE-KVM * Thread starter Erik * Start date Apr 12, 2022 E ERIK GUEST * Apr 12, 2022 * * #1 Erik Asks: Best way to route USB devices when using VMWare Workstation and VMWare-KVM I am using VMWare Workstation, but in order to hide the host from my users all VMs I want to deploay will run in VMware-KVM. When connecting a USB device to the host, the different classes of devices should be handled differently: USB storage devices should be connected directly to the host, but other USB devices like USB serial adapters should always be connected to the guest. The first thing I noticed is that there is a difference between the WMare Workstation UI and the vmware-kvm.exe how it handles USB redirection: even if you set the Poprey "USB: Connect the device to host" in Workstation settings, VMware-kvm.exe will ignore that and connect the device to whichever has the focus, i.e. if the guest is in fullscreen, it will connect it to the guest, if the host is in fullscreen then it will connect to the host. What I want is a rule-based behaviour such as described in the VMWare KB, unfortunately I do not get it to work right. First of all, I tried to add the following lines to my VMX file: Code: usb.generic.autoconnect = "FALSE" usb.autoConnect.device0 = "0x403:0x1031" usb.autoConnect.device1 = "0x403:0x1032" Which should mean: connect all devices to the host by default (autoconnect = false), but devices with the PID and VID (they belong to a USB serial adapter I use) given in the following two lines should be connected to the guest. This seems to work if the devices are connected during startup of the virtual machine (USB Stick stays with host, Serial adapters are connected to guest), but as soon as I remove the USB serial adapter and connect it to another USB port (while the machine is still running), it gets connected to the host instead of the guest. So how can I force my USB devices to automatically connect to host or guest based on rules that I give using PID and VID? It looks simple in theory, but doesn' really work for me yet in real life. Thank you for any hints! > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > response here to help other visitors like you. Thank you, solveforum. > Click to expand... /forums/whats-new/news-feed Please enable JavaScript Video Player is loading. Play Video Play Unmute Current Time 0:00 / Duration 6:11 Loaded: 0.54% 0:00 Stream Type LIVE Seek to live, currently behind liveLIVE Remaining Time -6:11 1x Playback Rate Chapters * Chapters Descriptions * descriptions off, selected Captions * captions settings, opens captions settings dialog * captions off, selected Audio Track * und, selected Picture-in-Picture Auto(720pHD) * 1080pFHD * Auto(720pHD) * 360pLQ ShareFullscreen This is a modal window. Beginning of dialog window. Escape will cancel and close the window. TextColorWhiteBlackRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentBackgroundColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyOpaqueSemi-TransparentTransparentWindowColorBlackWhiteRedGreenBlueYellowMagentaCyanTransparencyTransparentSemi-TransparentOpaque Font Size50%75%100%125%150%175%200%300%400%Text Edge StyleNoneRaisedDepressedUniformDropshadowFont FamilyProportional Sans-SerifMonospace Sans-SerifProportional SerifMonospace SerifCasualScriptSmall Caps Reset restore all settings to the default valuesDone Close Modal Dialog End of dialog window. Advertisement Install ProxMox 5.3 in VMware Workstation You must log in or register to reply here. UNREPLIED POSTS HOW TO REQUIRE A PASSWORD FOR RECOVERY/EMERGENCY MODE? * TheLabCat * 9 minutes ago * Technology Forum * Replies: 0 TheLabCat Asks: How to require a password for recovery/emergency mode? I’ve used emergency mode a few times in the past, and it basically takes me straight to a superuser logged in command prompt without any password. This was useful, but I feel it’s a security risk. How can I require a password for this? Does it perhaps involve a setting in the BIOS? > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... HOW TO USE NFTABLES TO AVOID MAC SPOOFING ON VMS? * Skipper * 9 minutes ago * Technology Forum * Replies: 0 Skipper Asks: How to use nftables to avoid MAC spoofing on VMs? I have a Debian 11 server that is running several Qemu/KVM virtual machines ( not using libvirtd created purely with Qemu commands ), I've created a network bridge and each VM has its own TAP device connected to the bridge. Please consider that I know avoiding MAC spoofing is easily done in libvirtd via its network filters but I aim to configure it myself for my Qemu created VMs. My real interface is called eth0, my bridge is called br0, and one of my VMs TAP devices connected to this bridge is called tap0. What I want to do is that use nftables is to drop all OUTPUT packets except for eth0 and br0 in the first place, and then allow OUTPUT packets of my TAP devices only if the source MAC address is same as the actual MAC address I see in my ip -c a output that I've assigned myself while creating the VM, in other words, I want to avoid MAC spoofing on the VMs via nftables, however, I can't wrap my head around how to write these nftables rules. Any help is appreciated, thanks in advance. > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... VIRTUALBOX (5.2) INSTALLATION ISSUE / GUEST ADDITIONS FOR METASPLOITABLE3 * Alex Beam * 9 minutes ago * Technology Forum * Replies: 0 Alex Beam Asks: VirtualBox (5.2) installation issue / guest additions for metasploitable3 I am having issues installing virtualbox on my kali-rolling dist (Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux). My main goal is to setup metasploitable3 (GitHub - rapid7/metasploitable3: Metasploitable3 is a VM that is built from the ground up with a large amount of security vulnerabilities.). I have installed packer and vagrant: Code: root@kali:~/Desktop/metasploitable3# packer -v 1.1.3 root@kali:~/Desktop/metasploitable3# vagrant -v Vagrant 2.0.1 I have purged vitualbox and reinstalled for the sake of demonstration: Code: root@kali:~/Desktop/metasploitable3# sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox dkms virtualbox-dkms Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-amd64 is already the newest version (4.14+89+kali1). Suggested packages: python3-apport vde2 virtualbox-guest-additions-iso The following NEW packages will be installed: dkms virtualbox virtualbox-dkms virtualbox-qt 0 upgraded, 4 newly installed, 0 to remove and 273 not upgraded. Need to get 0 B/26.2 MB of archives. After this operation, 111 MB of additional disk space will be used. Selecting previously unselected package dkms. (Reading database ... 343278 files and directories currently installed.) Preparing to unpack .../archives/dkms_2.3-3_all.deb ... Unpacking dkms (2.3-3) ... Selecting previously unselected package virtualbox-dkms. Preparing to unpack .../virtualbox-dkms_5.2.6-dfsg-2_all.deb ... Unpacking virtualbox-dkms (5.2.6-dfsg-2) ... Selecting previously unselected package virtualbox. Preparing to unpack .../virtualbox_5.2.6-dfsg-2_amd64.deb ... Unpacking virtualbox (5.2.6-dfsg-2) ... Selecting previously unselected package virtualbox-qt. Preparing to unpack .../virtualbox-qt_5.2.6-dfsg-2_amd64.deb ... Unpacking virtualbox-qt (5.2.6-dfsg-2) ... Processing triggers for mime-support (3.60) ... Processing triggers for desktop-file-utils (0.23-2) ... Processing triggers for menu (2.1.47+b1) ... Setting up dkms (2.3-3) ... Processing triggers for systemd (236-3) ... Processing triggers for man-db (2.7.6.1-4) ... Processing triggers for shared-mime-info (1.9-2) ... Processing triggers for gnome-menus (3.13.3-11) ... Processing triggers for hicolor-icon-theme (0.17-1) ... Setting up virtualbox-dkms (5.2.6-dfsg-2) ... Loading new virtualbox-5.2.6 DKMS files... Building for 4.12.0-kali1-amd64 Module build for kernel 4.12.0-kali1-amd64 was skipped since the kernel headers for this kernel does not seem to be installed. Setting up virtualbox (5.2.6-dfsg-2) ... vboxweb.service is a disabled or a static unit, not starting it. Job for virtualbox.service failed because the control process exited with error code. See "systemctl status virtualbox.service" and "journalctl -xe" for details. invoke-rc.d: initscript virtualbox, action "restart" failed. ● virtualbox.service - LSB: VirtualBox Linux kernel module Loaded: loaded (/etc/init.d/virtualbox; generated; vendor preset: enabled) Active: failed (Result: exit-code) since Wed 2018-01-31 10:15:25 CST; 7ms ago Docs: man:systemd-sysv-generator(8) Process: 22278 ExecStart=/etc/init.d/virtualbox start (code=exited, status=1/FAILURE) Jan 31 10:15:25 kali systemd[1]: Starting LSB: VirtualBox Linux kernel module... Jan 31 10:15:25 kali virtualbox[22278]: Loading VirtualBox kernel modules...No suitable module for running kernel found ... failed! Jan 31 10:15:25 kali virtualbox[22278]: failed! Jan 31 10:15:25 kali systemd[1]: virtualbox.service: Control process exited, code=exited status=1 Jan 31 10:15:25 kali systemd[1]: virtualbox.service: Failed with result 'exit-code'. Jan 31 10:15:25 kali systemd[1]: Failed to start LSB: VirtualBox Linux kernel module. Setting up virtualbox-qt (5.2.6-dfsg-2) ... Processing triggers for systemd (236-3) ... Processing triggers for menu (2.1.47+b1) ... After this, I am capable of running the virtualbox GUI. But when I want to execute the metasploitable3 build script I get the following error: Code: root@kali:~/Desktop/metasploitable3# ./build_win2008.sh ./build_win2008.sh: line 14: cha: command not found ./build_win2008.sh: line 27: [[: WARNING:: syntax error in expression (error token is ":") ./build_win2008.sh: line 31: [[: WARNING:: syntax error in expression (error token is ":") Compatible version of VirtualBox found. Compatible version of packer was found. Correct version of vagrant was found. Compatible version of vagrant-reload plugin was found. All requirements found. Proceeding... Building the Vagrant box... virtualbox-iso output will be in this color. Build 'virtualbox-iso' errored: Error reading version for guest additions download: VirtualBox is not properly setup: WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-amd64. You will not be able to start VMs until this problem is fixed. 5.2.6_Debianr120293 ==> Some builds didn't complete successfully and had errors: --> virtualbox-iso: Error reading version for guest additions download: VirtualBox is not properly setup: WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-amd64. You will not be able to start VMs until this problem is fixed. 5.2.6_Debianr120293 ==> Builds finished but no artifacts were created. Error building the Vagrant box using Packer. Please check the output above for any error messages.Error reading version for guest additions download: VirtualBox is not properly setup: WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-amd64. You will not be able to start VMs until this problem is fixed. 5.2.6_Debianr120293 More specifically: Code: Error reading version for guest additions download: VirtualBox is not properly setup: WARNING: The character device /dev/vboxdrv does not exist. Please install the virtualbox-dkms package and the appropriate headers, most likely linux-headers-amd64. You will not be able to start VMs until this problem is fixed. 5.2.6_Debianr120293 It seems that an error in my install has caused an error later on with virtualbox-dkms. I have found other issues similar to this, but no fixes have worked. Thanks. > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... TO WHAT EXTENT ARE THERE NSERVICEBUS EQUIVALENTS OUTSIDE OF .NET? * Dr. Thomas C. King * 9 minutes ago * Technology Forum * Replies: 0 Dr. Thomas C. King Asks: To what extent are there NServiceBus equivalents outside of .NET? NService bus provides an easy way to choreograph events in an event-driven system. Beyond a primitive event-based technology, it allows easily describing Sagas in code. From a development point of view, you are just writing a service that responds to multiple events, and NServiceBus abstracts away from the underlying persistence. However, when I moved away from .NET (into Python on AWS specifically), I found the event-based solutions offered were comparatively primitive. SQS-queues, for example, allow for the basic try-retry robustness. But, the simplification of business logic afforded by NServiceBus is missing. Sagas, therefore, require concrete usage of databases to persist previously-received events. My question is * For those outside of .NET not using NServiceBus, to what extent are there equivalents and what does the industry use to solve the same kind of problem? * And if there aren't similar solutions to NServiceBus, then why not? NServiceBus seems more than an EventBus (indeed, it piggy-backs on one of many you can choose from). > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... REDIRECT TEX.PRINT OUTPUT TO A FILE * Tarass * 9 minutes ago * Technology Forum * Replies: 0 Tarass Asks: Redirect tex.print output to a file I want to redirect tex.print output to a file to collect and reuse the produced LaTeX material : the mwe : Code: \documentclass{article} \begin{document} essai \directlua{require("essai.lua")} \directlua{ a = "Hello word \\dots" } \directlua{ to_file ( a ) } \end{document} and the lua script called essai.lua : Code: function to_file ( x ) local file_name = "Foo" out = io.open( file_name .. ".tex", 'w' ) tex.print = out:write out:write ( "\\documentclass{article}" ) out:write ( "\\begin{document}") tex.print ( x ) out:write ( "\\end{document}" ) io.close( out ) end The error message is : > (/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1cmr.fd)...2/texmf-dist/te > x/luatex/lualibs/lualibs-basic-merged.lua:391: error loading module essai.lua > f rom file ./essai.lua: ./essai.lua:9: function arguments expected near 'out' > Click to expand... > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... HOW TO SYNC THE SPEED OF A RIGIDBODY AND THE SPEED OF A RUNNING ANIMATION * Aimon Z. * 9 minutes ago * Technology Forum * Replies: 0 Aimon Z. Asks: How to sync the speed of a rigidbody and the speed of a running animation I have a character with a run animation. The animation was downloaded from mixamo.com. In the animation controller, the physical update mode is selected. How do I change the speed of an animation based on the speed of a rigid body? > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... MODIFY A SCRIPT AT RUNTIME * LifGwaethrakindo * 9 minutes ago * Technology Forum * Replies: 0 LifGwaethrakindo Asks: Modify a script at runtime I am about to make a programming game for children, hence I will use blocks (like Scratch or Stencyl). My question is: Is there a way that you can modify a script (let's say, by adding a string attached to a code block)? Also, could there by a way to delete just some text for that script (for when I want to "reset" the script to its default state)? > SolveForum.com may not be responsible for the answers or solutions given to > any question asked by the users. All Answers or responses are user generated > answers and we do not have proof of its validity or correctness. Please vote > for the answer that helped you in order to help others find out which is the > most helpful answer. Questions labeled as solved may be solved or may not be > solved depending on the type of question and the date posted for some posts > may be scheduled to be deleted periodically. Do not hesitate to share your > thoughts here to help others. > Click to expand... Share: Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Share Link report this ad NEWEST MEMBERS * B * G * * I * P * * S * V * * H * D * LATEST POSTS * T How to require a password for recovery/emergency mode? * Latest: TheLabCat * 9 minutes ago Technology Forum * S How to use nftables to avoid MAC spoofing on VMs? * Latest: Skipper * 9 minutes ago Technology Forum * A VirtualBox (5.2) installation issue / guest additions for metasploitable3 * Latest: Alex Beam * 9 minutes ago Technology Forum * D To what extent are there NServiceBus equivalents outside of .NET? * Latest: Dr. Thomas C. King * 9 minutes ago Technology Forum * T Redirect tex.print output to a file * Latest: Tarass * 9 minutes ago Technology Forum * A How to sync the speed of a rigidbody and the speed of a running animation * Latest: Aimon Z. * 9 minutes ago Technology Forum * L Modify a script at runtime * Latest: LifGwaethrakindo * 9 minutes ago Technology Forum * N Find device node path of the last inserted USB drive * Latest: nooblag * 9 minutes ago Main forum * N Can I combine DDR4 and DDR4-L in my laptop? * Latest: Nahid Hossain * 9 minutes ago Main forum * P Verify return code: 21 (unable to verify the first certificate) * Latest: Pablo Morales * 9 minutes ago Main forum * B Advanced Boot Options menu opens every time I try to boot up my Acer Aspire S3 with Windows 7 * Latest: BalsamicAlien * 9 minutes ago Main forum * B Imagesharp custom image provider, cache not working * Latest: Bjarke * 18 minutes ago Technology Forum * H RecyclerView shuffles items and changing values on scrolling fast in adapter, Android Studio * Latest: Humayun MHA * 18 minutes ago Technology Forum * T How can one define a function ony a numpy matrix of vectors, that returns a value for every vector? * Latest: Tekef * 18 minutes ago Technology Forum * A Delete Row based on Proximity to Date * Latest: ab192 * 18 minutes ago Technology Forum report this adreport this ad * Home * Forums * Solveforum All topics * Main forum report this ad * Contact us * Terms and rules * Privacy policy * Help * Home * S1 * S2 * RSS Top x x EN FR DE ES IT HR SV SR SL NL DATENSCHUTZ & TRANSPARENZ Wir und unsere Partner verwenden Cookies, um Informationen auf einem Gerät speichern und/oder abrufen. Wir und unsere Partner verwenden Daten für Personalisierte Anzeigen und Inhalte, Anzeigen- und Inhaltsmessungen, Erkenntnisse über Zielgruppen und Produktentwicklungen. Ein Beispiel für Daten, welche verarbeitet werden, kann eine in einem Cookie gespeicherte eindeutige Kennung sein. Einige unserer Partner können Ihre Daten im Rahmen ihrer legitimen Geschäftsinteressen verarbeiten, ohne Ihre Zustimmung einzuholen. Um die Verwendungszwecke einzusehen, für die diese ihrer Meinung nach ein berechtigtes Interesse haben, oder um dieser Datenverarbeitung zu widersprechen, verwenden Sie den unten stehenden Link zur Anbieterliste. Die übermittelte Einwilligung wird nur für die von dieser Webseite ausgehende Datenverarbeitung verwendet. Wenn Sie Ihre Einstellungen ändern oder Ihre Einwilligung jederzeit widerrufen möchten, finden Sie den Link dazu in unserer Datenschutzerklärung, die von unserer Homepage aus zugänglich ist Einstellungen verwalten Weiter mit den empfohlenen Cookies Anbieter-Liste | Datenschutzerklärung