From owner-freebsd-questions@FreeBSD.ORG Tue Mar 10 13:53:50 2009 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 1AE6A106564A for ; Tue, 10 Mar 2009 13:53:50 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from gate.criticalsoftware.com (gate.criticalsoftware.com [212.13.37.242]) by mx1.freebsd.org (Postfix) with ESMTP id 9C2658FC36 for ; Tue, 10 Mar 2009 13:53:49 +0000 (UTC) (envelope-from ricardo.meb.jesus@gmail.com) Received: from [192.168.1.195] (pc-fa-vieira.critical.pt [192.168.1.195]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by gate.criticalsoftware.com (Postfix) with ESMTP id 4AC0C228306; Tue, 10 Mar 2009 13:53:48 +0000 (WET) Message-ID: <49B670EE.6020503@gmail.com> Date: Tue, 10 Mar 2009 13:53:50 +0000 From: Ricardo Jesus User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: manish jain References: <49B66D49.9020709@gmail.com> In-Reply-To: <49B66D49.9020709@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Help required for configuring FreeBSD with DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ricardo.m.jesus@criticalsoftware.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 13:53:50 -0000 manish jain wrote: > > Hi all, > > I have a dual boot system (FreeBSD 7.1 + Windows 2000). > > I am trying out FreeBSD for the first time with an ISP who runs a DHCP > server. Until the times of static addresses, everything was so simple in > FreeBSD. Now I am forced to ask for help because the ISP is willing to > help only for Windows. And indeed my Windows 2000 is sailing the > internet smoothly enough, so I can't really blame him. > > I am using a Realtek 8139D NIC on an x86 system. When I ask sysinstall > to configure rl0, it asks me whether I want to use DHCP. When I say yes, > it still gives me the same form to fill out as it does for static IP > addresses. I don't have any idea how to fill out this form when DHCP is > being used. > > Please note that on Windows, the following are enabled : > 1) Obtain an IP address automatically > 2) Obtain DNS server address automatically > > Everything else (IP address/Default dateway/etc) is greyed out. Can > anyone please tell me how to get my FreeBSD system up on DHCP. The only > other piece of information I can provide is the hostname I have been > using so far : unxfbsdi.freebsd.localdomain > > Thanks in advance for any help. > > Regards > Manish Jain > invalid.pointer@gmail.com > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > I think Realtek 8139D fall into re(4) driver, but do take a look at dmesg | less to confirm this. To display the current configuration for the network interfaces on your system run: % ifconfig You need to edit rc.conf and add the following to have the network card configured at boot time: ifconfig_re0="DHCP" To configure the card from the command line simply run: # ifconfig re0 dhcp