[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Ethernet interfaces slow to start at boot

Posted on 2006-06-29
1
Medium Priority
?
294 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 2000 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

829 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