Hilscher Community Forum
USB/Ethernet adapter - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: USB/Ethernet adapter (/thread-416.html)



USB/Ethernet adapter - slos - April-2nd-2019

Hi there,

We would like to use a USB/Ethernet adapter.
Would it be possible to use it from a container ?
I suppose it will not be possible to use the Control Panel to configure its network settings. Could you confirm please ?
Then how to use it ?

Otherwise, maybe the solution is there ?
https://forum.hilscher.com/Thread-INFO-100-your-software-buy-netPI-without-SD-card


Thanks a lot for your kind support.

BR,
Stéphane


RE: USB/Ethernet adapter - Armin@netPI - April-2nd-2019

Hello Stephane,

a general answer cannot be given to this question. I would expet that in 99% of all cases those adapters do not work since a special driver needs to be intergrated into the Linux kernel. Not even under the original Raspbian there is a guarantee that it will work like this example thread shows: https://www.raspberrypi.org/forums/viewtopic.php?t=26206

So it is not a question of the container and device mapping it is a general Linux question. We tested today a Lenovo USB to Ethernet converter with a debug image of netPI and Linux not even recognized the USB device once you plugged it in on Linux level. So if this basic condition is not met you can of course forget to get something running in a container. In general even if an interface would get recognized the web GUI if netPI would not be able to get the interface configured. The today's LAN menu is made for the interface eth0 only.

I agree that with an open version of netPI like you referenced in your thread could be an option and I propose a very simple test to you. Buy a Raspberry PI 3B, run a Raspbian with it and plug in your USB to ethernet converter and see what happens.

Regards
Armin


RE: USB/Ethernet adapter - slos - April-4th-2019

Hello Armin,

Thanks for your quick and informative, as always, answer.

>>Buy a Raspberry PI 3B... and see what happens.
I have done so since ages :
https://slo-ist.fr/tag/raspberry-pi

BR,
Stéphane


RE: USB/Ethernet adapter - Armin@netPI - April-5th-2019

Yes I see, but what I am of course interested in is what happens to the Ethernet to USB adapter when you plug it in your RPi3? Will it be detected and instrumented as an eth1 port for example?


RE: USB/Ethernet adapter - slos - April-8th-2019

(April-5th-2019, 07:13 AM)Armin@netPI Wrote: Yes I see, but what I am of course interested in is what happens to the Ethernet to USB adapter when you plug it in your RPi3? Will it be detected and instrumented as an eth1 port for example?

Hi Armin,

Sorry but it is in customer's hands and at the moment he has chosen the WiFi path.

I don't have any USB/Ethernet adapter to play with, so I can't give you any feedback.

Thanks for your kind support.

BR,
Stéphane