Re: New User- Network Problem



Douglas A. Tutty wrote:
On Thu, Feb 14, 2008 at 09:14:53AM -0500, Paul Cartwright wrote:

OK, initscripts; something to work on step by step.

Here's what I'm hearing.

1. Power off
2. Power on
3. Boot progresses, init runs
4. system comes up but network doesn't come up
5. ifdown eth0 && ifup eth0 brings the network back up

6? But then all those initscripts that come after netoworking may
be messed up.

I have faced the same problem for a cluster running Etch. It had something to do with the network driver being loaded when dhclient tries to acquire an IP address from (/etc/init.d/networking). The problem is dhclient times out and goes to sleep before the network interface becomes live. the /etc/init.d/networking script returns and the subsequent network related initscripts go crazy, especially the one that mounts nfs shares. dhclient succeeds on the subsequent attempt, a couple of minutes after getting the login prompt, but it is already too late.

I played around with the options related to timeout and retry delay in dhclient.conf but did not have much luck. I worked around this issue by inserting a 'sleep 120' at the end of /etc/init.d/networking so that the second attempt of dhclient occurs before the networking script returns. Not an elegant solution, but it just worked.


--
Raj Kiran Grandhi


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: DHCP and domain name
    ... Is that possible that at the startup of the computer, the network ... ...which means that whenever your system boots up your computer will ... If you do a "dhclient" as mentioned above ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: dhclient and wpa_supplicant
    ... Also dhclient processes link ... > media parameters but it was complicated and still routinely failed ... > appropriate network (while dhclient had to scan once for each possible ... Drivers that bypass the net80211 layer for some or all of this ...
    (freebsd-current)
  • Re: dhclient and wpa_supplicant
    ... The ndis driver shows nothing in the log that indicates it hooks up ... layer causing applications written to the common api to not work. ... The issue with dhclient using dhclient.conf to set wireless parameters ... appropriate network (while dhclient had to scan once for each possible ...
    (freebsd-current)
  • RE: Ethernet & DHCP Fails on Cable Modem to Internet
    ... > When I try to activate eth0 using the Network ... > Do you Yahoo!? ...
    (RedHat)
  • RE: How do I max a 6Mbps link
    ... A common way to speed up transfers is to tune your ... but I would start with testing your network. ... To unsubscribe, ...
    (freebsd-isp)