Default Ethernet Network Configuration of Apalis TK1

The Toradex website states that connman is used for ethernet network configuration. As there is no explicit manual configuration file in /var/lib/connman/<service-name>.config I assume that the default configuration of connman is used then. The connman documentation mentions that the “default configuration method for all services is automatic or something like DHCP”.

I tried to figure out the default configuration with different network configurations (e.g. TK1 connected to Router and internal network):

root@apalis-tk1:~# connmanctl services                                                                                                                                                                                                                     
*AO Wired                ethernet_00142d2bd8a0_cable                                                                                                                                                                                                       
root@apalis-tk1:~# connmanctl services ethernet_00142d2bd8a0_cable                                                                                                                                                                                         
  (configuration settings varies with network configuration)

It seems like the TK1 has assigned a static ip of (ping-able with ping and gets the ip address via dhcp if connected to a network with dhcp server running (ping-able with ping <dynamically-assigned-ip> and ping apalis-tk1.local). The TK1 is also accessible over link local (ping-able with ping and ping apalis-tk1.local.)

  • Is that correct?
  • For the case that the configuration in the Apalis Image differs from connmans default behaviour: Can I find more information on some Toradex website?

You first may need to understand some of connman’s design goals which the main one reads as: getting one connection to a network and one connection only. By default it achieves that by doing DHCP on any of them network interfaces available to it and once the best one has a connection that’s it.

As for Toradex’ default configuration we also allow USB RNDIS to be used on the USB device connection which will default to and serving an IP address to whoever connects to it via DHCP but that’s really outside of connman as it would violate that one’s goals.

More information about Ethernet/Network configuration may be found here.