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. 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.

You May Also Like…

Clear HSTS Settings in CHrome

Open chrome://net-internals/#hsts enter the domain in the query field and click Query to confirm it has HSTS settings...

Ubuntu on Hyper-v

It boils town to installing linux-azure # as root or sudo apt-get update apt-get install linux-azure...