diff options
Diffstat (limited to 'emulators/virtualbox-ose/pkg-message')
-rw-r--r-- | emulators/virtualbox-ose/pkg-message | 36 |
1 files changed, 33 insertions, 3 deletions
diff --git a/emulators/virtualbox-ose/pkg-message b/emulators/virtualbox-ose/pkg-message index a5c046c48a13..93aa94f86927 100644 --- a/emulators/virtualbox-ose/pkg-message +++ b/emulators/virtualbox-ose/pkg-message @@ -6,15 +6,45 @@ You need to load the vboxdrv kernel module via /boot/loader.conf: vboxdrv_load="YES" +You also have to add all users to your vboxusers group in order to use vbox. + +% pw groupmod vboxusers -m jerry + +Reboot the machine to load the needed kernel modules. + + +Bridging Support: +================= + For bridged networking please add the following line to your /etc/rc.conf: vboxnet_enable="YES" -Reboot the machine to load the needed kernel modules. -You also have to add all users to your vboxusers group in order to use vbox. +USB Support: +============ -% pw groupmod vboxusers -m jerry +For USB support your user needs to be in the operator group and needs read +and write permissions to the USB device. + +% pw groupmod operator -m jerry + +Add the following to /etc/devfs.rules (create if it doesn't exist): + +[system=10] +add path 'usb/*' mode 0660 group operator + +To load these new rule add the following to /etc/rc.conf: + +devfs_system_ruleset="system" + +Then restart devfs to load the new rules: + +% /etc/rc.d/devfs restart + + +Troubleshooting: +================ Running VirtualBox as non-root user may fail with a fatal error NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file. |