Android Broken eth0 Socket - Replace with USB eth1


The Android 4.4 device (radxa rock) in question has a broken ethernet socket due to forcing a slightly oversized plug in it.

Im replacement I have a Usb-ethernet dongle connected fairy successfully - using adb I can do stuff like:

netcfg eth0 down
netcfg eth1 up
netcfg eth1 dhcp
setprop dhcp.eth1.dns1
lo       UP127.0.0.1/8   0x00000049 00:00:00:00:00:00
eth0     DOWN     0x00001002 6e:47:fe:70:62:00
sit0     DOWN     0x00000080 00:00:00:00:00:00
ip6tnl0  DOWN     0x00000080 00:00:00:00:00:00
eth1     UP      0x00001043 00:0e:c6:c3:4b:2d

After this I can ping my local network from an adb shell:

PING ( 56(84) bytes of data.
64 bytes from icmp_seq=1 ttl=64 time=5.51 ms

But external pings fail.

ping: unknown host

My question is how can I get the ethernet interface recognised in the Android 4.4 Setup app? What I see there is no IP address or other parameter populated.

Ideally I would like to disable the on-board eth0 hardware.


asked on Stack Overflow Apr 8, 2016 by user3446382

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0