In you terminal, run these commands:
adb root
adb shell
$ ifconfig eth0 192.168.138.2 # to fix your address
$ netcfg # show address
In you terminal, run these commands:
adb root
adb shell
$ ifconfig eth0 192.168.138.2 # to fix your address
$ netcfg # show address