From owner-freebsd-current Fri Jun 14 9:38:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from smtp010.tiscali.dk (smtp010.tiscali.dk [212.54.64.103]) by hub.freebsd.org (Postfix) with ESMTP id 5571937B42F for ; Fri, 14 Jun 2002 09:38:39 -0700 (PDT) Received: from snicki.dk (114.adsl0.abc.worldonline.dk [213.237.17.114]) by smtp010.tiscali.dk (8.12.4/8.12.4) with ESMTP id g5EGcWC2010460; Fri, 14 Jun 2002 18:38:33 +0200 (MEST) Message-ID: <3D0A1B87.4020503@snicki.dk> Date: Fri, 14 Jun 2002 18:36:23 +0200 From: Dennis Kristensen User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020612 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gordon Tetlow Cc: current@freebsd.org Subject: Re: HEADS UP: rc.d is in the tree References: <3D09EF88.3010807@snicki.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > >> Please try out the functionality by putting rc_ng="YES" into your >> rc.conf and post any problems you might have. >> >> > I have given this a try, but have a few problems. My rc.conf is attached. > > 1: > When bringing up fxp0 with IP from DHCP i get: > Doing initial network setup: hostnamefxp0: > flags=8843 EX,MULTICAST> mtu 1500 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > ... > Without rc_ng, and a manual 'dhclient fxp0' still works. Is there > another way to do this with this new scheme? This is solved with the below patch. -Dennis ~$ diff -u /usr/src/etc/rc.d/network1 /etc/rc.d/network1 --- /usr/src/etc/rc.d/network1 Fri Jun 14 00:14:36 2002 +++ /etc/rc.d/network1 Fri Jun 14 18:24:08 2002 @@ -140,7 +140,8 @@ done if [ ! -z "${dhcp_interfaces}" ]; then - ${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces} fi + ${dhcp_program:-/sbin/dhclient} ${dhcp_flags} ${dhcp_interfaces} + fi for ifn in ${network_interfaces}; do # Check to see if aliases need to be added @@ -274,7 +275,6 @@ # XXX this must die if [ -s /etc/netstart.local ]; then sh /etc/netstart.local start - fi fi echo '.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message