From owner-freebsd-net@freebsd.org Mon Jan 23 20:25:24 2017 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 5CC55CBEE4B for ; Mon, 23 Jan 2017 20:25:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::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 299E87F2 for ; Mon, 23 Jan 2017 20:25:24 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.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 EC1C71FE100; Mon, 23 Jan 2017 21:24:55 +0100 (CET) Subject: Re: RTL8153 Gigabit Ethernet USB Adapter To: diffusae , freebsd-net@freebsd.org References: <59a929e6-5d6d-5f15-6ff6-4c61bf4a14c0@t-online.de> From: Hans Petter Selasky Message-ID: Date: Mon, 23 Jan 2017 21:24:48 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <59a929e6-5d6d-5f15-6ff6-4c61bf4a14c0@t-online.de> 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: Mon, 23 Jan 2017 20:25:24 -0000 On 01/23/17 21:06, diffusae wrote: > Hi! > > Maybe a noobs question but I am mostly familiar with Linux. > > Currently there is no driver for the RTL8153 Gigabit Ethernet Adapter. > > Bus 001 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. > > https://www.freebsd.org/relnotes/CURRENT/hardware/support.html > > RealTek has a Unix (Linux) driver here: > > http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=56&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#RTL8153 > > How can I compile a custome kernel with this driver? > > I am using FreeBSD 11.0-STABLE (RPI-B) #0 r308738 > Hi, Have a look in sys/dev/usb/net and see if you find any similar devices. I think your driver is already supported. You need to: 1) kldload usb_quirk 2) kldload if_ure 3) replug your device and it should attach (FreeBSD-12 at least) grep -r 8153 /usr/src/sys/dev/usb --HPS