Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use USB devices we have to make some changes in the .xml file of our vm.
First of all we need to know the usb Vendor ID and Product ID. Using this command we'll find it:

Panel

sudo lsusb

The output will be:

Panel

Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 046d:c018 Logitech, Inc. Optical Wheel Mouse
Bus 004 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 058f:6387 Alcor Micro Corp. Transcend JetFlash Flash Drive
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

In our case the Vendor ID and Product ID of the USB we want to add to the guest OS is :

...

    To make any change to the settings, we can do it with the following command.

Panel

           sudo gedit/etc/vsftpd.conf

     To let the clients upload files to the server we should change
             #write_enable = YES to write_enable = YES
      3.  Everytime we make any change we have to restart the vsftpd, in order to make the changes      effective.

...