Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Massaker
n00b
n00b


Joined: 14 Apr 2005
Posts: 18

PostPosted: Tue Sep 30, 2014 4:01 am    Post subject: dhcpcd Reply with quote

Yeah... I tried a little bit of goggling didn't come up with much. I've lived with this is 'issue' for a few years now but today I did a fresh install of gentoo and I'm still in the getting stuff done mood. (around 2 hours from livecd to boot! new record for me)

Anyways dhcpcd takes so f**king long on start up. like seriously its 50% of the start up time man its crazy.

- I know you can't really speed up getting your IP but there must be something else
- I'm thinking along the lines of removing it from the start up and trying to put it in to start up when xfce starts

Well anything thoughts would be great

Thanks, Massaker
Back to top
View user's profile Send private message
Massaker
n00b
n00b


Joined: 14 Apr 2005
Posts: 18

PostPosted: Tue Sep 30, 2014 7:31 am    Post subject: works alright Reply with quote

Well just an update to whom may ever find this one day with the same issue.

I'm running xfce

Code:

rc-update delete net.eth0


Settings > Session and Startup > Application Autostart tab > Add

Code:

Name: internet
Command: dhcpcd


I timed it with my phone after I clicked the grub boot option to when I could open firefox
8 - 9 Seconds, Thank your very much
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2587

PostPosted: Tue Sep 30, 2014 8:57 am    Post subject: Re: works alright Reply with quote

Massaker wrote:
Code:

rc-update delete net.eth0

You could even go further :-) https://wiki.gentoo.org/wiki/Network_management_using_DHCPCD#Migration_from_Gentoo_net..2A_scripts
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6738
Location: Blighty

PostPosted: Tue Sep 30, 2014 1:19 pm    Post subject: Re: dhcpcd Reply with quote

Massaker wrote:
Anyways dhcpcd takes so f**king long on start up. like seriously its 50% of the start up time man its crazy.


dhcpcd does wait a little bit for sure

0-1 seconds random delay before starting each protocol
Enforcing IPv4 address availability by ARP (3 seconds, this can be disabled)
Enforced IPv6 address availability by ICMP (2 seconds, this cannot be disabled)

But 50% of the startup time? hahaha.
No, that must belong to udev settle : https://bugs.gentoo.org/show_bug.cgi?id=523600
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum