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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

1,408 次查看
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 ?

标签 (2)
0 项奖励
回复
2 回复数

1,003 次查看
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 项奖励
回复

1,003 次查看
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 项奖励
回复