>
>
>> 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<UP,BROADCAST,RUNNING,SIMPL
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message