FreeNas on VirtualBox 2.0.2 install but no web access
FreeNas on VirtualBox 2.0.2 install but no web access
I have just installed freenas 0.69b4 on the new version of virtualbox for testing. The host is Ubuntu 8.04. I can't access the web interface no matter what adapter I choose. Is the FreeBSD supported on VirtualBox and if so, does anyone have any suggestions on how this vm can be accessed? I am working on my laptop so it's all local, but no matter what IP is used, this can't be accessed...so the vm works and loads up fine, but it can't be configured since I can't get to the logon page...
I did a search and I only found a couple of postings trying to install FreeBSD so I'm not sure if there is a problem installing this under virtualbox. Anyone have any luck, ideas or suggestions on this?
I did a search and I only found a couple of postings trying to install FreeBSD so I'm not sure if there is a problem installing this under virtualbox. Anyone have any luck, ideas or suggestions on this?
Last edited by Jaime on 24. Oct 2008, 05:31, edited 2 times in total.
-
Sasquatch
- Volunteer
- Posts: 17798
- Joined: 17. Mar 2008, 13:41
- Primary OS: Debian other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows XP, Windows 7, Linux
- Location: /dev/random
Are you trying to access a NAS that is on your network? What network settings did you try? What other options have you tried? Be more specific.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org
Retired from this Forum since OSSO introduction.
FreeNAS
No, sorry about that. I have ubuntu and I am running virtualbox 2 on it. I decided to install Freenas as a vm locally on my laptop for testing. I have one installed on a network and I have no problems accessing that one. This is my second one, but will only be used for testing locally on my laptop.
1. I have tried changing the IP and the nics on the vm, but nothing
2. The install works fine, so I can bring up the freenas without any problems
3. I just can't get access to it
1. I have tried changing the IP and the nics on the vm, but nothing
2. The install works fine, so I can bring up the freenas without any problems
3. I just can't get access to it
-
greenpossum
- Volunteer
- Posts: 98
- Joined: 11. Jul 2008, 08:10
Re: FreeNAS
Well if you chose NAT that's not surprising, because the services of the VM are not visible to the host unless you port forward (and that only works for ports >= 1024). You'd have to use bridging.
-
greenpossum
- Volunteer
- Posts: 98
- Joined: 11. Jul 2008, 08:10
Re: Okay...
Host Interface is what you want. It's dealt with in length in the excellent PDF documentation with worked examples (though I don't remember if FreeBSD is dealt with). Yes, I'm saying what amounts to RTFM, but it's unfair to expect me to tutor you when it's all documented.
Thanks
You're absolutely right, I meant for any information that could point me in the right direction. I don't mind looking at the manual, info, etc. I'm new to both system, still finding pieces of information here and there.
I just checked the version of freebsd on the freenas an it uses 6.4-Prerelease version. As you will see there is no 6.4 on this page...
http://docs.freebsd.org/doc/
Just type uname -a and it will give you this information when you are in the shell.
Can anyone point me in the right direction since I'm just stuck at the moment. I have also noticed that this version restarts in virtualbox and will not shutdown correctly. I also installed the new version 0.69b5 and still get the same result. I still can't connect to the GUI. I tried installing the nightly built 0.7 but this last one won't install in virtualbox.
I found this link that explains the bridge a bit, but I haven't done anything so I can't say anything else about it, but I guess it's a start. https://help.ubuntu.com/community/VirtualBox#USB
I noticed that there is an updated version now 2.2 2.0.4 so I updated my ubuntu to this hoping this might fix my problem, but I'm still getting the same thing, even when I change to host. Now get this error:NS_ERROR_FAILURE (0x80004005)
Thanks...
I just checked the version of freebsd on the freenas an it uses 6.4-Prerelease version. As you will see there is no 6.4 on this page...
http://docs.freebsd.org/doc/
Just type uname -a and it will give you this information when you are in the shell.
Can anyone point me in the right direction since I'm just stuck at the moment. I have also noticed that this version restarts in virtualbox and will not shutdown correctly. I also installed the new version 0.69b5 and still get the same result. I still can't connect to the GUI. I tried installing the nightly built 0.7 but this last one won't install in virtualbox.
I found this link that explains the bridge a bit, but I haven't done anything so I can't say anything else about it, but I guess it's a start. https://help.ubuntu.com/community/VirtualBox#USB
I noticed that there is an updated version now 2.2 2.0.4 so I updated my ubuntu to this hoping this might fix my problem, but I'm still getting the same thing, even when I change to host. Now get this error:NS_ERROR_FAILURE (0x80004005)
Thanks...
same problem
Hi,
I'm getting the same problem. I can provide a couple more details. I'm running the latest version of FreeNAS 0.69 inside a VM with Virtualbox 2.1.4. For the VM, I first tried the default NAT setting for the virtual NIC. FreeNAS fails to pickup a IP when trying to talk to VirtualBox's internal DHCP server. I then tried 'Host Interface' which should allow my VM to act like it's on my real network, and pickup a IP address from my real DHCP server, but it behaves the same, it tries for awhile, then gives up. So it seems like FreeNAS is somehow not playing nice with VirtualBox, particularly with the virtual NIC. I've tried telling it 'Linux 2.6' which seems to be the closest thing to FreeNAS (it's based off FreeBSD I think), but no luck. Can anyone offer any insight into this?
Oh yeah, I also assigned a static IP to the system, then tried both NAT and Host Interface mode, and tried pinging the FreeNAS VM from both another VM when NATing, and from a real machine with Host Interface, but it said the IP address was unreachable...more indicators that FreeNAS isn't working right with VirtualBox's virtual NIC.
hmm...end result is I can't access the web interface like Jaime mentioned above.
I'm getting the same problem. I can provide a couple more details. I'm running the latest version of FreeNAS 0.69 inside a VM with Virtualbox 2.1.4. For the VM, I first tried the default NAT setting for the virtual NIC. FreeNAS fails to pickup a IP when trying to talk to VirtualBox's internal DHCP server. I then tried 'Host Interface' which should allow my VM to act like it's on my real network, and pickup a IP address from my real DHCP server, but it behaves the same, it tries for awhile, then gives up. So it seems like FreeNAS is somehow not playing nice with VirtualBox, particularly with the virtual NIC. I've tried telling it 'Linux 2.6' which seems to be the closest thing to FreeNAS (it's based off FreeBSD I think), but no luck. Can anyone offer any insight into this?
Oh yeah, I also assigned a static IP to the system, then tried both NAT and Host Interface mode, and tried pinging the FreeNAS VM from both another VM when NATing, and from a real machine with Host Interface, but it said the IP address was unreachable...more indicators that FreeNAS isn't working right with VirtualBox's virtual NIC.
hmm...end result is I can't access the web interface like Jaime mentioned above.
-
dronk
Re: FreeNas on VirtualBox 2.0.2 install but no web access
I initially had the same issue with Freenas on Virtualbox but was able to get it working. See this post in the freenas forum: link.
I set my adapter type to "Intel Pro/1000 MT Desktop" (which it defaulted to for FreeBSD) and selected Host Interface. Then once freenas was running and installed I configured the ip address as static and gave it an address in my subnet. Now I can hit that address to configure Freenas as usual.
I set my adapter type to "Intel Pro/1000 MT Desktop" (which it defaulted to for FreeBSD) and selected Host Interface. Then once freenas was running and installed I configured the ip address as static and gave it an address in my subnet. Now I can hit that address to configure Freenas as usual.
Re: FreeNas on VirtualBox 2.0.2 install but no web access
I have a similar problem. I started with WinXP as the host and eBox (based on Ubuntu) as the guest. I've configured the guest OS with a static IP and set the network (in VBox) to Host Interface. When this VM is hosted on the WinXP box, everything works fine. I can ssh and http to the VM from any machine in my network.
Not wanting to host a server from WinXP, I copied the VM to one of my Linux boxes (Linux Mint - a variant of Ubuntu). With everything set up identically w.r.t. the guest (including the MAC), I cannot ssh/http to the VM from any machine except the host itself. The IP to the guest is not routable from any machine except the host itself.
Thinking it was, possibly, the fact that I use an ASUS 330g to provide access to the Linux Mint machine, I copied the VM to yet another machine and tried again (w/ MEPIS as the host OS), with the same results.
Can anyone suggest why I might be having these problems with Linux hosts, but not with the WinXP host?
Thanks!
Not wanting to host a server from WinXP, I copied the VM to one of my Linux boxes (Linux Mint - a variant of Ubuntu). With everything set up identically w.r.t. the guest (including the MAC), I cannot ssh/http to the VM from any machine except the host itself. The IP to the guest is not routable from any machine except the host itself.
Thinking it was, possibly, the fact that I use an ASUS 330g to provide access to the Linux Mint machine, I copied the VM to yet another machine and tried again (w/ MEPIS as the host OS), with the same results.
Can anyone suggest why I might be having these problems with Linux hosts, but not with the WinXP host?
Thanks!