--- ifupdown-0.6.4/inet.defn 2005-02-04 23:48:03.000000000 -0800 +++ ifupdown-0.6.4.working/inet.defn 2005-02-04 23:56:00.000000000 -0800 @@ -39,7 +39,7 @@ method dhcp description This method may be used to obtain an address via DHCP with any of - the tools: dhclient, pump (2.2.x kernels only), or dhcpcd. + the tools: dhclient, udhcpc, pump (2.2.x kernels only), or dhcpcd. If you have a complicated DHCP setup you should note that some of these clients use their own configuration files, rather than obtaining their configuration via *ifup*. @@ -54,6 +54,8 @@ up dhclient %iface% \ if (execable("/sbin/dhclient")) + udhcpc -i %iface% -p /var/run/udhcpc.%iface%.pid -q [[-h %hostname%]]\ + if (execable("/sbin/udhcpc")) pump -i %iface% [[-h %hostname%]] [[-l %leasehours%]] \ elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) dhcpcd [[-h %hostname%]] [[-i %vendor%]] [[-I %clientid%]] \ @@ -63,6 +65,8 @@ down cat /var/run/dhclient.pid | xargs -i kill -TERM {} \ if (execable("/sbin/dhclient")) + cat /var/run/udhcpc.%iface%.pid | xargs -i kill -KILL {} \ + if (execable("/sbin/udhcpc")) pump -i %iface% -k \ elsif (execable("/sbin/pump") && mylinuxver() >= mylinux(2,1,100)) dhcpcd -k %iface% \