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


Groups > linux.debian.user > #202794

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

From Gary Dale <garyndp@gmail.com>
Newsgroups linux.debian.user
Subject Re: Still unable to restart networking on Debian 9 text mode only
Date 2018-11-27 00:40 +0100
Message-ID <wYyDT-7K7-1@gated-at.bofh.it> (permalink)
References (3 earlier) <wXjxg-1hf-13@gated-at.bofh.it> <wXjGW-1kM-5@gated-at.bofh.it> <wXJUK-164-9@gated-at.bofh.it> <wY5se-692-25@gated-at.bofh.it> <wYoEx-1ip-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2018-11-26 7:57 a.m., Luciano Andress Martini wrote:
> Good morning Rob,
> Your message is what i am expecting to receive...
>
> Please don't judge me if you are a dedicated developer of Debian. I
> love and I am using it since the first versions, but I never come to
> this list because I am not welcome in groups in my life, and will be
> no different here. And i promisse I you get out from here the faster
> as I can, I just can't believe what you are doing to Debian...
>
> In older Debian versions, I am able to just do this:
> #vi /etc/network/interfaces
> #at 20:00
>> ifdown eth0
>> sleep 10
>> ifup eth0
> CTRL+D
>
> Debian must have a option during the installation a option like
> "Legacy mode"  that install sysvinit, net-tools, and etc this will
> make everyone here happy.
>
> Best regards and thank you for freely supporting me.
> Now, im just gone.
>
sysvinit is going the way of the dodo. I have nothing against it 
personally but some things deserve a dignified retirement. Being able to 
configure things with a few declarative files and standard commands is 
simply a better way to run an operating system.

Your example suggests that you want to change the ip address "after 
hours". You can still do the same thing pretty much the same way. If you 
are using the interfaces file, I don't see why your example won't work 
as is.

In my case, I can simply change the ip address in 
/etc/systemd/network/Management.network then instead of all the commands 
you want to run, just do systemctl restart systemd-networkd. Again, you 
can put that into an ad hoc script to run with "at" if you want.

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