LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-15-2005, 06:49 AM   #1
pymehta
Member
 
Registered: Jan 2004
Posts: 54

Rep: Reputation: 15
Question Delay due to DHCP in boot


Hello,

I am facing a strange problem with DHCP. At the boot time, the DHCP takes more then 30 secs to determine IP address when network service is starting up. However, after booting, I am able to stop and then start network service in couple of seconds. Any idea what might be causing this delay (Which almost doubles the boot time)?

TIA
 
Old 09-15-2005, 06:57 AM   #2
calmofthestorm
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Try this: Check how long it takcs for DHCP to stop on its own when the cable is not connected vs. when it is, that may tell us something. If you don't need internet you can hit CTRL+C while the daemon is starting to abort. I know it takes my Deb system 30-45 seconds to boot DHCP if there is no connection available (I removed it from initscripts since I'm on a laptop, and just start it manually), but it's up in a couple seconds if there is one.

Another thought would be for you to either do it manually on startup or on login. A possible fix would be to move DHCP later in the initscripts. If you could give more details on distro & hardware it might help me/others help you more.

Just this n00b's two cents,
Alex
 
Old 09-15-2005, 08:08 AM   #3
pymehta
Member
 
Registered: Jan 2004
Posts: 54

Original Poster
Rep: Reputation: 15
>Try this: Check how long it takcs for DHCP to stop on its own when the cable is not connected vs. when it is, that may tell >us something. If you don't need internet you can hit CTRL+C while the daemon is starting to abort. I know it takes my >Deb system 30-45 seconds to boot DHCP if there is no connection available (I removed it from initscripts since I'm on a >laptop, and just start it manually), but it's up in a couple seconds if there is one.
With cable removed, network service throws an error without taking much time. Just to make clear, I am not trying to start dhcp server service, but rather using dhcp for configuring network on my machine as client.


>Another thought would be for you to either do it manually on startup or on login. A possible fix would be to move DHCP >later in the initscripts. If you could give more details on distro & hardware it might help me/others help you more.

I have tried moving network service later in the order, It did not help.
I am using Fedora core 4

>Just this n00b's two cents,
>Alex

Thanks.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot Delay DHCPCD Kelman Linux - Wireless Networking 5 10-13-2005 04:23 PM
Dual Boot Delay Time = 0 Raggit Linux - General 3 01-26-2005 09:25 AM
Error USB-HUC on booting due in mdk10 due to mx700 Boudewijn Mandriva 4 10-09-2004 08:36 AM
Adding a delay to Sendmail due to mailbombing LeffeH Linux - Software 1 04-28-2004 11:33 AM
Help! - cannot boot due to mount LethalSP Linux - Newbie 4 09-11-2003 08:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration