Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to disable ppp0 bringing up interface while booting

Posted on 2009-04-09
6
Medium Priority
?
475 Views
Last Modified: 2013-12-16
hi all how can I disable bringing up  interface ppp0  while booting
0
Comment
Question by:hatem_from_mesr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:Thomas Wheeler
ID: 24113830
what distro
0
 
LVL 7

Accepted Solution

by:
mchkorg earned 2000 total points
ID: 24114034
Depending on the distribution

Example:
- Edit /etc/network/interfaces
- Remove "auto ppp0", the configuration for this interface will remain, but it won't activate automatcally, you'll have to "ifup ppp0" later.

If you can't find this file (because it might be somewhere else depending on your distribution), you can't try to discover it by yourself.
Try:
cd /etc
grep -ri "auto ppp0" *
This is a bit dirty, but you might get results
If you don't get it, it'll look for "auto ppp0" in all your conf files.
0
 

Author Comment

by:hatem_from_mesr
ID: 24115201
hi mchkorg,
thanks for reply
I'm facing this situation
I deleted ifcfg-ppp0, ifup ppp, if down ppp
is this enough please guide me
[root@localhost etc]# cd /etc/sysconfig/network-scripts
[root@localhost network-scripts]# ls
ifcfg-eth0
ifdown-ipv6
ifup
ifup-ipx
ifup-tunnel
ifcfg-lo    
ifdown-isdn
ifup-aliases
ifup-isdn
ifup-wireless
ifdown
ifdown-post
ifup-bnep
ifup-plip
init.ipv6-global
ifdown-bnep  
ifdown-routes  
ifup-eth      
ifup-plusb  
net.hotplug
ifdown-eth    
ifdown-sit    
ifup-ippp    
ifup-post  
network-functions
ifdown-ippp  
ifdown-sl      
ifup-ipsec    
ifup-sit    
network-functions-ipv6
ifdown-ipsec  
ifdown-tunnel  
ifup-ipv6    
ifup-sl
[root@localhost network-scripts]#
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 

Author Comment

by:hatem_from_mesr
ID: 24115258
airtop,
distro is: centos 5
0
 
LVL 7

Assisted Solution

by:mchkorg
mchkorg earned 2000 total points
ID: 24115346
Hi
I think you shouldn't have deleted it... hope you have a backup

On a redhat-based distro, I guess you should have modified the file instead
- Edit /etc/sysconfig/network-scripts/ifcfg-ppp0
- Modify the following value : ONBOOT=yes to ONBOOT=no

Then, either you reboot and check ppp0 is down after reboot, either you simply disable it with "ifdown ppp0" (anyway, you should check your modification remains OK after reboot)

Sorry, redhat-based distros aren't the ones I know better :)
0
 

Author Closing Comment

by:hatem_from_mesr
ID: 31568831
thanks man
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question