LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   After changing network configuration, why eth0 turn to inaction ? (https://www.linuxquestions.org/questions/linux-networking-3/after-changing-network-configuration-why-eth0-turn-to-inaction-765692/)

kenneth2078 10-30-2009 08:21 PM

After changing network configuration, why eth0 turn to inaction ?
 
After changing network configuration,for example Ip address,etc. however,the eth0 can not start up with the my Feroda booting ? it's fine before the change.

what can i do to let eth0 start up with the system power up?

reickler 10-31-2009 12:32 AM

You need to modify /etc/sysconfig/network-scripts/ifcfg-eth0 to make the configuration persistent. The file should look similar to the following (where IPADDR and NETMASK are changed to match your configuation):

DEVICE=eth0
BOOTPROTO=static
IPADDR=192.168.0.100
NETMASK=255.255.255.0
ONBOOT=yes


All times are GMT -5. The time now is 08:30 PM.