Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Virtualbox - missing /etc/init/vbox* problem w/host-only if
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
vespaman
Guru
Guru


Joined: 28 Aug 2002
Posts: 346
Location: Stockholm, Sweden

PostPosted: Mon Feb 29, 2016 2:54 pm    Post subject: Virtualbox - missing /etc/init/vbox* problem w/host-only if Reply with quote

I'm trying to get Virtualbox up and running on my desktop @work, which is not going according to plan.. I have tried both source and bin versions, both of which gives me problems when creating a host-only network interface.

e.g:

VBoxNetAdpCtl: Error while adding new interface: failed to open /dev/vboxnetctl: No such file or directory.


Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
HostNetworkInterfaceWrap
Interface:
IHostNetworkInterface {455f8c45-44a0-a470-ba20-27890b96dba9}

And sure enough - there's no /dev/vboxnetctl on my system!
Now there are some suggestion that to fix these kind of problems, one should issue '/etc/init.d/vboxdrv setup' - However I have no virtualbox stuff in my /etc/init/ : this is missing, I have a feeling this has changed in the later virtual boxes?

Has anyone seen this? And a remedy? :)
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Mon Feb 29, 2016 3:59 pm    Post subject: Reply with quote

have you installed
Code:
phrack ~ # emerge -s virtualbox-modules
 
[ Results for search key : virtualbox-modules ]
Searching...

*  app-emulation/virtualbox-modules
      Latest version available: 4.3.32
      Latest version installed: 4.3.32
      Size of files: 534 KiB
      Homepage:      http://www.virtualbox.org/
      Description:   Kernel Modules for Virtualbox
      License:       GPL-2

they need to be installed per kernel; re-install if you change your kernel.

and loaded the virtualbox-modules?
eg
Code:
phrack ~ # lsmod
Module                  Size  Used by
vboxnetadp             17670  0
vboxnetflt             16178  2
vboxdrv               326546  5 vboxnetadp,vboxnetflt


sometimes it might be necessary to start the vbox-gui once beofre the dev-files are created

on the headless virtualbox-installations i ususally have a script in /etc/local.d/ that makes sure the modules are loaded ańd the interfaces are up.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum