Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 20905 Details for
Bug 33272
baselayout 1.8.6.12 can't start net.eth0 anymore
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
This workaround is needed because the behaviour of some ethernet drivers breaks the carrier autodection stuff in net.eth0
net.eth0.patch-wait-running (text/plain), 616 bytes, created by
Marc Bevand
on 2003-11-18 04:19:58 UTC
(
hide
)
Description:
This workaround is needed because the behaviour of some ethernet drivers breaks the carrier autodection stuff in net.eth0
Filename:
MIME Type:
Creator:
Marc Bevand
Created:
2003-11-18 04:19:58 UTC
Size:
616 bytes
patch
obsolete
>--- net.eth0-1.33 2003-11-18 09:41:49.000000000 +0100 >+++ /etc/init.d/net.eth0 2003-11-18 12:12:03.000000000 +0100 >@@ -68,6 +68,15 @@ > eend ${retval} "Failed to bring ${IFACE} up" > return ${retval} > } >+ # After a "ifconfig up" some drivers can take 2secs (eg: e100) >+ # to mark the interface as 'RUNNING', so wait 2secs max >+ local count=0 >+ while ! ifconfig ${IFACE} | grep -qc 'RUNNING' &>/dev/null && \ >+ [ $count -lt 4 ] >+ do >+ sleep 0.5 >+ count=$((count + 1)) >+ done > # Check that the interface has a carrier > if ifconfig ${IFACE} | grep -qc 'RUNNING' &>/dev/null > then
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 33272
:
20807
|
20812
|
20832
| 20905 |
20935
|
21458