Automatically start the network eth0 in linux
login as root
cd /etc/sysconfig/network-scripts
vi ifcfg-eth0
DEVICE="eth0"
BOOTPROTO=dhcp
NM_CONTROLLED="yes"
ONBOOT="yes"
TYPE="Ethernet"
UUID=
DEFROUTE=yes
IPV4_FAILURE_FATAL=yes
IPV6INIT=no
NAME=eth0
HWADDR=
PEERDNS=yes
PEERROUTES=yes
Comments