Change Android Ethernet settings

This is probably device dependent.

On an Android 4.2 device, the following shell command can be used to change its manual IP and mask:

    ifconfig eth0 ip new_IP netmask new_mask

Start DHCP:

    dhcpcd -p eth0

 

 

This article was updated on 09:51:58 2024-03-23