LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-28-2007, 11:43 AM   #1
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Configure network IP via CLI?


In FC6, what file contains the network configuration? In Slackware it was something like /etc/rc.d/rc.inetd.conf. I know I can configure it using ifconfig, but I'd like to know what the actual config file(s) are.
 
Old 02-28-2007, 12:02 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by SlowCoder
In FC6, what file contains the network configuration? In Slackware it was something like /etc/rc.d/rc.inetd.conf. I know I can configure it using ifconfig, but I'd like to know what the actual config file(s) are.
assuming things haven't changed since the RH9 days, each interface has it's own config file:
Code:
/etc/sysconfig/network-scripts/ifcfg-<interface>
for example, the configuration for eth0 would be:
Code:
/etc/sysconfig/network-scripts/ifcfg-eth0
once again, this assumes things haven't changed since RH9... oh, and IIRC the gateway is set in the /etc/sysconfig/network file...

Last edited by win32sux; 02-28-2007 at 12:07 PM.
 
  


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
LXer: CLI Magic: Zip your files across the network with Woof LXer Syndicated Linux News 0 02-12-2007 10:03 AM
Network driver not avaiable anywhere to configure network on hp pavilion dv6000 Nitin Bhumkar Linux - Laptop and Netbook 1 01-18-2007 08:50 PM
LXer: CLI Magic: Use top to monitor PCs across a network LXer Syndicated Linux News 0 01-31-2006 06:16 AM
can only change network with GUI, not CLI learnfast Linux - Newbie 2 05-03-2005 06:30 AM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 10:45 AM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration