Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 19/20 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd September 2007, 04:07 PM
XMAG Offline
Registered User
 
Join Date: Sep 2007
Posts: 91
How to delay a service starting (DSL not working on startup)

Hi,

I live in Brazil and most of us use a DSL connection, I got it to work alright with my Fedora 7 but I can't get it to start when I turn on the computer. During boot screen it takes a while to be activates (if you jeep an eye on it when "showing details"), Fedora thinks it does, as it says [OK] but when the computer fully starts the internet is not available, I have to deactivate and activate it again through system>administration>network to make it work...

So I was thinking... is there a way of delaying the activation so it only activates when I log into my account or something? Other suggestions are welcome.

Thanks!
Reply With Quote
  #2  
Old 3rd September 2007, 04:20 PM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 39
Posts: 4,175
for your eth0 device uncheck the box to start on boot
Edit: see if you have the same option for the ppp0 device


or

chkconfig network off 5

then place a scipt on your desktop to start the network service

Code:
#!/bin/bash

chk_root () {

  if [ ! $( id -u ) -eq 0 ]; then
    echo "Please enter root's password."
    exec su -c "${0} ${CMDLN_ARGS}" # Call this prog as root
    exit ${?}  # sice we're 'execing' above, we wont reach this exit
               # unless something goes wrong.
  fi

}

chk_root 

/sbin/service network restart
also make it executable with
chmod 755 <script name>
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?

Last edited by jim; 3rd September 2007 at 04:28 PM.
Reply With Quote
  #3  
Old 3rd September 2007, 04:24 PM
XMAG Offline
Registered User
 
Join Date: Sep 2007
Posts: 91
eth0 is working ok, the ppp0 (dsl device) is the one giving me troubles... I tried to make a launcher for that but i didn't have much success... how can i do it?
Reply With Quote
  #4  
Old 3rd September 2007, 04:27 PM
jim Offline
Retired Community Manager & Avid Drinker Of Suds
 
Join Date: Feb 2005
Location: Rochester NY
Age: 39
Posts: 4,175
see my post i modified it
__________________
Registered Linux User: #376813
Western NY
My linux site
Smolt Profile

please remember to say if you problem was solved

Did you get your id10t award today?
Reply With Quote
  #5  
Old 3rd September 2007, 11:03 PM
XMAG Offline
Registered User
 
Join Date: Sep 2007
Posts: 91
sorry, I'm new to these things ... can I make a launcher with that? How exactly?

thanks
Reply With Quote
  #6  
Old 4th September 2007, 07:54 PM
XMAG Offline
Registered User
 
Join Date: Sep 2007
Posts: 91
.........?
Reply With Quote
  #7  
Old 5th September 2007, 01:09 AM
kilgoretrout Offline
Registered User
 
Join Date: Aug 2007
Location: Chicago, IL
Posts: 20
Try adding this line to the end of /etc/rc.d/rc.local:

Code:
/sbin/service network restart
rc.local is the last init script to run, it runs with root privileges, and it runs every time you boot so restarting your network there should have the desired effect of restarting your network after certain problems in hardware detection/initialization have been ironed out earlier in the boot process.
Reply With Quote
Reply

Tags
delay, dsl, service, starting, startup, working

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Delay yum updates at startup MuadNu Using Fedora 3 5th April 2009 11:42 PM
huge delay starting application Jupp Using Fedora 2 9th September 2007 04:06 PM
sendmail startup delay problem neo_in_matrix Servers & Networking 4 17th June 2007 02:37 AM
Running mldonkey as a service, service does not startup Dhana Servers & Networking 2 14th August 2006 04:43 AM


Current GMT-time: 09:07 (Saturday, 26-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat