On CentOS I no longer have a
ifcfg-eth0 configuration file (I deleted it). When I run
system-configure-network it shows no interfaces that I can edit. How can I recreate the
ifcfg-eth0 configuration file? (Like the CentOS installer does)
I can manually do a:
ifconfig eth0 192.168.0.199 and then a
ping 192.168.0.1. But that's not the proper way. How can I do it using the CentOS network scripts?
I prefer not to do this by hand as there are many hardlinks and confusing stuff. I am new to CentOS.