VirtualBox OpenSolaris and Ubuntu Guests on OSX networking working
By tomdaly on Aug 23, 2008
Finally have networking going on OSX
I have been having trouble getting guest OS networking going with VirtualBox 1.6.4 using a variety of guest OS's on my mac book pro. I have been trying Ubuntu (Gutsy), OpenSolaris and Sugar OS (from OLPC,the one laptop per child project) as VirtualBox guests but to date had not been able to get networking functioning properly. I finally have both Ubuntu and OpenSolaris networking and full screen modes working now quite nicely.
The things that really helped me with VirtualBox 1.6.4 were Dana's blog entry on the subject and the following points in particular : -
- The comment not to rely on ping/ICMP as the VirtualBox documentation apparently makes it clear that this is unreliable.
- The reader comment at the bottom of this blog saying that the DNS server installed by NWAM of 10.2.3 doesn't work.
So on both OpenSolaris and Ubuntu I manually edited the /etc/resolv.conf and inserted the value for nameserver that I determined from looking at cat /etc/resolv.conf on OS X. I then bring up the browser (not ping) and I can indeed access the internet and browse the web. I really need to get the Sugar/XO laptop emulator working in VirtualBox so this is my next target.
Oh the one thing folks might also find useful is that to operate OpenSolaris in fullscreen mode on OSX simply mount the VirtualBox guest additions (part of the download package I think) and do perform a packageadd. Once you have done this logout/log back in again and you can use apple-f to go to full screen and apple-f to get back out.