NetworkManager release config

Issues related to configuring your network
Post Reply
jasan19966
Posts: 1
Joined: 2017/03/29 10:08:57

NetworkManager release config

Post by jasan19966 » 2017/03/29 10:23:01

I have a startup script that configures the network interfaces, but, when the time past, all the network config disappears
I need using the script and not using the /etc/sysconfig/network-scripts files, because the scripts creates de networks depending of the lines of a text file.

How i can stop CentOS releasing my network config?

PD:Sorry for my english :lol:

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: NetworkManager release config

Post by TrevorH » 2017/03/29 10:40:44

There are two supported ways to get your network set up: one is to use the network service and the other is to use NetworkManager. You're not using either and need to be.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: NetworkManager release config

Post by jlehtone » 2017/03/29 12:33:45

The network service "creates networks depending of the lines of text files".
The NetworkManager "creates networks depending of the lines of text files".

Furthermore, both of the above tend to "create networks" depending on DHCP and what does the DHCP server hand out? Lines of text file.


Convert the information of your text file into one of the supported configuration methods.

Post Reply