...
Settings can be done via System-Settings APP or Android APIs. But there are also possibilities to do it via command line interface:
FSL Ethernet Application
The Ethernet activity (package com.fsl.ethernet) generates a configuration file: /data/misc/ethernet/ethernet.xml When the activitry is started the xml will be copied to the local app store: /data/data/com.fsl.ethernet/shared_prefs/ethernet.xml then the activity resets the ethernet interface with the configuration provided by the xml file.
...