LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-21-2007, 04:38 PM   #1
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
Boot up speed -current (dhcpcd hanging)


I've noticed that on boot up I get a hang between Mac address and IP address assigning. It hangs for around 10-20 secs or so.

Later if I run '/etc/rc.d/rc.inet1 stop', then 'start', addresses are assigned with no delay at all.

I've had a look in rc.inet1 to see what might be causing it (module loading etc) but no joy yet.

Any ideas?
 
Old 05-21-2007, 06:14 PM   #2
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Maybe you could add echo'es into the script to check in which place the slowdown begins.
 
Old 05-21-2007, 06:27 PM   #3
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 292Reputation: 292Reputation: 292
Yeah I started to do that. Needs more looking into I guess.
 
Old 05-21-2007, 06:29 PM   #4
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
It might be unrelated (just a guess). Maybe you have ipv6 enabled?
 
Old 05-21-2007, 08:19 PM   #5
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 292Reputation: 292Reputation: 292
Yes I do have ipv6 enabled in kernel. I will try without and see.

From what I can gather from logs i might be a problem with reqesting ip via dhcp, so it could be my isp is to blame. We've just been taken over by virgin media, but my ip address hasn't changed in a year or so, so I'm assuming that they haven't changed much at their end.
 
Old 05-21-2007, 08:39 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Original Poster
Rep: Reputation: 292Reputation: 292Reputation: 292
Just tried without 1pv6 and no change there. Also tried playing with the timeout for dhcpcd but doesn't help.

This is the beast:

Code:
/sbin/dhcpcd -d -t ${DHCP_TIMEOUT[$i]:-60} ${DHCP_OPTIONS} ${1}
and checking log it sometimes takes 1 minute or more to recieve an ip address. I will ask on virgin newsgroups to see if anyone else has the same problem, but that doesn't explain why it's always on a boot up that it takes so long. Running /etc/rc.d/rc.inet1 restart later is instantaneous.
 
Old 05-22-2007, 01:02 AM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Would it be possible to sniff packets with ethereal? Maybe response comes in time but dhcp deamon doesn't respond.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
dhcpcd in current..minor concerns gravityworks Slackware 3 06-21-2006 06:22 AM
dhcpcd problems on slack-current Trijicon Linux - Networking 0 10-24-2005 08:27 PM
Detect my true CPU rating (NOT the current speed) qwijibow Linux - Hardware 5 11-16-2004 08:53 PM
How do I speed up booting by stopping eth01 hanging so long? Stevetgn Linux - Newbie 4 07-27-2004 07:00 PM
dhcpcd at boot rgiggs Slackware 4 07-06-2004 11:49 AM


All times are GMT -5. The time now is 03:34 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration