On Tue, Nov 21, 2017 at 05:34:15PM -0500, Steve Litt wrote:
> On Mon, 20 Nov 2017 22:55:36 -0500
> Hendrik Boom <hendrik@???> wrote:
>
> > On Tue, Nov 21, 2017 at 05:53:49PM +0100, Jaromil wrote:
> > >
> > > nono, as I wrote: that script doesn't works anymore, if ran on a
> > > freshly debootstrapped version of Debian 9. It seemed that rc.local
> > > wasn't executed anymore. But there is some confusion, since both
> > > brctl and ifconfig are legitimately deprecated. Assuming you have
> > > done better checking, then the failure may be caused by them
> > > bailing out.
> >
> > ifconfig is deprecated? What is to be used instead?
>
> A program called ip. It has commands such as ip route, ip addr, ip
> link, and several others. It's confusing and underdocumented, but so is
> ifconfig (which I never even began to master).
I've never mastered ifconfig either. But I've noticed that the
simple command
ifconfig
tells me what interfaces are up at the moment and the packet counts
tell me whether they are actually functioning.
It's a very simple way to diagnose the most common netweok
conectivity of all.
-- hendrik