Configure eth0 to auto configure everytime it reboots

Check if the script is there:
$ cat /etc/sysconfig/network-scripts/ifcfg-eth0

It should be there! If its not, then idk. :O

Depending on which network adaptor you want to auto connect,
if its eth0 then its /etc/sysconfig/network-scripts/ifcfg-eth0
if its eth1 then its /etc/sysconfig/network-scripts/ifcfg-eth1


Yeap! 

after you cat the file, you should see something like:
DEVICE=eth0
HWADDR=__________________
TYPE=Ethernet
UUID=_______________________________
ONBOOT=no
NM_CONTROLLED=yes
BOOTPROTO=dhcp

Go in and use vi edit the :
ONBOOT=no
to
ONBOOT=yes

You may use other editors too, if you dont like vi.

reboot and test that it works!

Comments