Per Erik Strandberg /cv /kurser /blog

With a little help from the internet and some colleagues I just managed to insert ethernet via USB to a virtual operating system without the host knowing about it. It seems a little like intrauterine surgery but it is not that complicated once you get the hang of it.

Overview

This is what we'll do:

  1. Install Virtualbox and additions
  2. Insert the USB Ethernet adapter
  3. Remove the ethernet drivers (hide it for the host OS)
  4. Transmit the USB into the guest OS.

Installing Virtualbox

Installing

Since I am running the Ubuntu Distro of Gnu Linux I just installed Virtualbox from the software center (or perhaps I used apt-get - I don't remember). In order to get support for USB 2.0 devices I also installed the extension pack (see virtualbox download page [1]).

Set up user group

In order for you to be able to use USB devices in the Virtualbox guest OS you need to get the privileges granted by the vboxusers group - you could either do something like the below to modify your user account (the first line amends you to the group and the second line verifies that the step was successful) or use some GUI provided by your host OS (for example Manage groups in Ubuntu).

~ $ sudo usermod -a -G vboxusers perstrandberg

~ $ grep vboxusers /etc/group
vboxusers:x:131:perstrandberg

[2]

[3]


This page belongs in Kategori Mjukvara