Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.