I am connecting to my WiFi network from adb shell using the following command:
iw dev wlan1 connect -w WiFi-AP
There is a DHCP server running on the AP as well, but whenever I try to get IP address using
dhclient -v wlan1, I get the following error:
sh: dhclient: not found
Is there a way to install dhclient on Android 8.1, or is there any other way to request IP address from the DHCP server over a wlan interface?