This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3517: Using Ethernet over USB - Static IPs and DHCP

Part Number: AM3517

Tool/software: Linux

Hi, I have an AM3517 where I am trying to connect it to Linux or Windows hosts with Ethernet over USB (CDC or RNDIS) using the g_ether module in the 4.4.39 kernel. I am able to communicate with the AM3517 in a few different situations:

1. AM3517 usb0 given static IP at 10.42.0.25, Ubuntu adapter is set to "Shared to other computers". The AM3517 must be on the 10.42.0.X subnet for this to work.

2. AM3517 usb0 given static IP at 10.1.1.11, Windows adapter is set to 10.1.1.12. The IP address could be anything as long as they are both on the same subnet.

What I want to be able to do is:

1. If I set the usb0 adapter on the AM3517 to DHCP, I expect it to request a DHCP address from whatever host it is attached to.

2. If I set the usb0 adapter on the AM3517 to a static IP address, I want to be able to connect to it in Ubuntu on some other IP address than 10.42.0.X.

Any advice on how to accomplish this? Thank you!

  • Hi,

    Sorry for the delay in replying.

    1. If I set the usb0 adapter on the AM3517 to DHCP, I expect it to request a DHCP address from whatever host it is attached to.

    For this you need to configure the host correctly (as a DHCP server). There are a lot of community guides on this (depending on the linux distro on your host pc).

    2. If I set the usb0 adapter on the AM3517 to a static IP address, I want to be able to connect to it in Ubuntu on some other IP address than 10.42.0.X.

    As long as the PC & the AM3517 device belong to the same network, they should be able to communicate with each other. Again this seems more like network configuration problem, than problem with the kernel on your am3517 device.

    Best Regards,
    Yordan