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,410件の閲覧回数
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,005件の閲覧回数
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,005件の閲覧回数
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 件の賞賛
返信