Date: Thu, 2 Dec 2010 22:44:41 -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: <7DDA775B-9B93-4E4B-B719-77ADB8A763FA@vt.edu> In-Reply-To: <AANLkTinAmof1ZVcU5wKn7%2Bb2vpwWgYVboYsF7-NT9FJo@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> <3E47732A-E0F6-4E36-869B-2C816ECABD23@vt.edu> <AANLkTi=48yA8NaX0_WeiZfZvWh%2B9cbLAYRg4EDA4OQuz@mail.gmail.com> <43D3F2D2-F9BB-4AA5-B21A-893E548CEEF5@vt.edu> <AANLkTinAmof1ZVcU5wKn7%2Bb2vpwWgYVboYsF7-NT9FJo@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 2, 2010, at 10:16 PM, Chris Brennan wrote: > Hi Chris, >=20 > I use FreeBSD version 8.1, the host OS is Ubuntu 10.10. The host OS = could connect to the Internet correctly. This host uses a private IP = address. Yes, I allowed the VM software to install the bridge adapter = now, when booting there are some msgs "no DHCP offers received". = Actually I am a little confused where the DHCP server is, do I need to = install a DHCP server? Also, do I need to add that line = "ifconfig_le0/pcn0=3D"DHCP" in /etc/rc.conf? > I am also don't understand how to set the static IP address since when = setting a static IP address, we should have a router interface address, = right? But now it's only a virtual machine running on a real machine, = how can we do that? > Thank you so much for your help. I am sorry for bring you so much = trouble.=20 >=20 > Best, > W.W. >=20 > Weihang, >=20 > It's no trouble, below you will see what I have in my /etc/rc.conf for = a static IP. I use this same configuration in FreeBSD7.3 (and old Sony = Vaio PIII), FreeBSD8.1-amd64 (My HP Laptop) and in my FreeBSD9 VM. = Obviously the device name changes depending on the machine, but = otherwise the configuration is the same. If you have a Router that your = internet is connected to, that will usually provide DHCP Services, else = you would indeed need to set one up on the host and tell the bridge to = use it. >=20 >=20 > ifconfig_nfe0=3D"inet 192.168.0.4 netmask 255.255.255.0" > defaultrouter=3D"192.168.0.1" >=20 > A quick search of vBox and Ubuntu revealed this URL: = https://help.ubuntu.com/community/VirtualBox/Networking, I suggest = giving it a read and see if you missed something. I do believe there are = some extra steps necessary to set up a bridging device correctly on a = Linux Host. I would also check out the vBox Community wiki as I believe = there are some tips there as well for your Host OS. I am purposly vague = about instructing you in *Linux* for a reason. Each OS does things = differently, just as FreeBSD does things differently then Linux. They = all speak a different langauge. The thing with Linux is that they are = speak a different dialect of the same root language. The problem here, I = don't speak Ubuntu's dialect. So I'll just safely point you to the = resources that can help you. >=20 > Some Links for you >=20 > https://wiki.ubuntu.com/VirtualBox > https://help.ubuntu.com/community/VirtualBox/Networking > http://forums.virtualbox.org/viewtopic.php?t=3D1787 > http://ubuntuforums.org/showthread.php?t=3D716404 > http://www.virtualbox.org/manual/ch06.html - This one will be = *endlessly* useful for you ... I would suggest checking out the whole = handbook. vBox is actually very well documented Hi Chris, Thank you so much. I typed the lines you used in your rc.conf, it does = not work here. Perhaps I need do some other things, I do not know. I = have to check some of these resources you provide. I got this problem = several days ago, but still could not solve it now. It is really time = consuming... But anyway, I will check these resources. I will contact = you if I have any progress or other problems. : ) Thanks, Best, W.W.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7DDA775B-9B93-4E4B-B719-77ADB8A763FA>