You can add the command like "route add default gw 10.0.1.1 dev eth0"
into "on boot" section of init.rc file in Android root directory.
Have a great day,
Victor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thank you for your information.
But I'd like to add gw field to your ethernet.apk.
Could you show me how to do it ?