Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Ethernet interfaces slow to start at boot

Posted on 2006-06-29
1
Medium Priority
?
291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

609 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