From owner-freebsd-net@freebsd.org Tue Oct 25 07:33:23 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EF444C21362 for ; Tue, 25 Oct 2016 07:33:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B963BEA8 for ; Tue, 25 Oct 2016 07:33:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 426A11FE023; Tue, 25 Oct 2016 09:33:19 +0200 (CEST) Subject: Re: Adding RTL8153 support to rue(4) (actually cdce(4)) USB to Ethernet driver [SOLVED] To: David Horwitt , freebsd-net@freebsd.org References: <5807B630.1060806@aogsquid.ucsd.edu> <3622755d-b0cd-60bf-0f81-469d06e65595@selasky.org> <58092C6D.8080105@aogsquid.ucsd.edu> <30de3b9c-98c4-0bbc-dce2-eddc52e98b10@selasky.org> <580EE8DE.2060005@aogsquid.ucsd.edu> From: Hans Petter Selasky Message-ID: <144b5507-b57e-a3b4-02e8-f7a9f7e85648@selasky.org> Date: Tue, 25 Oct 2016 09:38:23 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <580EE8DE.2060005@aogsquid.ucsd.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 07:33:24 -0000 On 10/25/16 07:08, David Horwitt wrote: > ... or, at least, worked around. > > I added a SetEthernetPacketFilter request with wValue PACKET_TYPE_PROMISCUOUS in cdce_init() (right before the > cdce_start() call) and joy ensued. > > Note that (PACKET_TYPE_DIRECTED | PACKET_TYPE_BROADCAST) did _not_ work, but setting the promiscuous bit was the > key. > > HPS: thanks again for your help. > Do you want to submit a patch upstream? Maybe like a quirk or tunable sysctl? --HPS