From owner-freebsd-stable Mon Jul 10 11:55:48 2000 Delivered-To: freebsd-stable@freebsd.org Received: from nisser.com (c1870039.telekabel.chello.nl [212.187.0.39]) by hub.freebsd.org (Postfix) with ESMTP id D574A37B863 for ; Mon, 10 Jul 2000 11:55:37 -0700 (PDT) (envelope-from roelof@nisser.com) Received: from nisser.com (roelof [10.0.0.2]) by nisser.com (8.9.3/8.9.2) with ESMTP id UAA48109; Mon, 10 Jul 2000 20:55:12 +0200 (CEST) (envelope-from roelof@nisser.com) Message-ID: <396A1C7E.CE9D91D3@nisser.com> Date: Mon, 10 Jul 2000 20:57:02 +0200 From: Roelof Osinga Organization: eboa - engineering buro Office Automation X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Robert Withrow Cc: Brooks Davis , freebsd-stable@FreeBSD.ORG Subject: Re: DHCP problem with 4.0 References: <200007101158.HAA09866@pobox.rwwa.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Robert Withrow wrote: > > ... > If you use DHCP with PCMCIA cards, the hostname (and other stuff) doesn't get > set until you get your address much later in the startup sequence. Is there > (or has anyone invented) a way to make pcmcia DHCP happen at the same > time normal interface DHCP happens? Or is there some other way of dealing > with this that I've missed? Don't know about PCMCIA, but in my case (turned out I already had the packet filter included in) what did the trick was setting: ifconfig_ed0="DHCP" defaultrouter="NO" in rc.conf. Whilest booting you see it configuring the interfaces and then querying the DHCP server for the rest. If PCMCIA is different then I can only imagine that's because those infterfaces get configured later in the resource configuration process. Maybe you can move it up a bit? Roelof -- dog's site @ http://cairni.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message