Disabling ppp0 from starting when running service network restart

Written by James McDonald

July 2, 2008

I am configuring a CentOS 5.2 box to act as a gateway. After doing the initial configuration I want the ADSL connection that I configured not to try and start when doing a /etc/rc.d/init.d/network restart or service network restart.

This may seem like a no brainer but I’m posting it because it wasn’t obvious to me.

The answer:

Edit the ifcfg-ppp0 file and change the ONBOOT parameter to no. Which means the network script will skip it.

vi /etc/sysconfig/network-scripts/ifcfg-ppp0
ONBOOT=no

This was done on:
lsb_release -d
Description: CentOS release 5.2 (Final)

0 Comments

Submit a Comment

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

You May Also Like…

How to Research a CPU Upgrade

How to Research a CPU Upgrade

Upgrade Time! Doing a lot of VMWare Workstation virtualization to create labs for self-study and training. Finding...