Where you have to substitute with the static IP Address you want, with the network netmask and with your network’s gateway address. The main commands that are necessary for setting the network are the following: In case the adb program gives an error, verify that Android device has the debugging preferences enabled.ģ. If the cable and the Google USB driver are correctly set up, you will login into the Android device. Open a terminal (or a command prompt on Windows) and type the “adb shell” command. Using the miniUSB-USB cable, connect it to the Android Ltouch7 and respectively to the PC (on Windows, make sure that you’ve previously installed the Google USB driver).Ģ. The commands that you’ll find below, has been tested with the Android Ltouch7 multi-touch, but I’m confident that there settings should work also with other devices too.ġ. However, sometimes it is useful to know the shell commands in order to add them in boot scripts. This process can be easily done using the Android GUI, specifically in the Settings/Ethernet menu configuration. In this post, I’d like to tell you how to set the Android network preferences on Android devices, that is, IP Address, Netmask, Gateway and DNS.