LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-19-2008, 12:52 PM   #1
hawk_turner
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
FC9: sysconfig network files behavior


Hello,

I am little confused on how the network sysconfig files all work for FC9..

I edit the file located at /etc/sysconfig/network-scripts/ifcfg-eth0 and save it, but I notice two other files /etc/sysconfig/networking/devices/ifcfg-eth0 and /etc/sysconfig/networking/profiles/default/ifcfg-eth0 are also magically updated on the save of the one in network-scripts. I can also modify the other two and all are updated as well. How are these files getting updated? I thought it was a symbolic link, but doing ls -al doesn't show them pointing to anything. What is the purpose of having all of these files that are the same?

Also, my server has two NICs. How are they probed and labeled with eth0 and eth1? The server has printed labels Port 1, Port 2. It turns out Port 2 is mapped to eth0 and how can I ensure this always happens or change it if needed?

Thank you.
 
Old 05-20-2008, 07:07 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Hello and welcome to LQ. Hope you like it here.

The locations you mention are hard links, not symbolic ones and the purpose is system utilities expecting configurations in specific locations. Explanation of order is in /etc/init.d/network (at around line thirty: 'nl /etc/init.d/network|less') or do 'grep 'find all the interfaces besides loopback' -A 10 /etc/init.d/network'.
 
Old 05-20-2008, 08:05 AM   #3
hawk_turner
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you.

Last edited by hawk_turner; 05-21-2008 at 08:10 AM. Reason: my question doesn't belong on this thread.
 
Old 05-21-2008, 06:03 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Well, it seems waiting was too much for you and so you decided to crosspost this as a new thread. That's not how we like to see things done at LQ.
 
Old 05-21-2008, 08:09 AM   #5
hawk_turner
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hello,

Sorry. I didn't think that the question should have belonged on this thread, and i forgot to delete it from this thread. It felt more right to put with hardware in a general linux area since i thought it was more udev related. I shall remove post from this thread.
 
Old 05-21-2008, 08:21 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
OK, good one.
 
  


Reply

Tags
network, sysconfig



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
/etc/sysconfig/network quesion mokku Linux - Newbie 5 03-13-2008 09:35 AM
Gateway ip address removed from /etc/sysconfig/network files ehedetniem Linux - Newbie 2 04-12-2005 10:29 AM
/etc/sysconfig/network does not exist! Lechium Linux - Newbie 1 06-21-2004 05:18 PM
Creation of files in /etc/sysconfig rajatgarg Linux - General 1 10-09-2003 11:10 AM
/etc/sysconfig/network ssrikant Linux - Software 1 05-18-2003 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration