Use a Lightning to USB-3 or USB-C to USB adapter and a USB to Ethernet adapter to connect an iPad to Ethernet. Alternatively, use a USB hub with an Ethernet port.