Firefly Open Source Community

Title: Android ethernet on boot [Print This Page]

Author: macdam    Time: 9/25/2015 23:50
Title: Android ethernet on boot
Hi,

I'd like the eth0 interface to launch automatically on boot in dhcp mode

but currently it doesn't, even though <netcfg> is telling me it is up...

I need to activate/deactivate wifi so that eth0 really trigger a DHCP request which is really not convenient for our standalone apllications!!!

thx,
Mathieu


Author: macdam    Time: 9/26/2015 00:24
I want to add a new line in init.rc
service ethernet /eth0.sh

but the all filesystem is read only, how can I change it to read/write without any fs corruption?
Author: dewet    Time: 9/26/2015 00:47
Last edited by dewet In 9/26/2015 00:49 Editor

You have to root your firmware.
Use towelroot.
Then in ES File Explorer enable read/write support for /system folder

since init.rc is located in the boot.img, you will have to unpack it on your PC and add it then repack and flash the boot.img from your PC with the flash tool.
The file will get replaced by the default one on every boot even if you change it on your device, that's why you have to edit it from a PC and reflash.

Author: macdam    Time: 9/28/2015 17:20
Hi I tried to run towelroot on my devices but it says

=> please ensure you are connected to the internet

The devices is connected to internet




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1