Activate "ETH over USB" on Linux [SIMPLE TRICK] 


1 1

Recommended Posts



I need to modify the kernel to enable the USB networking ability for my network of development boards. (currently 1master & 10servers) we need to use usb connections for networking functionalities.


My question: is it possible to modify the linux kernel without compiling a whole image from scratch. We are now developing a network of mashines and are thinking ahead, doing some planning, to reduce our workload in the future and for avoiding the need to reinstall all the OSes on the whole network. Optimally we would never need to reinstall an image /only reboot a mashine and do meaningful changes on the kernel over ssh. Metaphoricallly speaking: we need to be able to transform a prototype airplane into a super jet, without ever landing.


I already went through a decent amount of research for aprox. 1 week and I think the solution is something like this:









and a lot more... (these are the most relevant ones) 



(We will modify and play around with the kernels in the future, I just finished my last course of my ITCP School, I just picked up Programming at University and I will very probably go deeper into Kernels in the near future) 


For now I only need to change this one thing and I will surely work on kernels later on my path.

(and hopefully get someone on board that has relevant experience with the linux kernel)


The main goal is to activate "ETH over USB" for a simple trick, in order to get rid of obsolete periphery in the future. (here&now: get rid of the eth port) We are passing little data volume over ssh. (from one master to multiple servers) 


What I already know/the keywords that I'm using for further research are:



I need to modify the "drivers/net/usb/Kconfig" 




cdc-ecm class for ethernet over usb



Enabling USB RNDIS Support




The problem split in 2 is:


1. Can I modify a kernel without the need of reinstalling the whole OS


2. How to activate USB Networking(eth over usb)



Thank you in advance,


Best Regards, 


Link to post
Share on other sites

Donate and support the project!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


1 1