USB network adapter for Raspberry Pi 3

Requests for the next versions.
chris
Posts: 6
Joined: Fri Oct 27, 2017 8:15 pm

USB network adapter for Raspberry Pi 3

Postby chris » Fri Oct 27, 2017 11:00 pm

I was looking for getting more video performance (e.g. Youtube, local video etc) out of the raspberry pi 3. I am connecting to windows 2012 servers as well as Windows 10 desktops and playing videos does not run smoothly. From the hardware side the Pi 3 should be powerful enough to run videos in HD resolution. Using it stand-alone with Raspbian all video applications work properly. So obviously the network is the bottleneck here.

I was wondering if it is (or will be) possible to hook up an external USB network interface. When benchmarking the internal 100Mbit card I get (on a basic raspbian) about 80Mbit out of it. Using one of the cheaply available USB3 network adapters (with standard realtec chipsets) I was measuring 350Mbit, what should be sufficient for smooth video playback.

Has someone successfully done this, or is it a plan for the future?

I really like the new Pi as they are extremely powerful, cheap and therefore are the perfect thin client platforms.

Chris

akatik
SUPPORT
SUPPORT
Posts: 124
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: USB network adapter for Raspberry Pi 3

Postby akatik » Sat Oct 28, 2017 1:08 pm

Video on terminal is not a good idea. RDP uses lossy compression. 1080p over RDP will be worse then 720p local.
Test network load playing video on Windows 10. Will it be more than 80Mbit? Will it look smooth connecting with USB net card?

chris
Posts: 6
Joined: Fri Oct 27, 2017 8:15 pm

Re: USB network adapter for Raspberry Pi 3

Postby chris » Tue Nov 07, 2017 4:19 pm

Video on terminal for casual browsing activities does not have to be 1080 for my needs. From Windows 10 to Windows Server (on a fat client) playback works with 1080 using 1Gbit ethernet without stuttering. The max. bandwidth of the fat client is 950Mbit, when connecting to the windows server.
I tried to use a USB 1G device on the RPI, but wtware does not seem to use it for outgoing connections. Is there anything to do/activate in the config to use other network interfaces instead of the build-in ones?

akatik
SUPPORT
SUPPORT
Posts: 124
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: USB network adapter for Raspberry Pi 3

Postby akatik » Tue Nov 07, 2017 5:18 pm

chris wrote:...but wtware does not seem to use it for outgoing connections. Is there anything to do/activate in the config to use other network interfaces instead of the build-in ones?

No.

Test it with something else (Windows with USB 2.0 port, not USB 3.0 or Raspbian). If it will work significantly faster then 100Mbit, we'll add it to wtware.

chris
Posts: 6
Joined: Fri Oct 27, 2017 8:15 pm

Re: USB network adapter for Raspberry Pi 3

Postby chris » Mon Nov 13, 2017 4:28 pm

I hooked up the adapter to a core2duo notebook with USB2.0 running Debian 8. Speed measured with iperf3 to a test server (Debian 8 with LACP 2x1Gbit) was between 280 and 390Mbit, depending on the packet size and queue size. Connections from the linux laptop to the Windows 10 reaches 300Mbit in average. The RDP connect from the Linux Laptop to the Windows 10 machine plays videos pretty smoothly. There is some stuttering though. I guess this because of the xfreerdp client uses framebuffers and shows the same behavior on a 1Gbit (internal NIC) connection. On a MacBook Air, using the Microsoft RDP client, video playback works like a charme even on WiFi.
The WiFi connection runs at 300Mbit.

akatik
SUPPORT
SUPPORT
Posts: 124
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: USB network adapter for Raspberry Pi 3

Postby akatik » Tue Nov 14, 2017 7:46 am

Connect adapter to pi with wtware (working with internal card, I only want to know adapter USB ID) and make me log: https://wtware.com/logs.html

chris
Posts: 6
Joined: Fri Oct 27, 2017 8:15 pm

Re: USB network adapter for Raspberry Pi 3

Postby chris » Wed Nov 15, 2017 12:44 pm

No problem. The thing you probably are looking for is:

Code: Select all

[0] USB ID: 0424:ec00, bus ID: 1-1.1, class: 0xff, subclass: 0x00, Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter



The usb regarding log section:

Code: Select all

[        KERNEL] [    3.452649] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[        KERNEL] [    3.452661] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[        KERNEL] [    3.453444] hub 1-1:1.0: USB hub found
[        KERNEL] [    3.453561] hub 1-1:1.0: 5 ports detected
[        KERNEL] [    3.772426] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[        KERNEL] [    3.902668] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[        KERNEL] [    3.902678] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[        KERNEL] [    4.202426] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[        KERNEL] [    4.333272] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=8153
[        KERNEL] [    4.333284] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[        KERNEL] [    4.333291] usb 1-1.4: Product: USB 10/100/1000 LAN
[        KERNEL] [    4.333298] usb 1-1.4: Manufacturer: Realtek
[        KERNEL] [    4.333305] usb 1-1.4: SerialNumber: 000001000000
[        KERNEL] [    4.632428] usb 1-1.2: new full-speed USB device number 5 using dwc_otg
[        KERNEL] [    4.768202] usb 1-1.2: New USB device found, idVendor=062a, idProduct=4101
[        KERNEL] [    4.768212] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[        KERNEL] [    4.768220] usb 1-1.2: Product: 2.4G Keyboard Mouse
[        KERNEL] [    4.768228] usb 1-1.2: Manufacturer: MOSART Semi.
[        KERNEL] [    4.773307] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/0003:062A:4101.0001/input/input0
[        KERNEL] [    4.843524] hid-generic 0003:062A:4101.0001: input,hidraw0: USB HID v1.10 Keyboard [MOSART Semi. 2.4G Keyboard Mouse] on usb-3f980000.usb-1.2/input0
[        KERNEL] [    4.851114] input: MOSART Semi. 2.4G Keyboard Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.2/1-1.2:1.1/0003:062A:4101.0002/input/input1
[        KERNEL] [    4.913228] hid-generic 0003:062A:4101.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [MOSART Semi. 2.4G Keyboard Mouse] on usb-3f980000.usb-1.2/input1
[        initrd] [    5.026700] Success: media /dev/mmcblk0p1 mounted to /bootmedia.

aka
SUPPORT
SUPPORT
Posts: 554
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: USB network adapter for Raspberry Pi 3

Postby aka » Fri Nov 17, 2017 4:44 am

Please, try 5.6.20 version. And show me FULL log.


Return to “Plans for development. Requests”

Who is online

Users browsing this forum: No registered users and 1 guest