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


Groups > linux.debian.user > #202712

Still unable to restart networking on Debian 9 text mode only

Path csiph.com!news.mixmin.net!news.unit0.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod
From Luciano Andress Martini <analistaunix@gmail.com>
Newsgroups linux.debian.user
Subject Still unable to restart networking on Debian 9 text mode only
Date Fri, 23 Nov 2018 13:30:02 +0100
Message-ID <wXiKS-Js-13@gated-at.bofh.it> (permalink)
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Fri Nov 23 12:27:08 2018
Old-Return-Path <analistaunix@gmail.com>
X-Amavis-Spam-Status No, score=-1.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DIGITS_LETTERS=1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no autolearn_force=no
X-Policyd-Weight DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmail. - helo: .mail-lf1-x12f.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=yL/PrIhW+nYUXGV2weMMijaUnB49rM6iGByVFflcVx4=; b=n9GjsELn16clm7gyuOk19ZlOvp/0UySF/g/05Q9uZHrF82+kVX8sjpjd0cZgKm4NE0 mOu2E9ZW67IAB0I4VSAlSjUMb+Q2ieBM05jYJhhf8aIdpXF750puuTf1zryVPDeCRwkW 6/fnqoT1+yb+BfpAncm467Gao09tGn8nTY6VoWFmEOuFdkhEmj/i3zjlgNkIkEJKdQjT ZAwkCFcabLajPo1zwm5FVHRqRr9BaxTCT3bZs1ylTWOGbPzG0EBrQ3mrUREJ/jLQgp/d DI5XSPs2m236VUyXn7WVW1nXoaQvMCKzmPc4TUZByRoKMGdwbodopNC0Gv7FxX3+uhnf izkA==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=yL/PrIhW+nYUXGV2weMMijaUnB49rM6iGByVFflcVx4=; b=kKXzrlciOdKnHD1PYLwwmhiU3yjWrM5fpv0SdhKOhKBYzjRseo7JzN7xlyLy1Fc0a2 n2VHMKQDQztfj0ONAIjS0JQ0dLTSdn2AgLUmcCT5Vy77BBvF257y9P0O8XistzEmYXtt TnGh7FX/mlIx6X+/ceCjISCcLYqCXglvC007YpaXqAvmYyzODDmlkSvU99lR+LR19CYn l6L0s9VIGWX5woliDZZaEb87Lm8cv3YvJYRFbgveULUsv/d8h+3XEb6+XCiBr6R766kr 8pVmKziT6EyoKQGwtCrMsYnkBkIE698bXq9yNArsTCa9L7nI1I/ekUKk5wtn2VxPVG9v 2vDw==
X-Gm-Message-State AGRZ1gLEXVdq19lgJJ9X2C2cIYJAKdpZY7HSrRJVgCnfMwCkYoD5AI5f WWpPpFCJiRkW1fxL87ZpX1Q7nAhUHQWdXucSyPc88tTi10E=
X-Google-SMTP-Source AJdET5dd7oWPOpwCYln5QMvfm08qYDVT7Eyb9M1TPcGBkd61Yc/kGe6XS9jbjajvf0YR+CdFCgQG0NsMvEO/JrqP/bE=
X-Received by 2002:a19:6a13:: with SMTP id u19mr8832461lfu.46.1542975054769; Fri, 23 Nov 2018 04:10:54 -0800 (PST)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Mailing-List <debian-user@lists.debian.org> archive/latest/742676
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/CAHXDRdFKpWF-yGx7VQX1EQZ+Sm-SKVpSc+Nh-if2-K83pDo8nw@mail.gmail.com
Approved robomod@news.nic.it
Lines 57
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 23 Nov 2018 10:10:43 -0200
X-Original-Message-ID <CAHXDRdFKpWF-yGx7VQX1EQZ+Sm-SKVpSc+Nh-if2-K83pDo8nw@mail.gmail.com>
Xref csiph.com linux.debian.user:202712

Show key headers only | View raw


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. First of all I tried all this solutions:

#systemctl daemon-reload
(nothing happens ip didnt change)

#systemctl networking restart
(the ip did not change and the connection breaks you need to go
phisicial and ip address shows the same ip configured)

#nmcli connection reload
nmcli connection reload The program 'nmcli' is currently not installed.
You can install it by typing: apt install network-manager
nmcli: command not found.
(my comment: well it seems NetworkManager was not installed is that right?)

# nmtui
The program 'nmtui' is currently not installed.  You can install it by typing:
apt install network-manager
nmtui: command not found

The solution that i found is this (but i think that is not a real solution):

ip address delete theoldip/mask dev enp0s3
ifdown enp0s3
ifup enp0s3

But if for example i do it partially, it does not work... for example:

ip address delete theoldip/mask dev enp0s3
ifup enp0s3
The interface is already... blabla

ifdown enp0s3
ifup enp0s3
(a new ip is added to the interface, but now two ips are configured
and the network is broken again)

Is that a bug?


-- 
Luciano Andress Martini - Analista UNIX

Back to linux.debian.user | Previous | Next | 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:30 +0100

csiph-web