Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question A BSD VirtualBox Server on Win7 Host

    I've been googling for this for a while, but I couldn't find a real explanation about this idea.

    Basically, I have FreeBSD 9 with Lighttpd installed as a virtual machine. I want to set it up in a way that I can reach it from a browser within the Windows host.

    I don't know much about Windows in this positions (I have no experience on **nix OS'es in this case too). I can't switch to a Linux host because virtualbox messes up my kernel whenever I install it.

    Keeping it short, I need help on the idea explained in the second paragraph. I'd be thankful for any help.

  2. #2
    Linux Engineer
    Join Date
    Apr 2012
    Virginia, USA
    The easiest way is to have adapter type set to Bridge on your virtual box VM in the NIC settings. If you are getting IP assigned automatically, then you will get an IP in the same subnet as your windows host. Then, just type in the IP of your VM in the web browser.

  3. #3
    Thank you mizzle, for your answer. But that didn't work.
    Have done the VM setting, messed up the FreeBSD internet. It can't connect now. As I dont have a gui, I have to do it the csh way, but I have no experience with that kind of internet configuration. So, how can I bring internet back to my guest?

  4. $spacer_open
  5. #4

  6. #5
    Yes, that is a way, but, I have installed it for the thing I'm trying to do in my first post. So if I can't do a server as I specified, it means nothing to have that wm, right?

  7. #6
    Linux Engineer
    Join Date
    Apr 2012
    Virginia, USA
    Then you'll have to figure out how to manually adjust your FreeBSD network settings to fix whatever is broken. Are you at least getting an IP from DHCP, and are you in the same subnet as your host PC?

  8. #7
    Linux Newbie SL6-A1000's Avatar
    Join Date
    May 2011
    Why not install a Xen server? there are guides to setting up Xen in Linux or alternatively what about just installing FreeBSD on the machine directly? FreeBSD can be a great server...

    If your wondering Xen is a hypervisor on top of another kernel specifically Linux, FreeBSD, NetBSD and/or Solaris. Xen is basically an advance virtual machine like Virtualbox. The difference between them is that Xen provides better performance for the Guest has more features and can run a para-virtualized or a hardware-assisted virtualized. This means basically one allows for the guest to directly access the hardware while the latter is running the system in a fully virtualised environment.

    Not to sound like an advertisement, but your probably wondering why i am suggesting this, when it will take a bit of work to set up. Well 1. its designed for exactly what your trying to do, 2. the benefits after its set up will far out weigh the negatives and frustrations of setting it up.

    Xen allows for a web gui to monitor and access multiple OSs from the GUI. If you wanted to you could set up a powerful xen server and just run Xen clients from the server.

    I really do suggest looking into it.

    On the topic of your problem.

    From my experience with Virtualbox, its not FreeBSD that can't connect, its the communication between the host and the hypervisor (virtualbox). You need to adjust your settings in Windows for the Virtualbox Bridging settings. Adjusting the FreeBSD 9 internet settings will not fix the issue. As said its the communication between the host and guest. Not the guest itself...

    This article may help you:

Posting Permissions

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