Disabling ppp0 from starting when running service network restart

by | Jul 2, 2008 | GNU/Linux, IT Tips | 0 comments

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 *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.