USB to Ethernet kmod-usb-gadget-eth configuration

I am trying to setup USB to Ethernet on a GL-AR150.
I installed kmod-usb-gadget-eth but this did not get USB to Ethernet working.
How can I get this working?

It depends on which USB->Ethernet dongle you are using. Do you have a model number?

I should have been more specific. I am not trying to use a WiFi USB to Ethernet dongle.

I am trying to use the router as a USB Ethernet gadget. So that when I plug one end from the USB port of the router to another device, that device will have a virtual Ethernet connection from the router.

Similar to what the GL.iNet Microrouter does. (which I wanted to purchase but shipping costs the same as the device itself)

USB150 has a hardware chipset that does USB to Ethernet.

If you want to do this on AR150, it needs to support device mode. But now the USB only support host mode. To support device mode you will need hardware modifications.

So you cannot do it anyway.

1 Like

Is there a way to check if a device supports USB device mode by looking at the specifications or via command line?

I also have a GL-AR750 Creta but I believe I saw a post on these forums saying the GL-AR750 Slate did not support USB device mode because GL.iNet needed to gage demand vs cost.

Besides the USB150 Microrouter is there any other GL.iNet devices that support USB device mode?

The only way is to check the specs of the chipset.

You cannot determine inside of the Linux system.