Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Mandatory options not supplied. Which options? The only ones I'm missing are serialnumber and maskedinterfaces. No serial number is given and I don't even know what masked interfaces is. Can somebody tell me what I'm doing wrong?
That's weird; according to the syntax shown in the error message, only target, name and action are mandatory (although no default value is shown for maskedinterfaces; likely just an oversight).
Perhaps VBoxManage is being confused by the unusual characters in "USB <-> Serial"; you could try omitting that or giving it a simple dummy value.
Alternatively you could try specifying all the optional arguments, giving empty strings for serialnumber and maskedinterfaces:
In case it helps, here's part of the output from VBoxManage showvminfo <name> (version: 3.0.10r54097. There are no global usbfilters on the example machine)
Code:
USB Device Filters:
Index: 0
Active: yes
Name: Prolific Technology Inc. USB Mass Storage Device [0100]
VendorId: 067b
ProductId: 2517
Revision: 0100
Manufacturer:
Product:
Remote: no
Serial Number:
Index: 1
Active: yes
Name: USB Mass Storage [0100]
VendorId: 04cb
ProductId: 0177
Revision: 0100
Manufacturer:
Product:
Remote: no
Serial Number:
Index: 2
Active: yes
Name: Canon,Inc. MF5750
VendorId: 04a9
ProductId: 265e
Revision: 0000
Manufacturer:
Product:
Remote: no
Serial Number:
Okay, I was able to run the command without syntax errors by removing the options remote, serialnumber, and maskedinterfaces. If I put any one of those in without the others I get the "mandatory options not supplied" error. The dummy values don't work; it says they're unrecognized. Now for the big problem...
Even though I ran the command without errors, here is the output of showvminfo:
Code:
USB Device Filters:
<none>
So no errors, but no filters created either. Any thoughts?
Got it! I got rid of the global target and used the uuid for my WinXP vm. That worked, and I was also able to use the remote option. I haven't tested the device remotely yet, but it works when plugged into the server. Thanks!
It did work... until I unplugged the device and plugged it back in. Now more problems. Enough of this. Virtualbox is terrific for local operation with the GUI (I've been using it for over a year) but it sucks for headless operation. I'm going to try xen.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.