I can't seem to find a way to do this in CentOS 7 with Network Manager enabled. Checking to see if anybody has an idea. Here is the scenario:
I have SW that requires the front Ethernet connection (enp2s0) be up in order to properly start. It will patiently wait forever until the device shows it as UP. I have a static IP address on the interface, but there is not always a cable present as the machine might be mobile. Is there a way to keep the device as UP with the static IP address even if a cable is not present? I need to keep NetworkManager enabled for this interface for some scripting purposes.
Thanks for any direction. I have looked around and can't seem to find a way to keep it up (can be with NO-CARRIER, but the state needs to be UP.
Running CentOS Linux release 7.5.1804 (Core).
Thanks!
Way to keep device up with no cable attached?
Re: Way to keep device up with no cable attached?
I believe you need to install NetworkManager-config-server package to achieve this.
-
- Posts: 43
- Joined: 2011/03/21 20:14:27
Re: Way to keep device up with no cable attached?
Thanks for the pointer - looking at this now.