Date: Mon, 8 Oct 2001 13:31:06 -0700 (PDT) From: Mikko Tyolajarvi <mikko@dynas.se> To: leblanc+freebsd@smtp.ne.mediaone.net Cc: questions@freebsd.org Subject: Re: dhclient/ifconfig questions. Message-ID: <200110082031.f98KV6725259@mikko.rsa.com> References: <20011008150351.A1543@acadia.ne.mediaone.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110082031.f98KV6725259>