Firefly Open Source Community

   Login   |   Register   |
New_Topic

Android ethernet on boot

142

Credits

0

Prestige

0

Contribution

registered members

Rank: 8Rank: 8

Credits
142
Posted at 9/25/2015 23:50:19     
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

Reply

Use props Report

142

Credits

0

Prestige

0

Contribution

registered members

Rank: 8Rank: 8

Credits
142
Posted at 9/26/2015 00:24:43     
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?
Reply

Use props Report

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 9/26/2015 00:47:03     
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.
Reply

Use props Report

142

Credits

0

Prestige

0

Contribution

registered members

Rank: 8Rank: 8

Credits
142
Posted at 9/28/2015 17:20:57     
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
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list