How do you connect your xbox to the internet with a modem?

Wireless or Wired (ethernet cable).