From owner-freebsd-questions@FreeBSD.ORG Fri Dec 3 03:45:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBA6E1065695 for ; Fri, 3 Dec 2010 03:45:13 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 84BB08FC18 for ; Fri, 3 Dec 2010 03:45:13 +0000 (UTC) Received: from vivi.cc.vt.edu (vivi.cc.vt.edu [198.82.163.43]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oB33igOI000311; Thu, 2 Dec 2010 22:44:42 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by vivi.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id OMK84785; Thu, 02 Dec 2010 22:44:42 -0500 (EST) Received: from [172.16.1.105] (green.cs.vt.edu [128.173.236.72]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oB33igdJ027247 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 2 Dec 2010 22:44:42 -0500 Mime-Version: 1.0 (Apple Message framework v1081) From: Weihang Wang In-Reply-To: Date: Thu, 2 Dec 2010 22:44:41 -0500 Message-Id: <7DDA775B-9B93-4E4B-B719-77ADB8A763FA@vt.edu> References: <20101122170806.GA58734@dan.emsphone.com> <20101122213155.GC58734@dan.emsphone.com> <47405515-D6EF-4B80-B020-0C93987EBA29@vt.edu> <7F1EA323-F04F-4921-B169-E168E1CB1FC1@vt.edu> <3D14D589-F080-4D4C-93C1-60A896F8D6F3@vt.edu> <3E47732A-E0F6-4E36-869B-2C816ECABD23@vt.edu> <43D3F2D2-F9BB-4AA5-B21A-893E548CEEF5@vt.edu> To: Chris Brennan X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=vivi.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020201.4CF867AA.013D,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Got an error: Unknown option "DDB_CTF" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 03:45:13 -0000 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.