Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83971 - behind slow commuter, bringing up eth0 is not sufficient to have network (ntp-client fails)
Summary: behind slow commuter, bringing up eth0 is not sufficient to have network (ntp...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-03 09:49 UTC by Denys Duchier
Modified: 2005-03-08 16:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denys Duchier 2005-03-03 09:49:18 UTC
my machine is on a subnetwork behind older routing/commuting hardware. after bringing up eth0, it actually takes several seconds for the line to be useable.  my problem is that the ntp-client service attempts to start up before the line is ok, and ntpdate fails.  I seem to be able to "fix" the problem by inserting the command "/usr/bin/host www.w3.org > /dev/null" just before the invocation of ntpdate.  I don't know what the right fix is, but "need net" doesn't quite do the job in my situation.

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2005-03-03 15:37:23 UTC
how is your net.eth0 configured ?  static ip ?  dhcp ?  adsl ?  ppp ?
Comment 2 Denys Duchier 2005-03-03 22:55:06 UTC
static ip
Comment 3 SpanKY gentoo-dev 2005-03-08 09:03:44 UTC
i'd suggest you add some kind of sleep with the postup() function in your /etc/conf.d/net ... read /etc/conf.d/net.example for more info
Comment 4 Denys Duchier 2005-03-08 09:33:04 UTC
ahem... there's no such thing as /etc/conf.d/net.example
in fact there doesn't appear to be a net.example file anywhere
Comment 5 SpanKY gentoo-dev 2005-03-08 16:07:21 UTC
then you're using baselayout-1.9.x ... upgrade to baselayout-1.11.x if you care to