The built in support for ethernet isn't very good.
You could make a build setup to auto-start dhcp on your ethernet iface.
Making this UI configurable would be more work, but it's doable.
Modify your init.rc with something like:
service dhcpcd_eth0 /system/bin/dhcpcd -ABKL
class main
oneshot
R
On Mon, May 21, 2012 at 6:14 PM, CTurner <[email protected]> wrote:
> Hi all,
>
> I have a FreeARM Tiny210 development device running Android 4.0.3. The
> Android system has ethernet support, and came prepackaged with an Ethernet
> Settings application. The problem I'm having is that on boot, the device
> assigns a static IP which doesn't play nice with the network my application
> needs to use, so I have to manually go into the Ethernet Settings app. The
> app does remember that I want to use DHCP, so every time I go into it it
> automatically configures the settings correctly.
>
> What I would like to know is how can I a) get my own app to reset ethernet
> to use DHCP on start-up, or b) change some setting on the OS so that on
> boot it selects DHCP.
>
> Any thoughts on what I should be looking for?
> Thanks.
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-porting
>
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting