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

Re: /etc/init.d/networking does not start everything in /etc/network/interfaces



On Wednesday 18 May 2016 11:01:39 tomas@tuxteam.de wrote:

> On Wed, May 18, 2016 at 10:56:01AM -0400, Gene Heskett wrote:
> > On Wednesday 18 May 2016 07:31:34 Lisi Reisz wrote:
> > > On Tuesday 17 May 2016 18:29:36 Elimar Riesebieter wrote:
> > > > * Gilles Mocellin <gilles.mocellin@nuagelibre.org> [2016-05-17
> > > > 19:09
> >
> > +0200]:
> > > > > Le 17/05/2016 à 14:34, Mimiko a écrit :
> > > > > > On 17.05.2016 15:16, Elimar Riesebieter wrote:
> > > > > > > Ask your search engine: "init.d/networking restart is
> > > > > > > deprecated"
> > > > > >
> > > > > > This was the only tool to fully restart all networking even
> > > > > > the interface thru which connection is made.
> > > > > > Are the `ifdown eth & ifup eth` the only option now?
> > > > >
> > > > > Just to add these commands in that thread.
> > > > >
> > > > > To restart all the interfaces as they are defined in
> > > > > /etc/network/interfaces, I do :
> > > > >
> > > > > # ifdown -a; ifup -a
> > > >
> > > > /etc/init.d/networking stop does ifdown -a
> > > > /etc/init.d/networking start does ifup -a
> > >
> > > But
> > > # ifdown -a; ifup -a
> > > is much more elegant!!
> > >
> > > Lisi
> >
> > If it worked, but no one, including me, has found where the database
> > of devices the -a is supposed to manage.  Apparently this is written
> > at boot time. And I have no reason to reboot.
>
> I think this has been mentioned in this thread already: -a does
> *exactly* those devices tagged as "auto" in /etc/network/interfaces.
>
> So that should be the database you're looking for? Try, for starters
>
>   grep auto /etc/network/interfaces

auto lo eth0 eth1

Its there in the complete interfaces file I just posted, and you snipped.

> But perhaps I'm missing something.
>
> Regards
> -- tomás


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: