Finally found docs for ifcfg-em1 and friends

All of redhat derived systems I’ve ever used store network configuration in /etc/sysconfig/network-scripts and use the ifup and ifdown commands to start and stop interfaces. Fine. I can’t tell you how many times over the years, though, I’ve tried to look up the options I can put in those files. I’ve never found anything in the man pages nor in the info pages either. I’ve always just fallen back on using Google to find examples to crib.

Well, I’ve been working with CentOS systems for a few months now and I like them and there’s no end in sight, so this mystery has become a bit more of a problem for me. Today I discovered that, completely ignoring the convention of writing man pages for unix systems, the authors of the initscripts package have placed the options for the many /etc/sysconfig/* files here:

/usr/share/doc/initscripts-9.03.38/sysconfig.txt

Of particular note is the section about /etc/sysconfig/network-scripts, in which they list and discuss all the options for an ifcfg-{whatever} config file.

Grrrr….

Leave a Reply

You must be logged in to post a comment.