[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 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


Reply to: