Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #202763

Re: Still unable to restart networking on Debian 9 text mode only

From Rob van der Putten <rob@sput.nl>
Newsgroups linux.debian.user
Subject Re: Still unable to restart networking on Debian 9 text mode only
Date 2018-11-25 17:30 +0100
Message-ID <wY5se-692-25@gated-at.bofh.it> (permalink)
References (1 earlier) <wXjnA-1dU-27@gated-at.bofh.it> <wXjnA-1dU-25@gated-at.bofh.it> <wXjxg-1hf-13@gated-at.bofh.it> <wXjGW-1kM-5@gated-at.bofh.it> <wXJUK-164-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi there


On 24/11/2018 18:25, Gary Dale wrote:

> Reco has already explained why this approach is incorrect.
> 
> My own two cents on the problem is that Interfaces is meant to define 
> how the network is brought up, not to change a running network. If you 
> want to change a running network, use ifconfig or ip to change the 
> address. e.g. ifconfig enp-s3 10.5.0.3 should work since all you are 
> changing is the ip address.

I found this out the 'hard' way;
Edit '/etc/network/interfaces', '( ifdown eth0 ; sleep 1 ; ifup eth0 ) 
&' used to work, even over SSH. But with Stretch this no longer works.
With Stretch, I even had to write a script to bring up the WAN (VLAN + 
PPPoE);
http://www.sput.nl/internet/xs4all/config.html

This doesn't bother me, but it does show that high level out of the box 
doesn't necessarily behave the way you might expect. In which case low 
level plus scripts works just fine.


Regards,
Rob

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Still unable to restart networking on Debian 9 text mode only Luciano Andress Martini <analistaunix@gmail.com> - 2018-11-23 13:40 +0100
  Re: Still unable to restart networking on Debian 9 text mode only Reco <recoverym4n@enotuniq.net> - 2018-11-23 13:50 +0100
    Re: Still unable to restart networking on Debian 9 text mode only Reco <recoverym4n@enotuniq.net> - 2018-11-23 14:50 +0100
  Re: Still unable to restart networking on Debian 9 text mode only Luciano Andress Martini <analistaunix@gmail.com> - 2018-11-23 14:10 +0100
    Re: Still unable to restart networking on Debian 9 text mode only Luciano Andress Martini <analistaunix@gmail.com> - 2018-11-23 14:20 +0100
      Re: Still unable to restart networking on Debian 9 text mode only Luciano Andress Martini <analistaunix@gmail.com> - 2018-11-23 14:30 +0100
        Re: Still unable to restart networking on Debian 9 text mode only Gary Dale <garyndp@gmail.com> - 2018-11-24 18:30 +0100
          Worked example, was Re: Still unable to restart networking on Debian  9 text mode only David Wright <deblis@lionunicorn.co.uk> - 2018-11-25 03:10 +0100
            Re: Worked example, was Re: Still unable to restart networking on  Debian 9 text mode only Gary Dale <garyndp@gmail.com> - 2018-11-25 03:40 +0100
              Re: Worked example, was Re: Still unable to restart networking on  Debian 9 text mode only David Wright <deblis@lionunicorn.co.uk> - 2018-11-25 16:20 +0100
                Re: Worked example, was Re: Still unable to restart networking on  Debian 9 text mode only Gary Dale <garyndp@gmail.com> - 2018-11-27 00:20 +0100
                Re: Worked example, was Re: Still unable to restart networking on  Debian 9 text mode only David Wright <deblis@lionunicorn.co.uk> - 2018-11-27 22:00 +0100
            Re: Worked example, was Re: Still unable to restart networking on  Debian 9 text mode only john doe <johndoe65534@mail.com> - 2018-11-25 07:40 +0100
              Re: Worked example, was Re: Still unable to restart networking on  Debian 9 text mode only David Wright <deblis@lionunicorn.co.uk> - 2018-11-25 17:00 +0100
          Re: Still unable to restart networking on Debian 9 text mode only Rob van der Putten <rob@sput.nl> - 2018-11-25 17:30 +0100
            Re: Still unable to restart networking on Debian 9 text mode only Luciano Andress Martini <analistaunix@gmail.com> - 2018-11-26 14:00 +0100
              Re: Still unable to restart networking on Debian 9 text mode only Gary Dale <garyndp@gmail.com> - 2018-11-27 00:40 +0100
                Re: Still unable to restart networking on Debian 9 text mode only David Wright <deblis@lionunicorn.co.uk> - 2018-11-27 22:10 +0100
  Re: Still unable to restart networking on Debian 9 text mode only Greg Wooledge <wooledg@eeg.ccf.org> - 2018-11-23 14:10 +0100
  Re: Still unable to restart networking on Debian 9 text mode only "Alexander V. Makartsev" <avbetev@gmail.com> - 2018-11-23 16:10 +0100

csiph-web