Re: /etc/init.d/networking does not start everything in /etc/network/interfaces
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
But perhaps I'm missing something.
Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlc8g9MACgkQBcgs9XrR2kY8UwCfdl9wJVODB45RkloTNDWakQVj
agoAnREM5FBay+Ao4MRsRGQlBgXlw2DQ
=WDBa
-----END PGP SIGNATURE-----
Reply to: