Solved

how to disable ppp0 bringing up interface while booting

Posted on 2009-04-09
6
469 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 500 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

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

Assisted Solution

by:mchkorg
mchkorg earned 500 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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WordPress: Debugging from my Windows 10 Desktop 6 99
postfix start error! 9 86
Fuzzy search functionality DB2 UDB 3 64
simple bash script needed to unpack tar.gz 4 63
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

752 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