On 2020-04-26 14:22, Samuel Sieb wrote:
On 4/26/20 2:07 PM, ToddAndMargo via test wrote:
> Fedora 32
>
> ifup/ifdown warns me it is about to be depreciated and
> to use NetworkManager instead.
>
> Question:
>
> Why does
> # /usr/sbin/NetworkManager down eno2
>
> not disconnect me, but
> # nmcli dev disconnect eno2
You don't call "NetworkManager" directly, that's what "nmcli"
is for.
Also, if you remove the "network-scripts" package you will get
"ifup/down" commands from NetworkManager which work and won't give you
that warning.
No joy
# dnf remove NetworkManager
Dependencies resolved.
...
Complete!
# which ifup
/usr/sbin/ifup
# ifup eno2
WARN : [ifup] You are using 'ifup' script provided by
'network-scripts', which are now deprecated.
WARN : [ifup] 'network-scripts' will be removed from distribution
in near future.
WARN : [ifup] It is advised to switch to 'NetworkManager' instead -
it provides 'ifup/ifdown' scripts as well.
Determining IP information for eno2... done.