Re: usb3 to ethernet adapter on rpi4

Mark Millard via freebsd-arm <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
On 2021-May-24, at 04:00, tech-lists <[email protected]> wrote:

> Does anyone here use a usb3 <> ethernet adapter on rpi3 or 4? Something
> like
> https://www.amazon.co.uk/ATOLLA-Ethernet-Adapter-Compatible-Nintendo/dp/B0886B1S5J
> 
> If so, what version of freebsd? What does the interface come up as?

I've used the below over the time frame of using a RPi4B: Genet was
not initially supported in a context I was experimenting with. Other
than some testing, no other RPi3 use. The RPi3 has fundamental USB2
speed limitations as I remember (even for USB2). Part of the issue
being that all USB shares one internal hub with limitations shared,
if I remember right: ultimately single channel.


Several "CableCreation(tm)" "Gigabit" devices
(no model number on outside, separate materials if
I remember right):

ugen2.2: <Realtek USB 10/100/1000 LAN> at usbus2
ure0 on uhub1
ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.00/30.00, addr 1> on usbus2
miibus0: <MII bus> on ure0
rgephy0: <RTL8251/8153 1000BASE-T media interface> PHY 0 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto

These are generally the fastest of the few types that
I have used. I helped test when the speedup was done
for a range of Realtek's that spanned these. I could
look up when that was if desired. The update got
to more like NetBSD speeds. (I did some
compare/contrast activity during testing.)

I've shown that genet0 has problems for non-debug
FreeBSD builds in my context, problems that have not
repeated with the use of these instead.

I also use one of these on a MACCHIATObin Double Shot.
(FreeBSD does not support any of the built-in Ethernet
hardware, last I knew.) Sometimes used via the USB3
port, sometimes via a USB2 port (via a USB2 header).

I also use one of these on an old PowerMac G5 that has
a problematical built-in Ethernet. In that context,
they are not as fast but were somewhat faster than the
others that I later list.

It has been a while since I've used the others in any
system. As I remember they all seemed to work. I still
have them all around and so testing is possible.



A "j5create" "USB 3.0 Gigabit Ethernet" Model No. JUE130 :

ugen2.2: <ASIX Elec. AX88179> at usbus2
axge0 on uhub1
axge0: <NetworkInterface> on usbus2
miibus0: <MII bus> on axge0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow


A "plugable" "USB3.0 Gigabit Ethernet Adapter" Model USB3-E1000 :

ugen2.2: <ASIX Elec. Corp. AX88179> at usbus2
axge0 on uhub1
axge0: <NetworkInterface> on usbus2
miibus0: <MII bus> on axge0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 3 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow

(Yep: essentially the same as the j5create, other than
"Corp.".)



If I remember right, the NetBSD speeds were faster for
these than the FreeBSD speeds for them. There are probably
notes about such in the old messages from when I was
testing.


I hope this helps.

===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.