or with an ethernet cable to a LAN outlet on the modem. When you sign up for internet service, your internet service provider (ISP) provides you with a modem that accesses that internet service.
which accesses the ISP, and a router, which forwards traffic to the modem and distributes responses to the requesting machines. If the cable modem/router has Wi-Fi, it is a "wireless gateway" (see ...