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

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


Submit a Comment

Your email address will not be published.

You May Also Like…