Date: Thu, 2 Dec 2010 21:31:29 -0500 From: Weihang Wang <weihang@vt.edu> To: Chris Brennan <xaero@xaerolimit.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: Got an error: Unknown option "DDB_CTF" Message-ID: <3E47732A-E0F6-4E36-869B-2C816ECABD23@vt.edu> In-Reply-To: <AANLkTi=E=jztJ0Kza02sGr9JwSfnoJfxZAgaSo=d22dG@mail.gmail.com> References: <CB053608-596F-4326-81AF-1905DDFABBBC@vt.edu> <20101122170806.GA58734@dan.emsphone.com> <B21BB9CA-D6E6-4F80-9021-940BA0B07497@vt.edu> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> <AANLkTi=KNvNXLHdmk81B7O7ac_Nh53=6X138wNTZLvZw@mail.gmail.com> <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> <AANLkTimT9Ju4Rzqrc_OagNA1GDoTEGyU2qo3v3RNWKr_@mail.gmail.com> <3D14D589-F080-4D4C-93C1-60A896F8D6F3@vt.edu> <AANLkTi=E=jztJ0Kza02sGr9JwSfnoJfxZAgaSo=d22dG@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 2, 2010, at 9:03 PM, Chris Brennan wrote: > Hi Chris, >=20 > Thanks for your kind help. Now I am running FreeBSD on Virtualbox as a = guest OS on Ubuntu. But I got some other problems. I have searched on = the Internet but could not find a solution work for me.=20 > Now the guest OS does have network access. When using ifconfig, the = virtual ethernet card le0 (when using PCI II) or pcn0 (when using PCnet = FAST III) has no IP address. I have configured ifconfig_le0/pcn0=3D"DHCP" = in /etc/rc.conf. But it still has no network access. In the virtualbox, = I choose the networking mode "Bridged" or "NAT", they don't work, = either. I found in the virtualbox the name of this virtual network = interface is eth0. But when i use ifconfig, there is no eth0 in this = operating system. I don't know whether this is the reason. > Hope you could give me some possible ideas on solutions. I will post a = new email on this problem, too. > Thank you very much.=20 >=20 > Best, > W.W. >=20 > Greetings Weihang, >=20 > I've had a simmilar issue, infact. Having one now in my VM that will = be fbsd9+zfs (testing stuff for my environment). The only way I can get = proper access to the outside world is to allow VMWare or VBox to install = the Bridgeing Adapter. In the VM Software, choose the bridging device = and then choose any network device the VM offers you (in vBox I have 2 = PCINET devices and 3 others, the choice doesn't matter really). When I = assigned a static IP to the VM (in my case 192.168.0.20) but it doesn't = work (be sure yo set the default route, 'route add gateway <IP>). The = only way I had it working was to let DHCP get an IP at the command line = w/ 'dhclient -q <DEVICE_NAME>'. Anyway, hope that helps a little. Hi, I will try and see whether the same method works for me. If it could not = get network access. I am afraid I could not use virtual machine and = might go back to run FreeBSD on real hardware. Thank you very much, Best, W.W.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E47732A-E0F6-4E36-869B-2C816ECABD23>