Hi folx,
how can I achieve to start dhcp (/etc/init.d/net.eth0) in background so that the system doesn't hang some minutes when booting without a network connection?
take care
klausel

Code: Select all
dhcpcd_eth0="-t 10"

Code: Select all
rc-update del net.eth0 defaultemerge ifplugd
rc-update add ifplugd default

I'm having the same problem. When ifplugd starts at boot it detects the network connection and brings up eth0, when I do ifconfig it even gives an IP address but it is useless to connect.themusicalguy wrote:Hey guys.
Hope you don't mind me butting in but is ifplugd ment to run dhcpcd automatically when it detects a network conection and brings up eth0?
I installed ifplud and it controls my eth0 fine (does the backgrounding at boot and brings the interface up) but it wont run dhcpcd.
Any help?
Code: Select all
rm /var/run/dhcpcd-eth0.pid
ifconfig eth0 down
ifconfig eth0 up
dhcpcd eth0
Code: Select all
dhcpd eth0
I have the same problem. Where exactly do you add this "dhcpcd eth0" to the /etc/ifplugd/ifplugd.actions file?lramos85 wrote:I'm having the same problem. When ifplugd starts at boot it detects the network connection and brings up eth0, when I do ifconfig it even gives an IP address but it is useless to connect.themusicalguy wrote:Hey guys.
Hope you don't mind me butting in but is ifplugd ment to run dhcpcd automatically when it detects a network conection and brings up eth0?
I installed ifplud and it controls my eth0 fine (does the backgrounding at boot and brings the interface up) but it wont run dhcpcd.
Any help?
I had to manually do this to get a working IP address:
The IP Address is exactly the same but it works now.Code: Select all
rm /var/run/dhcpcd-eth0.pid ifconfig eth0 down ifconfig eth0 up dhcpcd eth0
I hated doing this so I modified the /etc/ifplugd/ifplugd.actions file by adding:
Now I just have to make sure that I connect the Cable after it boot up, or disconnect and connect it back. Why is this happening?Code: Select all
dhcpd eth0