RTNETLINK answers: Device or resource busy

I was trying to create a new instance of a network interface to set DNS Server configuration on it. When I run this command:

ip link set enp1s0 name ens33 && ip link set ens33 up

then terminal will give me this message:

RTNETLINK answers: Device or resource busy

2 Answers

set the interface down before renaming , Try below

ip link set down enp1s0 && ip link set enp1s0 name ens33 && ip link set up ens33 

Now if config will show interface with name ens33

Try turning off your networking settings

nmcli networking off

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like