[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: DCHP



Kevin Buhr <buhr+debian@asaurus.net> writes:
>
> and change it to this:
>
>         iface eth0 inet manual
>               up dhclient3 -lf /var/lib/dhcp3/dhclient.$IFACE.leases -pf /var/run/dhclient.$IFACE.pid $IFACE
>               down kill $(< /var/run/dhclient.$IFACE.pid)

Whoops.  One problem with this is that it doesn't actually bring the
interface down.  I hadn't noticed before.  You might want to add one
more line, like so, and I think that will work properly:

         iface eth0 inet manual
               up [same as above]
               down kill $(< /var/run/dhclient.$IFACE.pid)
               down ifconfig $IFACE down

-- 
Kevin Buhr <buhr+debian@asaurus.net>


Reply to: