Solved

Ethernet interfaces slow to start at boot

Posted on 2006-06-29
1
259 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
*STABLE* and free Linux Firewall distribution 6 87
Guacamole and browser performance 1 87
What are recommended OS for exim mail server? 10 111
centos linux 65 134
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

803 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