From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id A3951138CA3 for ; Fri, 6 Mar 2015 05:56:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAFE7E08A2; Fri, 6 Mar 2015 05:56:07 +0000 (UTC) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82E08E087D for ; Fri, 6 Mar 2015 05:56:06 +0000 (UTC) Received: by wiwl15 with SMTP id l15so1058235wiw.0 for ; Thu, 05 Mar 2015 21:56:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=pCsz0ZMRnR5h7MigAKQAKHq0I98ykRB0xtuOPwLSsWY=; b=z87PHN5BB1Zgz6WQjRd3kGVVDvTa3+iCeYjH76eZBuyYiWz5l0vFdmdKYRDk94fLp6 QHmKMd/Zn5VtcX+aovOKHDdVdkGgTOdZxYULPfbG2JM/VcQtRtnmNynb9wxPCBHCcrzk SaW19ucpshOTqV5uKnZP05yiqQwRhgfgIFd7UiliwhX7w959OLOP3NJ00x9jWs8vAAaV YYbo9SPeFrJQdo5HdVc0lCCbwel0XvQZMRpoGoxpjqmz0UXRlojFpyMyj1o28M9DLe5S llndWtQhve5/TJzq9+pBkk+3yMB3Kh64SnYTfUQ7JNt2+BHC+ag4Xlo1NYmEqRKmlBCA vzvQ== X-Received: by 10.194.220.7 with SMTP id ps7mr26480920wjc.84.1425621364934; Thu, 05 Mar 2015 21:56:04 -0800 (PST) Received: from hobbit (105-237-229-251.access.mtnbusiness.co.za. [105.237.229.251]) by mx.google.com with ESMTPSA id bf8sm11767359wjb.37.2015.03.05.21.56.01 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Mar 2015 21:56:04 -0800 (PST) Date: Fri, 6 Mar 2015 08:01:44 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Strange network behaviour: NIC goes down, DHCP lease renewal fails Message-ID: <20150306080144.71ad2a3c@hobbit> In-Reply-To: <20150305183323.GA7189@ns1.bonedaddy.net> References: <20150305104625.2d88242a@marcec.fritz.box> <20150305183323.GA7189@ns1.bonedaddy.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.25; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 2f60a65a-7cdf-47a8-aa5f-e93c2c413d7f X-Archives-Hash: a61e5d715a783afb67b59130ff9c62b4 On Thu, 5 Mar 2015 13:33:23 -0500 Todd Goodman wrote: > * Marc Joliet [150305 04:47]: > [..SNIP..] > > 1.) The NIC is brought up (some built-in Intel model). > > > > 2.) A DHCP client configures it. > > > > 3.) The network connection is lost at some point (the amount of > > time this takes varies, but it can be as little as 20 minutes). > > > > 4.) Eventually the lease runs out and the DHCP client tries to > > renew it, but gets no response. Sometimes, after many hours (at > > least 6), it will get a DHCPACK, but that's it. One of our > > sysadmins says that not only does the DHCP server never see the > > packets, but the managed switch that the PC is directly attached to > > *also* never does (again, except for when the occasional DHCPACK > > comes). > > > > 4.) Restart the network device. A reboot is not required, but it > > is necessary to terminate the DHCP client. After that everything > > works again. > > > > 5.) GOTO 3. > [..SNIP..] > > Is this a WiFi NIC? > > Is it possible the device is powering down? > > I've had lots of problems with WiFi devices powering down (both driver > issues as well as just trying to disable the default setting of > powering down.) +1 I've seen similar things many times myself (but nevr on Intel network kit so far) A lot of reading and Googling usually leads to the solution: - firmware upgrade for the hardware - use the correct driver (this is often non-obvious) - try the in-kernel driver vs any out-of-tree vendor driver - apply driver parameters designed to work around buggy hardware (this often involves (much reading) Alan