AFAIK there are small cables in market for this purpose. Like we have OTG to connect USB and smartphone, similarly there are USB to Ethernet cables. Their necessity comes in tablets, Ultrabooks where Ethernet is unavailable. You could find it on an ordinary hardware store. It's really cheap.
Good luck -- Regards Himanshu Shekhar