Solved

Ethernet interfaces slow to start at boot

Posted on 2006-06-29
1
247 Views
Last Modified: 2010-03-18
I have Debian testing installed on a machine with two network cards.

On boot these cards take some time to become operational. Because of this some daemons fail to start (most notably dhcpd) since the network interface they need is not available yet.

To remedy this problem I have created a simple script in /etc/init.d called delay which simply contains:

#!/bin/sh
echo Delaying boot by 30 seconds so eth0 and eth1 can come up properly...
sleep 30

Then I have created a symlink in /etc/rcS.d to this script. I call the symlink S41delay since the network should be available after S40 according to documentation.

This actually works. But the question is: Is there a better / more correct way of doing this?
0
Comment
Question by:Gieron
1 Comment
 
LVL 14

Accepted Solution

by:
pablouruguay earned 500 total points
ID: 17011673
i think so,  you can delay your network script move to S99network to start the network but the result are the same. i use this solution too in laptos with this problems
0

Featured Post

Scale it in WD Gold

With up to ten times the workload capacity of desktop drives, WD Gold hard drives employ advanced technology to deliver among the best in reliability, capacity, power efficiency and performance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now