LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-05-2006, 01:30 AM   #1
ldiaz
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Rep: Reputation: 0
red hat 3 Ent...network text config


HI,
with red hat I know how to change and save network config with the graphical interface, but in remote ssh access, I must tell the system to save the config and activate the eth0 on reboot. In which file must I do this?
Thanks
Luis
 
Old 04-05-2006, 04:46 AM   #2
lurker79
Member
 
Registered: Jan 2005
Location: UK
Posts: 55

Rep: Reputation: 16
The network configuration is setup in the files below /etc/sysconfig/network-scripts
the file you will want to edit for eth0 is ifcfg-eth0
alternatively for simple comfigurations from a commandline you can use netconfig
 
Old 04-05-2006, 05:47 AM   #3
ldiaz
LQ Newbie
 
Registered: Apr 2006
Posts: 12

Original Poster
Rep: Reputation: 0
ifcfg-eth0

Hi,
ok so the file is this :
DEVICE=eth0
BOOTPROTO=none
BROADCAST=217.13.255.255
IPADDR=217.13.120.166
NETMASK=255.255.0.0
NETWORK=217.13.0.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
GATEWAY=217.13.120.129

I beleave the tag ONBOOT=yes is that the eth0 device is activated on boot?
Thanks a lot
Luis
 
Old 04-05-2006, 10:09 AM   #4
lurker79
Member
 
Registered: Jan 2005
Location: UK
Posts: 55

Rep: Reputation: 16
yes
ONBOOT=yes
means it will activate that interface on boot
 
  


Reply



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
Red Hat Ent. Linux "AS"/"ES" wardialer Linux - Newbie 7 02-11-2011 06:39 AM
[Red Hat] installing X in text mode!??!?! djkoe Linux - Software 1 06-24-2004 12:06 AM
Japanese Text in Red Hat 9? ikiceman Linux - Newbie 4 01-28-2004 10:32 PM
Red Hat 9.0 Network config.. w0rtez Linux - Networking 2 08-14-2003 07:21 PM
Red Hat 9.0 Boot Text Problem cyclump Linux - Newbie 2 05-14-2003 08:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:55 PM.

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