How to add gateway field on ethernet.apk for i.MX6/Android4.3

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add gateway field on ethernet.apk for i.MX6/Android4.3

885 Views
norisugi
Contributor II

I'm using the provided ethernet.apk for i.MX6/Android4.3.

But this app doesn't have gateway filed.

So I'd like to add it to this app.

What should I do ?

Labels (2)
0 Kudos
2 Replies

480 Views
b36401
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

480 Views
norisugi
Contributor II

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 ?

0 Kudos