Start eth0 on boot


Hey all, while checking some setups from my Linux CentOS 6, it came to my mind how boring is to remember simple steps to start my eth0 so I can access my machine remotely.

To do that simply start the service as root first

ifup eth0

Once you have your network working edit the ifcfg-eth0 file located on /etc/sysconfig/network-scripts (note that this path may change in different Linux distributions)

Change the ONBOOT=înoî to ONBOOT=îyesî

restart the system and itís done.

Obs. It should work with any eth*.