admin管理员组文章数量:1396871
I am using adb to control my Android tablet. I want to change its ethernet network configuration.
I am successfully editing the file /data/misc/ethernet/ipconfig.txt. You can find file specifications on the web to edit it correctly. It works well.
But ...
I always need the tablet to be restarted for the new configuration to be applied. How to make the tablet reload the configuration file ? Is there a adb shell command to restart the networking ?
I tried ifconfig eth0 down; ifconfig eth0 up
. It doesn't make the job.
Thanks for your help
本文标签: androidHow to restart ethernet network programmaticallyStack Overflow
版权声明:本文标题:android - How to restart ethernet network programmatically? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744143908a2592745.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论