Results 1 to 4 of 4

Thread: VirtualBox autoload

  1. #1

    Lightbulb VirtualBox autoload

    Hello folks,
    Please help me to resolve following task: I install VirtualBox on OpenSuse11. It's work ok. But after each restart/shutdown computer I need enter:
    1)/etc/init.d/vboxdrv setup
    - otherwise it couldn't start

    2)# Brctl addbr br0
    # Ifconfig eth0 0.0.0.0 PROMISC
    # Brctl addif br0 eth0
    # Dhclient br0
    # VBoxAddIF vbox0 username br0
    - for network support.

    Is that possible to put it somethere for automatic reload each time? I'm new in Linux so i need detail answer.

  2. #2
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: VirtualBox autoload

    You actually don't need vboxdrv setup, it's vboxdrv start you need. You can make this happen by enabling the vboxdrv service to start at boot from YaST, or by

    Code:
    chkconfig --set vboxdrv on
    from the CLI. Just like any other service.

    The bridge setup you have do to by editing in /etc/sysconfig/network. Most likely by creating an ifcfg-br0. Sorry I can't help you there as I don't run a bridged VM on my machine. I believe there is a worked example for SUSE in the PDF documentation for VirtualBox.

  3. #3

    Default Re: VirtualBox autoload

    Quote Originally Posted by ken_yap View Post
    You actually don't need vboxdrv setup, it's vboxdrv start you need. You can make this happen by enabling the vboxdrv service to start at boot from YaST, or by

    Code:
    chkconfig --set vboxdrv on
    from the CLI. Just like any other service.

    The bridge setup you have do to by editing in /etc/sysconfig/network. Most likely by creating an ifcfg-br0. Sorry I can't help you there as I don't run a bridged VM on my machine. I believe there is a worked example for SUSE in the PDF documentation for VirtualBox.
    Thanks for so simple solution for 1! You are the great man!
    About 2- I'm already try that scince posting but only particular succsessful. I made config file for a bridge and it recieved ip address from DHCP server. But Guest OS coudn't recieve. Seemes that 'vbox' interface didn't get ip.

  4. #4

    Default Re: VirtualBox autoload

    The last problem that I need to resolve is that virtual interface which I create by VBoxAddIF - work only before reset, after reset it's not working.
    How can I fix it?
    I can't understand why it's gone because it must be permanent? :-0

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •