From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by huchra.bufferbloat.net (Postfix) with ESMTPS id 73B0921F265 for ; Tue, 16 Sep 2014 05:23:52 -0700 (PDT) Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id E9BFA20033 for ; Tue, 16 Sep 2014 08:28:39 -0400 (EDT) Received: by sandelman.ca (Postfix, from userid 179) id F121363AE9; Tue, 16 Sep 2014 08:23:50 -0400 (EDT) Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id D8C17638D7 for ; Tue, 16 Sep 2014 08:23:50 -0400 (EDT) From: Michael Richardson cc: cerowrt-devel@lists.bufferbloat.net In-Reply-To: <9833.1404948226@sandelman.ca> References: <9833.1404948226@sandelman.ca> X-Mailer: MH-E 8.2; nmh 1.3-dev; GNU Emacs 23.4.1 X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m Sender: mcr@sandelman.ca Subject: Re: [Cerowrt-devel] cerowrt-3.10.44-6 report X-BeenThere: cerowrt-devel@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Development issues regarding the cerowrt test router project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 12:24:21 -0000 Awhile ago I reported problems where my pppoe link did not come up, and sometimes not all of the wifi interfaces would come up. It seemed like it was some kind of limit on number of interfaces, and started looking at netifd for some clue what was going on, but I didn't see any obvious struct interface[16] or some such. Last night, after my wife complained again, I rebooted the 3800 after 60 days of uptime... I had placed numifX=0 somewhere so that I wouldn't instantiate 8 useless interfaces. Having done that, I notice that my two guest wifi interfaces got brought up properly, and the PPPoE link came up on it's own (I think, I do have some hacks to force it up). I still had to poke some things. In conversations at IETF90, I think someone said that netifd does something like: (1 << ifindex) in order to mark something about interfaces... That would certainly explain the problem, because ifindex can march upwards quite easily on systems with PPP interfaces coming/going. I note that on my freshly booted system, all ifindex are < 32. I haven't located any code in netifd that does this, but haven't looked that much yet. What is the plan now that BB is about to be fully released? I think that all CeroWRT code for the 3800 is now upstream.... it seems that the next CeroWRT release should simply point at openwrt BB? -- ] Never tell me the odds! | ipv6 mesh networks [ ] Michael Richardson, Sandelman Software Works | network architect [ ] mcr@sandelman.ca http://www.sandelman.ca/ | ruby on rails [