Date: Sun, 06 Jan 2013 12:10:39 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: jb <jb.1234abcd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: FB 9.1 boot loader problem in VirtualBox Message-ID: <50E969BF.7050003@infracaninophile.co.uk> In-Reply-To: <loom.20130106T124818-94@post.gmane.org> References: <loom.20130106T005723-617@post.gmane.org> <loom.20130106T121300-657@post.gmane.org> <50E963CD.3030709@FreeBSD.org> <loom.20130106T124818-94@post.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9C084978DD28B44E574BC14E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/01/2013 11:52, jb wrote: > Matthew Seaman <matthew <at> FreeBSD.org> writes: >=20 >> >> On 06/01/2013 11:19, jb wrote: >>> Next problem: >>> the installation's dmesg shows net driver em0, which is Intel PRO/100= 0 - and >>> this is how install offers to configure the network; >>> but my host has Broadcom Corporation NetLink BCM5787M Gigabit Etherne= t PCI >>> Express, which is bge0 driver in FB. >>> How to force it to discover the right net device during install, and/= or after >>> install ? >> This is normal for VirtualBox -- it doesn't matter what NIC the host >> has, VB always presents it as an em(4) interface to the guest. > OK. > But I also could not ping: > $ ping -c 1 google.com > I have VM-Settings-Network > Attached to NAT > What is the correct setting here ? Not really enough information there to say exactly what has gone wrong. NAT+DHCP should work. You need: ifconfig_em0=3D"DHCP" in /etc/rc.conf obviously. Try tcpdump(1) on the external interface of your host system to see if the traffic shows up. You will also need to have a process called something like VBoxNetDHCP running on the host. Process name might be slightly different on different host OSes (I'm using MacOS X). It should be started automatically but no harm checking. If that hasn't led to a fix, please post the output of: ifconfig em0 netstat -rn from the guest system. If NAT won't work, you might try bridged mode -- this effectively makes the VM share your main host's NIC and gives it its own externally visible IP on the network. You generally need bridged mode if you want to run servers in the VM. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --------------enig9C084978DD28B44E574BC14E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iEYEARECAAYFAlDpab8ACgkQ8Mjk52CukIxqGACghqrlahz9XqKPg0feRXSe/iDY hekAn2Em0h+FzgxVXA7Jju+JHjwVNOGj =SnUC -----END PGP SIGNATURE----- --------------enig9C084978DD28B44E574BC14E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50E969BF.7050003>