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


Groups > linux.debian.user > #202735

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

From "Alexander V. Makartsev" <avbetev@gmail.com>
Newsgroups linux.debian.user
Subject Re: Still unable to restart networking on Debian 9 text mode only
Date 2018-11-23 16:10 +0100
Message-ID <wXlfH-2pe-7@gated-at.bofh.it> (permalink)
References <wXiUz-Nd-47@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 23.11.2018 17:31, Luciano Andress Martini wrote:
> Good morning,
>
> IMPORTANT: Network Manager was not being installed automatically by
> the Debian DVD when I do not mark the graphical interface.
>
> I tried a fresh Debian install without graphical interface but using
> the graphical installator I am running Debian 9.6.
>
> Then I edited /etc/network/interfaces and restart the system, to see
> if the ip was changed. And yes, it worked. So this file is still being
> used in some way - humm that seems to be the correct place to
> configure my interface isn't?
>
> Well, I edited it again, now to try change the ip but without
> restarting the system - like in all servers real situation, you don't
> want to go after the server. 
If you have NetworkManager installed and connection was already setup
and working, this task is accomplished by only 2 commands:
    # nmcli con mod "MyConnectionName" ipv4.addresses "10.0.0.5/24"
    # nmcli con up "MyConnectionName"
That's it. After that your ip address will be set to "10.0.0.5". No need
to take your interface down, restart networking or reboot system. And of
course this method works over ssh connection.
Any information about connection names, available configurable
properties, etc could be done via nmcli with bash auto-complete being a
convenient helper.

NM is great. I really don't understand why people think it's only for
systems with GUI and hate it, while having trouble with editing /e/n/i
for anything more complex than changing ip address.

-- 
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀ 
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀⠀⠀⠀ 

Back to linux.debian.user | Previous | Next — Previous 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