Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I found on a Samsung SM-T530 tablet running Android 5, when I attach an OTG adapter with USB to Ethernet, it connects to the attached ethernet cable automatically; there was no need to change any settings. Using a Lenovo tablet running Android 6, everything worked out of the box as well, only I found the tablet to reboot itself consistently after moving data over the Ethernet connection!