LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2015, 09:29 AM   #1
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,032

Rep: Reputation: 76
man pages for ifcfg-eth0


My question is slightly idiotic, so I'll tolerate the criticism, but I'd like to know where exactly in linux I could find any specific information about the scripts under /etc/sysconfig/network-scripts, particularly for ifcfg-eth0. Of course I can always find it on the internet, but I'd like to count as much as possible on the linux resources. For instance, I can always check out the manual pages for named.conf. There should be something similar for the network-scripts in Centos and other configuration files, too, right?
 
Old 12-22-2015, 09:54 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Try
Code:
man -k network
and have a look.
 
Old 12-22-2015, 10:48 AM   #3
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,032

Original Poster
Rep: Reputation: 76
Quote:
Originally Posted by Habitual View Post
Try
Code:
man -k network
and have a look.
Thanks! Nice "trick". This is going to be useful. I had known about the 'k' option, but I completely forgot about it and its use.
 
Old 12-22-2015, 10:53 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Glad you like it!
 
Old 12-22-2015, 11:21 AM   #5
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,032

Original Poster
Rep: Reputation: 76
I got a little bit ahead of myself. Indeed, the command provides a lot of useful information, including about NetworkMananger.conf, but useful as it is, I can't find any keywords pointing to the network-scripts. Any other ideas?

It seems strange that this kind of information is so readily available on the redhat site, but I'm not able to find it on the OS itself. Some programs come with samples (like bind, as I was saying, or openvpn, etc.) found under /usr/share/doc/[bind-9.9.4], etc.
 
Old 12-22-2015, 11:38 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Have a look around https://wiki.centos.org/
 
Old 12-22-2015, 12:00 PM   #7
vincix
Senior Member
 
Registered: Feb 2011
Distribution: Ubuntu, Centos
Posts: 1,032

Original Poster
Rep: Reputation: 76
That's a little bit broad, to say the least.

I eventually found out the answer. It's the ifup script. In its manual I can find a path to /usr/share/doc/initscripts-*/sysconfig.txt. And then I found several samples in /usr/share/doc/initscripts-9.49.30/examples/networking. For anyone else interested, several files can be found, such as ifcfg-bridge, ifcfg-eth-alias, ifcfg-eth-dhcp

Thanks!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ifcfg eth0 is not up sachin.davra Linux - Newbie 2 08-04-2014 04:55 AM
I deleted the Eth0 configuration information from vim ifcfg eth0. How to retrieve it? godwin.a Linux - Newbie 1 02-08-2014 02:58 AM
[SOLVED] Network eth0 activated upon boot in ifcfg-eth0; but no network connection after login TomRaaijmakers Linux - Networking 1 06-17-2010 08:29 AM
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 03:25 PM
eth0 not coming up at bootup even when configured in ifcfg-eth0 djcham Linux - Networking 1 12-04-2006 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration