From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4702 invoked by alias); 24 Sep 2009 16:32:33 -0000 Received: (qmail 4690 invoked by uid 22791); 24 Sep 2009 16:32:32 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 24 Sep 2009 16:32:24 +0000 Received: from list by lo.gmane.org with local (Exim 4.50) id 1MqrF0-0000rd-Ga for ecos-discuss@sources.redhat.com; Thu, 24 Sep 2009 18:32:22 +0200 Received: from mn-69-34-67-62.sta.embarqhsd.net ([69.34.67.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Sep 2009 18:32:22 +0200 Received: from grant.b.edwards by mn-69-34-67-62.sta.embarqhsd.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Sep 2009 18:32:22 +0200 To: ecos-discuss@sources.redhat.com From: Grant Edwards Date: Thu, 24 Sep 2009 16:32:00 -0000 Message-ID: References: <6afa98b0909240334i7536f39drfce21817f2fe686c@mail.gmail.com> <4ABB9D9D.3080309@jifvik.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: slrn/pre0.9.9-102 (Linux) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: connect ethernet cable at run-time X-SW-Source: 2009-09/txt/msg00232.txt.bz2 On 2009-09-24, Jonathan Larmour wrote: > Grant Edwards wrote: >> On 2009-09-24, Lars Dahlin wrote: >> >>>I want to be able to connect the ethernet cable and it >>>shouldn't be necesary to restart ecos. [...] >> Again, I've never seen that. We connect/disconnect Ethernet >> cables all the time, and never have to restart anything. >> >> We do have code in our Ethernet drivers that makes sure that >> the Ethernet MAC duplex setting is changed to match the PHY's >> negotiation results when a cable is plugged in, but I don't >> think that has anything to do with what you're talking about. > > I think the issue may be that if you start the device with it > disconnected, nothing _automatically_ will bring the interface > up using BOOTP/DHCP. If one calls init_all_network_interfaces() before the Ethernet link is up does the DHCP code give up and terminate? IOW, doesn't the DHCP client code retry if it doesn't get a response? That seems a bit odd. -- Grant Edwards grante Yow! I don't know WHY I at said that ... I think it visi.com came from the FILLINGS in my rear molars ... -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss