You can use wifi or you can also use a USB Ethernet adapter.
With the USB Ethernet adapter it would be best to buy one through a company that will let you return it if it does not work...
Because there is currently no official Nintendo adapter out.
But the KINAMAX USB 2.0 to RJ45 Fast Ethernet 10/100 Base-T Network Adapter has been reported working.