From owner-freebsd-questions@FreeBSD.ORG Tue Mar 10 15:03:42 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 B707110656F2 for ; Tue, 10 Mar 2009 15:03:42 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-bw0-f164.google.com (mail-bw0-f164.google.com [209.85.218.164]) by mx1.freebsd.org (Postfix) with ESMTP id 04CF88FC13 for ; Tue, 10 Mar 2009 15:03:41 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: by bwz8 with SMTP id 8so1503699bwz.43 for ; Tue, 10 Mar 2009 08:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=m1vS0cGstvunpu9VamowZAch+z/cUZVXrRkzJPUQTSk=; b=SiJwOv9A7SS/mnpcfAKt+HedpeccloOjg2rEu81vVuGY5VM6MiMjMKRAKuxTWoBagf fHzOfDuaWSx54rpboKHRydGV3LjmpU15vKAsyxsRT7gUO3Z6djUX+vvRuXl8mJR8KpRy BWoU5wdxDVzMmtR/Cja1iiEHJ8SPMDjFb2KQs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=H1XL+zZ4lcgW71XygX/PBwrX+M/wRew4V0Kf0meztrpryDHKeNtG0MIeDWKeH4Ln5+ HaRk5b7scVdWWREMtkO1jUPY3iLqPzkAGgodXC70DiYnaFMsqiHSM1EijEXPmrhROpWe zIWLU7sxkU8g6wRYIdb6YIFY4RkqYSBo+Ccek= MIME-Version: 1.0 Received: by 10.223.126.1 with SMTP id a1mr5488190fas.78.1236697420860; Tue, 10 Mar 2009 08:03:40 -0700 (PDT) In-Reply-To: <49B670EE.6020503@gmail.com> References: <49B66D49.9020709@gmail.com> <49B670EE.6020503@gmail.com> Date: Tue, 10 Mar 2009 18:03:40 +0300 Message-ID: <991123400903100803w35f333edkdd46b2c4b0d94ed3@mail.gmail.com> From: "\"Remorque\"" To: ricardo.m.jesus@criticalsoftware.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: manish jain , 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Mar 2009 15:03:43 -0000 On Tue, Mar 10, 2009 at 4:53 PM, Ricardo Jesus wrote: > 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 I would do: dhclient re0 Is the behaviour the same? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood