Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
backgrounding dhcpcd on boot
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
zedoo
n00b
n00b


Joined: 14 Jun 2005
Posts: 39

PostPosted: Tue Sep 06, 2005 11:47 am    Post subject: backgrounding dhcpcd on boot Reply with quote

hi,

my network interface is configured at boot with dhcp. sometimes i am not connected to a network, so the boot process hangs for a minute because dhcp is not getting anything...

i wonder how i can cancel or background the dhcp thing. i tried Ctrl-c Ctrl-x .. does not work.

felix
Back to top
View user's profile Send private message
massimo
Veteran
Veteran


Joined: 22 Jun 2003
Posts: 1226

PostPosted: Tue Sep 06, 2005 12:07 pm    Post subject: Reply with quote

In /etc/conf.d/net you can set dhcpcd_eth0="-t 10" meaining it will only try for ten seconds to get an ip address (man dhcpcd).
_________________
Hello 911? How are you?
Back to top
View user's profile Send private message
zedoo
n00b
n00b


Joined: 14 Jun 2005
Posts: 39

PostPosted: Tue Sep 06, 2005 12:24 pm    Post subject: Reply with quote

ok i have done that. though i' d like to background the process with a shourtcut to make boot even only 10 seconds faster...

felix
Back to top
View user's profile Send private message
elestedt
Guru
Guru


Joined: 13 Mar 2005
Posts: 383

PostPosted: Tue Sep 06, 2005 2:31 pm    Post subject: Reply with quote

zedoo wrote:
ok i have done that. though i' d like to background the process with a shourtcut to make boot even only 10 seconds faster...

felix

try ifplugd or similar - it will start net.ethX (you specify the interfaces in a config file) when it detects a link...
Back to top
View user's profile Send private message
mvephoto
n00b
n00b


Joined: 13 Sep 2005
Posts: 5
Location: Winnipeg, MB

PostPosted: Mon Sep 19, 2005 8:17 pm    Post subject: Reply with quote

I'm not sure if your problem is solved, or if this thread is dead. I ran into the same issue, and found this:

http://www.gentoo.org/doc/en/handbook/2005.1/handbook-x86.xml?part=4&chap=6

The solution from this link, combined with the solution from massimo (dhcpcd_eth0="-t 10") (thanks, massimo) works for me.
_________________
there are 10 kinds of people who can read binary - those who can and those who cannot
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