formats

Start eth0 at boot Red Hat | CentOS

Published on July 19, 2012, by + in linux, sysadmin.


To have eth0 start at boot, edit the following file:

$ sudo nano /etc/sysconfig/network-scripts/ifcfg-eth0


Change ONBOOT to “yes”

DEVICE="eth0"
BOOTPROTO="dhcp"
HWADDR="08:00:27:CE:54:D9"
NM_CONTROLLED="yes"
ONBOOT="yes"




Done!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Home linux Start eth0 at boot Red Hat | CentOS