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

Re: Suspend DHCP if no cable



On 6/19/07, Jarek <jarek@poczta.srv.pl> wrote:
Hi all!

       Is it possible to configure networking in that way, that dhcp will not
be launched if there is no cable ?
I don't want to wait or Ctrl+C dhclient if there is no cable connected.


Use allow-hotplug in interfaces(5).

#cat /etc/network/interfaces

auto lo
iface eth1 inet dhcp
iface ath0 inet dhcp
iface lo inet loopback
allow-hotplug eth1
allow-hotplug ath0



Reply to: