Re: NetworkManager down eno2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

_______________________________________________
test mailing list -- test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to test-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/test@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux