Hi,

I'm using Connman in an embedded environment where a device will connect 
to us over USB, this device will provide an ethernet interface on the 
USB port, and the device will be in gadget mode.
Thus when they connect to us we load the cdc_ether driver and create an 
Ethernet interface over the USB port.

Being completely new to tethering in Connman and how it works, I'm 
having some issues setting up Connman to provide a DHCP server on this 
interface so the other device will receive an IP automatically once it 
starts a DHCP client.
I have googled and read the documentation but I cannot figure out how to 
do this properly.
The current method on the server side is to enable the gadget-technology 
when it shows up, configure an IP, netmask and gateway, and then enable 
tethering on it. Which results in the services not being listable, and 
no IP being given to the other side. If I run ifconfig on my side, the 
interface is up, but unconfigured.
How is this supposed to be done?

Doing this using Connman 1.29 on my side.

Thank you in advance for any assistance, and best regards // John Ernberg

_______________________________________________
connman mailing list
[email protected]
https://lists.connman.net/mailman/listinfo/connman

Reply via email to