Try to do it with the 'ifconfig' utility calling it through the system console access:
http://developer.android.com/reference/java/io/Console.html
I've been able to run the 'ifconfig' utility through the physical system console connection on my i.MX6Q SABRE SD board.
Have a great day,
Artur
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------