Re: hotplug and ifup
At Sat, 20 Mar 2004 01:05:51 -0800,
Matt Zimmerman wrote:
> > On Fri, Mar 19, 2004 at 12:23:19PM -0800, Matt Zimmerman wrote:
> > > In other words, the default is for the interface to be left alone, unless
> > > the user explicitly configures it to be hotplugged? I suppose this is
> > > safest for now, but it would be nice if 'auto' applied.
> > auto means "bring the interface up on boot"; that's not the same as "bring
> > the interface up hotplug event". So I don't think that idea's feasible.
> In an ideal world (and perhaps mostly in a future reality), most network
> devices will be automatically detected and have their driver loaded by
> hotplug, as the normal mode of operation. It would be nice if ifupdown
> integrated well with such a setup.
For the latest version of hotplug, it finds pci devices at boot time,
so if you configure to use "mapping hotplug" in /etc/network/interfaces,
/etc/rcS.d/S39hotplug will load kernel drivers and will bring network
interfaces up wifh "ifup ethN=hotplug". In this case, you don't need "auto"
mark in /etc/network/interfaces to up the network interface at boot time.