From owner-freebsd-questions Mon Oct 8 13:31:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tholian.securitydynamics.com (mail.rsasecurity.com [204.167.112.129]) by hub.freebsd.org (Postfix) with SMTP id 97D8537B409 for ; Mon, 8 Oct 2001 13:31:18 -0700 (PDT) Received: from sdtihq24.securid.com by tholian.securitydynamics.com via smtpd (for hub.FreeBSD.org [216.136.204.18]) with SMTP; 8 Oct 2001 20:28:05 UT Received: from ebola.securitydynamics.com (ebola.securid.com [192.168.7.4]) by sdtihq24.securid.com (Pro-8.9.3/Pro-8.9.3) with ESMTP id QAA17109 for ; Mon, 8 Oct 2001 16:31:14 -0400 (EDT) Received: from spirit.dynas.se (localhost [127.0.0.1]) by ebola.securitydynamics.com (8.9.3+Sun/8.9.1) with SMTP id QAA23440 for ; Mon, 8 Oct 2001 16:31:11 -0400 (EDT) Received: (qmail 449 invoked from network); 8 Oct 2001 20:31:09 -0000 Received: from explorer.rsa.com (HELO mikko.rsa.com) (10.81.217.59) by spirit.dynas.se with SMTP; 8 Oct 2001 20:31:09 -0000 Received: (from mikko@localhost) by mikko.rsa.com (8.11.6/8.11.6) id f98KV6725259; Mon, 8 Oct 2001 13:31:06 -0700 (PDT) (envelope-from mikko) Date: Mon, 8 Oct 2001 13:31:06 -0700 (PDT) From: Mikko Tyolajarvi Message-Id: <200110082031.f98KV6725259@mikko.rsa.com> To: leblanc+freebsd@smtp.ne.mediaone.net Cc: questions@freebsd.org Subject: Re: dhclient/ifconfig questions. Newsgroups: local.freebsd.questions References: <20011008150351.A1543@acadia.ne.mediaone.net> X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In local.freebsd.questions you write: >Hey folks. A little rc.conf/ifconfig/dhcp trouble here. >Here is what I have: >fxp0 - internal interface >xl0 - external interface >fxp0 is easy. No problems configuring that. >xl0 is giving me a headache. Here is what I need to do: >Set ether to 00:A0:CC:33:55:25 and configure with dhclient. >Sounds easy, but . . . >Here is what I'm doing in rc.conf: >defaultrouter="NO" >dhcp_program=/sbin/dhclient >dhcp_flags="" >gateway_enable="YES" >hostname="acadia.ne.mediaone.net" >ifconfig_fxp0="inet 10.8.20.5 netmask 255.255.255.0" >ifconfig_xl0="DHCP ether 00:A0:CC:33:55:25" >. . . >But when I reboot, not only is it not starting dhclient, but X won't >start! I get a libgtk12.so.2 not found error, but it is there. When [...] As you have already guessed, you can't mix "DHCP" with ifconfig flags. Set ifconfig_xl0 to "DHCP" and put any commands you need executed first in a file called "/etc/start_if.xl0" (in your case that would be "ifconfig xl0 ether ..." i guess). Don't know if your X problems are related, though. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message